.navbar,
.hero,
.stats,
.section,
footer,
.card{
    position:relative;
    z-index:2;
}

/* ============================
   BACKGROUND VIDEO
============================ */

#bg-video{
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    object-fit:cover;
    z-index:-999;
}

.video-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(15,23,42,0.65);
    z-index:-998;
}

/* =================================
   GLOBAL STYLES
================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    color:#ffffff;
    line-height:1.6;
    overflow-x:hidden;
    position:relative;
    background:transparent;
}

/* =================================
   NAVBAR
================================= */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;

    background:rgba(255,255,255,.12);
    backdrop-filter:blur(12px);

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 8%;

    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:6px;

    font-size:28px;
    font-weight:700;
    color:#ffffff;
    text-decoration:none;
}

/* Small Transparent India Flag Logo */
.logo-flag{
    width:50px;
    height:44px;

    object-fit:contain;
    display:inline-block;

    background:transparent !important;

    border:none;
    border-radius:0;
    box-shadow:none;

    vertical-align:middle;
}

/* If using emoji flag */
.flag{
    font-size:18px;
    line-height:1;
    margin-left:2px;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:25px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    color:#ffffff;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#93c5fd;
}

/* =================================
   HAMBURGER
================================= */

.hamburger{
    display:none;
    font-size:30px;
    cursor:pointer;
    color:white;
}

/* =================================
   DROPDOWN
================================= */

.dropdown{
    position:relative;
}

.dropdown-menu{
    display:none;
    position:absolute;

    top:100%;
    left:0;

    min-width:240px;

    background:white;

    border-radius:12px;

    list-style:none;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    z-index:9999;
}

.dropdown-menu li a{
    display:block;
    padding:14px 20px;
    color:#111827;
}

.dropdown-menu li a:hover{
    background:#eff6ff;
    color:#2563eb;
}

.dropdown:hover .dropdown-menu{
    display:block;
}

/* =================================
   HERO
================================= */

.hero{
    min-height:100vh;

    padding:110px 8% 40px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.hero-content{
    flex:1;
    max-width:700px;
}

.hero h1{
    font-size:62px;
    margin-bottom:10px;
}

.hero h2{
    font-size:28px;
    font-weight:400;
    color:#dbeafe;
    margin-bottom:20px;
}

.hero p{
    font-size:18px;
    line-height:1.8;
}

.tagline{
    margin-top:20px;
    font-size:18px;
    font-weight:600;
    color:#93c5fd;
}

/* =================================
   PROFILE PHOTO
================================= */

.profile-photo{
    flex:1;
    display:flex;
    justify-content:center;
}

.profile-photo img{

    width:430px;
    height:430px;

    object-fit:cover;

    border-radius:50%;

    opacity:.85;

    border:5px solid rgba(255,255,255,.5);

    box-shadow:
    0 0 30px rgba(255,255,255,.25),
    0 20px 50px rgba(0,0,0,.45);

    transition:.4s;
}

.profile-photo img:hover{
    opacity:1;
    transform:scale(1.03);
}

/* =================================
   STATS
================================= */

.stats{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(10px);

    margin:20px 8%;

    border-radius:20px;

    padding:35px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    text-align:center;
}

.stats h2{
    font-size:48px;
    color:#60a5fa;
}

.stats p{
    color:white;
}

/* =================================
   SECTIONS
================================= */

.section{
    padding:40px 8%;
}

.section-title{
    text-align:center;
    font-size:36px;
    color:white;
    margin-bottom:20px;
}

/* =================================
   CARDS
================================= */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{

    background:rgba(255,255,255,.92);

    color:#111827;

    padding:25px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    color:#2563eb;
    margin-bottom:12px;
}

/* =================================
   CERTIFICATIONS
================================= */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.cert-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
}

.cert-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.cert-content{
    padding:20px;
}

.cert-content h3{
    color:#2563eb;
}

.cert-section{
    padding-top:180px;
}

.cert-page{
    padding-top:30px;
}

/* =================================
   LIGHTBOX
================================= */

.lightbox{
    display:none;
    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.9);

    z-index:9999;
}

.lightbox img{
    display:block;
    max-width:90%;
    max-height:90%;
    margin:auto;
    margin-top:2%;
}

.close{
    position:absolute;
    top:20px;
    right:30px;

    color:white;
    font-size:45px;
    cursor:pointer;
}

/* =================================
   FOOTER
================================= */

footer{
    background:rgba(0,0,0,.45);

    backdrop-filter:blur(10px);

    text-align:center;

    padding:20px;
}

footer p{
    color:white;
}

/* =================================
   TABLET
================================= */

@media(max-width:1024px){

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .profile-photo img{
        width:350px;
        height:350px;
    }

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

/* =================================
   MOBILE
================================= */

@media(max-width:768px){

    .hamburger{
        display:block;
    }

    .navbar{
        flex-wrap:wrap;
        padding:15px 20px;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        width:100%;
        text-align:center;
        margin-top:15px;
        gap:12px;
    }

    .nav-links.active{
        display:flex;
    }

    .dropdown-menu{
        position:static;
        width:100%;
        margin-top:5px;
    }

    .hero{
        flex-direction:column;
        text-align:center;
        padding:120px 20px 40px;
    }

    .hero h1{
        font-size:42px;
    }

    .hero h2{
        font-size:22px;
    }

    .hero p{
        font-size:16px;
    }

    .profile-photo img{
        width:300px;
        height:300px;
        margin-top:20px;
    }

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

    .section{
        padding:40px 20px;
    }

    .section-title{
    text-align:center;
    font-size:36px;
    color:white;
    margin-bottom:30px;
    padding-top:40px;
}
}

@media(max-width:768px){

      .logo{
        font-size:22px;
        gap:5px;
    }

    .logo-flag{
        width:16px;
        height:11px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero h2{
        font-size:18px;
    }

    .profile-photo img{
        width:250px;
        height:250px;
    }
}
/* =================================
   CLICKABLE EXPERTISE CARDS
================================= */

.expertise-link{
    text-decoration:none;
    color:inherit;
    display:block;
    cursor:pointer;
    transition:all 0.3s ease;
}

.expertise-link:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.25);
}

.expertise-link h3{
    color:#2563eb;
}

.back-btn{
    display:inline-block;
    margin-top:20px;
    background:#2563eb;
    color:white;
    text-decoration:none;
    padding:12px 24px;
    border-radius:10px;
    transition:0.3s;
}

.back-btn:hover{
    background:#1d4ed8;
}
/* Expertise Buttons */

.expertise-link{
    text-decoration:none;
    text-align:center;
    min-height:90px;

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

    cursor:pointer;
}

.expertise-link h3{
    margin:0;
    font-size:24px;
    color:#2563eb;
    line-height:1.3;
}

.expertise-link:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}
