/*
Theme Name: Ferris Family Martial Arts
Theme URI: https://ferrisfamilymartialarts.com
Author: Solutionist Services
Author URI: https://solutionistservices.com
Description: A custom WordPress theme for Ferris Family Martial Arts - North Bay's premier family martial arts academy. Modern, responsive design optimized for martial arts schools.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ferris-family-martial-arts
Tags: martial-arts, sports, fitness, responsive, mobile-friendly, custom-header, custom-menu

Ferris Family Martial Arts Theme, Copyright 2025
Ferris Family Martial Arts Theme is distributed under the terms of the GNU GPL.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #c71034;
    --accent-gold: #d4af37;
    --bg-dark: #0b0f17;
    --bg-darker: #070a0f;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --green-belt: #22c55e;
    --white-belt: #ffffff;
    --orange-belt: #f97316;
    --black-belt: #1e293b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

/* Dojo Texture Background */
.texture-bg {
    position: relative;
    overflow: hidden;
}

.texture-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(255,255,255,.01) 35px, rgba(255,255,255,.01) 36px),
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(255,255,255,.01) 35px, rgba(255,255,255,.01) 36px);
    opacity: 0.3;
    pointer-events: none;
}

/* ========== HEADER ========== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 23, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(7, 10, 15, 0.98);
    box-shadow: 0 4px 30px rgba(199, 16, 52, 0.2);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 60px;
}

.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    min-width: 0;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    color: var(--primary-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    white-space: nowrap;
    line-height: 1.1;
    overflow: hidden;
    min-width: 0;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.logo-icon {
    width: clamp(35px, 6vw, 50px);
    height: clamp(35px, 6vw, 50px);
    object-fit: contain;
    flex-shrink: 0;
}

.tagline {
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-left: 1rem;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    flex-shrink: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-red), #a01028);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 16, 52, 0.3);
    font-size: 1rem;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(199, 16, 52, 0.6);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
    align-self: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== HERO SECTION ========== */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.belt-divider {
    width: 120px;
    height: 4px;
    background: var(--primary-red);
    margin: 1.5rem 0;
    position: relative;
}

.belt-divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 4px;
    background: var(--black-belt);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    background: linear-gradient(135deg, var(--primary-red), #a01028);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(199, 16, 52, 0.4);
    text-align: center;
    min-height: 44px;
    line-height: 1.2;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(199, 16, 52, 0.7);
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, transparent 40%, rgba(0,0,0,0.5));
    z-index: 1;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 8s ease;
}

.hero-image:hover img {
    transform: scale(1.1);
}

/* ========== KPI CARDS ========== */
.kpi-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
}

.kpi-card {
    background: rgba(255,255,255,0.03);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    border-top: 4px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.kpi-card:hover::before {
    opacity: 1;
}

.kpi-card.students { border-top-color: var(--green-belt); color: var(--green-belt); }
.kpi-card.rating { border-top-color: var(--accent-gold); color: var(--accent-gold); }
.kpi-card.trial { border-top-color: var(--white-belt); color: var(--white-belt); }
.kpi-card.friendly { border-top-color: var(--black-belt); color: #64748b; }

.kpi-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 0.5rem;
}

.kpi-label {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
}

/* ========== FEATURE CARDS ========== */
.features-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-red), #a01028);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(199, 16, 52, 0.4);
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== PROGRAMS ========== */
.programs-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 30px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.programs-section.texture-bg::before {
    opacity: 0.5;
}

.schedule-link-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.schedule-link {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.schedule-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(199, 16, 52, 0.4);
}

.schedule-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.schedule-link:hover .schedule-thumbnail {
    transform: scale(1.05);
}

.schedule-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.schedule-overlay span {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-link:hover .schedule-overlay {
    background: rgba(199, 16, 52, 0.9);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2.5rem;
}

.program-card {
    background: var(--bg-darker);
    border-radius: 20px;
    overflow: hidden;
    border-top: 5px solid;
    transition: all 0.3s ease;
    position: relative;
}

.program-card.little-dragons { border-top-color: var(--white-belt); }
.program-card.youth { border-top-color: var(--orange-belt); }
.program-card.adults { border-top-color: var(--black-belt); }

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.15);
}

.program-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.program-overlay img {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
}

.program-card:hover .program-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.7);
}

.program-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.program-card:hover .program-overlay span {
    transform: translateY(0);
}

.age-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
}

.program-content {
    padding: 2rem;
}

.program-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.program-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.program-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-features li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-belt);
    font-weight: 700;
}

/* ========== INSTRUCTORS ========== */
.instructors-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2.5rem;
}

.instructor-card {
    background: linear-gradient(135deg, rgba(199, 16, 52, 0.1), rgba(7, 10, 15, 0.8));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(199, 16, 52, 0.2);
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(199, 16, 52, 0.3);
}

.instructor-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.instructor-card:hover .instructor-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.instructor-content {
    padding: 2rem;
}

.instructor-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.belt-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.belt-badge {
    background: var(--black-belt);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.belt-badge.degree {
    background: var(--primary-red);
}

.instructor-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.view-bio {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.view-bio:hover {
    gap: 1rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(199, 16, 52, 0.05), rgba(0,0,0,0.3));
    border-radius: 30px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.testimonials-section.texture-bg::before {
    opacity: 0.2;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 2rem;
}

.stars {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.testimonial-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonial-cta a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.testimonial-cta a:hover {
    color: var(--primary-red);
}

/* ========== PRICING ========== */
.pricing-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.pricing-card.popular:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-gray);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-belt);
    font-weight: 700;
    font-size: 1.25rem;
}

.pricing-cta {
    display: block;
    background: linear-gradient(135deg, var(--primary-red), #a01028);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 44px;
    line-height: 1.4;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(199, 16, 52, 0.4);
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--accent-gold);
    font-weight: 600;
}

/* ========== TRIAL CTA ========== */
.trial-cta-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-red), #a01028);
    border-radius: 30px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.trial-cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.trial-icons {
    font-size: 2rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.trial-cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.trial-cta-button {
    background: white;
    color: var(--primary-red);
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    min-height: 44px;
    line-height: 1.2;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.trial-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* ========== FAQ ========== */
.faq-section {
    max-width: 900px;
    margin: 6rem auto;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 30px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.faq-section.texture-bg::before {
    opacity: 0.3;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-red);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
    padding: 4rem 2rem 2rem;
    position: relative;
    margin-top: 6rem;
}

footer::before {
    content: '🥋';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    opacity: 0.03;
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-section p,
.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
    font-size: 0.875rem;
}

.back-to-top {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

/* ========== MOBILE-FIRST DISCIPLINES QUICK NAV ========== */
.disciplines-quick-nav {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(199, 16, 52, 0.1), rgba(0,0,0,0.3));
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.disciplines-quick-nav .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.disciplines-quick-nav .section-header h2 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.disciplines-quick-nav .section-header p {
    font-size: clamp(0.875rem, 3vw, 1rem);
    color: var(--text-gray);
}

/* Mobile: Horizontal scroll | Desktop: Grid */
.disciplines-scroll-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.disciplines-scroll-grid::-webkit-scrollbar {
    display: none;
}

.discipline-quick-card {
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
    text-decoration: none;
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.logo-badge {
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Color-coded badges */
.karate-badge {
    background: linear-gradient(135deg, rgba(227, 28, 35, 0.2), rgba(0,0,0,0.8));
    border: 3px solid rgba(227, 28, 35, 0.5);
}

.bjj-badge {
    background: linear-gradient(135deg, rgba(0, 146, 63, 0.2), rgba(0,0,0,0.8));
    border: 3px solid rgba(0, 146, 63, 0.5);
}

.judo-badge {
    background: linear-gradient(135deg, rgba(0, 71, 186, 0.2), rgba(0,0,0,0.8));
    border: 3px solid rgba(0, 71, 186, 0.5);
}

.kickboxing-badge {
    background: linear-gradient(135deg, rgba(227, 28, 35, 0.2), rgba(0,0,0,0.8));
    border: 3px solid rgba(227, 28, 35, 0.5);
}

.sparring-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(0,0,0,0.8));
    border: 3px solid rgba(212, 175, 55, 0.5);
}

.mma-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(0,0,0,0.8));
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.discipline-quick-card h3 {
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    color: var(--text-light);
    margin: 0;
}

.scroll-hint {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.scroll-hint span {
    display: inline-block;
    animation: slideHint 1.5s ease-in-out infinite;
}

@keyframes slideHint {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

/* ========== RESPONSIVE ========== */
/* Desktop nav alignment fix */
@media (min-width: 969px) {
    nav {
        align-items: center;
    }
    
    .logo-container {
        align-items: center;
    }
}

/* Tablet: Hide tagline to prevent wrapping */
@media (max-width: 1200px) {
    .tagline {
        display: none !important;
    }
    
    nav {
        padding: 1rem 1.5rem;
    }
}

/* Tablet/mobile transition */
@media (max-width: 768px) {
    nav {
        align-items: center !important;
    }
    
    .logo-container {
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .logo {
        font-size: 1.1rem !important;
        align-items: center !important;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 30px !important;
        height: 30px !important;
    }
    
    /* Tablet button sizes */
    .hero-cta,
    .trial-cta-button {
        font-size: 1.15rem;
        padding: 1.1rem 2.5rem;
    }
    
    .pricing-cta {
        font-size: 0.95rem;
    }
}

@media (max-width: 968px) {
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-shrink: 0;
    }

    nav {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        align-items: center !important;
        min-height: 50px;
    }
    
    .logo-container {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        flex-direction: row !important;
        align-items: center !important;
        height: 100%;
    }

    .logo {
        font-size: 1.15rem !important;
        gap: 0.35rem;
        max-width: 100%;
        align-items: center !important;
        height: 100%;
    }
    
    .logo span {
        font-size: 1.05rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-icon {
        width: 32px !important;
        height: 32px !important;
    }
    
    .tagline {
        display: none !important;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .trial-cta-section h2 {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    /* Ensure all sections have proper padding on mobile */
    .kpi-section,
    .features-section,
    .instructors-section,
    .pricing-section {
        padding: 0 1.5rem;
    }
    
    .programs-section,
    .testimonials-section,
    .trial-cta-section,
    .faq-section {
        padding: 3rem 1.5rem;
        margin: 4rem auto;
    }
    
    .disciplines-quick-nav {
        padding: 2rem 0.5rem;
    }
    
    /* Fix grid overflow */
    .kpi-grid,
    .features-grid,
    .programs-grid,
    .instructors-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix footer overflow */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Schedule link mobile */
    .schedule-link-container {
        margin: 0 1rem 2rem;
    }
    
    .schedule-overlay {
        padding: 1.5rem;
    }
    
    .schedule-overlay span {
        font-size: 1rem;
    }
    
    /* Mobile button optimization */
    .cta-button {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
        white-space: normal;
        max-width: 100%;
    }
    
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
    }
    
    .pricing-cta {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .trial-cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }
    
    .back-to-top {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Desktop: Switch to grid layout */
@media (min-width: 768px) {
    .disciplines-scroll-grid {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr);
        justify-content: center;
        overflow-x: visible;
        scroll-snap-type: none;
    }
    
    .discipline-quick-card {
        width: 100% !important;
    }
    
    .scroll-hint {
        display: none !important;
    }
}

/* Wider mobile screens */
@media (min-width: 480px) and (max-width: 767px) {
    .disciplines-scroll-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
    }
    
    .discipline-quick-card {
        width: 100% !important;
    }
    
    .scroll-hint {
        display: none !important;
    }
}

/* Hover effects (desktop only) */
@media (hover: hover) {
    .discipline-quick-card:hover {
        transform: translateY(-8px);
    }
    
    .discipline-quick-card:hover .logo-badge {
        border-width: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
}

/* Touch feedback (mobile) */
@media (hover: none) {
    .discipline-quick-card:active {
        transform: scale(0.95);
    }
    
    .discipline-quick-card:active .logo-badge {
        box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    }
}

/* Small mobile: Further reduce logo size */
@media (max-width: 480px) {
    nav {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
        align-items: center !important;
        min-height: 48px;
    }
    
    .logo-container {
        max-width: calc(100vw - 100px);
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .logo {
        font-size: 0.95rem !important;
        gap: 0.25rem;
        max-width: 100%;
        align-items: center !important;
    }
    
    .logo span {
        font-size: 0.9rem !important;
        max-width: calc(100vw - 130px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-icon {
        width: 26px !important;
        height: 26px !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    nav {
        padding: 0.4rem 0.5rem;
        gap: 0.3rem;
        align-items: center !important;
        min-height: 44px;
    }
    
    .logo-container {
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .logo {
        font-size: 0.85rem !important;
        gap: 0.2rem;
        align-items: center !important;
    }
    
    .logo span {
        font-size: 0.8rem !important;
        max-width: calc(100vw - 110px);
    }
    
    .logo-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Extra tight padding for smallest screens */
    .hero,
    .kpi-section,
    .features-section,
    .instructors-section,
    .pricing-section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .programs-section,
    .testimonials-section,
    .trial-cta-section,
    .faq-section {
        padding: 1.5rem 0.75rem;
    }
    
    /* Adjust grid min-width for tiny screens */
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    /* Schedule link small mobile */
    .schedule-overlay {
        padding: 1rem;
    }
    
    .schedule-overlay span {
        font-size: 0.9rem;
    }
    
    /* Small screen button adjustments */
    .hero-cta {
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
        max-width: 280px;
    }
    
    .trial-cta-button {
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
        max-width: 280px;
    }
    
    .pricing-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

