:root {
    --primary-blue: #2929E4;
    --dark-blue-text: #00005C;
    --text-color: #333;
    --light-gray-bg: #f9f9f9;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-color);
}

p {
    margin-bottom: 15px;
    color: #555;
}

.btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2020b3;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary-blue);
    font-weight: 900;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline-block;
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    min-height: 80vh;
}

.hero-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 500px;
}

.img-card {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.img-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-card-1 { border-radius: 20px; }
.img-card-2 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background-color: var(--primary-blue);
}
.img-card-3 { border-radius: 20px; }
.img-card-4 { border-radius: 20px; }

.img-card-1 { background-color: #FFCD33; }
.img-card-3 { background-color: #DD221C; }
.img-card-4 { background-color: #8CB91D; }

.hero-text {
    flex: 1;
    padding-left: 60px;
}

.hero-text h1 {
    font-size: 3.2rem;
    color: var(--primary-blue);
    line-height: 1.3;
    font-weight: 700;
}

.hero-text .btn {
    font-size: 1.25rem;
    padding: 15px 35px;
    margin-top: 20px;
}

.about {
    display: flex;
    align-items: center;
    background: var(--light-gray-bg);
}

.about-text {
    flex: 1.5;
    padding-right: 40px;
}

.about-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.projects {
    text-align: center;
}

.projects h2 {
    margin-bottom: 40px;
}

.project-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.project-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.project-list li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 12px;
}

.project-list li:nth-child(1)::before { background-color: #007bff; }
.project-list li:nth-child(2)::before { background-color: #fd7e14; }
.project-list li:nth-child(3)::before { background-color: #17a2b8; }
.project-list li:nth-child(4)::before { background-color: #dc3545; }
.project-list li:nth-child(5)::before { background-color: #6f42c1; }
.project-list li:nth-child(6)::before { background-color: #28a745; }

.img-header {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.btn-instagram {
    background-color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-instagram:hover {
    background-color: var(--dark-blue-text);
}

.btn-instagram img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); 
}

.contact {
    background: var(--light-gray-bg);
    text-align: center;
}

.contact p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 5px;
}

footer {
    padding: 30px 20px;
    text-align: center;
    background-color: #fff;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #222;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    margin: 0 8px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-blue);
}

.social-icons a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}


@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-links {
        padding-top: 15px;
    }

    .nav-links li {
        margin: 0 8px;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        padding-left: 0;
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
    }

    .about-logo {
        margin-top: 30px;
        padding: 0 20px;
    }

    .project-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .hero-images {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 250px;
    }

    .img-card {
        padding-top: 100%;
    }

    .project-list {
        grid-template-columns: 1fr;
    }
    
    .gallery img {
        width: 140px;
        height: 140px;
    }
}