/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip to Content Link (Accessibility & SEO) */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-navy);
    color: var(--text-on-dark);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

:root {
    /* Modern Color Palette - Based on Provided Palette */
    --primary-navy: #00235B;
    --primary-navy-light: #003d85;
    --primary-navy-dark: #001a3d;
    --accent-red: #E21818;
    --accent-red-light: #ff3333;
    --accent-red-dark: #b81414;
    --accent-yellow: #FFDD83;
    --accent-yellow-light: #ffe8a8;
    --accent-yellow-dark: #ffd24d;
    --accent-teal: #98DFD6;
    --accent-teal-light: #b8ebe5;
    --accent-teal-dark: #78cfc5;

    /* Background Colors - Modern & Clean */
    --bg-white: #ffffff;
    --bg-light: #fafbfc;
    --bg-gray: #f5f7fa;
    --bg-cream: #fffef9;
    --bg-yellow-tint: #fffef5;

    /* Text Colors - High Contrast for Maximum Readability */
    --text-dark: #00235B;
    --text-dark-soft: #1a2942;
    --text-medium: #4a5568;
    --text-light: #718096;
    --text-lighter: #a0aec0;
    --text-on-dark: #ffffff;

    /* Gradients - Modern & Vibrant */
    --gradient-primary: linear-gradient(135deg, #00235B 0%, #E21818 100%);
    --gradient-energetic: linear-gradient(135deg, #E21818 0%, #FFDD83 100%);
    --gradient-ocean: linear-gradient(135deg, #00235B 0%, #98DFD6 100%);
    --gradient-warm: linear-gradient(135deg, #FFDD83 0%, #98DFD6 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0, 35, 91, 0.08) 0%, rgba(226, 24, 24, 0.08) 100%);
    --gradient-yellow-soft: linear-gradient(135deg, rgba(255, 221, 131, 0.15) 0%, rgba(255, 221, 131, 0.05) 100%);

    /* Shadows - Modern & Layered */
    --shadow-sm: 0 1px 3px 0 rgba(0, 35, 91, 0.08);
    --shadow-md: 0 4px 12px -2px rgba(0, 35, 91, 0.12), 0 2px 4px -1px rgba(0, 35, 91, 0.08);
    --shadow-lg: 0 12px 24px -4px rgba(0, 35, 91, 0.15), 0 4px 8px -2px rgba(0, 35, 91, 0.1);
    --shadow-xl: 0 24px 48px -8px rgba(0, 35, 91, 0.18), 0 8px 16px -4px rgba(0, 35, 91, 0.12);
    --shadow-colored: 0 12px 32px -4px rgba(226, 24, 24, 0.25);
    --shadow-navy: 0 8px 24px -4px rgba(0, 35, 91, 0.2);

    /* Typography - Modern System Fonts */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* Font Sizes - Improved Hierarchy */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Letter Spacing */
    --letter-tight: -0.025em;
    --letter-normal: 0;
    --letter-wide: 0.025em;
    --letter-wider: 0.05em;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--text-dark);
    line-height: var(--leading-relaxed);
    letter-spacing: var(--letter-normal);
    overflow-x: hidden;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 0 rgba(0, 35, 91, 0.08);
    border-bottom: 1px solid rgba(0, 35, 91, 0.08);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.logo {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: var(--letter-tight);
    line-height: var(--leading-tight);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: var(--text-base);
    letter-spacing: var(--letter-normal);
    position: relative;
    transition: var(--transition-smooth);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-red);
    border-radius: var(--radius-full);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary-navy);
    font-weight: 600;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-yellow-tint) 0%, var(--bg-cream) 50%, var(--bg-light) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 221, 131, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(152, 223, 214, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.hero-text {
    color: var(--text-dark);
    max-width: 100%;
    overflow: hidden;
}

.hero-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: var(--letter-tight);
    margin: 0;
    color: var(--primary-navy);
    flex: 1;
    min-width: 300px;
}

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

/* Typing Animation Styles */
.typing-text {
    display: inline;
    color: var(--primary-navy);
}

.typing-cursor {
    display: inline;
    color: var(--accent-red);
    font-weight: 700;
    margin-left: 0;
    padding: 0;
    animation: blink 1s infinite;
    vertical-align: baseline;
    position: relative;
    left: 0;
}

/* Ensure no spacing between typing text and cursor */
.hero-title .typing-text+.typing-cursor {
    margin-left: 0;
    padding-left: 0;
}

/* Hero Title Image Inline - After Typing Cursor */
.hero-title-image-inline {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--bg-white);
    transition: var(--transition-smooth);
    position: relative;
}

.hero-title-image-inline:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-colored);
}

.hero-title-img-inline {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-title-placeholder-inline {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    font-size: 3rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-title-image-inline:has(img:not([style*="display: none"])) .hero-title-placeholder-inline {
    display: none;
}

.hero-title-placeholder-inline i {
    opacity: 0.8;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .typing-cursor {
        animation: none;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-medium);
    margin-bottom: 28px;
    font-weight: 400;
    line-height: var(--leading-loose);
    letter-spacing: var(--letter-normal);
    max-width: 100%;
    clear: both;
}

.hero-quote {
    margin-bottom: 36px;
    padding: 28px 36px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-left: 5px solid var(--accent-red);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-quote .quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 1.5vw, 1.5rem);
    font-style: italic;
    color: var(--primary-navy);
    margin: 0;
    font-weight: 600;
    line-height: var(--leading-relaxed);
    letter-spacing: var(--letter-normal);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: var(--letter-wide);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-on-dark);
    box-shadow: var(--shadow-colored);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -4px rgba(226, 24, 24, 0.35);
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--accent-red-light) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--text-on-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-navy);
    border-color: var(--primary-navy);
}

/* Hero Profile Image - Big Profile Photo */
.hero-profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}

.hero-profile-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 6px solid var(--bg-white);
    transition: var(--transition-smooth);
    animation: fadeInScale 1s ease-out;
}

.hero-profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px -8px rgba(0, 35, 91, 0.3);
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-profile-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    font-size: 8rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Hide placeholder when image is visible */
.hero-profile-image:has(img:not([style*="display: none"])) .hero-profile-placeholder {
    display: none;
}

.hero-profile-placeholder i {
    opacity: 0.8;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Legacy support for old class name */
.hero-title-image {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 4px solid var(--bg-white);
    transition: var(--transition-smooth);
    margin-top: 20px;
}

.hero-title-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 24px 48px -8px rgba(0, 35, 91, 0.25);
}

.hero-title-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-title-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    font-size: 4rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-title-image:has(img:not([style*="display: none"])) .hero-title-placeholder {
    display: none;
}

.hero-title-placeholder i {
    opacity: 0.8;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.hero-portrait {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-navy);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ============================================
   SNAPSHOT SECTION
   ============================================ */
.snapshot {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.snapshot-card {
    background: var(--bg-white);
    padding: 48px 32px;
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid rgba(0, 35, 91, 0.08);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.snapshot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.snapshot-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(to bottom, var(--bg-white) 0%, rgba(255, 221, 131, 0.05) 100%);
}

.snapshot-icon {
    font-size: 3.5rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.snapshot-card:hover .snapshot-icon {
    color: var(--accent-red);
    transform: scale(1.15) rotate(5deg);
}

.snapshot-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: var(--leading-tight);
}

.snapshot-label {
    color: var(--text-medium);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    font-weight: 500;
}

/* ============================================
   IMPACT SECTION
   ============================================ */
.impact {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
    line-height: var(--leading-tight);
    letter-spacing: var(--letter-tight);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-energetic);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: clamp(1.125rem, 1.75vw, 1.5rem);
    color: var(--text-medium);
    line-height: var(--leading-relaxed);
    font-weight: 400;
    margin-top: 32px;
}

.impact-content {
    display: grid;
    gap: 30px;
}

.impact-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.impact-card.main-card {
    background: var(--gradient-primary);
    color: var(--text-on-dark);
    border: none;
}

.impact-card.main-card .card-icon {
    color: var(--accent-yellow);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.impact-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    margin-bottom: 16px;
    color: inherit;
    line-height: var(--leading-tight);
    font-weight: 700;
}

.impact-card p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: inherit;
    opacity: 0.95;
    letter-spacing: var(--letter-normal);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: var(--bg-white);
    padding: 40px 28px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-smooth);
    border-top: 5px solid var(--primary-navy);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(0, 35, 91, 0.08);
    position: relative;
}

.achievement-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-energetic);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.achievement-card:hover::after {
    transform: scaleX(1);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--accent-red);
    background: linear-gradient(to bottom, var(--bg-white) 0%, rgba(255, 221, 131, 0.03) 100%);
}

.achievement-icon {
    font-size: 3.5rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.achievement-card:hover .achievement-icon {
    color: var(--accent-red);
    transform: scale(1.15) rotate(-5deg);
}

.achievement-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: var(--leading-tight);
}

.achievement-card p {
    color: var(--text-medium);
    font-size: var(--text-base);
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.image-gallery {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-colored);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 35, 91, 0.9) 0%, rgba(0, 35, 91, 0.7) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: var(--text-on-dark);
    width: 100%;
}

.gallery-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-on-dark);
}

.gallery-info p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
    color: var(--text-on-dark);
}

.gallery-info i {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: var(--text-on-dark);
}

.lightbox-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-on-dark);
}

.lightbox-caption p {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--text-on-dark);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--text-on-dark);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10001;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    font-size: 2rem;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .lightbox-caption h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   MEDIA SECTION
   ============================================ */
.media {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.media-main {
    text-align: center;
    margin-bottom: 50px;
}

.award-badge {
    display: inline-block;
    background: var(--gradient-energetic);
    color: var(--primary-navy);
    padding: 36px 56px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.award-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.award-badge i {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.award-badge span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.award-badge p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.media-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    transition: var(--transition-smooth);
    border-left: 5px solid var(--primary-navy);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(0, 35, 91, 0.08);
    position: relative;
}

.media-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--gradient-energetic);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.media-card:hover::before {
    transform: scaleY(1);
}

.media-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-red);
    background: linear-gradient(to right, var(--bg-white) 0%, rgba(255, 221, 131, 0.03) 100%);
}

.media-icon {
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.media-card:hover .media-icon {
    color: var(--accent-red);
    transform: scale(1.1);
}

.media-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: var(--leading-tight);
}

.media-card h4 {
    font-size: var(--text-lg);
    color: var(--accent-teal-dark);
    margin-bottom: 16px;
    font-weight: 600;
    line-height: var(--leading-snug);
}

.media-card p {
    color: var(--text-medium);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

/* ============================================
   WELLNESS SECTION
   ============================================ */
.wellness {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.wellness-content {
    display: grid;
    gap: 30px;
}

.hiking-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wellness-image {
    position: relative;
    overflow: hidden;
}

.wellness-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hiking-card:hover .wellness-image img {
    transform: scale(1.1);
}

.image-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 35, 91, 0.8), transparent);
}

.wellness-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wellness-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.wellness-text h3 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: var(--leading-tight);
    font-weight: 700;
}

.wellness-text p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-medium);
    letter-spacing: var(--letter-normal);
}

.wellness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.wellness-card.small-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wellness-card.small-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.wellness-card.small-card:hover .wellness-image img {
    transform: scale(1.1);
}

.wellness-card.small-card .wellness-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.wellness-card.small-card .wellness-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wellness-card.small-card .wellness-text {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.wellness-card.small-card .wellness-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.wellness-card.small-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: var(--leading-tight);
    font-weight: 700;
}

.wellness-card.small-card p {
    color: var(--text-medium);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

/* ============================================
   CONNECT SECTION
   ============================================ */
.connect {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

.connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 221, 131, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(152, 223, 214, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.connect-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.connect-quote {
    margin-bottom: 50px;
}

.connect-quote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    line-height: var(--leading-relaxed);
    margin-bottom: 20px;
    position: relative;
    padding: 0 40px;
    letter-spacing: var(--letter-normal);
}

.connect-quote blockquote::before,
.connect-quote blockquote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    opacity: 0.3;
}

.connect-quote blockquote::before {
    left: 0;
    top: -20px;
}

.connect-quote blockquote::after {
    right: 0;
    bottom: -40px;
}

.quote-author {
    font-size: 1.2rem;
    opacity: 0.9;
}

.connect-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    line-height: var(--leading-tight);
    letter-spacing: var(--letter-tight);
}

.connect-text p {
    font-size: var(--text-lg);
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: var(--leading-relaxed);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-6px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-yellow);
    box-shadow: 0 8px 24px rgba(255, 221, 131, 0.3);
}

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

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: left;
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.contact-form-wrapper>p {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 221, 131, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
    opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out both;
}

.animate-slide-left {
    animation: slideLeft 0.8s ease-out both;
}

.animate-slide-right {
    animation: slideRight 0.8s ease-out both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Intersection Observer animation triggers */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .hero-profile-image {
        width: 300px;
        height: 300px;
    }

    .hero-profile-placeholder {
        font-size: 6rem;
    }

    .hero-title-image-inline {
        width: 100px;
        height: 100px;
        margin-left: 15px;
    }

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

    .hero-title-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .hero-title {
        text-align: center;
        min-width: auto;
    }

    .hero-title-image {
        width: 200px;
        height: 200px;
        border-width: 3px;
    }

    .hero-subtitle {
        text-align: center;
    }

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

    .hiking-card {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

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

@media (max-width: 768px) {
    .hero-profile-image {
        width: 250px;
        height: 250px;
        border-width: 4px;
    }

    .hero-profile-placeholder {
        font-size: 5rem;
    }

    .hero-title-image-inline {
        width: 80px;
        height: 80px;
        margin-left: 10px;
        border-width: 2px;
    }

    .hero-title-placeholder-inline {
        font-size: 2rem;
    }

    .hero-title-wrapper {
        gap: 20px;
    }

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

    .hero-title-image {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }

    .hero-buttons {
        display: none !important;
    }

    .hero-quote {
        padding: 20px 24px;
    }

    .hero-quote .quote-text {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }

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

    .snapshot-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .snapshot-card {
        padding: 32px 24px;
    }

    .impact-grid,
    .media-grid,
    .wellness-grid,
    .achievements-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .connect-quote blockquote {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-profile-image {
        width: 200px;
        height: 200px;
        border-width: 3px;
    }

    .hero-profile-placeholder {
        font-size: 4rem;
    }

    .hero-title-image-inline {
        width: 60px;
        height: 60px;
        margin-left: 8px;
        border-width: 2px;
    }

    .hero-title-placeholder-inline {
        font-size: 1.5rem;
    }

    .hero-title-image {
        width: 125px;
        height: 125px;
        border-width: 2px;
    }

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

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

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}