:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --bg: #0f172a;
    --bg-card: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), var(--bg));
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(var(--primary) 1px, transparent 1px),
        radial-gradient(var(--secondary) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 25px 25px;
    opacity: 0.05;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.logo-wrapper {
    margin-bottom: 2rem;
    transform: translateY(-20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.logo {
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    transform: translateY(-10px);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    transform: translateY(-10px);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    transform: translateY(-10px);
    opacity: 0;
    text-align: center !important;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Leadership Section */
.leadership {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg), var(--bg-card));
}

.leadership-card {
    display: flex;
    gap: 4rem;
    margin-bottom: 6rem;
    background: var(--bg-card);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.leadership-card.reverse {
    flex-direction: row-reverse;
}

.leadership-image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.leadership-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leadership-card:hover .leadership-image::after {
    opacity: 1;
}

.leadership-image img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.leadership-card:hover .leadership-image img {
    transform: scale(1.08);
}

.leadership-content {
    flex: 1;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.role {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.leadership-card:hover .role {
    opacity: 1;
}

.leadership-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.leadership-content h3 {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

/* Team Section */
.team {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-card), var(--bg));
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    opacity: 0.9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.team-card {
    background: var(--bg-card);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.team-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.team-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(15, 23, 42, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-image::after {
    opacity: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-content {
    padding: 2rem;
    position: relative;
    background: var(--bg-card);
    transition: transform 0.3s ease;
}

.team-card:hover .team-content {
    transform: translateY(-5px);
}

.team-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.position {
    display: block;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.team-card:hover .position {
    opacity: 1;
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        var(--primary), 
        var(--secondary), 
        transparent
    );
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-brand h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-brand:hover h3::after {
    width: 100%;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    color: var(--text);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

.social-link:hover::before {
    width: 300px;
    height: 300px;
}

.social-link span {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .leadership-card {
        flex-direction: column;
        gap: 0;
    }

    .leadership-card.reverse {
        flex-direction: column;
    }

    .leadership-image {
        height: 400px;
    }

    .leadership-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links nav {
        align-items: center;
    }

    .footer-links a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        transform: translateY(-2px);
    }

    .social-links {
        justify-content: center;
    }

    .team-grid {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 3rem 0;
    }

    .badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .leadership-image {
        height: 300px;
    }

    .leadership-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 3rem;
    }

    .team-card {
        margin: 0 1rem;
    }
}