       :root {
            --white: #c77575;
            --gray: #D1D3D4;
            --black: #000000;
            --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            --transition-fast: all 0.3s ease;
            --margin-premium: 80px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--white);
            color: var(--black);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Typography */
        h1, h2, h3, h4 { font-weight: 800; text-transform: none; letter-spacing: -0.03em; line-height: 1.1; }
        h1 { font-size: clamp(3rem, 8vw, 6rem); }
        h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 2rem; }
        h3 { font-size: 1.5rem; font-weight: 700; }
        .subheading { font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.15em; margin-bottom: 1rem; display: block; }
        p { font-weight: 400; font-size: 1.1rem; opacity: 0.8; margin-bottom: 1.5rem; }

        /* Shared Components */
        .container { max-width: 1440px; margin: 0 auto; padding: 0 var(--margin-premium); }
        .section { padding: 160px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
        .bg-gray { background-color: var(--gray); }
        
        .btn {
            display: inline-flex; align-items: center; justify-content: center;
            padding: 20px 40px; font-weight: 600; font-size: 0.85rem;
            text-transform: uppercase; letter-spacing: 0.1em;
            text-decoration: none; border: 1px solid var(--black);
            background: var(--black); color: var(--white);
            cursor: pointer; transition: var(--transition-fast);
        }
        .btn:hover { background: transparent; color: var(--black); transform: translateY(-3px); }
        .btn-outline { background: transparent; color: var(--black); }
        .btn-outline:hover { background: var(--black); color: var(--white); }

        /* Multi-Page Navigation System */
        header {
            background: var(--white);
            height: 100px; display: flex; align-items: center;
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            transition: var(--transition-fast);
        }
        header.scrolled { height: 80px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
        
        .nav-wrapper { display: flex; width: 100%; align-items: center; }
        nav { flex: 1; display: flex; gap: 30px; }
        nav a { text-decoration: none; color: var(--black); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; transition: var(--transition-fast); }
        nav a:hover, nav a.active { opacity: 1; }
        
.logo {
    flex: 1;
    display: flex;
    justify-content: center;   /* Center horizontally */
    align-items: center;       /* Center vertically */
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    cursor: pointer;
}

.logo-img {
    height: 160px;
    width: auto;
}        .header-cta { flex: 1; display: flex; justify-content: flex-end; }
        .btn-minimal { background: none; border: none; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; cursor: pointer; border-bottom: 2px solid var(--black); padding-bottom: 5px; }

        /* Page Routing Container */
        #page-content { margin-top: 100px; min-height: 80vh; }
        .page-view { display: none; animation: fadeIn 0.8s ease forwards; }
        .page-view.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* HERO SECTION */
        .hero {
            height: 90vh; position: relative; display: flex; align-items: center;
            background: #eee; overflow: hidden;
        }
        .hero-bg {
            position: absolute; inset: 0;
            background-image:  
                        url('hero.png');
            background-size: cover; background-position: center;
            animation: slowZoom 30s linear infinite alternate;
        }
        @keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
        
        .hero-content { position: relative; z-index: 10; max-width: 900px; text-align: center; margin: 0 auto; }
        
        .step-system {
            position: absolute; left: var(--margin-premium); top: 50%; transform: translateY(-50%);
            display: flex; flex-direction: column; width: 300px; z-index: 20;
        }
        .step-card {
            padding: 40px 0; border-top: 1px solid rgba(0,0,0,0.1);
            display: flex; align-items: center; justify-content: space-between;
            cursor: pointer; transition: var(--transition-slow);
        }
        .step-card:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }
        .step-num { font-size: 0.9rem; font-weight: 400; opacity: 0.4; transition: var(--transition-fast); margin-left: auto; order: 2; }
        .step-text { font-weight: 600; font-size: 1.1rem; order: 1; transition: var(--transition-fast); }
        .step-underline { width: 0; height: 2px; background: var(--black); position: absolute; bottom: 40px; left: 0; transition: var(--transition-slow); }
        .step-card:hover .step-num { font-weight: 800; opacity: 1; transform: scale(1.2); }
        .step-card:hover .step-text { letter-spacing: 0.05em; }
        .step-card:hover .step-underline { width: 60px; }

        /* GRID SYSTEM */
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
        .grid-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 100px; align-items: start; }

        /* CARDS */
        .card { background: var(--white); padding: 50px; transition: var(--transition-slow); position: relative; display: flex; flex-direction: column; border: 1px solid transparent; }
        .service-card:hover { transform: translateY(-15px); box-shadow: 0 40px 80px rgba(0,0,0,0.06); }
        .service-card h3 { margin: 25px 0 15px; }
        .card-hr { width: 30px; height: 1px; background: var(--black); margin-bottom: 20px; transition: var(--transition-slow); }
        .service-card:hover .card-hr { width: 100%; }

        .project-card { position: relative; height: 500px; overflow: hidden; cursor: pointer; }
        .project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
        .project-card:hover img { transform: scale(1.1); }
        .project-info {
            position: absolute; bottom: 0; left: 0; right: 0; padding: 40px;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            color: white; transform: translateY(20px); opacity: 0; transition: var(--transition-slow);
        }
        .project-card:hover .project-info { transform: translateY(0); opacity: 1; }

        .blog-card { cursor: pointer; }
        .blog-img { height: 300px; background: #eee; margin-bottom: 30px; overflow: hidden; }
        .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
        .blog-card:hover img { transform: scale(1.05); }

        /* CONTACT FORM */
        .form-row { margin-bottom: 40px; position: relative; }
        .form-row input, .form-row textarea {
            width: 100%; padding: 20px 0; background: none; border: none;
            border-bottom: 1px solid #ccc; font-family: inherit; font-size: 1rem;
            transition: var(--transition-fast);
        }
        .form-row input:focus, .form-row textarea:focus { border-bottom-color: var(--black); }
        .form-row label { display: block; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 5px; }

        /* QUICK VIEW MODAL */
        .modal {
            position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000;
            display: none; align-items: center; justify-content: center; padding: 40px;
            backdrop-filter: blur(10px);
        }
        .modal-container {
            background: var(--white); width: 100%; max-width: 1200px; max-height: 90vh;
            display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
            position: relative; animation: modalSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        @keyframes modalSlide { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
        .modal-close { position: absolute; top: 30px; right: 30px; cursor: pointer; background: none; border: none; z-index: 100; }
        .modal-img { background: #f7f7f7; }
        .modal-img img { width: 100%; height: 100%; object-fit: cover; }
        .modal-content { padding: 80px; overflow-y: auto; display: flex; flex-direction: column; }
        .modal-content h2 { margin-bottom: 30px; }

        /* FOOTER */
        footer { padding: 120px 0 60px; border-top: 1px solid #eee; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 80px; margin-bottom: 100px; }
        .footer-col h4 { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.15em; margin-bottom: 35px; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 18px; }
        .footer-col ul li a { text-decoration: none; color: var(--black); opacity: 0.5; font-size: 0.95rem; transition: var(--transition-fast); }
        .footer-col ul li a:hover { opacity: 1; padding-left: 8px; }
        .footer-bottom { border-top: 1px solid #eee; padding-top: 40px; display: flex; justify-content: space-between; font-size: 0.8rem; opacity: 0.5; }

        /* Filter System Styling */
        .filter-nav { display: flex; gap: 20px; margin-bottom: 50px; }
        .filter-btn { background: none; border: 1px solid #eee; padding: 10px 25px; font-weight: 600; font-size: 0.75rem; cursor: pointer; transition: var(--transition-fast); }
        .filter-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }


/* Desktop Default */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ===============================
   MOBILE STYLES
================================= */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
        z-index: 2001;
    }

    nav {
        display: none;
    }

    #main-nav {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 0;
        display: none;
    }

    #main-nav.active {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .logo span {
        display: none;
    }
}


.section-light {
    background: #f9fafb;
}

.section-dark {
    background: #111;
    color: white;
}

.center-text {
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.section-dark .stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat p {
    opacity: 0.7;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Layout */
.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 14px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stats-row h2 {
    font-size: 2rem;
    font-weight: 800;
}

.section-light {
    background: #f8fafc;
}

.section-dark {
    background: #111;
    color: white;
}

.center-text {
    text-align: center;
}

.section-text {
    max-width: 750px;
    margin: 20px auto 60px;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: rgb(223, 127, 127);
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.timeline {
    border-left: 2px solid #e5e7eb;
    padding-left: 40px;
    margin-top: 60px;
}

.timeline-item {
    margin-bottom: 50px;
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1000px) {
    .grid-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 400px;
    }
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.4s ease;
}

.project-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    width: 100%;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.modal-container {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 90vh; /* Limit modal height */
    overflow-y: auto;  /* Scroll entire modal if content is tall */
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.modal-img img {
    width: 100%;
    height: auto; /* keep aspect ratio */
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-actions {
    display: flex;
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}