/*==============================================================
ZACHA ENTERPRISE - MAIN STYLES
==============================================================*/

/* ROOT VARIABLES */
:root{

    --primary:#0B1F3A;
    --secondary:#0F5FA8;
    --accent:#00AEEF;

    --white:#fff;
    --light:#F5F8FC;
    --text:#2B313B;
    --muted:#6B7280;

    --shadow-sm:0 4px 12px rgba(0,0,0,.06);
    --shadow-md:0 12px 30px rgba(0,0,0,.10);
    --shadow-lg:0 20px 60px rgba(0,0,0,.15);

    --radius:14px;

    --container:1200px;

    --transition:.35s ease;

}

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

body{

    font-family:Arial, sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.6;

}

/* CONTAINER */
.container{

    width:min(92%,var(--container));
    margin:auto;

}

/* TOPBAR */
.topbar{

    background:var(--primary);
    color:#fff;
    font-size:.85rem;
    padding:10px 0;

}

.topbar .container{

    display:flex;
    justify-content:space-between;

}

/* HEADER */
.header{

    position:sticky;
    top:0;
    background:#fff;
    box-shadow:var(--shadow-sm);
    z-index:1000;

}

.header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;

}

.logo img{

    height:55px;

}

/* NAVIGATION */
.navigation ul{

    display:flex;
    gap:30px;
    list-style:none;

}

.navigation a{

    text-decoration:none;
    color:var(--text);
    font-weight:600;

}

.navigation a:hover{

    color:var(--secondary);

}

/* Active navigation item */

.navigation a.active{

    color:var(--secondary);
    border-bottom:3px solid var(--accent);
    padding-bottom:6px;

}

/* MOBILE TOGGLE */
.mobile-toggle{

    display:none;

}

/* HERO */
.hero{

    background:linear-gradient(rgba(11,31,58,.85),rgba(11,31,58,.85)),
    url("../images/hero-bg.jpg") center/cover;

    color:#fff;
    padding:120px 0;

}

.hero-grid{

    display:grid;
    grid-template-columns:1.2fr 1fr;
    align-items:center;
    gap:40px;

}

.hero h1{

    font-size:3rem;

}

.hero p{

    margin:20px 0;

}

/* BUTTONS */
.btn{

    display:inline-block;
    padding:14px 28px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    transition:var(--transition);

}

.btn-primary{

    background:var(--primary);
    color:#fff;

}

.btn-primary:hover{

    background:var(--secondary);

}

.btn-outline{

    border:2px solid #fff;
    color:#fff;

}

.btn-outline:hover{

    background:#fff;
    color:var(--primary);

}

/* SECTIONS */
#capabilities{
    padding-top:70px;
    padding-bottom:80px;
}

.section-heading{

    text-align:center;
    margin-bottom:50px;

}

.section-tag{

    display:inline-block;
    background:#e6f3ff;
    color:var(--secondary);
    padding:6px 14px;
    border-radius:50px;
    font-size:.8rem;
    margin-bottom:10px;

}

/* ABOUT */
.about-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;

}

.about-image img{

    width:100%;
    border-radius:var(--radius);

}

/* SOLUTIONS */
.solutions-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;

}

.solution-card{

    background:#fff;
    padding:36px;
    border-radius:var(--radius);
    box-shadow:var(--shadow-sm);

}

/* PARTNERS */
.partner-track{

    display:flex;
    gap:40px;
    overflow:hidden;

}

.partner-card img{

    height:50px;
    filter:grayscale(100%);

}

/* STATS */
.statistics{

    background:var(--primary);
    color:#fff;
    padding:80px 0;

}

.stats-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;

}

/* CTA */
.contact-cta{

    background:#f5f8fc;

}

.cta-wrapper{

    display:flex;
    justify-content:space-between;
    align-items:center;
    background:var(--primary);
    color:#fff;
    padding:50px;
    border-radius:20px;

}

/* FOOTER */
.footer{

    background:var(--primary);
    color:#fff;
    padding:40px 0;

}

/* BACK TO TOP */
.back-to-top{

    position:fixed;
    bottom:20px;
    right:20px;
    background:var(--secondary);
    color:#fff;
    border:none;
    padding:12px 16px;
    border-radius:50%;
    cursor:pointer;
    display:none;

}

.back-to-top.show{

    display:block;

}
/* ==========================================================
   INDEX HERO OVERRIDE
   (Keeps existing CSS intact)
   ========================================================== */

.hero{
    background:none !important;
    padding:0 !important;
    margin:0 !important;
    width:100%;
    overflow:hidden;
}

.hero img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
}

.hero-grid{
    display:block !important;
}

.hero h1,
.hero p,
.hero .btn{
    display:none;
}

/* ==========================================================
   INDEX.HTML COMPATIBILITY LAYER
   Supports the current index.html
   ========================================================== */

/* Section Headings */

.section h2{
    font-size:2.2rem;
    color:var(--primary);
    text-align:center;
    margin-bottom:20px;
}

.section-intro{
    max-width:900px;
    margin:0 auto 45px;
    text-align:center;
    color:var(--muted);
    line-height:1.7;
}

/* Generic Card Grid */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    margin-top:40px;
}

.card{
    background:#ffffff;
    padding:30px;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transition:all .3s ease;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 36px rgba(0,0,0,.12);
}

.card h3{
    color:var(--primary);
    margin-bottom:20px;
    font-size:1.25rem;
}

.card p{
    color:var(--muted);
    line-height:1.7;
}

/* Technology Stack */

.stack{
    display:block;
    width:100%;
    max-width:1200px;
    height:auto;
    margin:35px auto 50px;
    border-radius:14px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

/* Statistics Section */

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:25px;
    background:var(--primary);
    color:#ffffff;
    padding:70px 40px;
    margin-top:70px;
    text-align:center;
    border-radius:14px;
}

.stats div{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    font-size:1.1rem;
    font-weight:600;

}
.stats h2{
    font-size:2.6rem;
    line-height:1;
    margin-bottom:10px;
    color:#fff;
}

.stats p{
    margin:0;
    color:#dbe6f4;
    font-size:1rem;
}
/* Call To Action */

.cta{
    background:#F5F8FC;
    padding:90px 20px;
    text-align:center;
}

.cta h2{
    color:var(--primary);
    margin-bottom:20px;
}

.cta p{
    max-width:720px;
    margin:0 auto 30px;
    color:var(--muted);
    line-height:1.8;
}

.cta a{
    display:inline-block;
    background:var(--primary);
    color:#fff;
    text-decoration:none;
    padding:15px 34px;
    border-radius:50px;
    font-weight:600;
    transition:.3s ease;
}

.cta a:hover{
    background:var(--secondary);
}

/* Footer */

footer{
    background:var(--primary);
    color:#ffffff;
    text-align:center;
    padding:45px 20px;
}

footer p{
    margin:0;
}

/* Responsive */

@media (max-width:992px){

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .header .container{
        flex-direction:column;
        gap:20px;
    }

    .navigation ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:16px;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .section{
        padding:60px 0;
    }

    .card{
        padding:24px;
    }

    .hero img{
        width:100%;
        height:auto;
    }
}
/* ==========================================================
   ABOUT PAGE HERO
   ========================================================== */

.about-hero{

    background:linear-gradient(rgba(11,31,58,.92), rgba(11,31,58,.92));
    color:#ffffff;
    padding:100px 20px;
    text-align:center;

}

.about-hero h1{

    font-size:3rem;
    margin-bottom:20px;
    color:#ffffff;

}

.about-hero .section-intro{

    max-width:900px;
    margin:0 auto;
    color:#dbe6f4;
    line-height:1.8;

}