* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lora', Georgia, serif;
}

  .afsn-stories {
    font-family: var(--font-sans);
    width: 100%;
    background: var(--afsn-navy);
    overflow: hidden;
  }

/* Background Animation */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: dotJump 3s ease-in-out infinite;
}

.wave:nth-child(1) {
    top: 15%;
    left: 8%;
    background: rgba(0, 0, 139, 0.6);
    animation-delay: 0s;
}

.wave:nth-child(2) {
    top: 65%;
    left: 25%;
    background: rgba(210, 105, 30, 0.6);
    animation: dotJump 1.5s ease-in-out infinite;
}

.wave:nth-child(3) {
    top: 35%;
    left: 75%;
    background: rgba(0, 0, 139, 0.6);
    animation-delay: 0.5s;
}

.wave:nth-child(4) {
    top: 85%;
    left: 92%;
    background: rgba(210, 105, 30, 0.6);
    animation-delay: 1s;
}

.wave:nth-child(5) {
    top: 25%;
    left: 45%;
    background: rgba(0, 0, 139, 0.5);
    animation: floatLogo 1.5s ease-in-out infinite;
}

.wave:nth-child(6) {
    top: 75%;
    left: 60%;
    background: rgba(210, 105, 30, 0.5);
    animation-delay: 2.5s;
}

.wave:nth-child(7) {
    top: 50%;
    left: 15%;
    background: rgba(0, 0, 139, 0.4);
    animation-delay: 3s;
}

.wave:nth-child(8) {
    top: 10%;
    left: 85%;
    background: rgba(210, 105, 30, 0.4);
}

.wave:nth-child(9) {
    top: 90%;
    left: 40%;
    background: rgba(0, 0, 139, 0.5);
    animation-delay: 0.8s;
}

.wave:nth-child(10) {
    top: 45%;
    left: 95%;
    background: rgba(210, 105, 30, 0.5);
    animation-delay: 1.8s;
}

@keyframes dotJump {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 0.8;
    }
}

/* Global Styles and Variables */
:root {
    --primary-color: #0a1a3f;  
    --secondary-color: #0a1a3f; 
    --accent-color: #b63806;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #0a1a3f; 
    --transition-speed: 0.3s;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --chocolate: #b63806;
    --dark-blue: #0a1a3f;  
    --chocolate-hover: #b63806;
    --dark-blue-hover: #0a1a3f;  
    --bg-color: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --border-color: #ddd;
    --afsn-navy: #0a1a3f;  
    --afsn-navy-dark: #0a1a3f;  
    --afsn-red: #b63806;
    --afsn-red-dark: #b63806;
    --afsn-white: #ffffff;
    --afsn-white-70: rgba(255,255,255,0.7);
    --font-serif: Georgia, 'Times New Roman', Times, serif;
    --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

[data-theme="dark"] {
    --primary-color: #0a1a3f; 
    --secondary-color: #c94110;
    --text-color: #ffffff;
    --bg-color: #1a1a1a;
    --nav-bg: rgba(26, 26, 26, 0.95);
    --card-bg: #2d2d2d;
    --border-color: #444;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--bg-color);
    margin: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.1s ease;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}

.neural-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(210, 105, 30, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 0, 139, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: gridFlow 20s linear infinite;
}

.loading-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loading-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.loader-logo {
    margin-bottom: 40px;
    position: relative;
}

.gradient-text {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--dark-blue), var(--chocolate), #b63806);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(210, 105, 30, 0.3);
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(210, 105, 30, 0.3);
    animation: pulse 2s infinite ease-in-out;
}

.loading-phrases {
    text-align: center;
    color: white;
    font-size: 1.8rem;
    height: 2.5em;
    margin-bottom: 40px;
    position: relative;
}

.loading-phrase {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.loading-phrase.active {
    opacity: 1;
    transform: translateY(0);
}

.flying-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flying-element {
    position: absolute;
    font-size: 2.5rem;
    animation: fly 10s linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-container {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--dark-blue), var(--chocolate), #b63806);
    transition: width 0.3s ease;
}

.progress-text {
    color: white;
    font-size: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
    padding: 15px 0;
    border-bottom: 2px solid rgba(0, 0, 139, 0.1);
}

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

/* Fix: prevent the generic .container max-width from centering the navbar,
   so the logo sits at the true left edge and the button at the true right edge */
.navbar .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 40px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    width: 45px;
    height: 45px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform var(--transition-speed) ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.brand-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-speed) ease;
}


.nav-links a:hover,
.nav-links a.active {
    color: var(--chocolate);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon .bar:first-child {
    top: 0;
}

.menu-icon .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon .bar:last-child {
    bottom: 0;
}

.mobile-menu-btn.active .menu-icon .bar:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-btn.active .menu-icon .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-icon .bar:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

.register-btn {
    display: inline-block;
    padding: 12px 28px;
    min-width: 160px;
    height: 48px;
    background: #b63806;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: 2px solid transparent;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.register-btn:hover {
    background: #0a1a3f;  
    transform: translateY(-3px);
    color: white !important;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Hero Section Styles */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* Video Background - Enhanced visibility */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(1.1) contrast(1.05);
}

/* Video Overlay - Enhanced visibility */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 139, 0.4) 0%, 
        rgba(185, 73, 7, 0.3) 50%, 
        rgba(0, 0, 139, 0.5) 100%);
    z-index: 1;
}


/* AI Background Layers */
.ai-background-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    opacity: 0.6;
}

.floating-text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.floating-text {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    animation: floatText 15s linear infinite;
    pointer-events: none;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.floating-text.value {
    color: rgba(206, 81, 9, 0.85);
    text-shadow: 0 0 15px rgba(15, 34, 146, 0.5);
    font-size: 1.4rem;
}

.floating-text.inspire {
    color: rgba(210, 105, 30, 0.85);
    text-shadow: 0 0 15px rgba(210, 105, 30, 0.5);
    font-size: 1.3rem;
}

.particle-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(210,105,30,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,0,139,0.2) 0%, transparent 50%);
    animation: pulseNetwork 10s ease-in-out infinite;
    z-index: 3;
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255,255,255,0.15) 50%, transparent 55%);
    background-size: 30px 30px;
    animation: lineFlow 15s linear infinite;
    opacity: 0.5;
    z-index: 4;
}

/* Hero Content — left-aligned to match the photo slides */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 0;
    margin-left: clamp(1.25rem, 7vw, 7rem);
    padding-top: clamp(9rem, 30vh, 16rem);
    padding-bottom: 40px;
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-text-container {
    margin-bottom: 40px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 34rem;
    margin: 0;
    opacity: 0.9;
}


.feature-grid {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 28px 0;
    max-width: fit-content;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 14px 8px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    background: none;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.25);
    transition: transform 0.25s ease;
}

.feature-card:first-child {
    padding-left: 20px;
}

.feature-card:last-child {
    border-right: none;
}

.feature-icon {
    font-size: 1.4rem;
    color:#b63806;
    margin: 0;
    animation: none;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
}

.feature-card:hover {
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .feature-grid {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        padding: 10px 0;
    }
    .feature-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: 12px 20px;
    }
    .feature-card:first-child {
        padding-left: 20px;
    }
    .feature-card:last-child {
        border-bottom: none;
    }
}


/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 30px;
    flex-wrap: wrap;
}


/* Impact Statistics — clean stat bar, AFSN brand */
.impact-stats {
    position: relative;
    padding: 90px 0;
    background-image:
        linear-gradient(rgba(13, 27, 61, 0.75), rgba(13, 27, 61, 0.75)),
        url('images/scholars-wall.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.impact-stats .section-header {
    text-align: left;
    margin-bottom: 50px;
    max-width: 640px;
}

.impact-eyebrow {
    display: block;
    color: #b63806;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.impact-stats .section-header h2 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    color: #fff;
    margin: 0;
}

.stats-grid {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-card {
    flex: 1;
    padding: 40px 24px 0;
    border-right: 1px solid rgba(255,255,255,0.15);
    text-align: left;
}

.stat-card:last-child {
    border-right: none;
}

.counter,
.counter-suffix {
    font-family: 'Lora', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.counter-suffix {
    font-size: 3rem;
}

.stat-card h3 {
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    font-weight: 500;
    margin: 16px 0 0;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-grid {
        flex-wrap: wrap;
    }
    .stat-card {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: 30px 20px 24px;
    }
    .stat-card:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.15);
    }
    .counter,
    .counter-suffix {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .impact-stats {
        padding: 60px 0;
    }
    .stat-card {
        flex: 0 0 100%;
        border-right: none !important;
        padding: 24px 4px;
    }
    .stat-card:last-child {
        border-bottom: none;
    }
    .counter,
    .counter-suffix {
        font-size: 2.2rem;
    }
    .stat-card h3 {
        font-size: 0.88rem;
    }
}


/* Leadership & Professional Connections */
.leadership-connections {
    background: #fff;
    padding: 70px 0;
}

.lc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.lc-header h2 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    color: var(--afsn-navy, #0a1a3f);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0;
    max-width: 700px;
}

.lc-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--afsn-navy, #0a1a3f);  
    color: var(--afsn-navy, #0a1a3d);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 22px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.lc-more:hover {
    background: var(--afsn-navy, #0a1a3f);
    color: #fff;
}

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

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

.connection-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 18px;
}

.connection-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f4f4f4;
    display: block;
}

.connection-date {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: #ffb84d;
    color: #1a1a1a;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
}

.connection-card h3 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--afsn-navy, #0a1a3f);
    margin: 0 0 16px;
    transition: color 0.2s ease;
}

.connection-card:hover h3 {
    color: var(--afsn-orange, #b63806);
    text-decoration: underline;
}

.connection-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.connection-tags span {
    font-size: 0.74rem;
    color: var(--afsn-navy, #0a1a3f);
    border: 1px solid #ddd;
    padding: 4px 10px;
}

/* Responsive */
@media (max-width: 1100px) {
    .connections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .leadership-connections {
        padding: 50px 0;
    }
    .connections-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .lc-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Leadership Story Section — simple Oxford grid */
.leadership-story-section {
    background: #f2f1ee;
    padding: 80px 20px;
}

.leadership-story-section .container {
    max-width: 1300px;
    margin: 0 auto;
}

section.leadership-story-section > .container,
section.leadership-connections > .container {
    max-width: 1300px !important;
    padding: 0 30px !important;
}
.story-header {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: left;
}

.story-eyebrow {
    display: block;
    color: var(--afsn-orange, #b63806);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.story-header h2 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--afsn-navy, #0a1a3f);
    margin: 0 0 16px;
}

.story-intro {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #444;
    margin: 0;
}

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

.story-tile img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    margin-bottom: 18px;
}

.story-tile h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--afsn-navy, #0a1a3f);
    margin: 0 0 10px;
    line-height: 1.35;
}

.story-tile p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px 24px;
    }
}

@media (max-width: 640px) {
    .leadership-story-section {
        padding: 55px 18px;
    }
    .story-header {
        margin-bottom: 36px;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .story-tile img {
        height: 220px;
    }
}


/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--dark-blue), var(--chocolate));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}



/* Animations */
@keyframes gridFlow {
    0% { transform: perspective(1000px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(1000px) rotateX(60deg) translateY(50px); }
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



@keyframes glowText {
    0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
    50% { text-shadow: 0 0 40px rgba(255,255,255,0.8); }
}

@keyframes slideUp {
    0%, 25% { transform: translateY(0); }
    30%, 45% { transform: translateY(-60px); }
    50%, 75% { transform: translateY(-120px); }
    80%, 95% { transform: translateY(-180px); }
    100% { transform: translateY(-240px); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatText {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    20% {
        opacity: 0.9;
        transform: translateY(0) scale(1);
    }
    80% {
        opacity: 0.9;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

@keyframes pulseNetwork {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

@keyframes lineFlow {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

@keyframes gradientShift {
    0% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% { 
        transform: scale(1);
        opacity: 0.5;
    }
}

@keyframes zigzagMove {
    0% {
        background-position: -50px 0, -50px 0, -50px 0, -50px 0;
    }
    100% {
        background-position: 50px 100px, 50px 100px, 50px 100px, 50px 100px;
    }
}

@keyframes pulseBackground {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes particleFlow {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-20px); opacity: 0.8; }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
    50% { text-shadow: 0 0 40px rgba(255,255,255,0.8); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes subtleFlow {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

@keyframes rippleWave {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        width: 80px;
        height: 80px;
        opacity: 0.7;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 139, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 139, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 139, 0);
    }
}

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

@keyframes fly {
    0% { transform: translate(-100vw, random(100vh)); }
    100% { transform: translate(100vw, random(100vh)); }
}

/* Responsive Loading Animation */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 3rem;
    }

    .logo-pulse {
        width: 150px;
        height: 150px;
    }

    .loading-phrases {
        font-size: 1.5rem;
        height: 2em;
        margin-bottom: 30px;
    }

    .flying-element {
        font-size: 2rem;
    }

    .progress-container {
        width: 250px;
    }

    .progress-bar {
        height: 5px;
    }

    .loading-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 2.5rem;
    }

    .logo-pulse {
        width: 120px;
        height: 120px;
    }

    .loading-phrases {
        font-size: 1.2rem;
        height: 1.8em;
        margin-bottom: 25px;
    }

    .loader-logo {
        margin-bottom: 30px;
    }

    .flying-element {
        font-size: 1.5rem;
    }

    .progress-container {
        width: 200px;
    }

    .progress-bar {
        height: 4px;
    }

    .progress-text {
        font-size: 0.9rem;
    }

    .loading-content {
        padding: 10px;
    }
}

@media (max-width: 375px) {
    .gradient-text {
        font-size: 2rem;
    }

    .logo-pulse {
        width: 100px;
        height: 100px;
    }

    .loading-phrases {
        font-size: 1rem;
        height: 1.5em;
        margin-bottom: 20px;
    }

    .loader-logo {
        margin-bottom: 25px;
    }

    .flying-element {
        font-size: 1.2rem;
    }

    .progress-container {
        width: 180px;
    }

    .progress-bar {
        height: 3px;
    }

    .progress-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 320px) {
    .gradient-text {
        font-size: 1.8rem;
    }

    .logo-pulse {
        width: 80px;
        height: 80px;
    }

    .loading-phrases {
        font-size: 0.9rem;
        height: 1.3em;
        margin-bottom: 15px;
    }

    .loader-logo {
        margin-bottom: 20px;
    }

    .flying-element {
        font-size: 1rem;
    }

    .progress-container {
        width: 150px;
    }

    .progress-bar {
        height: 2px;
    }

    .progress-text {
        font-size: 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-title {
        font-size: 4rem;
    }
    
    .hero-heading {
        font-size: 3rem;
    }
    
    .dynamic-text {
        font-size: 2rem;
    }
    
    .feature-grid {
        gap: 20px;
        padding: 0 20px;
    }
    
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .counter {
        font-size: 2.5rem;
    }
}

/* Tablet and Medium Screens - Leadership Connections */
@media (max-width: 1024px) and (min-width: 769px) {
    .connections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 900px;
        padding: 0 30px;
    }

    .connection-card {
        max-width: 100%;
    }

    .gradient-title {
        font-size: 2.8rem;
    }

    .leadership-connections {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--nav-bg);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        padding: 10px 0;
    }

    .theme-toggle {
        margin: 20px 0;
    }

    .register-btn {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .main-title {
        font-size: 3rem;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .dynamic-text {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .stories-container {
        padding: 10px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto;
    }

    .story-card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
        margin-bottom: 20px;
    }

    .story-content {
        padding: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .counter {
        font-size: 2.2rem;
    }
    
    .neural-separator {
        height: 150px;
    }

    .glow-text {
        font-size: 1.8rem;
    }

    .neural-icons {
        gap: 20px;
    }

    .pulse-icon {
        font-size: 1.5rem;
    }

    /* Leadership Connections Responsive */
    .leadership-connections {
        padding: 60px 0;
    }

    .connections-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
        margin: 30px auto;
    }

    .connection-card {
        max-width: 100%;
        width: 100%;
    }

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

    .premium-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .header-badge {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .premium-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stories-grid {
        padding: 0 15px;
    }

    .story-card {
        margin-bottom: 25px;
        width: 100%;
    }

    .story-content {
        padding: 25px 20px;
    }

    .story-content h3 {
        font-size: 1.6rem;
    }

    .story-excerpt {
        font-size: 1rem;
    }

    .tag {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    /* Leadership Connections Mobile */
    .leadership-connections {
        padding: 40px 0;
    }

    .connections-grid {
        padding: 0 10px;
        gap: 20px;
        margin: 20px auto;
    }

    .connection-image {
        height: 200px;
    }

    .connection-content {
        padding: 20px;
    }

    .connection-content h3 {
        font-size: 1.2rem;
    }

    .connection-content p {
        font-size: 0.95rem;
    }

    .connection-icon {
        width: 45px;
        height: 45px;
    }

    .connection-icon i {
        font-size: 1rem;
    }

    .gradient-title {
        font-size: 1.8rem;
    }

    .premium-subtitle {
        font-size: 1rem;
    }

    .header-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .decoration-line {
        width: 50px;
    }


    .newsletter-form {
        max-width: 100%;
    }

    .input-group {
        flex-direction: column;
        gap: 12px;
    }

    .glass-input {
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
        text-align: center;
    }

    .glass-input::placeholder {
        text-align: center;
    }

    .submit-btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 1rem;
    }

    .contact-item {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        gap: 10px;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .quick-links ul li {
        margin-bottom: 12px;
        text-align: center;
    }

    .quick-links ul li a {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 15px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link i {
        font-size: 1.1rem;
    }

    .glassmorphism {
        padding: 20px 15px;
    }
}

/* Dark Theme Styles */
[data-theme="dark"] {
    --primary-color: #304ffe;
    --secondary-color: #D2691E;
    --text-color: #ffffff;
    --bg-color: #1a1a1a;
    --nav-bg: rgba(26, 26, 26, 0.95);
    --card-bg: #2d2d2d;
    --border-color: #444;
}

[data-theme="dark"] .navbar {
    background: var(--nav-bg);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-links a {
    color: #fff;
}

[data-theme="dark"] .story-card {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .story-content h3 {
    color: #fff;
}

[data-theme="dark"] .story-excerpt {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .university {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] .menu-icon .bar {
    background-color: #fff;
}

[data-theme="dark"] .theme-toggle {
    color: #fff;
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .impact-stats {
    background: var(--bg-color);
}

[data-theme="dark"] .stat-card {
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .section-header h2,
[data-theme="dark"] .stat-card h3,
[data-theme="dark"] .counter {
    color: var(--text-color);
}

[data-theme="dark"] .stat-icon-wrapper i {
    color: var(--text-color);
}

[data-theme="dark"] .register-btn {
    background: linear-gradient(135deg, #0a1a3f 0%, #0a1a3f 100%); 
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.2);
}

[data-theme="dark"] .register-btn:hover {
    background: linear-gradient(135deg, #1a237e 0%, #0a1a3f 100%); 
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.3);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

/* Enhanced Scroll Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Large Screens - Leadership Connections Centering */
@media (min-width: 1400px) {
    .connections-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        gap: 35px;
    }

    .connection-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .leadership-connections .container {
        max-width: 1500px;
    }

}

@media (min-width: 1025px) and (max-width: 1399px) {
    .connections-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 30px;
    }

    .connection-card {
        max-width: 380px;
    }

}

/* ---------- Latest news grid ---------- */
.afsn-news {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 40px 70px;
}

.afsn-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
    flex-wrap: wrap;
    gap: 14px;
}

.afsn-news-header h2 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--afsn-navy, #0a1a3f);
    margin: 0;
}

.news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--afsn-orange, #b63806);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.news-view-all:hover {
    text-decoration: underline;
}

.afsn-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f4f4f4;
    display: block;
}

.news-card-body {
    padding: 16px 4px 0;
}

.news-date {
    display: block;
    font-size: 0.76rem;
    color: #999;
    margin-bottom: 10px;
}

.news-card h4 {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--afsn-ink, #1a1a1a);
    margin: 0 0 14px;
    font-weight: 600;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tags span {
    font-size: 0.72rem;
    color: var(--afsn-navy, #0a1a3f);
    border: 1px solid #ddd;
    padding: 3px 10px;
}

/* ---------- Bottom CTA banner ---------- */
.afsn-bottom-cta {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.afsn-bottom-cta img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,17,39,0.15) 0%, rgba(7,17,39,0.85) 55%, rgba(7,17,39,0.95) 100%);
}

.abc-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
    text-align: right;
    color: #fff;
}

.abc-content h3 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.abc-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .afsn-feature-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .afr-card:last-child {
        grid-column: span 2;
    }
    .afsn-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .afsn-event-banner {
        grid-template-columns: 1fr;
    }
    .aeb-image img {
        min-height: 220px;
    }
    .aeb-text {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .afsn-search-strip {
        padding: 26px 20px;
    }
    .ass-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .ass-controls {
        width: 100%;
    }
    .ass-search-box {
        width: 100%;
        min-width: 0;
    }

    .afsn-feature-row {
        grid-template-columns: 1fr;
    }
    .afr-card:last-child {
        grid-column: span 1;
    }
    .afr-card {
        height: 200px;
    }

    .afsn-news {
        padding: 45px 20px 55px;
    }
    .afsn-news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .abc-content {
        text-align: left;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .ass-text h3 {
        font-size: 1.1rem;
    }
    .afsn-news-header h2 {
        font-size: 1.5rem;
    }
    .aeb-text h3 {
        font-size: 1.35rem;
    }
    .abc-content h3 {
        font-size: 1.2rem;
    }
}

.afsn-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.afsn-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.afsn-logo-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}


  .afsn-stories__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 420px;
  }

  /* ---------- LEFT PANEL: photo + stories link ---------- */
  .afsn-stories__photo {
    position: relative;
    background:
      linear-gradient(180deg, rgba(7,22,56,0.15) 0%, rgba(7,22,56,0.55) 55%, rgba(7,22,56,0.92) 100%),
      radial-gradient(circle at 30% 25%, #0a1a3f 0%, #0a1a3f 45%, #0e1a3a 100%); 
    background-blend-mode: multiply, normal;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 0 0 32px 48px;
  }

.afsn-stories__photo-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.afsn-stories__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(7, 17, 39, 0.55);
  background-image:
    linear-gradient(180deg, rgba(7,22,56,0.35) 0%, rgba(7,22,56,0.7) 55%, rgba(7,22,56,0.95) 100%),
    url('images/hero-slide-2.jpeg');
  background-size: cover;
  background-position: center;
  background-blend-mode: darken, normal;
  pointer-events: none;
}

  .afsn-stories__eyebrow-mark {
    display: inline-block;
    color: var(--afsn-red);
    font-size: 20px;
    line-height: 1;
    margin-right: 4px;
  }

  .afsn-stories__heading {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.05;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 14px 0;
  }

  .afsn-stories__link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--afsn-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    transition: opacity 0.2s ease;
  }

  .afsn-stories__link:hover { opacity: 0.75; }

  .afsn-stories__link .chevron {
    color: var(--afsn-red);
    font-weight: 900;
  }

  .afsn-stories__yt {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--afsn-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
  }

  .afsn-stories__yt-icon {
    width: 20px;
    height: 15px;
    background: var(--afsn-white);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .afsn-stories__yt-icon::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--afsn-navy-dark);
    margin-left: 1px;
  }

  /* ---------- MIDDLE PANEL: overlapping video card ---------- */
  .afsn-stories__video-wrap {
    position: relative; 
    background:
    linear-gradient(180deg, rgba(7,22,56,0.35) 0%, rgba(7,22,56,0.7) 55%, rgba(7,22,56,0.95) 100%),
      url('images/scholars-wall.jpeg'); background-size: cover; background-position: center;
    background-blend-mode: multiply, normal;
    min-height: 420px;
  }

  .afsn-stories__video-card {
    position: absolute;
    top: 14%;
    left: -18%;
    width: 118%;
    height: 72%;
    border-radius: 4px;
    overflow: hidden;
    opacity: 85%;
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
    background:
    linear-gradient(180deg, rgba(7,22,56,0.35) 0%, rgba(7,22,56,0.7) 55%, rgba(7,22,56,0.95) 100%),
      url('images/scholars-wall.jpeg'); background-size: cover; background-position: center;

  }

  .afsn-stories__video-badge {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .afsn-stories__badge-mark {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--afsn-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

  .afsn-stories__badge-text {
    color: var(--afsn-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .afsn-stories__video-caption {
    position: absolute;
    top: 62px;
    left: 20px;
    right: 16px;
    z-index: 3;
  }

  .afsn-stories__video-eyebrow {
    color: var(--afsn-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    opacity: 0.9;
  }

  .afsn-stories__video-title {
    color: var(--afsn-white);
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
  }

  .afsn-stories__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--afsn-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    background: rgba(10,33,88,0.25);
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .afsn-stories__play:hover {
    background: rgba(10,33,88,0.5);
    transform: translate(-50%, -50%) scale(1.06);
  }

  .afsn-stories__play::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid var(--afsn-white);
    margin-left: 4px;
  }

  .afsn-stories__video-people {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: url('images/hero-slide-2.jpeg'); background-size: cover; background-position: center;
  }

  .afsn-stories__video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background:
    linear-gradient(180deg, rgba(7,22,56,0.35) 0%, rgba(7,22,56,0.7) 55%, rgba(7,22,56,0.95) 100%),
      url('images/scholars-wall.jpeg'); background-size: cover; background-position: center;
}

.afsn-stories__video-card.is-playing .afsn-stories__play {
  opacity: 0;
  pointer-events: none;
}

  /* ---------- RIGHT PANEL: question + CTA ---------- */
  .afsn-stories__cta {
    background: var(--afsn-navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 56px 48px 72px;
    min-height: 420px;
  }

  .afsn-stories__cta-top {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 34px;
  }

  .afsn-stories__q-mark {
    font-family: var(--font-serif);
    font-size: 54px;
    line-height: 1;
    color: var(--afsn-red);
    font-weight: 700;
    flex-shrink: 0;
  }

  .afsn-stories__q-text {
    font-family: var(--font-serif);
    color: var(--afsn-white);
    font-size: clamp(22px, 2.1vw, 27px);
    line-height: 1.25;
    margin: 6px 0 0 0;
    font-weight: 400;
  }

  .afsn-stories__cta-button {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--afsn-red);
    color: var(--afsn-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    padding: 20px 28px;
    border-radius: 2px;
    width: 100%;
    transition: background 0.2s ease;
  }

  .afsn-stories__cta-button:hover { background: var(--afsn-red-dark); }

  .afsn-stories__cta-button .arrow {
    font-size: 18px;
    font-weight: 400;
  }

  /* ---------- RESPONSIVE ---------- */

  /* Tablet: stack video under photo, CTA full width below */
  @media (max-width: 1024px) {
    .afsn-stories__grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
    }
    .afsn-stories__photo { grid-column: 1 / 2; grid-row: 1 / 2; }
    .afsn-stories__video-wrap { grid-column: 2 / 3; grid-row: 1 / 2; }
    .afsn-stories__cta { grid-column: 1 / 3; grid-row: 2 / 3; padding: 48px; }
    .afsn-stories__cta-top { margin-bottom: 24px; }
  }

  /* Mobile: everything stacks, video card no longer overflows */
  @media (max-width: 680px) {
    .afsn-stories__grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
    }
    .afsn-stories__photo {
      grid-column: 1 / 2; grid-row: 1 / 2;
      min-height: 320px;
      padding: 0 0 28px 24px;
    }
    .afsn-stories__video-wrap {
      grid-column: 1 / 2; grid-row: 2 / 3;
      min-height: 260px;
    }
    .afsn-stories__video-card {
      left: 6%;
      width: 88%;
      top: 10%;
      height: 80%;
    }
    .afsn-stories__cta {
      grid-column: 1 / 2; grid-row: 3 / 4;
      padding: 40px 24px;
      min-height: unset;
    }
    .afsn-stories__cta-button {
      padding: 18px 20px;
      font-size: 14px;
    }
    .afsn-stories__heading { font-size: 26px; }
  }


  /* ===== AFSN FOOTER ===== */

.afsn-footer {
  position: relative;
  background: #0a1a3f;   /* dark blue */
  font-family: 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
  padding-top: 48px;
}


.afsn-footer-graphic {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 38%;
  height: 420px;
  max-height: 70%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.afsn-footer-graphic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  opacity: 0.15;         /* winning value, from the 680px media query */
  display: block;
  mix-blend-mode: multiply;   /* active, not struck through */
}
@media (max-width: 1024px) {
  .afsn-footer-graphic {
    width: 45%;
    height: 340px;
  }
  .afsn-footer-graphic img { opacity: 0.22; }
}

@media (max-width: 680px) {
  .afsn-footer-graphic {
    width: 55%;
    height: 220px;
    max-height: 40%;
  }
  .afsn-footer-graphic img { opacity: 0.15; }
}

@media (max-width: 420px) {
  .afsn-footer-graphic {
    width: 65%;
    height: 160px;
    max-height: 32%;
  }
}

.afsn-footer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---- Top row: logo + social ---- */
.afsn-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.afsn-footer-logo { display: inline-flex; }

.afsn-footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.afsn-footer-social a {
  color: #ffffff;
  font-size: 16px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.afsn-footer-social a:hover { opacity: 1; }

.afsn-footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 0 40px 0;
}

/* ---- Columns ---- */
.afsn-footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.afsn-footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.afsn-footer-col h5 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin: 22px 0 8px 0;
}

.afsn-footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.afsn-footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.afsn-footer-col a:hover { color: #ffffff; }

.afsn-footer-col a:not(.afsn-footer-email) {
  display: block;
  margin-bottom: 10px;
}

.afsn-footer-legal {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}

.afsn-footer-legal a { margin-bottom: 0; display: inline; }

.afsn-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.afsn-footer-contact-item i {
  color: #c83b10;
  font-size: 14px;
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.afsn-footer-contact-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.afsn-footer-email {
  display: inline-block;
  margin-top: 2px;
}

/* ---- Bottom bar ---- */
.afsn-footer-bottom {
  position: relative;
  z-index: 2;
  background: #071431;  /* same dark blue as the footer above it */
  padding: 20px 48px 20px 108px;
  text-align: left;
  clip-path: polygon(56px 0, 100% 0, 100% 100%, 0 100%, 0 56px);
}

.afsn-footer-bottom p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin: 0;
}


/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .afsn-footer-columns { grid-template-columns: 1fr 1fr; }
  .afsn-footer-col:first-child { grid-column: 1 / 3; }
}

@media (max-width: 680px) {
  .afsn-footer-container { 
    padding: 0 24px; 
}
  .afsn-footer-top { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 18px; 
}
  .afsn-footer-columns { 
    grid-template-columns: 1fr; 
    gap: 32px; 
}
  .afsn-footer-col:first-child { 
    grid-column: 1; 
}
  .afsn-footer-bottom {
    padding: 18px 24px 18px 80px;
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    text-align: left;   /* was: center — keep it left-aligned next to the wedge at every width */
  }
  .afsn-scroll-top { 
    right: 18px; 
    bottom: 18px; 
    width: 46px; 
    height: 46px; 
}
}

.afsn-settings-toggle {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 90px;
  height: 90px;
  border: none;
  background: #0a1a3f;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  cursor: pointer;
  z-index: 999;
  transition: background 0.2s ease;
}

.afsn-settings-toggle:hover { background: #071431; }

.afsn-settings-toggle i {
  color: #ffffff;
  font-size: 17px;
  transition: transform 0.4s ease;
}

.afsn-settings-toggle.is-active i { transform: rotate(90deg); }

@media (max-width: 680px) {
  .afsn-settings-toggle {
    width: 66px;
    height: 66px;
    padding: 10px;
  }
  .afsn-settings-toggle i { font-size: 14px; }
}

/* ================= COOKIE CONSENT PANEL ================= */

.afsn-cookie-overlay {
  position: fixed;
  inset: 0;
  background: transparent;   /* was: rgba(0, 0, 0, 0.5) */
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0.25s ease;   /* opacity no longer needed on the overlay itself */
  pointer-events: none;   /* so it doesn't block clicks when closed/invisible */
}

.afsn-cookie-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;   /* re-enable so clicking outside the panel still closes it */
}

.afsn-cookie-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 420px;
  max-width: 90vw;
  background: #0a1a3f;
  color: #fff;
  z-index: 4001;
  overflow-y: auto;
  padding: 40px 32px 100px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.afsn-cookie-overlay.open .afsn-cookie-panel {
  transform: translateX(0);
}

.afsn-cookie-trigger {
  position: fixed;
  left: 0;
  bottom: 90px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 0 50% 50% 0;
  background: #0a1a3f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: background 0.2s ease;
}

.afsn-cookie-trigger:hover { background: #071431; }

.afsn-cookie-panel h2 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0 0 20px;
}

.afsn-cookie-panel > p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 20px;
}

.afsn-cookie-panel a {
  color: #ff8c00;
}

.afsn-cookie-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.afsn-cookie-btn {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.afsn-cookie-btn.solid {
  background: #fff;
  color: #0a1a3f;
  border: 2px solid #fff;
}

.afsn-cookie-btn.solid:hover { background: #e8e8e8; }

.afsn-cookie-btn.outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.afsn-cookie-btn.outline:hover { background: rgba(255, 255, 255, 0.1); }

.afsn-cookie-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 24px 0;
}

.afsn-cookie-row {
  margin-bottom: 20px;
}

.afsn-cookie-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.afsn-cookie-row-head h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
}

.afsn-cookie-row p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Toggle switch */
.afsn-cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.afsn-cookie-toggle input {
  display: none;
}

.afsn-cookie-toggle .switch-label {
  font-size: 0.82rem;
  font-weight: 600;
}

.afsn-cookie-toggle .switch-track {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  position: relative;
  transition: background 0.2s ease;
}

.afsn-cookie-toggle .switch-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.afsn-cookie-toggle input:checked + .switch-track {
  background: #ff8c00;
}

.afsn-cookie-toggle input:checked + .switch-track::after {
  transform: translateX(20px);
}

.afsn-cookie-toggle.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.afsn-cookie-close-btn {
  width: 100%;
  background: #fff;
  color: #0a1a3f;
  border: none;
  padding: 15px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.afsn-cookie-close-btn:hover { background: #e8e8e8; }

.afsn-cookie-about {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .afsn-cookie-panel {
    width: 100%;
    max-width: 100vw;
    padding: 32px 20px 80px;
  }
}


.mission-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.10;   /* adjust this to control how visible the image is behind the text */
  z-index: 0;
  pointer-events: none;
}

.mission-container {
  position: relative;
  z-index: 1;
}

.update-container {
    max-width: 1000px !important;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box;
    display: block !important;   /* guards against any stray display:grid/flex bleeding in */
}

/* ================= PAGE OFFSET FOR FIXED NAVBAR ================= */
/* Both the listing and detail pages get their own top offset here,
   independent of whatever impact.css sets on body/navbar, so this
   page can't silently lose its spacing again. */
.afsn-updates,
.update-detail {
    padding-top: 130px;
}

/* ---------- Listing page ---------- */
.afsn-updates {
    background: var(--afsn-navy);
    padding-bottom: 100px;
    min-height: 70vh;
}

.updates-header {
    max-width: 620px;
    margin-bottom: 44px;
}

.updates-eyebrow {
    display: block;
    color: var(--afsn-orange-light);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.updates-header h1 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #fff;
    margin: 0;
}

.updates-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.update-item {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.update-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 4px;
    text-decoration: none;
    transition: padding-left 0.25s ease;
}

.update-link:hover {
    padding-left: 14px;
}

.update-number {
    font-family: 'Lora', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    width: 32px;
}

.update-title {
    flex: 1;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.update-link:hover .update-title {
    color: var(--afsn-orange-light);
}

.update-link i {
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.update-link:hover i {
    color: var(--afsn-orange-light);
    transform: translateX(4px);
}


/* ================= DETAIL PAGE ================= */
.update-detail {
    padding-bottom: 90px;
    min-height: 70vh;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--afsn-navy);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 34px;
}

.detail-back:hover {
    color: var(--afsn-orange);
}

.detail-date {
    display: inline-block;
    background: #ffb84d;
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.detail-title {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.25;
    color: var(--afsn-navy);
    margin: 0 0 20px;
}

/* Tags — forced flex layout with high specificity + !important so no
   other stylesheet's bare `span {}` reset can collapse the spacing. */
.detail-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 34px !important;
}

.detail-tags > span {
    display: inline-block !important;
    font-size: 0.8rem !important;
    color: var(--afsn-navy) !important;
    border: 1px solid #ddd !important;
    padding: 5px 12px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    background: #fff;
}

.detail-image {
    width: 100%;
    margin-bottom: 34px;
    background: #f4f4f4;
}

.detail-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.detail-body {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #333;
    max-width: 760px;
}

.detail-body p {
    margin: 0 0 22px;
}

.detail-notfound {
    text-align: center;
    padding: 80px 20px;
}

.detail-notfound h1 {
    font-family: 'Lora', Georgia, serif;
    color: var(--afsn-navy);
    margin-bottom: 14px;
}

.detail-notfound p {
    color: #666;
    margin-bottom: 26px;
}

.detail-back-cta {
    display: inline-block;
    background: var(--afsn-navy);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 26px;
}

.detail-back-cta:hover {
    background: var(--afsn-orange);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .afsn-updates,
    .update-detail {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .afsn-updates {
        padding-top: 90px;
        padding-bottom: 70px;
    }
    .update-link {
        gap: 16px;
        padding: 22px 2px;
    }
    .update-title {
        font-size: 1rem;
    }
    .update-number {
        width: 24px;
        font-size: 0.9rem;
    }

    .update-detail {
        padding-top: 90px;
        padding-bottom: 60px;
    }
    .detail-image img {
        max-height: 320px;
    }
    .detail-body {
        font-size: 1rem;
    }
    .update-container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

@media (max-width: 480px) {
    .update-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
    .update-link i {
        display: none;
    }
    .update-title {
        font-size: 0.95rem;
        line-height: 1.45;
    }
    .detail-title {
        font-size: 1.6rem;
    }
    .detail-image img {
        max-height: 240px;
    }
    .detail-tags > span {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
    }
}

@media (max-width: 375px) {
    .update-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .detail-title {
        font-size: 1.4rem;
    }
}



/* Featured Story Hero — afsn-style layout, AFSN palette */
.feature-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: #fff;
    margin: 0;
}

.feature-hero-bg {
    position: absolute;
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(15%);
}

.feature-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7,17,39,0.92) 0%, rgba(7,17,39,0.55) 45%, rgba(7,17,39,0.15) 75%);
}

/* Content block */
.feature-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 40px 60px;
}

.feature-hero-badge {
    display: inline-block; 
    background: #b63806;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    margin-bottom: 22px;
}

.feature-hero-content h1 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 20px;
}

.feature-hero-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    margin: 0 0 30px;
    max-width: 560px;
}

.fh-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0a1a3f; 
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 26px; 
}

.fh-cta:hover {
    background: #b63806;
    color: #fff;
}