/* CSS Variables */
:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #0f3460;
    --color-highlight: #e94560;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-background-alt: #f8f9fa;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Main Section */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-alt) 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

/* Tagline Section */
.tagline-section {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.center-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 24px;
}

.tagline {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.tagline-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.tagline-line:nth-child(1) {
    animation-delay: 0.3s;
}

.tagline-line:nth-child(2) {
    animation-delay: 0.5s;
}

.tagline-line:nth-child(3) {
    animation-delay: 0.7s;
}

.tagline-line .green,
.green {
    color: #4CAF50;
}

.tagline-line.green {
    color: #4CAF50;
    font-weight: 500;
}

.tagline-line.yellow {
    color: rgb(246, 153, 75);
    font-weight: 600;
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-background);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    animation: fadeIn 1s ease-out;
}

.team-card:first-child {
    animation-delay: 0.2s;
}

.team-card:last-child {
    animation-delay: 0.4s;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--color-background-alt);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo.placeholder {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo .initials {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.team-title {
    font-size: 1rem;
    color: var(--color-highlight);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mission Statement */
.mission {
    margin-top: 60px;
    text-align: center;
    padding: 40px 20px;
    background: var(--color-background);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.mission-text {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

/* Declaration */
.declaration {
    margin-top: 60px;
    text-align: center;
}

.declaration-text {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-layout .team-card:first-child {
        order: 1;
    }

    .tagline-section {
        order: 2;
    }

    .hero-layout .team-card:last-child {
        order: 3;
    }

    .main {
        padding: 40px 0;
    }

    .team-photo {
        width: 120px;
        height: 120px;
    }

    .tagline {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .team-card {
        padding: 24px 16px;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    .team-photo .initials {
        font-size: 2rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-title {
        font-size: 0.9rem;
    }
}
