/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility Styles */
.skip-nav {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.skip-nav:focus {
    left: 6px;
    top: 7px;
}

.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;
}

/* Form validation through visual lines only - no text messages */

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

/* Button improvements for accessibility */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.hamburger:focus {
    outline: none;
}

.scroll-indicator {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.scroll-indicator:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:root {
    --primary-color: #0099cc;
    --secondary-color: #ff4757;
    --accent-color: #2ed573;
    --dark-color: #0c0c0c;
    --darker-color: #000000;
    --light-color: #ffffff;
    --text-color: #1a1a1a;
    --text-light: #6c757d;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    --gradient-accent: #0088ff;
    --gradient-sporty: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --gradient-dark: linear-gradient(135deg, #232526 0%, #414345 100%);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-colored: 0 8px 24px rgba(0, 136, 255, 0.3);
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-large: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background: #000000;
    background-attachment: fixed;
    font-weight: 400;
    font-display: swap;
}

/* Improve text contrast for better accessibility */
.hero-subtitle {
    color: rgba(255, 255, 255, 0.95); /* Increased from 0.9 */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.qualification-card p {
    color: rgba(255, 255, 255, 0.95); /* Increased from 0.8 */
}

.service-card p {
    color: rgba(255, 255, 255, 0.95); /* Increased from 0.9 */
}

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

/* Glass Morphism Effects */
.glass-header,
.glass-card,
.glass-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Completely transparent header for desktop */
.glass-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}

/* Header Styles */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-radius: 0;
}

.glass-header nav {
    position: relative;
}

.glass-header.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: var(--shadow-heavy);
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 1rem;
}



.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--light-color);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    background: transparent;
    display: inline-block;
}

.nav-link:hover {
    background: var(--gradient-accent);
    color: #ffffff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: var(--shadow-colored);
    border-radius: 50px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.hamburger.active {
    display: flex !important;
    z-index: 1100;
    position: fixed;
    left: 10px;
    top: 50px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-sporty);
    background-attachment: fixed;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 1s ease-in-out;
}

.hero-video.loaded {
    opacity: 1;
}

/* Mobile video container - hidden by default */
.mobile-video-container {
    display: none;
    margin: 0.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    width: fit-content;
    height: fit-content;
}

.mobile-hero-video {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}



.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    color: var(--light-color);
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
    padding-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out forwards;
}

.hero-line:nth-child(2) {
    animation-delay: 0.3s;
    color: #038eff;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

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

.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.cta-button.primary {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: var(--shadow-colored);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 136, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 136, 255, 0.6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 136, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition), opacity 0.3s ease-in-out;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--light-color);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
    40% { transform: translateY(-10px) rotate(-45deg); }
    60% { transform: translateY(-5px) rotate(-45deg); }
}

/* Section Styles */
.hero, .about, .services {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.contact {
    min-height: 100vh;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.services {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0 20px 0;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 0 100px 0;
}

.about {
    position: relative;
    padding: 120px 0 80px 0;
    background: linear-gradient(to bottom, #1e3c72 0%, #2a5298 30%, #0f0f23 100%);
}

.services {
    background: linear-gradient(to bottom, #0f0f23 0%, #1a1a2e 30%, #16213e 100%);
}

.contact {
    background: linear-gradient(to bottom, #16213e 0%, #0f3460 30%, #0a0a0a 100%);
    align-items: flex-start;
}

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

.about .section-header {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--light-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.about .section-title {
    margin-bottom: 0.5rem;
}

.section-line {
    width: 120px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto;
    border-radius: 2px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 12px rgba(0, 136, 255, 0.5);
}

.about .section-line {
    margin: 0 auto;
    margin-bottom: 3rem;
}

/* About Section */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
    padding: 0 20px;
}

.coach-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coach-image {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 0, 0, 0.3);
}




.coach-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Learn More Button */
.learn-more-btn {
    position: relative;
    background: var(--gradient-accent);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-bottom: 1rem;
    overflow: hidden;
    font-size: 0.9rem;
    z-index: 10;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

.learn-more-btn .button-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.learn-more-btn:hover .button-bg {
    left: 100%;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.service-error-message {
    text-align: center;
    padding: 10px;
}

.service-error-message p {
    margin: 15px 0;
}

.service-error-message strong {
    font-weight: bold;
}

.service-error-email-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

.service-error-copy-btn {
    margin-left: 10px;
    padding: 5px 10px;
    background: var(--accent-color);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 12px;
}

.copy-btn-success {
    background: #4CAF50 !important;
}

.submit-btn-error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%) !important;
}

.turnstile-pending {
    background: linear-gradient(135deg, #ffa502 0%, #ff7f00 100%) !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.service-error-description {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* Private Lessons Video Section */
.private-lessons-video {
    padding: 120px 0 80px 0;
    background: linear-gradient(to bottom, #16213e 0%, #1a1a2e 25%, #0f3460 75%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.private-lessons-video .container {
    max-width: none;
    width: 100%;
    padding: 0;
}

.video-content {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr;
    gap: 1rem;
    align-items: flex-start;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: stretch;
}

.video-info {
    padding: 2rem 0;
    text-align: left;
}

@media (min-width: 900px) {
    .video-content {
        grid-template-columns: 1.3fr 1.2fr;
        gap: 1rem;
    }
    
    .video-info {
        justify-self: start;
        align-self: flex-start;
        padding-right: 1rem;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .video-player {
        justify-self: start;
        align-self: flex-start;
        margin: 8rem 0 0 0;
        width: 100%;
        position: relative;
    }
}

@media (max-width: 899px) {
    .video-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 2rem;
        text-align: left;
    }
    
    .video-info {
        order: 1;
        grid-column: 1;
        grid-row: 1;
        padding-right: 0;
        text-align: left;
    }
    
    .video-player {
        order: 2;
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        height: auto;
        margin: 0 !important;
        padding: 0;
        line-height: 0;
        justify-self: center;
        align-self: start;
    }
}

.video-player {
    /* Video player styles will be handled by default grid positioning */
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--light-color);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    font-weight: 600;
    font-size: 1.0rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 136, 255, 0.6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 136, 255, 0.3);
}

.back-arrow {
    font-size: 1.2em;
    transition: var(--transition);
    transform: translateY(-2px);
}

.back-btn:hover .back-arrow {
    transform: translateX(-3px) translateY(-2px);
    color: var(--primary-color);
}

.video-info h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--light-color);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.video-info p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--light-color);
}

.feature-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    background: #038eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--dark-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.video-player {
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    line-height: 0;
    position: relative;
}

.video-player video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    min-height: 200px;
    max-height: 70vh;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-large);
}

/* Hide all video controls and play buttons */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}

video::-webkit-media-controls-play-button {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

@media (min-width: 769px) {
    .video-player video {
        max-height: 60vh;
    }
}

.lead-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    text-align: center;
    color: var(--light-color);
    margin-bottom: 2rem;
    margin-top: 0rem;
    line-height: 1.6;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.qualifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.qualification-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
    max-width: 220px;
    margin: 0 auto;
}

.qualification-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.qualification-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.qualification-card h3 {
    color: var(--light-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.qualification-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 55vh;
    align-items: center;
}

.service-card {
    position: relative;
    padding: 1.5rem 2rem 2.5rem;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-large);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card.featured {
    transform: scale(1.05);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-secondary);
    color: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

.service-card:hover {
    transform: translateY(-20px) scale(1.03);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-colored);
}

.service-card.featured:hover {
    transform: translateY(-15px) scale(1.07);
}

.service-icon {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 136, 255, 0.4));
}

.service-card h3 {
    color: var(--light-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: -1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
    text-align: left;
}

.service-features li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #038eff;
    font-weight: bold;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.currency {
    font-size: 3rem;
    color: var(--light-color);
    font-weight: 800;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.service-card:hover .card-glow {
    opacity: 1;
}

/* Video Analysis Section */
.video-analysis {
    padding: 12rem 0 4rem 0;
    position: relative;
    background: linear-gradient(to bottom, #0f0f23 0%, #1a1a2e 50%, #0f0f23 100%);
}

.private-lessons-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.video-player-container {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-colored);
}

.private-lesson-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-large);
}

.private-lessons-info h3 {
    font-size: 2rem;
    color: #038eff;
    margin-bottom: 1rem;
}

.private-lessons-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.private-lessons-info .video-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.private-lessons-info .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.private-lessons-info .feature-icon {
    width: 24px;
    height: 24px;
    background: #038eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.private-lessons-info .feature-item span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 0 2rem;
}

.contact-info {
    padding: 3rem;
}

.contact-info h3 {
    color: var(--light-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition);
}

.contact-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.contact-item strong {
    color: var(--light-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Modern Form Styles */
.form-container {
    padding: 3rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Enhanced focus management */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Form validation through form-line only - no borders */

/* Error message styling for individual fields */
#service-error {
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

.form-container h3 {
    color: var(--light-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.modern-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
}

.modern-form .form-group:nth-child(5),
.modern-form .form-group:nth-child(6) {
    grid-column: 1 / -1;
}

.modern-form .submit-btn {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 300px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0 0rem 0;
    background: transparent;
    border: none;
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 400;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    min-height: 3.5rem;
}

/* Prevent autofill from changing background - make completely transparent */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(0,0,0,0) inset !important;
    -webkit-text-fill-color: var(--light-color) !important;
    background-color: transparent !important;
    background-image: none !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.form-group select {
    color: var(--dark-color);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 1rem;
}

.form-group select option {
    color: var(--dark-color);
    background: var(--light-color);
    font-weight: 500;
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1rem 0 0rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: var(--light-color);
    font-weight: 400;
    font-family: inherit;
    width: 100%;
    font-size: 1rem;
    min-height: 3.5rem;
}

.select-trigger:focus,
.custom-select.open .select-trigger {
    outline: none;
}


.arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--light-color);
    transition: var(--transition);
}

.custom-select.open .arrow {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
}

.custom-select.open .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option {
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-color);
    font-weight: 500;
}

.option:hover {
    background: rgba(79, 172, 254, 0.1);
    color: var(--dark-color);
}

.option:first-child {
    border-radius: 8px 8px 0 0;
}

.option:last-child {
    border-radius: 0 0 8px 8px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}

.form-group.focused label,
.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--light-color);
    font-weight: 600;
}



.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group.focused .form-line {
    background: rgba(255, 255, 255, 0.8);
}

/* Form line validation colors with animation */
.form-group.success .form-line,
.form-group.success input:focus ~ .form-line,
.form-group.success select:focus ~ .form-line,
.form-group.success textarea:focus ~ .form-line,
.form-group.success.focused .form-line {
    width: 100%;
    background: #2ed573 !important;
    animation: lineExpand 0.4s ease-out;
}

.form-group.error .form-line {
    width: 100%;
    background: #ff4757;
    animation: lineExpand 0.4s ease-out;
}

/* Line expand animation */
@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* Show form-line for all fields including custom select */
.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    z-index: 5;
}

.submit-btn {
    background: var(--gradient-accent);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-top: 0rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: var(--shadow-colored);
}

.submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 136, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Products Page Styles */
.products-hero {
    height: 70vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: 80px;
}

.products-section {
    padding: 120px 0;
    background: var(--gradient-dark);
    min-height: 100vh;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.product-card {
    position: relative;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    border-radius: var(--border-radius-large);
}

.product-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--dark-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-tennis-app::before {
    content: "📱";
    font-size: 2rem;
}

.icon-match-analyzer::before {
    content: "📊";
    font-size: 2rem;
}

.icon-coaching-platform::before {
    content: "💻";
    font-size: 2rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    font-weight: 600;
}

.product-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.product-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.product-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

.period {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.product-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.product-btn.primary {
    background: var(--gradient-accent);
    color: var(--dark-color);
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

.product-info {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

.info-content h2 {
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.lead-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.info-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.info-point {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
}

.point-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-icon::before {
    content: "⚡";
    font-size: 1.5rem;
}

.point-content h4 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.point-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Active navigation link styling */
.nav-link.active {
    background: var(--gradient-accent);
    color: #ffffff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: var(--shadow-colored);
}

/* Footer */
.glass-footer {
    background: linear-gradient(to bottom, #0a0a0a 0%, #000000 100%);
    border-radius: 0;
    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.8);
    border: none;
}

/* Mobile Menu Styles */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6.5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6.5px);
}


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

/* Navigation Overlay for blur/fade effect */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Responsive Design */

/* Desktop view - hide only mobile navigation elements, keep desktop nav visible */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .hamburger.active {
        display: none !important;
    }
    
    /* Only hide mobile navigation menu styles, not desktop nav */
    .nav-menu {
        position: static !important;
        right: auto !important;
        top: auto !important;
        flex-direction: row !important;
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        text-align: center !important;
        transition: none !important;
        box-shadow: none !important;
        z-index: auto !important;
        padding: 0 !important;
        display: flex !important;
        gap: 2rem !important;
        border-radius: 0 !important;
    }
    
    .nav-menu.active {
        position: static !important;
        right: auto !important;
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .glass-header {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .nav-container {
        background: transparent;
        padding: 0;
        margin: 0;
        max-width: none;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgb(26, 26, 46);
        width: 33.33vw;
        height: 100vh;
        text-align: center;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.4s ease-in-out;
        z-index: 1100;
        padding-top: 8rem;
        display: flex;
        gap: 1.5rem;
        overflow: hidden;
    }
    
    .nav-menu .nav-link {
        font-size: 1.5rem;
        color: var(--light-color);
        opacity: 0.9;
        transition: var(--transition);
        text-decoration: none;
        padding: 0.75rem 1.5rem;
        border-radius: var(--border-radius);
    }
    
    .nav-menu .nav-link:hover {
        opacity: 1;
        color: var(--primary-color);
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        text-shadow: 0 0 8px rgba(0, 136, 255, 0.4);
    }
    
    
    .hamburger {
        display: flex;
        position: fixed;
        top: 50px;
        left: 10px;
        z-index: 1100;
        background: rgb(26, 26, 46);
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero {
        align-items: flex-start;
        padding-top: 12vh;
    }
    
    /* Show background video on mobile with reduced opacity */
    .hero-bg {
        display: block;
    }
    
    .hero-video {
        opacity: 0.3;
    }
    
    /* Show mobile video container */
    .mobile-video-container {
        display: block;
        margin: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
    }
    
    .scroll-indicator {
        bottom: 5rem;
    }
    
    .services {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 40px 0;
    }
    
    .services-grid {
        height: auto;
        gap: 2rem;
    }
    
    .service-card {
        height: auto;
        max-height: none;
        padding: 2rem 1.5rem;
        justify-content: flex-start;
    }
    
    .contact {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 120px 0;
    }
    
    .about {
        height: auto;
        min-height: 100vh;
        padding: 60px 0 40px 0;
    }
    
    .modern-form {
        grid-template-columns: 1fr;
    }
    
    .modern-form .form-group:nth-child(5),
    .modern-form .form-group:nth-child(6) {
        grid-column: 1;
    }
    
    .modern-form .submit-btn {
        grid-column: 1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-line {
        width: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        height: auto;
    }
    
    .coach-image {
        width: 280px;
        height: 280px;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 0, 0, 0.3);
    }
    
    
    
    .qualifications {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .video-analysis {
        padding: 6rem 0 4rem 0;
    }

    .private-lessons-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .private-lessons-info h3 {
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
    }
    
    .qualification-card,
    .service-card,
    .contact-info,
    .form-container {
        padding: 2rem;
    }
    
    /* Restore full homepage background video coverage on mobile */
    .hero-video {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 10vh;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

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

    .section-line {
        width: 250px;
    }

    .coach-image {
        width: 220px;
        height: 220px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.3);
    }

    /* Mobile Video Section */
    .private-lessons-video {
        padding: 140px 0 40px 0;
        min-height: 100vh;
    }

    .video-content {
        text-align: center;
        padding: 0 20px;
    }

    .video-info {
        text-align: center;
    }

    .video-features {
        position: static;
        order: 3;
        grid-column: 1;
        grid-row: 3;
        margin-top: 1rem;
        gap: 2rem;
    }

    .video-info h2 {
        font-size: 2rem;
    }

    .video-info {
        padding: 1rem 0;
    }

    .learn-more-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .qualification-card,
    .service-card,
    .contact-info,
    .form-container {
        padding: 1.5rem;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    .cta-container {
        padding: 0 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .contact {
        padding: 80px 0 150px 0;
    }
}

/* Additional modern effects */
@media (prefers-reduced-motion: no-preference) {
    .qualification-card:nth-child(1) { animation-delay: 0.1s; }
    .qualification-card:nth-child(2) { animation-delay: 0.2s; }
    .qualification-card:nth-child(3) { animation-delay: 0.3s; }
    .qualification-card:nth-child(4) { animation-delay: 0.4s; }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    
    .contact-item:nth-child(1) { animation-delay: 0.1s; }
    .contact-item:nth-child(2) { animation-delay: 0.2s; }
    .contact-item:nth-child(3) { animation-delay: 0.3s; }
    .contact-item:nth-child(4) { animation-delay: 0.4s; }
}

/* Loading animation for page */
body {
    animation: pageLoad 1s ease-out;
}

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

/* Success Notification */
.success-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 136, 255, 0.3);
    z-index: 10000;
    text-align: center;
    min-width: 300px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.success-notification .checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmarkBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.success-notification .checkmark::after {
    content: '✓';
    font-size: 2rem;
    font-weight: bold;
    animation: checkmarkDraw 0.3s ease-out 0.5s both;
}

.success-notification h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    animation: slideInUp 0.4s ease-out 0.6s both;
}

.success-notification p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    animation: slideInUp 0.4s ease-out 0.7s both;
}

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

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

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

/* Overlay for notification */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-overlay.show {
    opacity: 1;
}

/* Cloudflare Turnstile Styling */
.cf-turnstile {
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

/* When Turnstile widget is visible (has content) */
.cf-turnstile:not(:empty) {
    margin: 0.5rem auto 0.25rem;
    max-height: 100px;
    opacity: 1;
}

/* Remove Turnstile widget background and border - more aggressive */
.cf-turnstile,
.cf-turnstile > div,
.cf-turnstile > div > div,
.cf-turnstile iframe {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Target Cloudflare's wrapper elements */
div[style*="border"] {
    border: none !important;
}

/* Adjust submit button margin - default spacing */
.modern-form .submit-btn {
    margin-top: 0rem;
    margin-bottom: 0;
}

/* Reduce button margin when Turnstile is visible */
.cf-turnstile:not(:empty) + .submit-btn {
    margin-top: 0.25rem;
}