/* 
  RAFLA TECH - PREMIUM DESIGN SYSTEM
  
  TABLE OF CONTENTS:
  1. CSS Variables & Design Tokens
  2. Core Reset & Global Styles
  3. Typography & Badges
  4. Global Navigation (Sticky)
  5. UI Elements (Buttons/Links)
  6. Layout Utilities & Containers
  7. Section Modules:
     - Hero / Mission
     - Hologram Animation (Tesseract)
     - Technology / Products
     - Applications
     - Team Infographic
     - Contact & Maps
  8. Interaction Animations (Scroll Reveals)
  9. Responsive Media Queries
*/

/* --- 1. CSS VARIABLES & DESIGN TOKENS --- */
:root {
    --bg-primary: #0E2341;
    --bg-secondary: #0A192F;
    --text-primary: #FFFFFF;
    --text-secondary: #A0ABC0;
    --accent-cyan: #74C7D3;
    --accent-yellow: #FCDD09;
    --accent-blue: #142C4E;
    --neon-glow: 0 0 10px rgba(116, 199, 211, 0.5), 0 0 20px rgba(116, 199, 211, 0.3);

    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --glass-bg: rgba(20, 44, 78, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Infographic Card Specific Variables */
    --info-bg: #E9EBEE;
    --info-text: #0E2341;
    --info-text-sec: #4b5563;
}

/* --- 2. CORE RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-cyan);
    color: var(--bg-primary);
}

/* Background Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- 3. TYPOGRAPHY & BADGES --- */
h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.font-mono {
    font-family: var(--font-mono);
}

.accent-text {
    color: var(--accent-cyan);
    text-shadow: var(--neon-glow);
}

.tech-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 0.3rem 0.8rem;
    display: inline-block;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

/* --- 4. GLOBAL NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(to right,
            #122C54 0%, #122C54 28%,
            #A1DDF4 28%, #A1DDF4 50%,
            #ffffff 50%, #ffffff 100%);
    background-size: 200% 100%;
    background-position: 100% 0%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover {
    background-position: 0% 0%;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--bg-primary);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(252, 221, 9, 0.4);
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-blue);
}

.btn-outline:hover {
    background-color: var(--accent-blue);
    color: var(--text-primary);
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: center;
}

/* Layout Utilities */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#technology-section {
    max-width: 1800px;
    /* Expansive, nearly full-width */
}

.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Hero Section */
#mission-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.glitch-text {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-graphic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    z-index: -1;
    opacity: 0.35; /* Increased from 0.15 */
    pointer-events: none;
}

.hologram-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 44, 78, 0.8) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
}

.tesseract {
    position: relative;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    animation: rotateTesseract 25s linear infinite;
    z-index: 1;
}

@keyframes rotateTesseract {
    0% {
        transform: scale(2) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    100% {
        transform: scale(2) rotateX(360deg) rotateY(720deg) rotateZ(360deg);
    }
}

.cube {
    position: absolute;
    transform-style: preserve-3d;
}

.tesseract .face {
    position: absolute;
    left: 50%;
    top: 50%;
    background: transparent;
}

/* Outer Cube Design (200x200x200) */
.outer-cube .face {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border: 2px solid rgba(116, 199, 211, 0.4); /* Brighter Cyan */
    box-shadow: inset 0 0 40px rgba(116, 199, 211, 0.1), 0 0 30px rgba(116, 199, 211, 0.1);
    background: rgba(14, 35, 65, 0.1);
}

.outer-cube .front {
    transform: translateZ(100px);
}

.outer-cube .back {
    transform: rotateY(180deg) translateZ(100px);
}

.outer-cube .left {
    transform: rotateY(-90deg) translateZ(100px);
}

.outer-cube .right {
    transform: rotateY(90deg) translateZ(100px);
}

.outer-cube .top {
    transform: rotateX(90deg) translateZ(100px);
}

.outer-cube .bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

/* Inner Hypercube Design (100x100x100) */
.inner-cube {
    animation: pulseHyper 6s ease-in-out infinite alternate;
}

.inner-cube .face {
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border: 1px solid rgba(252, 221, 9, 0.6); /* Vibrant Gold/Yellow */
    box-shadow: inset 0 0 25px rgba(252, 221, 9, 0.2), 0 0 20px rgba(252, 221, 9, 0.2);
    background: transparent;
}

.inner-cube .front {
    transform: translateZ(50px);
}

.inner-cube .back {
    transform: rotateY(180deg) translateZ(50px);
}

.inner-cube .left {
    transform: rotateY(-90deg) translateZ(50px);
}

.inner-cube .right {
    transform: rotateY(90deg) translateZ(50px);
}

.inner-cube .top {
    transform: rotateX(90deg) translateZ(50px);
}

.inner-cube .bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

@keyframes pulseHyper {
    0% {
        transform: scale3d(0.6, 0.6, 0.6) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    100% {
        transform: scale3d(1.8, 1.8, 1.8) rotateX(180deg) rotateY(180deg) rotateZ(90deg);
    }
}

/* Shared Components */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Grids */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
}

a.card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(116, 199, 211, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(116, 199, 211, 0.1);
}

.card-icon {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

/* Applications Grid (6 Items) */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.app-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.app-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(116, 199, 211, 0.1);
    background: rgba(20, 44, 78, 0.8);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.app-item span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Team Infographic Section */
.team-infographic {
    background-color: var(--info-bg);
    color: var(--info-text);
    border-radius: 20px;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.team-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--info-text);
}

.team-leadership {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.leader {
    text-align: center;
}

.leader-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: #6b7280;
    margin: 0 auto 1.5rem;
    filter: grayscale(100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.leader strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.leader em {
    color: var(--info-text-sec);
    font-size: 0.95rem;
    font-style: italic;
}

.team-specialists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    text-align: center;
}

.specialist {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.specialist-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    /* exact blue circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(20, 44, 78, 0.3);
}

.specialist strong {
    font-size: 0.95rem;
    color: var(--info-text);
}


/* Contact Form & Maps */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-card {
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-sans);
    border-radius: 12px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.06);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: left;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* --- Ladder Layout component --- */
.ladder-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.ladder-step {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease;
}

.ladder-step:nth-child(even) {
    flex-direction: row-reverse;
}

.ladder-step:hover {
    transform: scale(1.02);
}

.step-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(14, 35, 65, 0.5);
}

.step-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ladder-step:hover .step-image img {
    transform: scale(1.05);
}

.step-content {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 8px;
    position: relative;
}

/* --- JS Interactions: Classes to toggle --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.slide-left {
    transform: translateX(-100px);
}

.scroll-reveal.slide-right {
    transform: translateX(100px);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.magnetic-hover {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-leadership,
    .team-specialists {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .form-row {
        flex-direction: column;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Product Scheme Aesthetics */
/* Technology Flanking Layout */
.tech-flank-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
    width: 100%;
}

.tech-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-column.center {
    position: relative;
    z-index: 1;
}

.product-scheme-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-scheme-img:hover {
    transform: scale(1.05);
}

@media (max-width: 1100px) {
    .tech-flank-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .tech-column.center {
        order: -1;
    }

    .tech-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tech-column .card {
        flex: 1 1 300px;
    }
}

@media (max-width: 768px) {
    .tech-column {
        flex-direction: column;
    }
}

/* Tech Card Images */
.tech-card-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* R&D Project Overrides */
.page-wrapper {
    padding: 8rem 2rem 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.header-section {
    margin-bottom: 3rem;
    text-align: center;
}

.header-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-meta {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.project-meta:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(116, 199, 211, 0.1);
    border-color: rgba(116, 199, 211, 0.3);
}

.project-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.project-meta li {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    transition: color 0.3s ease;
}

.project-meta li:hover {
    color: var(--text-primary);
}

.project-meta li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-meta strong {
    color: var(--accent-cyan);
    display: inline-block;
    width: 250px;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--accent-cyan);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-block h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: -0.01em;
}

.content-block h3::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-yellow);
}

.content-block p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

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

.impact-card {
    background: rgba(20, 44, 78, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.impact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-blue);
    background: rgba(20, 44, 78, 0.5);
    box-shadow: 0 15px 35px rgba(14, 35, 65, 0.6), 0 0 20px rgba(116, 199, 211, 0.15);
}

.impact-card h4 {
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.impact-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 4rem;
}

.split-image-col>img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-image-col>img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(116, 199, 211, 0.2);
}

.sponsor-logos {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sponsor-logos:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
}

.sponsor-logos img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transform: translateY(150%);
    /* starts pushed out of the box downwards */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* animate sliding up when parent hero triggers .visible */
.split-hero.visible .sponsor-logos img {
    transform: translateY(0);
}

.split-hero.visible .sponsor-logos img:nth-child(1) {
    transition-delay: 0.2s;
}

.split-hero.visible .sponsor-logos img:nth-child(2) {
    transition-delay: 0.4s;
}

.split-hero.visible .sponsor-logos img:nth-child(3) {
    transition-delay: 0.6s;
}

.split-hero.visible .sponsor-logos img:nth-child(4) {
    transition-delay: 0.8s;
}

@media (max-width: 900px) {
    .split-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-meta strong {
        display: block;
        margin-bottom: 0.3rem;
    }
}