@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap');

/* --- Modern Custom Variables --- */
:root {
    /* Color Palette - Deep sleek dark mode */
    --bg-base: #030712;
    --bg-surface: #0f172a;
    --bg-glass: rgba(15, 23, 42, 0.4);
    
    /* Accents - Electric & Vibrant */
    --accent-cyan: #00f0ff;
    --accent-purple: #7b61ff;
    --accent-indigo: #4f46e5;
    
    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace; /* for numbers/stats */
    
    /* Borders & Structural */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    
    /* FX */
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
    --glow-purple: 0 0 30px rgba(123, 97, 255, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --transition-snappy: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Ambient Background --- */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: drift 20s infinite ease-in-out alternate;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.glow-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
    bottom: -300px;
    left: -200px;
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

/* --- Typography Utilities --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Layout --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-snappy);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    color: white;
    border: none;
    box-shadow: var(--shadow-glass), inset 0 1px 1px rgba(255,255,255,0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-purple), var(--shadow-glass);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* --- Header / Nav --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: width var(--transition-snappy);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
    transition: var(--transition-snappy);
}
.contact-btn::after { display: none; }
.contact-btn:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    transform: scale(1.05);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    z-index: 102; /* above mobile menu */
}

/* --- Animations --- */
.reveal, .fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active, .fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cards (Glassmorphism + Mouse Glow) --- */
.glass-card {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card > * {
    position: relative;
    z-index: 1;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom right, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 700px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* --- About section --- */
.about {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-text {
    font-size: 1.5rem !important;
    font-family: var(--font-heading);
    color: var(--text-primary) !important;
    margin-bottom: 1.5rem !important;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.vision-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(123, 97, 255, 0.3);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: inset 0 0 40px rgba(123, 97, 255, 0.1), var(--shadow-glass);
    position: relative;
}

.vision-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.vision-card p {
    color: var(--text-secondary);
}

/* --- Services Overview --- */
.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.service-card {
    text-align: center;
    padding: 3rem 2rem;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-snappy);
    font-size: 1.8rem;
    color: var(--text-primary);
}

.service-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(123, 97, 255, 0.4);
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- Core Modules --- */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.module-card {
    display: flex;
    gap: 24px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.module-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.module-icon {
    flex-shrink: 0;
}

.module-icon i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.1);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-snappy);
}

.module-card:hover .module-icon i {
    background: var(--accent-cyan);
    color: var(--bg-base);
    box-shadow: var(--glow-cyan);
}

.module-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.module-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Team Page Layout --- */
.team-page {
    padding-top: 150px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.team-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.team-content-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Left text side overrides */
.text-left {
    text-align: left;
    left: 0;
    transform: none;
    margin-left: 0;
    margin-bottom: 1rem;
}

.team-writeup p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.team-features {
    margin: 2rem 0;
}

.team-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.team-features li i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Right visual side */
.team-visual-content {
    position: relative;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

/* Staggered circular layout */
.team-member {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition-snappy);
    z-index: 2;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member-1 { margin-top: 0; margin-right: 20px;}
.team-member-2 { margin-top: 80px; }
.team-member-3 { margin-top: -10px; } /* Bottom center wrapped underneath */

/* Dashed border matching reference */
.team-photo-wrapper {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    position: absolute;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-snappy);
}

.team-member:hover .team-photo-wrapper {
    border-color: var(--accent-cyan);
    transform: rotate(15deg);
    box-shadow: var(--glow-cyan);
}

.team-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-surface);
    transition: var(--transition-snappy);
    z-index: 2;
}

.team-member:hover .team-photo {
    transform: rotate(-15deg); /* Counter-rotate */
    border-color: var(--bg-base);
}

.team-info {
    position: absolute;
    bottom: -60px;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: var(--transition-smooth);
    background: var(--bg-glass);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(8px);
    border: var(--border-glass);
    pointer-events: none;
}

.team-member:hover .team-info {
    opacity: 1;
    transform: translateY(0);
}

.team-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.team-info p {
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

/* Connecting arrows */
.team-arrow {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    stroke: #D2A875; /* A premium gold/bronze color */
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 6 6;
    animation: dashLoop 20s linear infinite;
    opacity: 0.8;
}

.arrow-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 250px;
}

@keyframes dashLoop {
    to { stroke-dashoffset: -1000; }
}

/* --- Other Staff Section --- */
.staff-section {
    padding: 80px 0 120px;
    position: relative;
    z-index: 2;
}

.staff-header {
    margin-bottom: 4rem;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.staff-card {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition-snappy);
    position: relative;
    overflow: hidden;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: var(--shadow-glass);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-cyan);
    background: rgba(255,255,255,0.05); /* slightly lighter bg for empty avatars */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-snappy);
}

.staff-card:hover .staff-avatar {
    box-shadow: var(--glow-cyan);
    transform: scale(1.05);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-avatar i {
    font-size: 2.5rem;
    color: var(--text-muted);
}

.staff-card:hover .placeholder-avatar i {
    color: var(--text-primary);
}

.staff-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.staff-info p {
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

/* Media Queries for Team & Staff */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .vision-card {
        margin-top: 2rem;
    }
    
    .team-content-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .text-left {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .team-writeup {
        text-align: center;
    }
    
    .team-features li {
        justify-content: center;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Base typography adjustments */
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    /* Layout overrides */
    section {
        padding: 80px 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255,255,255,0.1);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 2rem;
        z-index: 101;
    }

    .nav-list.is-active {
        right: 0;
    }
    
    /* Overlay for mobile nav */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(4px);
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .nav-overlay.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .stats-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .module-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.5rem;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .team-member-1, .team-member-2, .team-member-3 {
        margin-top: 0;
        margin-right: 0;
    }
    
    .team-arrow {
        display: none;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Extra tiny screens */
    .hero-title {
        font-size: 2rem;
    }
    
    .glass-card, .module-card, .service-card {
        padding: 1.5rem 1rem;
    }
    
    .team-member {
        width: 200px;
        height: 200px;
    }
    .team-photo, .team-photo-wrapper {
        width: 200px;
        height: 200px;
    }
}

/* --- Footer --- */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
    padding: 80px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info, .footer-contact, .footer-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-motto {
    color: var(--text-muted);
}

.footer-contact h4, .footer-form-wrapper h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    transition: var(--transition-snappy);
}

.contact-list li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.contact-list i {
    color: var(--accent-purple);
    font-size: 1.1rem;
}

/* Footer Form */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-form input, .footer-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-snappy);
}

.footer-form input:focus, .footer-form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.footer-form textarea {
    resize: vertical;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --- About Us Page --- */
.about-hero-img {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    margin: 3rem 0;
    box-shadow: var(--shadow-glass);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding-left: 2rem;
    border-left: 2px solid rgba(255,255,255,0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--bg-base);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.timeline-year {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* --- Privacy Policy Page --- */
.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.privacy-content ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}
