/* Root Variables */
:root {
    --primary-color: var(--primary);
    --secondary-color: var(--secondary);
    --accent-color: #ff6b35;
    --dark-color: var(--dark-black-color);
    --light-bg: var(--light-white-color);
    --text-dark: var(--dark-black-color);
    --text-gray: var(--text-dark-gray-color);

    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif; */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtext {
    font-size: 0.9rem;
    color: var(--text-color);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Products dropdown */
.custom-dropdown {
    position: relative;
    cursor: pointer;
}

/* Arrow icon */
.arrow-icon {
    display: inline-block;
    margin-left: 6px;
    margin-bottom: 3px;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Rotate arrow on hover */
.custom-dropdown:hover .arrow-icon {
    transform: rotate(-135deg);
}

/* Dropdown container */
.dropdown-menu-custom {
    position: absolute;
    top: 120%;
    left: 0;
    list-style-type: none;
    min-width: 200px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s ease;
    padding: 10px 0;
    z-index: 999;
}

/* Show dropdown on hover */
.custom-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-item-custom {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, padding-left 0.3s ease;
}

/* Hover effect for dropdown items */
.dropdown-item-custom:hover {
    background: rgba(0, 0, 0, 0.04);
    padding-left: 26px;
    color: var(--primary-color);
}

/* Badge styling */
.badge-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.badge-link:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* ==============================================
   HERO SECTION
   ============================================== */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 76px;
    overflow: hidden;
    /* background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.169), rgba(0,0,0,0)), url('../../assets/team/team_cover.avif') center center / cover no-repeat;

}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    /* background: var(--gradient-1); */
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    /* background: var(--gradient-3); */
    bottom: -10%;
    left: -5%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    /* background: var(--gradient-2); */
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image:
        linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px); */
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 0;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(254, 254, 255);
    padding: 8px 20px;
    border-radius: 50px;
    /* font-size: 0.875rem; */
    /* font-weight: 600; */
    color: var(--capsule);
    margin-bottom: 2rem;
    /* border: 1px solid rgba(0, 102, 255, 0.2); */
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-title {
    /* font-family: 'Syne', sans-serif; */
    /* font-size: clamp(2.5rem, 6vw, 5rem); */
    /* font-weight: 700; */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--text-gray), transparent);
}

/* ==============================================
   SECTION HEADERS
   ============================================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* font-size: 0.875rem; */
    /* font-weight: 600; */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.label-line {
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.section-title {
    /* font-family: 'Syne', sans-serif; */
    /* font-size: clamp(2rem, 4vw, 3.5rem); */
    /* font-weight: 700; */
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    /* font-size: 1rem; */
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================================
   LEADERSHIP SECTION
   ============================================== */

.leadership-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-card {
    position: relative;
    height: 520px;
    perspective: 1500px;
    cursor: pointer;
}

.leader-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.leader-card:hover .leader-card-inner {
    transform: rotateY(180deg);
}

.leader-front,
.leader-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.leader-front {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid rgba(0, 102, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 2rem;
}

.leader-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.leader-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.leader-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.leader-card:hover .leader-image {
    transform: scale(1.05);
}

.leader-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
    z-index: 1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

.leader-badge {
    position: absolute;
    top: 5px;
    right: -12px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    /* font-size: 0.75rem; */
    /* font-weight: 700; */
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.leader-name {
    /* font-family: 'Syne', sans-serif; */
    /* font-size: 1.75rem; */
    /* font-weight: 700; */
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.leader-position {
    /* font-size: 1rem; */
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.leader-hover-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0.7;
    transition: var(--transition);
}

.leader-card:hover .leader-hover-indicator {
    opacity: 0;
}

.leader-hover-indicator i {
    transition: transform 0.3s ease;
}

.leader-card:hover .leader-hover-indicator i {
    transform: translateX(4px);
}

/* Leader Back Side */
.leader-details {
    color: white;
    width: 100%;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.detail-header h4 {
    /* font-family: 'Syne', sans-serif; */
    /* font-size: 1.25rem; */
    /* font-weight: 700; */
    margin: 0;
    color: white;
}

.detail-header p {
    /* font-size: 0.875rem; */
    opacity: 0.9;
    margin: 0;
    color: var(--light-bg);
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.leader-bio {
    /* font-size: 1rem; */
    line-height: 1.6;
    opacity: 0.95;
    color: var(--light-bg);
}

.leader-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.leader-social {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.125rem;
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px);
}

/* ==============================================
   TEAM SECTION
   ============================================== */

.team-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.team-category {
    margin-bottom: 5rem;
}

.team-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.category-title {
    /* font-family: 'Syne', sans-serif; */
    /* font-size: 2rem; */
    /* font-weight: 700; */
    color: var(--text-dark);
    margin: 0;
}

.category-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.3), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    position: relative;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card-inner {
    position: relative;
}

.team-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
}

.team-image-container img {
    width: 100%;
    height: 125%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* .team-card:hover .team-image-container img {
    transform: scale(1.1);
} */

/* .team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.95) 0%, rgba(0, 153, 255, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
} */

.team-card:hover .team-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.team-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 0.875rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.team-skills span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.team-social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.team-info {
    padding: 1.25rem 0 0;
    text-align: center;
}

.team-name {
    /* font-family: 'Syne', sans-serif; */
    /* font-size: 1.125rem; */
    /* font-weight: 700; */
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.team-role {
    /* font-size: 1rem; */
    color: var(--text-gray);
    margin: 0;
}

/* ==============================================
   JOIN SECTION
   ============================================== */

.join-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.join-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.join-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.join-title {
    /* font-family: 'Syne', sans-serif; */
    /* font-size: clamp(2rem, 4vw, 3rem); */
    /* font-weight: 700; */
    margin-bottom: 1rem;
    color: var(--light-bg);
}

.join-description {
    /* font-size: 1rem; */
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--light-bg);
}

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.join-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    color: var(--primary-color);
}

.join-btn i {
    transition: transform 0.3s ease;
}

.join-btn:hover i {
    transform: translateX(4px);
}

/* ==============================================
   FOOTER STYLES (EXISTING)
   ============================================== */

.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-title {
    /* font-size: 1.25rem; */
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    /* background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); */
    background: linear-gradient(90deg, #6c757d, #fff);
}

.footer-links {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.7);
    padding-left: 5px;
}

.footer-links i {
    /* color: var(--primary-color); */
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
}

/* ==============================================
   ANIMATIONS
   ============================================== */

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 1200px) {
    .leaders-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .leaders-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .leaders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leader-card {
        height: 480px;
    }

    .leader-image {
        width: 160px;
        height: 160px;
    }

    .leader-glow {
        width: 180px;
        height: 180px;
    }

    .category-header {
        flex-wrap: wrap;
    }

    .category-line {
        width: 100%;
        order: 3;
        margin-top: 1rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .logo-container {
        margin-left: -100px;
    }
}

@media (max-width: 576px) {
    .hero-label {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .leader-card {
        height: 450px;
    }

    .leader-front {
        padding: 2rem 1.5rem 1.5rem;
    }

    .leader-back {
        padding: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .join-title {
        font-size: 1.75rem;
    }

    .join-description {
        font-size: 1rem;
    }
}