/* ===================================
   ROOT VARIABLES
=================================== */

:root{

    --bg-primary:#0a0f1c;
    --bg-secondary:#111827;

    --card-bg:#172033;
    --card-hover:#22304a;

    --primary:#3b82f6;
    --secondary:#06b6d4;

    --text:#f8fafc;
    --muted:#cbd5e1;

    --shadow:
    0 10px 30px rgba(0,0,0,.35);

    --glow:
    0 0 25px rgba(59,130,246,.25);

}

/* ===================================
   RESET
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg-primary);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.8;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{

    width:100%;
    max-width:1200px;

    margin:auto;

    padding-left:20px;
    padding-right:20px;
}

/* ===================================
   NAVBAR
=================================== */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    padding:18px 5%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:rgba(10,15,28,.85);

    backdrop-filter:blur(15px);

    z-index:1000;

    border-bottom:
    1px solid rgba(255,255,255,.08);
}

.logo{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:700;
}

.logo i{

    color:var(--secondary);

    font-size:1.3rem;
}

.nav-links{

    display:flex;

    list-style:none;

    gap:30px;
}

.nav-links a{

    transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{

    color:var(--secondary);
}

.menu-btn{

    display:none;

    cursor:pointer;

    font-size:1.5rem;
}

/* ===================================
   HERO
=================================== */

.gallery-hero{

    min-height:75vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    position:relative;

    padding:120px 0;

    background:
    linear-gradient(
        135deg,
        #0a0f1c,
        #111827
    );
}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(59,130,246,.15),
        transparent 40%
    );
}

.gallery-hero .container{

    position:relative;

    z-index:2;
}

.hero-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:30px;

    background:
    rgba(255,255,255,.08);

    margin-bottom:20px;
}

.gallery-hero h1{

    font-size:
    clamp(2rem,5vw,4.5rem);

    line-height:1.2;

    margin-bottom:20px;
}

.gallery-hero p{

    max-width:700px;

    margin:auto;

    color:var(--muted);
}

/* ===================================
   SECTION TITLE
=================================== */

.section-title{

    text-align:center;

    margin-bottom:60px;
}

.section-title span{

    color:var(--secondary);
}

.section-title h2{

    margin-top:10px;

    font-size:
    clamp(1.8rem,4vw,3rem);
}

/* ===================================
   INTRO
=================================== */

.gallery-intro{

    padding:100px 0 50px;
}

.intro-text{

    max-width:850px;

    margin:auto;

    text-align:center;

    color:var(--muted);
}

/* ===================================
   FILTERS
=================================== */

.gallery-filter-section{

    padding-bottom:60px;
}

.gallery-filters{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;
}

.filter-btn{

    border:none;

    cursor:pointer;

    color:white;

    padding:12px 22px;

    border-radius:50px;

    background:var(--card-bg);

    transition:.3s;
}

.filter-btn:hover,
.filter-btn.active{

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:var(--glow);
}

/* ===================================
   GALLERY GRID
=================================== */

.gallery-section{

    padding-bottom:100px;
}

.gallery-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.gallery-card{

    overflow:hidden;

    border-radius:22px;

    background:var(--card-bg);

    transition:.4s;

    box-shadow:var(--shadow);
}

.gallery-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--glow);
}

.gallery-placeholder{

    height:260px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    background:
    linear-gradient(
        135deg,
        #172033,
        #22304a
    );

    border-bottom:
    1px solid rgba(255,255,255,.08);

    color:#94a3b8;

    font-weight:600;
}

.gallery-info{

    padding:20px;
}

.gallery-info h3{

    font-size:1.1rem;
}

/* ===================================
   HIGHLIGHTS
=================================== */

.highlight-section{

    padding:100px 0;

    background:var(--bg-secondary);
}

.highlight-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.highlight-card{

    background:var(--card-bg);

    padding:35px;

    border-radius:22px;

    text-align:center;

    transition:.4s;

    box-shadow:var(--shadow);
}

.highlight-card:hover{

    transform:translateY(-10px);

    background:var(--card-hover);

    box-shadow:var(--glow);
}

.highlight-card i{

    font-size:2.5rem;

    color:var(--secondary);

    margin-bottom:15px;
}

/* ===================================
   CTA
=================================== */

.cta-section{

    padding:100px 0;

    text-align:center;
}

.cta-section h2{

    font-size:
    clamp(2rem,4vw,3rem);
}

.cta-section p{

    max-width:700px;

    margin:20px auto 30px;
}

.cta-btn{

    display:inline-block;

    padding:15px 35px;

    border-radius:50px;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:var(--glow);

    transition:.3s;
}

.cta-btn:hover{

    transform:translateY(-5px);
}

/* ===================================
   FOOTER
=================================== */

footer{

    background:#050912;

    padding:70px 20px;

    text-align:center;
}

.footer-social{

    margin-top:25px;

    display:flex;

    justify-content:center;

    gap:15px;
}

.footer-social a{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--card-bg);

    transition:.3s;
}

.footer-social a:hover{

    background:var(--secondary);

    transform:translateY(-4px);
}

/* ===================================
   GLOBAL RESPONSIVE FIXES
=================================== */

html,
body{
    width:100%;
    overflow-x:hidden;
}

*{
    max-width:100%;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding-left:20px;
    padding-right:20px;
}

/* ===================================
   TABLET
=================================== */

@media screen and (max-width:992px){

    .intro-grid,
    .faculty-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .cards-grid,
    .curriculum-grid,
    .method-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .academics-hero h1{
        font-size:3rem;
    }
}

/* ===================================
   MOBILE
=================================== */

@media screen and (max-width:768px){

    .navbar{
        padding:15px 20px;
    }

    .logo{
        font-size:14px;
        max-width:220px;
    }

    .logo span{
        display:none;
    }

    .menu-btn{
        display:block;
        z-index:1001;
    }

    .nav-links{

        position:fixed;

        top:0;
        right:-100%;

        width:280px;
        height:100vh;

        background:#111827;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        transition:.4s;

        z-index:1000;
    }

    .nav-links.active{
        right:0;
    }

    .cards-grid,
    .curriculum-grid,
    .method-grid,
    .stats-grid{
        grid-template-columns:1fr;
    }

    .intro-points{
        grid-template-columns:1fr;
    }

    .academics-hero{
        min-height:60vh;
        padding:120px 0 80px;
    }

    .academics-hero h1{
        font-size:2rem;
        line-height:1.3;
    }

    .academics-hero p{
        font-size:15px;
    }

    .section-title h2{
        font-size:2rem;
    }

    .program-card,
    .curriculum-card,
    .method-card,
    .stat-box{
        padding:25px;
    }

    .image-placeholder,
    .faculty-placeholder{
        min-height:250px;
    }

    .academic-intro,
    .programs-section,
    .curriculum-section,
    .methodology-section,
    .faculty-section,
    .stats-section,
    .cta-section{
        padding:70px 0;
    }

    .cta-btn{
        width:100%;
        max-width:300px;
        text-align:center;
    }
}

/* ===================================
   SMALL MOBILE
=================================== */

@media screen and (max-width:480px){

    .container{
        padding-left:15px;
        padding-right:15px;
    }

    .academics-hero h1{
        font-size:1.7rem;
    }

    .section-title h2{
        font-size:1.6rem;
    }

    .hero-badge{
        font-size:12px;
    }

    .program-card h3,
    .curriculum-card h3,
    .method-card h3{
        font-size:1.2rem;
    }

    .stat-box h2{
        font-size:1.8rem;
    }

    footer{
        padding:50px 15px;
    }
}