/* ===== CSS Variables ===== */
:root {
    --navy: hsl(220, 60%, 15%);
    --navy-light: hsl(220, 50%, 25%);
    --blue: hsl(210, 100%, 50%);
    --blue-light: hsl(210, 100%, 60%);
    --yellow: hsl(45, 100%, 50%);
    --yellow-light: hsl(45, 100%, 60%);
    --yellow-glow: hsl(45, 100%, 70%);
    --white: hsl(0, 0%, 100%);
    --gray-light: hsl(220, 20%, 96%);
    --gray: hsl(220, 10%, 60%);
    --text-dark: hsl(220, 40%, 20%);
    --font-display: 'Roboto', Sans-serif, 'Playfair Display', Georgia, serif;
    --font-body: 'Roboto', Sans-serif 'Inter', -apple-system, sans-serif;
    --shadow-card: 0 10px 40px -10px hsla(220, 60%, 15%, 0.15);
    --shadow-card-hover: 0 20px 60px -15px hsla(220, 60%, 15%, 0.25);
    --shadow-glow: 0 0 40px hsla(45, 100%, 50%, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--gray-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue) 100%);
    padding: 80px 20px 120px;
    text-align: center;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, hsla(45, 100%, 50%, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-light));
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: hsla(0, 0%, 100%, 0.85);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--gray-light);
    clip-path: ellipse(70% 100% at 50% 100%);
}

/* ===== Leaders Section ===== */
.leaders-section {
    padding: 60px 20px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.leaders-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ===== Leader Card ===== */
.leader-card2 {
    display: flex;
    flex-direction: row; 
    gap: 32px;
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    text-align: left;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    animation: scaleIn 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.leader-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    text-align: left;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    animation: scaleIn 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

    .leader-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .leader-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .leader-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .leader-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .leader-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, var(--blue), var(--yellow));
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.4s ease;
    }

    .leader-card:hover {
        transform: translateX(8px);
        box-shadow: var(--shadow-card-hover);
    }

        .leader-card:hover::before {
            transform: scaleY(1);
        }

/* ===== Leader Image ===== */
.leader-image-wrapper2 {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
}

.leader-image2 {
    width: 100%;
    height: 100%;
    border-radius: 3%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 8px 30px -8px hsla(220, 60%, 15%, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}


/* ===== Leader Image ===== */
.leader-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.leader-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 8px 30px -8px hsla(220, 60%, 15%, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.image-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), var(--blue));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/*.leader-card:hover .image-glow {
    opacity: 1;
    animation: float 3s ease-in-out infinite;
}

.leader-card:hover .leader-image {
    transform: scale(1.05);
}*/

/* ===== Leader Info ===== */
.leader-info {
    position: relative;
    z-index: 1;
}


.leader-name2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #3D74B6;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.leader-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy); 
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.leader-card:hover .leader-name {
    color: var(--blue);
}


.leader-position2 {
    display: inline-block;
    background: #FFC900;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}


.leader-position {
    display: inline-block;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-light));
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600; 
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.leader-history2 {
    font-size: 0.9rem;
    text-align: justify;
    color: var(--gray);
    line-height: 1.7;
}

.leader-history {
    font-size: 0.9rem;
    text-align: justify;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: hsla(0, 0%, 100%, 0.6);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.875rem;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 639px) {
    .hero {
        padding: 60px 16px 100px;
    }

    .leader-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .leader-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .leader-name {
        font-size: 1.35rem;
    }
}
