
/* ==========================================
   RESET
========================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#151515;
    color:#fff;
    overflow-x:hidden;
}

/* ==========================================
   HEADER
========================================== */

#header{
    background:rgba(0,0,0,.35);

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    position:fixed;
    top:0;
    left:0;

    width:100%;

    padding:20px 70px;

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

    z-index:999;

    transition:.4s ease;
}

header.hide{
    transform:translateY(-120%);
    opacity:0;
}

/* ==========================================
   LOGO
========================================== */

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

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

.logo h3{
    font-size:1.4rem;
    font-weight:800;
    letter-spacing:2px;
    color:#fff;
}

.logo span{
    font-size:.75rem;
    color:rgba(255,255,255,.75);
}

/* ==========================================
   NAVIGATION
========================================== */

nav{
    display:flex;
    gap:45px;
}

nav a{
    text-decoration:none;
    color:#fff;

    font-size:.9rem;
    font-weight:600;

    letter-spacing:1px;

    position:relative;

    transition:.3s;
}

nav a:hover{
    color:#ff5a00;
}

nav a.active{
    color:#ff5a00;
}

nav a.active::after{
    content:'';

    position:absolute;

    left:0;
    bottom:-10px;

    width:100%;
    height:2px;

    background:#ff5a00;
}

/* ==========================================
   HEADER ACTIONS
========================================== */

.header-actions{
    display:flex;
    align-items:center;
    gap:15px;
}

.search-btn,
.menu-btn{
    border:none;
    outline:none;
    cursor:pointer;

    color:#fff;

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

    backdrop-filter:blur(10px);

    transition:.3s;
}

.search-btn{
    width:50px;
    height:50px;
    border-radius:50%;
}

.menu-btn{
    padding:15px 20px;
    border-radius:50px;

    display:flex;
    gap:10px;
    align-items:center;
}

.search-btn:hover,
.menu-btn:hover{
    background:#ff5a00;
}

/* ==========================================
   SEARCH OVERLAY
========================================== */

.search-overlay{
    position:fixed;

    inset:0;

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

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

    opacity:0;
    visibility:hidden;

    transition:.4s;

    z-index:9999;
}

.search-overlay.active{
    opacity:1;
    visibility:visible;
}

.search-box{
    width:800px;
    max-width:90%;

    position:relative;

    display:flex;
    gap:15px;
}

.search-box input{
    flex:1;

    height:70px;

    border:none;
    outline:none;

    background:#111;

    color:#fff;

    padding:0 25px;

    font-size:1.1rem;

    border-radius:12px;
}

.search-submit{
    width:150px;

    border:none;

    cursor:pointer;

    border-radius:12px;

    background:#ff5a00;

    color:#fff;

    font-weight:700;

    transition:.3s;
}

.search-submit:hover{
    opacity:.85;
}

.close-search{
    position:absolute;

    right:0;
    top:-60px;

    width:45px;
    height:45px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    color:#fff;

    background:#ff5a00;
}

/* ==========================================
   MOBILE MENU OVERLAY
========================================== */

.mobile-menu{
    position:fixed;
    inset:0;
    z-index:9999;

    display:flex;

    opacity:0;
    pointer-events:none;

    transition:.5s ease;
}

.mobile-menu.active{
    opacity:1;
    pointer-events:auto;
}

.menu-left{
    flex:1;
    background:transparent;
    backdrop-filter:none;
}

.menu-right{
    width:520px;
    height:100vh;

    background:#151515;

    padding:80px 70px;

    position:relative;

    border-left:1px solid rgba(255,255,255,.08);

    transform:translateX(100%);
    transition:transform .75s cubic-bezier(.77,0,.175,1);
}

.mobile-menu.active .menu-right{
    transform:translateX(0);
}

.close-menu{
    position:absolute;

    left:-32px;
    top:50%;

    transform:translateY(-50%);

    width:64px;
    height:64px;

    border:2px solid rgba(255,255,255,.15);
    border-radius:50%;

    background:#151515;

    color:#fff;

    font-size:24px;

    transition:.35s ease;
    cursor:pointer;
}

.close-menu:hover{
    border-color:#ff5a00;
    color:#ff5a00;

    transform:translateY(-50%) rotate(90deg);
}

.leadership-hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:46% 54%;

    background:#f5f5f5;
    color:#111;
}

.hero-left{
     padding:
        140px
        90px
        140px
        90px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.eyebrow{
    color:#ff5a00;

    font-weight:700;
    letter-spacing:3px;

    margin-bottom:20px;
}

.hero-left h1{
    font-size:5rem;
    font-weight:900;

    line-height:1;
}

.hero-left h1 span{
    color:#ff5a00;
}

.line{
    width:70px;
    height:3px;

    background:#ff5a00;

    margin:30px 0;
}

.hero-left p{
    max-width:500px;

    line-height:1.9;

    color:#555;

    font-size:1rem;
}

.signature{
    margin-top:50px;

    font-family:'Great Vibes',cursive;

    font-size:3rem;

    color:#ff5a00;
}

.hero-left h4{
    font-weight:500;
    color:#333;
}

.hero-right{
    position:relative;
}

.hero-right::before{
    content:"";

    position:absolute;
    left:0;
    top:0;

    width:220px;
    height:100%;

    background:linear-gradient(
        90deg,
        #f5f5f5 0%,
        rgba(245,245,245,.9) 25%,
        rgba(245,245,245,.5) 60%,
        rgba(245,245,245,0) 100%
    );

    z-index:5;
}

.hero-right img{
    width:100%;
    height:100%;

    object-fit:cover;

    filter:
        brightness(.95)
        contrast(1.05)
        saturate(.9);
}

/* ==========================================
   LEADERSHIP TEAM
========================================== */

.leadership-team{
    width:100%;
    padding:120px 40px;
    background:#f5f5f5;
    color:#111;
}

/* TITLE */

.section-heading{
    text-align:center;
    margin-bottom:80px;
}

.section-heading span{
    color:#ff5a00;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.section-heading h2{
    margin-top:15px;
    font-size:4rem;
    font-weight:900;
}

.section-heading h2 span{
    color:#ff5a00;
}

.section-heading p{
    max-width:800px;
    margin:20px auto 0;
    color:#666;
    line-height:1.8;
}

/* GRID */

.team-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:80px 70px;
}

/* CARD */

/* CARD */

.leader-card{
    display:flex;
    align-items:flex-start;
    gap:40px;
}

/* IMAGE */

.leader-card img{
    width:360px;
    height:360px;
    object-fit:cover;
    flex-shrink:0;
}

/* TEXT SIDE */

.leader-info{
    display:flex;
    flex-direction:column;

    height:360px; /* same height as image */

    padding-top:8px;
}

/* NAME */

.leader-info h3{
    font-size:1.3rem;
    font-weight:500;

    color:#111;

    line-height:1.2;

    margin-bottom:4px;

    white-space:nowrap;
}

/* TITLE */

.leader-info h5{
    font-size:.9rem;
    font-weight:400;

    color:#6d6d6d;

    line-height:1.4;

    margin-bottom:30px;

    text-transform:none;
}

/* DESCRIPTION */

.leader-info p{
    font-size:1rem;

    line-height:1.8;

    color:#444;

    max-width:420px;
}

/* SOCIALS */

.socials{
    margin-top:auto;

    display:flex;
    gap:28px;

    padding-bottom:10px;
}

.socials a{
    color:#111;
    font-size:1.4rem;
    text-decoration:none;
}

.socials a:hover{
    color:#ff5a00;
}

/* ==========================================
   FULL MOBILE RESPONSIVE SYSTEM (FINAL)
========================================== */

/* ================= TABLET ================= */
@media (max-width: 1200px){

    /* HERO */
    .leadership-hero{
        grid-template-columns:1fr;
    }

    .hero-left{
        padding:100px 40px;
    }

    .hero-left h1{
        font-size:3.8rem;
    }

    .hero-right{
        height:500px;
    }

    .hero-right::before{
        display:none;
    }

    /* TEAM GRID */
    .team-grid{
        grid-template-columns:1fr;
    }

}

/* ================= MOBILE ================= */
@media (max-width: 768px){

    /* HEADER (same style as index.php) */
    #header{
        padding:15px 20px;
    }

    nav{
        display:none;
    }

    .menu-btn{
        display:flex;
    }

    /* HERO */
    .leadership-hero{
        grid-template-columns:1fr;
    }

    .hero-left{
        padding:80px 20px;
        text-align:left;
    }

    .hero-left h1{
        font-size:2.6rem;
        line-height:1.1;
    }

    .signature{
        font-size:2rem;
    }

    .hero-right{
        height:380px;
    }

    /* SECTION TITLE */
    .section-heading h2{
        font-size:2.2rem;
    }

    .section-heading p{
        font-size:.95rem;
        padding:0 15px;
    }

    /* TEAM GRID becomes smooth vertical flow */
    .team-grid{
        display:flex;
        flex-direction:column;
        gap:40px;

        padding:0 10px;
    }

    /* CARD becomes clean scroll block */
    .leader-card{
        flex-direction:column;
        align-items:center;

        background:#fff;
        color:#111;

        border-radius:18px;
        overflow:hidden;

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

        transform:translateY(0);
        transition:transform .3s ease;
    }

    .leader-card:active{
        transform:scale(0.98);
    }

    /* IMAGE FIX */
    .leader-card img{
        width:100%;
        height:280px;
        object-fit:cover;
    }

    /* TEXT AREA */
    .leader-info{
        padding:20px;
        height:auto;
        text-align:left;
    }

    .leader-info h3{
        font-size:1.3rem;
        margin-bottom:5px;
    }

    .leader-info h5{
        font-size:.9rem;
        margin-bottom:15px;
        color:#666;
    }

    .leader-info p{
        font-size:.95rem;
        line-height:1.7;
        color:#444;
    }

    /* SOCIAL FIX */
    .socials{
        margin-top:15px;
        justify-content:flex-start;
        gap:16px;
    }

    .socials a{
        font-size:1.2rem;
        color:#111;
    }

    .socials a:hover{
        color:#ff5a00;
    }

}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px){

    .hero-left h1{
        font-size:2.2rem;
    }

    .hero-left{
        padding:70px 15px;
    }

    .hero-right{
        height:320px;
    }

    .leader-card img{
        height:240px;
    }

    .section-heading h2{
        font-size:1.9rem;
    }

    .menu-right{
        width:100%;
        padding:60px 25px;
    }
}