/* 
  Antigravity Design System (Static Edition)
  Primary: Deep Midnight Navy (#041024)
  Secondary: Luminous Gold (#D4AF37)
  Background: Ethereal White (#FAFAFC)
*/

:root {
    --navy: #041024;
    --gold: #D4AF37;
    --white: #FAFAFC;
    --text-dark: #1A1A24;
    --text-light: #FAFAFC;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    
    /* Smooth Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .card-title, .node-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
}

.center {
    text-align: center;
}

.split-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Slide-in Animations (Only for initial scroll, no wiggling) */
.floating {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.floating.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.3); /* Gold tint on hover, NO translate/scale */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    box-shadow: 0 10px 20px rgba(4, 16, 36, 0.15);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6); /* Gold aura */
    border-color: var(--gold);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid rgba(4, 16, 36, 0.2);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--navy);
    background: rgba(4, 16, 36, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 100px 5%;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.image-placeholder {
    width: 300px;
    height: 350px;
    background: linear-gradient(135deg, rgba(4,16,36,0.05), rgba(4,16,36,0.15));
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.6);
}

.hero-subtitle-container {
    min-height: 60px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--gold);
    display: inline-block;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.hero-subtitle.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.hero-intro {
    font-size: 1.125rem;
    color: rgba(26, 26, 36, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
.section-title {
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.about-text {
    flex: 1;
}

.mission-block {
    margin-top: 2rem;
    padding: 2rem;
    border-left: 4px solid var(--gold);
    font-style: italic;
    font-size: 1.25rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 20px 20px 0;
    transition: var(--transition-smooth);
}

.mission-block:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1); /* No transform */
}

.about-logos {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-collage {
    position: relative;
    width: 100%;
    height: 300px;
}

.logo-item {
    position: absolute;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    border-radius: 50%;
}

.logo-item:nth-child(1) {
    top: 0;
    left: 20%;
    z-index: 2;
}

.logo-item:nth-child(2) {
    bottom: 0;
    right: 20%;
    background: var(--navy);
    color: var(--white);
    border: none;
    z-index: 1;
}

/* Experience Cards */
.card-subtitle {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(26, 26, 36, 0.6);
    display: block;
    margin-top: 0.5rem;
}

.card-entity {
    font-family: 'Inter', sans-serif;
    color: var(--gold);
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* Advocacy Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), var(--navy), transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.timeline-node {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.node-dot {
    position: absolute;
    left: -29px; 
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    transition: var(--transition-smooth);
}

.timeline-node:hover .node-dot {
    background: var(--gold); /* No scaling */
}

.node-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

/* Conferences (Polaroid Grid) */
.polaroid {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.polaroid-image {
    width: 100%;
    height: 200px;
    background: rgba(4, 16, 36, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.polaroid-caption {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact & Footer */
.contact {
    background: var(--navy);
    color: var(--white);
    position: relative;
    z-index: 2;
    margin-top: 4rem;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.contact .section-title {
    color: var(--white);
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

.contact-layout {
    align-items: flex-start;
}

.contact-form-wrapper {
    flex: 2;
}

.minimal-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--gold);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.btn-submit {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    border: none;
}

.btn-submit:hover {
    background: var(--white);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.social-connectivity {
    flex: 1;
    padding-left: 2rem;
}

.social-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4); /* Removed translate/scale */
}

.footer {
    background: #020813;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}
.developer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
}
.developer-credit a {
    color: var(--gold);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
    }
    
    .hero {
        padding: 100px 5% 50px;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-logos {
        width: 100%;
    }
    
    .social-connectivity {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .social-icons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 5% 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .image-placeholder {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }

    .glass-card {
        padding: 1.5rem;
    }

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

    .timeline {
        padding-left: 1rem;
    }
    
    .node-dot {
        left: -21px;
    }

    .logo-item {
        width: 130px;
        height: 130px;
        font-size: 1.2rem;
    }

    .mobile-slider {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mobile-slider::-webkit-scrollbar {
        display: none;
    }
    .mobile-slider > * {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}
