
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #1c1c1c;
    background-color: #f8f6f2;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo img {
    width: 250px;
}

.logo span {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    font-weight: 400;
}

.nav-links a.active,
.nav-links a:hover {
    border-bottom: 2px solid #112250;
}

/* GALLERY */
.gallery {
    padding: 80px 60px;
    background: #f7f4ef;
}

.gallery h1 {
    margin-bottom: 40px;
    color: #112250;
}

/* PROJECT CARD */
.project {
    display: flex;
    margin-bottom: 30px;
    height: 180px;
    overflow: hidden;
}

/* IMAGE SIDE */
.project img {
    width: 35%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project:hover img{
    transform: scale(1.05);
}

/* TEXT SIDE */
.project-info {
    width: 65%;
    background: #3c5070;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.project-info h2 {
    letter-spacing: 2px;
}

/* PROJECT PAGE */
.project-page {
    padding: 80px 60px;
    background: #f7f4ef;
}

/* HEADER ROW */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.project-header h2 {
    color: #1e2a4a;
}

.back {
    text-decoration: none;
    color: #1e2a4a;
    font-size: 14px;
}

/* GRID LAYOUT */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 20px;
}

/* BOXES */
.box {
    background: #4a5d7a;
}

/* CUSTOM LAYOUT (matches your design) */
.box img{
    transition: transform 0.3s ease;
}
.box:hover img{
    transform: scale(1.05);
}

.box1 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box2 img{
   width: 100%;
    height: 100%;
    object-fit: cover;
}

.box3 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box4 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box5 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box6 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box7 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.footer {
    background: #ffffff;
    padding: 50px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    align-items: start;
}

/* BRAND SECTION */
.footer-brand {
    color: #706E6E;
}

.footer-logo {
    width: 280px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 12px;
    line-height: 1.6;
}

/* SERVICES */
.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #112250;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #112250;
}

/* CONTACT */
.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #112250;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

/* TABLET (≤ 992px) */
@media (max-width: 992px) {

    .hero,
    .about {
        flex-direction: column;
        padding: 40px;
    }

    .hero-image img,
    .about-image img {
        width: 100%;
    }

    .service-cards {
        flex-wrap: wrap;
    }

    .card {
        width: 100%;
    }

    .project {
        flex-direction: column;
        height: auto;
    }
}
    /* MOBILE (≤ 600px) */
@media (max-width: 600px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .navbar nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .navbar nav a {
        margin: 10px 0;
    }

    .hero,
    .about,
    .gallery,
    .project-page {
        padding: 30px 20px;
    }

    .hero-text h1,
    .about-text h1 {
        font-size: 24px;
    }

    .service-cards {
        flex-direction: column;
        gap: 15px;
    }

    /* GALLERY */
    .project {
        margin-bottom: 20px;
    }

    /* PROJECT GRID */
    .project-grid {
        grid-template-columns: 1fr;
    }

    .box3 {
        grid-column: span 1;
    }

    /* Reduce heights */
    .project-grid .box {
        height: 150px;
    }
}
