/* =============================================
   SingleTraveler Network - Main Stylesheet
   Brand Colors:
   - Primary: #2271b1 (Deep Blue)
   - Secondary: #01afca (Teal/Cyan)
   - Accent: #ebb041 (Golden Amber)
   ============================================= */

/* CSS Variables */
:root {
    --primary: #2271b1;
    --primary-dark: #1a5a8a;
    --primary-light: #3498db;
    --secondary: #01afca;
    --secondary-dark: #018a9e;
    --secondary-light: #33c4db;
    --accent: #ebb041;
    --accent-dark: #d49a2a;
    --accent-light: #f4c76b;
    --dark: #1a1a2e;
    --dark-blue: #0f1628;
    --gray-dark: #4a5568;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #e67e22 100%);
    --gradient-dark: linear-gradient(180deg, rgba(15, 22, 40, 0.9) 0%, rgba(26, 26, 46, 0.95) 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1400px;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

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

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

/* Animate on scroll classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.header.scrolled .nav-link {
    color: var(--dark);
}

.header.scrolled .logo-text {
    color: var(--primary);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    animation: fadeInDown 0.6s ease;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover .logo-img {
    transform: rotate(10deg) scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition-base);
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    animation: fadeInDown 0.6s ease 0.2s both;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

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

.nav-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInDown 0.6s ease 0.3s both;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.header.scrolled .nav-toggle span {
    background: var(--dark);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(1, 175, 202, 0.4);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 175, 202, 0.5);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(235, 176, 65, 0.4);
}

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 176, 65, 0.5);
    color: var(--dark);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: scaleIn 1.5s ease;
}

/* Richer overlay - let more image color through */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 35, 66, 0.75) 0%,
        rgba(1, 90, 120, 0.5) 40%,
        rgba(1, 120, 150, 0.4) 70%,
        rgba(10, 50, 80, 0.85) 100%
    );
    z-index: -1;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    flex-grow: 1;
    padding: 2rem 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

/* Hero Video */
.hero-video-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: fadeInRight 0.8s ease 0.5s both;
}

.hero-video-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--secondary), var(--accent), var(--primary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.8;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--dark);
}

/* Video play button overlay (for poster state) */
.hero-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-video-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent);
}

.hero-video-play svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
    margin-left: 4px;
}

.hero-video-play:hover svg {
    fill: var(--dark);
}

.hero-video-play.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-tagline {
    display: inline-block;
    background: rgba(235, 176, 65, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease 0.4s both;
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.1;
}

.hero-title .highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .accent {
    color: var(--accent);
    font-style: italic;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.8s both;
}

/* =============================================
   HERO FEATURE BLOCKS (5 blocks from comp)
   ============================================= */
.hero-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: auto;
    padding-bottom: 2rem;
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-feature-block {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 200px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-feature-block:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center; /* Show more of the right side of photos */
    transition: transform var(--transition-slow);
}

.hero-feature-block:hover .hero-feature-bg {
    transform: scale(1.1);
}

/* Colorful gradient overlays - gradient ends at 40% to reveal more photo on right */
.hero-feature-block.orange .hero-feature-overlay {
    background: linear-gradient(90deg, rgba(211, 84, 0, 0.95) 0%, rgba(230, 126, 34, 0.6) 40%, transparent 70%);
}

.hero-feature-block.teal .hero-feature-overlay {
    background: linear-gradient(90deg, rgba(0, 134, 158, 0.95) 0%, rgba(1, 175, 202, 0.6) 40%, transparent 70%);
}

.hero-feature-block.gold .hero-feature-overlay {
    background: linear-gradient(90deg, rgba(212, 154, 42, 0.95) 0%, rgba(235, 176, 65, 0.6) 40%, transparent 70%);
}

.hero-feature-block.blue .hero-feature-overlay {
    background: linear-gradient(90deg, rgba(26, 90, 138, 0.95) 0%, rgba(34, 113, 177, 0.6) 40%, transparent 70%);
}

.hero-feature-block.cyan .hero-feature-overlay {
    background: linear-gradient(90deg, rgba(0, 151, 167, 0.95) 0%, rgba(0, 188, 212, 0.6) 40%, transparent 70%);
}

.hero-feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all var(--transition-base);
}

.hero-feature-block:hover .hero-feature-overlay {
    opacity: 0.85;
}

.hero-feature-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--white);
}

.hero-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.hero-feature-block:hover .hero-feature-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-feature-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.hero-feature-block:hover .hero-feature-text {
    opacity: 1;
    max-height: 100px;
}

/* Floating elements for visual interest */
.hero-float {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-float-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 5%;
    right: -5%;
    animation-delay: 0s;
}

.hero-float-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: 30%;
    right: 10%;
    animation-delay: 2s;
}

/* =============================================
   SECTIONS - General
   ============================================= */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--dark-blue);
    color: var(--white);
}

.section-light {
    background: var(--off-white);
}

.section-gradient {
    background: var(--gradient-primary);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

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

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   WELCOME SECTION
   ============================================= */
.welcome {
    position: relative;
    overflow: hidden;
}

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

.welcome-content {
    padding-right: 2rem;
}

.welcome-title {
    margin-bottom: 1.5rem;
}

.welcome-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.welcome-image {
    position: relative;
}

.welcome-image-main {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-slow);
}

.welcome-image-main:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.welcome-image-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.welcome-image-main:hover img {
    transform: scale(1.05);
}

/* Decorative blob behind image */
.welcome-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: var(--gradient-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

/* =============================================
   FEATURE CARDS - What We Do
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    min-height: 320px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.feature-card:hover .feature-card-bg {
    transform: scale(1.1);
}

.feature-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all var(--transition-base);
}

/* Different gradient colors for each card */
.feature-card.primary .feature-card-overlay {
    background: linear-gradient(180deg, rgba(34, 113, 177, 0.7) 0%, rgba(34, 113, 177, 0.95) 100%);
}

.feature-card.secondary .feature-card-overlay {
    background: linear-gradient(180deg, rgba(1, 175, 202, 0.7) 0%, rgba(1, 175, 202, 0.95) 100%);
}

.feature-card.accent .feature-card-overlay {
    background: linear-gradient(180deg, rgba(235, 176, 65, 0.7) 0%, rgba(212, 154, 42, 0.95) 100%);
}

.feature-card:hover .feature-card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.feature-card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card-text {
    opacity: 1;
    max-height: 200px;
    margin-top: 0.5rem;
}

.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card-link {
    opacity: 1;
    transform: translateY(0);
}

.feature-card-link:hover {
    color: var(--white);
}

/* =============================================
   PROGRAMS SECTION
   ============================================= */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 50px;
    height: 50px;
    background: var(--off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all var(--transition-base);
}

.program-card:hover .program-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(5deg) scale(1.1);
}

.program-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.program-text {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =============================================
   CTA SECTIONS - With People/Freedom Theme
   ============================================= */
.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: visible;
}

.cta-content {
    position: relative;
    z-index: 2;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    overflow: visible;
}

.cta-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-image {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: visible;
}

/* Person bleeding out of container - freedom effect */
.cta-image img {
    border-radius: var(--border-radius-lg);
    max-height: 400px;
    object-fit: cover;
    position: relative;
    transform: translateY(-40px);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base);
}

.cta-image:hover img {
    transform: translateY(-50px) scale(1.02);
}

/* Alternative CTA with solid color background */
.cta-solid {
    background: var(--accent);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-solid h2 {
    color: var(--dark);
}

.cta-solid p {
    color: var(--dark);
    opacity: 0.8;
}

/* =============================================
   BENEFITS / MEMBERSHIP SECTION
   ============================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.benefit-icon {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text {
    color: var(--white);
    font-size: 0.95rem;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark);
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--gray);
}

/* =============================================
   VALUES SECTION
   ============================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.value-item {
    padding: 2rem 1rem;
    transition: all var(--transition-base);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--white);
    transition: all var(--transition-base);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(34, 113, 177, 0.4);
}

.value-title {
    font-size: 1rem;
    color: var(--dark);
}

/* =============================================
   ANNUAL CONFERENCE SECTION
   ============================================= */
.conference {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.conference::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
}

.conference-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.conference-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.conference-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* =============================================
   FINAL CTA SECTION
   ============================================= */
.final-cta {
    text-align: center;
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.05;
    top: -200px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--accent);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* =============================================
   ABOUT PAGE SPECIFIC
   ============================================= */
.page-hero {
    padding: 10rem 0 5rem;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    top: -300px;
    right: -200px;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.about-content {
    padding: 5rem 0;
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-mission {
    background: var(--off-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
    margin: 2rem 0;
}

.about-mission p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0;
    font-style: italic;
}

/* Who We Serve list */
.serve-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    list-style: none;
    margin-top: 1.5rem;
}

.serve-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-dark);
}

.serve-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
}

/* =============================================
   TRUST INDICATORS
   ============================================= */
.trust-bar {
    background: #088DA5;
    padding: 2rem 0;
}

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

.trust-item {
    color: var(--white);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.trust-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.trust-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1200px) {
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-features .hero-feature-block:nth-child(4),
    .hero-features .hero-feature-block:nth-child(5) {
        grid-column: span 1;
    }

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

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

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
    }

    .hero-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-video-wrapper {
        order: -1;
    }

    .hero-video-container {
        max-width: 400px;
    }

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

    .hero-features .hero-feature-block:last-child {
        grid-column: span 2;
    }

    .hero-feature-block {
        min-height: 160px;
    }

    .welcome-grid,
    .about-grid,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .welcome-content {
        padding-right: 0;
        text-align: center;
    }

    .welcome-image-main {
        transform: none;
    }

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

    .cta-image img {
        transform: none;
    }

    .cta-image:hover img {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active .nav-link {
        color: var(--dark);
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-features .hero-feature-block:last-child {
        grid-column: span 1;
    }

    .hero-feature-block {
        min-height: 120px;
    }

    .hero-feature-content {
        padding: 1rem;
    }

    .hero-feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }

    .hero-feature-title {
        font-size: 1rem;
    }

    .features-grid,
    .programs-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .serve-list {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 2.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

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

    .final-cta-buttons {
        flex-direction: column;
    }
}
