/**
 * SPORT SPORT - Main Stylesheet
 * Elegant & Institutional Design
 */

/* ========================================
   CSS Variables & Root Styles
   ======================================== */
:root {
    /* Colors */
    --color-primary: #1a365d;
    --color-primary-dark: #0f2744;
    --color-primary-light: #2c5282;
    --color-secondary: #c9a227;
    --color-secondary-light: #d4b445;
    --color-accent: #2b6cb0;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Sizes */
    --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;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-gray-900);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--spacing-4);
}

.lead {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: var(--color-gray-600);
}

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

.section {
    padding: var(--spacing-24) 0;
}

.section-header {
    margin-bottom: var(--spacing-16);
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-3);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-4);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-gray-500);
    max-width: 700px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-4 { margin-top: var(--spacing-8); }

/* ========================================
   Preloader
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.logo-loader {
    display: flex;
    gap: var(--spacing-2);
}

.logo-loader span {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-white);
    animation: pulse 1.5s ease-in-out infinite;
}

.logo-loader span:nth-child(2) {
    color: var(--color-secondary);
    animation-delay: 0.2s;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
    color: var(--color-gray-700);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--color-primary);
}

.header.scrolled .logo-text {
    color: var(--color-primary);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-5) var(--spacing-8);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--spacing-2) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-3) 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: var(--spacing-3) var(--spacing-5);
    font-size: var(--text-sm);
    color: var(--color-gray-700);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown li a:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-2);
    z-index: var(--z-fixed);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-gray-800);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.header.scrolled .mobile-menu-toggle span {
    background: var(--color-gray-800);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-white);
    z-index: var(--z-fixed);
    padding: var(--spacing-24) var(--spacing-8);
    box-shadow: var(--shadow-2xl);
    transition: right var(--transition-base);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.mobile-nav-list a {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-gray-800);
}

.mobile-nav-list a:hover {
    color: var(--color-primary);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.header.scrolled .btn-outline {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.header.scrolled .btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-white);
}

.btn-white:hover {
    background: transparent;
    color: var(--color-white);
}

.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--text-xs);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-pattern.png') repeat;
    opacity: 0.05;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-8);
}

/* ========================================
   Football Field Hero Section
   ======================================== */
.hero-field {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a1a2e;
}

/* Sports Fields Container */
.sports-fields-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sport-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    pointer-events: none;
}

.sport-field.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ========================================
   FOOTBALL FIELD
   ======================================== */
.football-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d8a2d;
}

/* Grass Pattern - Realistic striped effect */
.football-field .grass-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            #2d8a2d 0px,
            #2d8a2d 40px,
            #339933 40px,
            #339933 80px
        );
    z-index: 1;
}

.football-field .grass-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0,0,0,0.1) 0%, transparent 50%);
    z-index: 2;
}

.football-field .grass-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 3;
}

/* Football Field Lines */
.football-field .field-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Aspect ratio 105:68 (FIFA standard) */
    width: min(90vw, calc(90vh * 1.544));
    height: min(calc(90vw / 1.544), 90vh);
    transform: translate(-50%, -50%);
    z-index: 10;
}

.football-field .boundary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.football-field .center-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(-50%);
}

.football-field .center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17.5%;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.football-field .center-spot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Penalty Areas - 16.5m from goal line, 40.3m wide */
.football-field .penalty-area {
    position: absolute;
    top: 50%;
    width: 15.7%;
    height: 59.3%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    transform: translateY(-50%);
}

.football-field .penalty-area.left {
    left: 0;
    border-left: none;
}

.football-field .penalty-area.right {
    right: 0;
    border-right: none;
}

/* Goal Areas - 5.5m from goal line, 18.3m wide */
.football-field .goal-area {
    position: absolute;
    top: 50%;
    width: 33.3%;
    height: 30.3%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    transform: translateY(-50%);
}

.football-field .penalty-area.left .goal-area {
    left: 0;
    border-left: none;
}

.football-field .penalty-area.right .goal-area {
    right: 0;
    border-right: none;
}

/* Penalty Spots */
.football-field .penalty-spot {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transform: translateY(-50%);
}

.football-field .penalty-area.left .penalty-spot {
    right: 30%;
}

.football-field .penalty-area.right .penalty-spot {
    left: 30%;
}

/* Penalty Arcs */
.football-field .penalty-arc {
    position: absolute;
    top: 50%;
    width: 17.5%;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transform: translateY(-50%);
}

.football-field .penalty-area.left .penalty-arc {
    right: -8.75%;
    clip-path: inset(0 0 0 50%);
}

.football-field .penalty-area.right .penalty-arc {
    left: -8.75%;
    clip-path: inset(0 50% 0 0);
}

/* Corner Arcs */
.football-field .corner-arc {
    position: absolute;
    width: 1.9%;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.95);
}

.football-field .corner-arc.top-left {
    top: -3px;
    left: -3px;
    border-radius: 0 0 100% 0;
    border-top: none;
    border-left: none;
}

.football-field .corner-arc.top-right {
    top: -3px;
    right: -3px;
    border-radius: 0 0 0 100%;
    border-top: none;
    border-right: none;
}

.football-field .corner-arc.bottom-left {
    bottom: -3px;
    left: -3px;
    border-radius: 0 100% 0 0;
    border-bottom: none;
    border-left: none;
}

.football-field .corner-arc.bottom-right {
    bottom: -3px;
    right: -3px;
    border-radius: 100% 0 0 0;
    border-bottom: none;
    border-right: none;
}

/* ========================================
   BASKETBALL COURT
   ======================================== */
.basketball-court {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #c4903d;
}

.basketball-court .court-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            #c4903d 0px,
            #c4903d 60px,
            #d4a04d 60px,
            #d4a04d 120px
        );
    z-index: 1;
}

.basketball-court .court-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    z-index: 2;
}

.basketball-court .court-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    /* NBA court aspect ratio 94:50 feet */
    width: min(90vw, calc(90vh * 1.88));
    height: min(calc(90vw / 1.88), 90vh);
    transform: translate(-50%, -50%);
    z-index: 10;
}

.basketball-court .boundary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.basketball-court .center-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(-50%);
}

.basketball-court .center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12.7%;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #8b0000;
}

/* Three Point Areas */
.basketball-court .three-point-area {
    position: absolute;
    top: 50%;
    width: 25%;
    height: 94%;
    transform: translateY(-50%);
}

.basketball-court .three-point-area.left {
    left: 0;
}

.basketball-court .three-point-area.right {
    right: 0;
}

/* Key Area (Paint) */
.basketball-court .key-area {
    position: absolute;
    top: 50%;
    width: 76%;
    height: 38%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    transform: translateY(-50%);
    background: #8b0000;
}

.basketball-court .three-point-area.left .key-area {
    left: 0;
    border-left: none;
}

.basketball-court .three-point-area.right .key-area {
    right: 0;
    border-right: none;
}

/* Free Throw Circle */
.basketball-court .free-throw-circle {
    position: absolute;
    top: 50%;
    width: 76%;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transform: translateY(-50%);
}

.basketball-court .three-point-area.left .free-throw-circle {
    right: -38%;
}

.basketball-court .three-point-area.right .free-throw-circle {
    left: -38%;
}

/* Basket/Hoop */
.basketball-court .basket {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #ff6600;
    border: 3px solid #ffffff;
    border-radius: 50%;
    transform: translateY(-50%);
}

.basketball-court .three-point-area.left .basket {
    left: 5%;
}

.basketball-court .three-point-area.right .basket {
    right: 5%;
}

/* Three Point Line (simplified arc) */
.basketball-court .three-point-area::before {
    content: '';
    position: absolute;
    top: 3%;
    bottom: 3%;
    width: 100%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 0 50% 50% 0;
}

.basketball-court .three-point-area.left::before {
    left: 0;
    border-left: none;
    border-radius: 0 50% 50% 0;
}

.basketball-court .three-point-area.right::before {
    right: 0;
    border-right: none;
    border-radius: 50% 0 0 50%;
}

/* ========================================
   TENNIS COURT
   ======================================== */
.tennis-court {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d5a27;
}

.tennis-court .court-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d5a27;
    z-index: 1;
}

.tennis-court .court-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.05) 0%, transparent 50%);
    z-index: 2;
}

.tennis-court .court-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Tennis court aspect ratio 78:36 feet (doubles) */
    width: min(90vw, calc(90vh * 2.167));
    height: min(calc(90vw / 2.167), 90vh);
    transform: translate(-50%, -50%);
    z-index: 10;
}

.tennis-court .boundary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Doubles Alleys */
.tennis-court .doubles-alley {
    position: absolute;
    top: 0;
    width: 11.5%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.95);
}

.tennis-court .doubles-alley.left {
    left: 0;
    border-left: none;
    border-top: none;
    border-bottom: none;
}

.tennis-court .doubles-alley.right {
    right: 0;
    border-right: none;
    border-top: none;
    border-bottom: none;
}

/* Service Boxes */
.tennis-court .service-box {
    position: absolute;
    width: 27%;
    height: 50%;
    border: 3px solid rgba(255, 255, 255, 0.95);
}

.tennis-court .service-box.left-top {
    left: 11.5%;
    top: 0;
    border-top: none;
    border-left: none;
}

.tennis-court .service-box.left-bottom {
    left: 11.5%;
    bottom: 0;
    border-bottom: none;
    border-left: none;
}

.tennis-court .service-box.right-top {
    right: 11.5%;
    top: 0;
    border-top: none;
    border-right: none;
}

.tennis-court .service-box.right-bottom {
    right: 11.5%;
    bottom: 0;
    border-bottom: none;
    border-right: none;
}

/* Center Service Line */
.tennis-court .center-service-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: transparent;
    transform: translateX(-50%);
}

/* Net */
.tennis-court .net {
    position: absolute;
    top: -5%;
    left: 50%;
    width: 4px;
    height: 110%;
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.tennis-court .net::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 90%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 4px,
        rgba(255,255,255,0.3) 4px,
        rgba(255,255,255,0.3) 8px
    );
}

/* Baseline Center Marks */
.tennis-court .baseline-center {
    position: absolute;
    top: 50%;
    width: 3px;
    height: 8%;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%);
}

.tennis-court .baseline-center.left {
    left: 0;
}

.tennis-court .baseline-center.right {
    right: 0;
}

/* ========================================
   VOLLEYBALL COURT
   ======================================== */
.volleyball-court {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e07020;
}

.volleyball-court .court-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e07020;
    z-index: 1;
}

.volleyball-court .court-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    z-index: 2;
}

.volleyball-court .court-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Volleyball court 18m x 9m = 2:1 */
    width: min(90vw, calc(90vh * 2));
    height: min(calc(90vw / 2), 90vh);
    transform: translate(-50%, -50%);
    z-index: 10;
}

.volleyball-court .boundary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Center Line */
.volleyball-court .center-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(-50%);
}

/* Attack Lines (3m from center) */
.volleyball-court .attack-line {
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
}

.volleyball-court .attack-line.left {
    left: 33.3%;
}

.volleyball-court .attack-line.right {
    right: 33.3%;
}

/* Net */
.volleyball-court .net {
    position: absolute;
    top: -8%;
    left: 50%;
    width: 6px;
    height: 116%;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.volleyball-court .net::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 84%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 6px,
        rgba(255,255,255,0.4) 6px,
        rgba(255,255,255,0.4) 12px
    );
}

/* Service Zones (behind baseline) */
.volleyball-court .service-zone {
    position: absolute;
    top: 100%;
    width: 50%;
    height: 15%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-top: none;
}

.volleyball-court .service-zone.left {
    left: 0;
}

.volleyball-court .service-zone.right {
    right: 0;
}

/* ========================================
   Field Indicators (Dots)
   ======================================== */
.field-indicators {
    position: absolute;
    bottom: calc(var(--spacing-6) + 60px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-3);
    z-index: 30;
}

.field-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.field-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.field-indicators .indicator.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--color-secondary);
}

/* ========================================
   Field Content Overlay
   ======================================== */
.field-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    padding: var(--spacing-6);
    width: 90%;
    max-width: 800px;
}

.field-content .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-3);
    letter-spacing: 0.1em;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 0, 0, 0.3);
}

.field-content .hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--color-secondary);
    margin-bottom: var(--spacing-4);
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.field-content .hero-quote {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-6);
    font-style: italic;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--spacing-4);
    background: rgba(26, 54, 93, 0.7);
    border-left: 4px solid var(--color-secondary);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.field-content .hero-services {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-6);
    flex-wrap: wrap;
}

.field-content .service-badge {
    padding: var(--spacing-2) var(--spacing-4);
    background: rgba(26, 54, 93, 0.8);
    border: 2px solid var(--color-secondary);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.field-content .service-badge:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.field-content .btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.5);
}

.field-content .btn-primary:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Hero scroll indicator for field */
.hero-field .hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-6);
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
}

.hero-field .hero-scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.hero-field .hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    animation: scrollIndicator 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 32px; opacity: 0.3; }
}

/* ========================================
   Original Hero Styles (continued)
   ======================================== */

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-4);
    letter-spacing: 0.1em;
}

.hero-tagline {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--color-secondary);
    margin-bottom: var(--spacing-8);
    font-style: italic;
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-10);
    flex-wrap: wrap;
}

.service-badge {
    padding: var(--spacing-2) var(--spacing-5);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
    0% { top: 8px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease 0.9s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   About Section
   ======================================== */
.section-about {
    background: var(--color-gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.about-content p {
    margin-bottom: var(--spacing-5);
    color: var(--color-gray-600);
}

.about-content .btn {
    margin-top: var(--spacing-4);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-6);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.about-experience .years {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
}

.about-experience .text {
    font-size: var(--text-sm);
    margin-top: var(--spacing-2);
}

/* ========================================
   Values Section
   ======================================== */
.section-values {
    background: var(--color-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.value-card {
    text-align: center;
    padding: var(--spacing-10);
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-6);
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.icon-culture { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E"); }
.icon-vision { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.icon-professionalism { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
.icon-commitment { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.icon-communication { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.icon-relationships { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }

.value-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-4);
}

.value-card p {
    color: var(--color-gray-500);
    margin-bottom: 0;
}

/* ========================================
   Services Section
   ======================================== */
.section-services {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-services .section-subtitle {
    color: var(--color-secondary);
}

.section-services .section-title {
    color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.service-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: var(--spacing-8);
}

.service-content h3 {
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-4);
}

.service-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

/* ========================================
   Projects Section
   ======================================== */
.section-projects {
    background: var(--color-gray-50);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.project-card {
    background: var(--color-white);
    padding: var(--spacing-10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
}

.project-icon i {
    width: 32px;
    height: 32px;
    background: var(--color-white);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.icon-database { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M21 12c0 1.66-4 3-9 3s-9-1.34-9-3'/%3E%3Cpath d='M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5'/%3E%3C/svg%3E"); }
.icon-trophy { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E"); }
.icon-museum { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 21v-6a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v6'/%3E%3C/svg%3E"); }

.project-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-4);
}

.project-card p {
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-6);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.project-link:hover {
    gap: var(--spacing-3);
    color: var(--color-secondary);
}

/* ========================================
   Ambassadors Section
   ======================================== */
.section-ambassadors {
    background: var(--color-white);
    overflow: hidden;
}

.ambassadors-carousel {
    display: flex;
    gap: var(--spacing-6);
    overflow-x: auto;
    padding: var(--spacing-4) 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ambassadors-carousel::-webkit-scrollbar {
    display: none;
}

.ambassador-card {
    flex: 0 0 200px;
    text-align: center;
    scroll-snap-align: start;
}

.ambassador-image {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-4);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-gray-100);
    transition: border-color var(--transition-base);
}

.ambassador-card:hover .ambassador-image {
    border-color: var(--color-secondary);
}

.ambassador-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ambassador-card h4 {
    font-size: var(--text-base);
    color: var(--color-gray-800);
}

.memorial-section {
    text-align: center;
    margin-top: var(--spacing-12);
    padding-top: var(--spacing-8);
    border-top: 1px solid var(--color-gray-200);
}

.memorial-text {
    font-style: italic;
    color: var(--color-gray-500);
}

/* ========================================
   Partners Section
   ======================================== */
.section-partners {
    background: var(--color-gray-50);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.partner-card {
    background: var(--color-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.partner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-6);
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-gray-100);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-4);
}

.partner-card p {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-bottom: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.section-cta {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #b8941f 100%);
    padding: var(--spacing-20) 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: var(--text-4xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-4);
}

.cta-content p {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-8);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-300);
}

.footer-main {
    padding: var(--spacing-20) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
}

.footer-tagline {
    color: var(--color-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-4);
}

.footer-description {
    font-size: var(--text-sm);
    margin-bottom: var(--spacing-6);
}

.footer-social {
    display: flex;
    gap: var(--spacing-3);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.social-link:hover {
    background: var(--color-secondary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: var(--text-lg);
    color: var(--color-white);
    margin-bottom: var(--spacing-6);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.footer-links a {
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.contact-item {
    display: flex;
    gap: var(--spacing-3);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-secondary);
}

.contact-item a {
    display: block;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    padding: var(--spacing-6) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-6);
}

.footer-bottom-links a {
    font-size: var(--text-sm);
}

.footer-bottom-links a:hover {
    color: var(--color-secondary);
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-8);
    right: var(--spacing-8);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-secondary);
}

/* ========================================
   Form Styles
   ======================================== */
.form-group {
    margin-bottom: var(--spacing-6);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-2);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-4);
    font-size: var(--text-base);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========================================
   Page Headers
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: var(--spacing-24) 0 var(--spacing-16);
    margin-top: 80px;
}

.page-header-content {
    text-align: center;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-4);
}

.breadcrumb a,
.breadcrumb span {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.breadcrumb span.separator {
    color: rgba(255,255,255,0.5);
}

.page-header h1 {
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-4);
}

.page-header p {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Utility Classes
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
