/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
    /* Colors */
    --primary-color: #00D4FF;
    --primary-dark: #00A8CC;
    --bg-dark: #1A2332;
    --bg-darker: #0F1419;
    --bg-light: #2C3E50;
    --text-light: #FFFFFF;
    --text-gray: #B8C5D6;
    --text-dark: #1A2332;
    --overlay-dark: rgba(26, 35, 50, 0.85);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
}

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

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-darker);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(15, 20, 25, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

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

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

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

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Hero Animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.8s;
}

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

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--bg-darker);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

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

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.coaching-philosophy-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 2rem 0 1rem;
}

/* ===================================
   QUALIFICATIONS SECTION
   =================================== */
.qualifications {
    background: var(--bg-dark);
}

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

.qualification-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.qualification-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.qualification-icon {
    margin-bottom: 1rem;
}

.qualification-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.qualification-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background: var(--bg-darker);
}

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

.service-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    transition: var(--transition-smooth);
    border-left: 4px solid transparent;
}

.service-card:hover {
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    background: var(--bg-dark);
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--bg-darker);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Contact Info */
.contact-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 3rem;
}

.social-links h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-darker);
    border: 2px solid rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: block;
}

.form-message.error {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 2px solid #ff4444;
    display: block;
}

/* Cloudflare Turnstile Styling */
.cf-turnstile {
    margin: 1rem 0;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-darker);
    border-top: 2px solid rgba(0, 212, 255, 0.1);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition-smooth);
}

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

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-social a {
    color: var(--text-gray);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-contact {
    margin-top: 1rem;
}

.footer-contact a {
    color: var(--primary-color);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.footer-credit {
    font-size: 0.9rem;
    font-style: italic;
}

/* ===================================
   ANIMATIONS
   =================================== */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .qualifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Menu (below 768px) */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background: rgba(15, 20, 25, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        border-left: 2px solid rgba(0, 212, 255, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Small Mobile (below 480px) */
@media (max-width: 479px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .testimonial-card,
    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* EMERGENCY FIX - Makes all sections visible */
.animate-element {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* =============================================
   Cloudflare Turnstile Dark Theme Styling
   ============================================= */

#turnstile-container {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: rgba(0, 212, 255, 0.03);
    border-radius: 12px;
    border: 2px solid rgba(0, 212, 255, 0.15);
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

#turnstile-container:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.25);
}

#turnstile-container iframe {
    border-radius: 8px;
    max-width: 100%;
}

/* Loading placeholder */
#turnstile-container:empty::before {
    content: 'Loading security verification...';
    display: block;
    padding: 1.5rem;
    text-align: center;
    color: #B8C5D6;
    font-size: 0.9rem;
}

@media (max-width: 479px) {
    #turnstile-container {
        padding: 1rem;
        margin: 1rem 0;
    }
}
