/* =========================================================
   EduAdvance Premium Website Stylesheet
   Part 1: Foundation, Header, Hero, General Layout
========================================================= */

:root{
    --navy:#0b2d52;
    --navy-dark:#071f3a;
    --blue:#2f80ed;
    --gold:#c9a34e;
    --gold-soft:rgba(201,163,78,.18);
    --grey:#f4f6f9;
    --white:#ffffff;
    --text:#10243e;
    --muted:#5c6f86;
    --border:#dfe6ef;
    --shadow:0 18px 45px rgba(16,36,70,.08);
    --shadow-hover:0 25px 60px rgba(16,36,70,.14);
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:var(--grey);
    color:var(--text);
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

section{
    padding:90px 7%;
}

.container{
    max-width:1300px;
    margin:0 auto;
}

.eyebrow,
.section-tag{
    display:block;
    color:var(--blue);
    font-size:15px;
    font-weight:800;
    letter-spacing:5px;
    text-transform:uppercase;
    margin-bottom:14px;
}

h1,h2,h3{
    color:var(--text);
    line-height:1.15;
}

h1{
    font-size:clamp(48px,6vw,86px);
    letter-spacing:-2px;
}

h2{
    font-size:clamp(38px,5vw,64px);
    margin-bottom:26px;
}

h3{
    font-size:28px;
    margin-bottom:18px;
}

p{
    color:var(--muted);
    font-size:18px;
}

.section-intro{
    max-width:950px;
    margin-bottom:45px;
}

.section-intro.center,
.global-map-section .section-intro{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

/* =========================================================
   Header / Navigation
========================================================= */

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.nav-container{
    max-width:1250px;
    margin:0 auto;
    padding:14px 5%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.logo-wrap{
    display:flex;
    align-items:center;
    gap:14px;
}

.logo-img{
    width:54px;
    height:54px;
    object-fit:contain;
}

.logo-text{
    font-size:30px;
    font-weight:800;
    color:var(--text);
}

.main-nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.main-nav a{
    position:relative;
    font-weight:700;
    color:var(--text);
    font-size:16px;
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-7px;
    width:0;
    height:2px;
    background:var(--gold);
    transition:.3s ease;
}

.main-nav a:hover::after{
    width:100%;
}

.nav-button{
    background:var(--gold);
    color:white;
    padding:16px 28px;
    border-radius:999px;
    font-weight:800;
    box-shadow:0 12px 28px rgba(201,163,78,.28);
    transition:.3s ease;
}

.nav-button:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(201,163,78,.36);
}

/* =========================================================
   Hero
========================================================= */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:150px 7% 90px;
    overflow:hidden;
    background:
    linear-gradient(115deg,rgba(5,24,48,.55),rgba(8,45,82,.35),rgba(5,24,48,.65)),
    url("../images/hero.jpg") center/cover no-repeat;
}

.hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 75% 30%,rgba(201,163,78,.22),transparent 35%);
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1250px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:50px;
    align-items:center;
}

.hero-left{
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.22);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-radius:30px;
    padding:52px;
    box-shadow:0 30px 80px rgba(0,0,0,.28);
}

.hero-left h1,
.hero-left h1 span{
    color:white;
}

.hero-left h1 span{
    color:var(--gold);
}

.hero-text{
    color:#eef3f8;
    font-size:20px;
    line-height:1.8;
    max-width:760px;
    margin-top:24px;
}

.hero-panel{
    background:rgba(255,255,255,.95);
    border-radius:30px;
    padding:30px;
    box-shadow:0 35px 90px rgba(0,0,0,.32);
    border:1px solid rgba(201,163,78,.35);
}

.primary-btn,
.secondary-btn,
.logo-link{
    display:inline-block;
    background:var(--navy);
    color:#fff;
    padding:14px 24px;
    border-radius:10px;
    font-weight:800;
    transition:.3s ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.logo-link:hover{
    background:var(--gold);
    color:var(--navy);
    transform:translateY(-3px);
}

.scroll-indicator{
    position:absolute;
    bottom:35px;
    left:50%;
    transform:translateX(-50%);
    z-index:5;
    display:flex;
    flex-direction:column;
    align-items:center;
    color:white;
    font-size:14px;
    letter-spacing:1px;
}

.scroll-indicator span{
    width:2px;
    height:45px;
    background:var(--gold);
    margin-bottom:12px;
    animation:scrollLine 1.8s infinite;
}

@keyframes scrollLine{
    0%{opacity:0;transform:translateY(-10px);}
    50%{opacity:1;}
    100%{opacity:0;transform:translateY(15px);}
}
/* =========================================================
   Part 2: Cards, Services, Stats, Regions
========================================================= */

/* General Cards */

.cards-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
    margin-top:45px;
    align-items:stretch;
}

.service-card,
.stat-card,
.region-card,
.timeline-item{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:24px;
    padding:34px;
    min-height:320px;
    box-shadow:var(--shadow);
    transition:.35s ease;
}

.service-card:hover,
.stat-card:hover,
.region-card:hover,
.timeline-item:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-hover);
    border-color:rgba(201,163,78,.45);
}

.service-card h3,
.region-card h3,
.timeline-item h3{
    font-size:28px;
    margin-bottom:22px;
}

.service-card p,
.region-card p,
.timeline-item p{
    font-size:17px;
    line-height:1.8;
}

/* Stats */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:45px;
}

.stat-card{
    text-align:center;
    min-height:260px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.stat-card h3{
    font-size:56px;
    color:var(--gold);
    margin-bottom:18px;
}

.stat-card p{
    font-weight:700;
    color:var(--text);
}

/* Services */

#services{
    background:var(--grey);
}

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

#services .service-card{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

/* Global Map / Region Selector */

.global-map-section{
    background:var(--white);
    text-align:center;
}

.map-region-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:24px;
    max-width:1200px;
    margin:50px auto 0;
}

.map-region-grid button{
    width:100%;
    min-height:130px;
    background:var(--white);
    color:var(--text);
    border:1px solid var(--border);
    padding:28px 16px;
    border-radius:24px;
    font-size:21px;
    font-weight:800;
    cursor:pointer;
    transition:.3s ease;
    box-shadow:var(--shadow);
}

.map-region-grid button:hover{
    background:var(--navy);
    color:#fff;
    transform:translateY(-8px);
    box-shadow:var(--shadow-hover);
}

.map-region-grid button:nth-child(4){
    border-color:rgba(201,163,78,.55);
}

/* Region Tabs */

.region-tab-buttons{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:24px;
    margin:45px 0 65px;
}

.region-tab-buttons button{
    width:100%;
    min-height:120px;
    padding:24px 14px;
    border-radius:22px;
    border:1px solid var(--border);
    background:#fff;
    color:var(--text);
    font-size:21px;
    font-weight:800;
    cursor:pointer;
    transition:.3s ease;
    box-shadow:var(--shadow);
}

.region-tab-buttons button.active,
.region-tab-buttons button:hover{
    background:var(--gold);
    color:#fff;
    border-color:var(--gold);
    transform:translateY(-6px);
}

.region-detail{
    background:#fff;
    border:1px solid var(--border);
    border-radius:28px;
    padding:50px;
    box-shadow:var(--shadow);
    margin-bottom:50px;
}

.region-detail h3{
    font-size:42px;
    margin-bottom:24px;
}

.region-detail > p{
    max-width:1050px;
    margin-bottom:38px;
}

/* Region Specific Grids */

.uk-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
    margin-top:40px;
}

.canada-grid,
.usa-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:40px;
}

.gulf-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-top:40px;
}

.uk-grid .service-card,
.canada-grid .service-card,
.usa-grid .service-card,
.gulf-grid .service-card{
    height:100%;
}

/* Gulf Cards */

.gulf-card{
    min-height:300px;
    padding:34px;
}

.gulf-card h3{
    font-size:28px;
    line-height:1.3;
    margin-bottom:20px;
}

.gulf-card p{
    font-size:17px;
    line-height:1.75;
}

/* Timeline */

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

.timeline-item span{
    display:block;
    color:var(--blue);
    font-size:13px;
    font-weight:900;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:14px;
}
/* =========================================================
   Part 3: Accreditation, Footer, Buttons, Polish
========================================================= */

/* Accreditation Logos */

.accreditation-logos{
    background:var(--white);
}

.logo-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:24px;
    max-width:1400px;
    margin:50px auto 0;
    align-items:stretch;
}

.logo-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:30px 22px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.35s ease;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    height:100%;
    min-height:380px;
}

.logo-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-hover);
    border-color:rgba(201,163,78,.45);
}

.logo-card img{
    height:90px;
    width:100%;
    object-fit:contain;
    margin-bottom:24px;
}

.logo-card h3{
    font-size:24px;
    margin-bottom:12px;
}

.logo-card p{
    font-size:16px;
    line-height:1.6;
    margin-bottom:24px;
}

.logo-card .logo-link,
.logo-card .primary-btn{
    width:100%;
    text-align:center;
    margin-top:auto;
}

/* Disclaimer / Small Notes */

.accreditation-note,
.small-note{
    max-width:900px;
    margin:40px auto 0;
    text-align:center;
    font-style:italic;
    color:#6f7c8e;
}

/* Consultation / Contact */

#consultation,
#contact{
    background:var(--navy);
    color:#fff;
}

#consultation h2,
#contact h2,
#consultation h3,
#contact h3{
    color:#fff;
}

#consultation p,
#contact p{
    color:#d9e4ef;
}

.contact-card{
    background:#fff;
    color:var(--text);
    border-radius:26px;
    padding:38px;
    box-shadow:var(--shadow-hover);
}

.contact-card p{
    color:var(--muted);
}

/* Footer */

footer{
    background:var(--navy-dark);
    color:#fff;
    padding:55px 7%;
    text-align:center;
}

.footer-content{
    max-width:1100px;
    margin:0 auto;
}

footer h3{
    color:#fff;
    font-size:30px;
}

footer p{
    color:#d7e1ec;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:28px;
    flex-wrap:wrap;
    margin:28px 0;
}

.footer-links a{
    color:#ffffff;
    font-weight:700;
    transition:.3s ease;
}

.footer-links a:hover{
    color:var(--gold);
}

.company-details{
    margin-top:28px;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.16);
    font-size:14px;
    line-height:1.8;
    color:#d7e1ec;
}

.company-details strong{
    color:#fff;
}

.copyright{
    margin-top:24px;
    font-size:14px;
    color:#cfd8e3;
}

/* Animations */

.section,
.service-card,
.logo-card,
.stat-card,
.region-detail,
.timeline-item{
    animation:fadeUp .75s ease both;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(25px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
/* =========================================================
   Part 4: Responsive Design
========================================================= */

@media (max-width:1200px){

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

    .logo-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .map-region-grid,
    .region-tab-buttons{
        grid-template-columns:repeat(2,1fr);
    }

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

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

@media (max-width:900px){

    .main-nav{
        display:none;
    }

    .hero-content{
        grid-template-columns:1fr;
    }

    .hero-left{
        padding:34px;
    }

    .hero-panel{
        padding:24px;
    }

    .canada-grid,
    .usa-grid{
        grid-template-columns:1fr;
    }

    .region-detail{
        padding:34px;
    }
}

@media (max-width:700px){

    section{
        padding:70px 6%;
    }

    .cards-grid,
    #services .cards-grid,
    .stats-grid,
    .logo-grid,
    .map-region-grid,
    .region-tab-buttons,
    .uk-grid,
    .gulf-grid{
        grid-template-columns:1fr;
    }

    .nav-container{
        flex-wrap:wrap;
    }

    .logo-text{
        font-size:24px;
    }

    .nav-button{
        padding:12px 18px;
        font-size:14px;
    }

    .hero{
        padding-top:135px;
    }

    .hero-left{
        padding:28px;
    }

    .region-detail h3{
        font-size:34px;
    }
