/**
 * CSM Driving Tuition Theme Styles
 * 
 * @package CSM_Driving
 * @version 1.0.0
 */

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-300: #93c5fd;
    --blue-200: #bfdbfe;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --sky-500: #0ea5e9;
    --sky-400: #38bdf8;
    --sky-300: #7dd3fc;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gradient-blue: linear-gradient(135deg, var(--blue-500) 0%, var(--sky-400) 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-blue: 0 10px 40px -10px rgba(59, 130, 246, 0.4);
}

/* =========================================
   RESET & BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* =========================================
   NAVIGATION
   ========================================= */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: transparent;
    transition: all 0.3s ease;
}
nav.scrolled,
nav.nav-solid {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}
nav.scrolled .logo-text,
nav.nav-solid .logo-text { color: var(--blue-600); }
nav.scrolled .nav-links a,
nav.nav-solid .nav-links a { color: var(--gray-600); }
nav.scrolled .nav-links a:hover,
nav.nav-solid .nav-links a:hover { color: var(--blue-500); }
nav.scrolled .mobile-menu-btn,
nav.nav-solid .mobile-menu-btn { color: var(--gray-700); }

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem;
    text-decoration: none;
}
.logo img { height: 48px; width: auto; border-radius: 12px; }
.logo-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.nav-links a:hover { color: var(--blue-200); }
.nav-cta {
    background: var(--gradient-blue);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: var(--shadow-blue);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(59, 130, 246, 0.5);
    color: var(--white) !important;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide.active { opacity: 1; }

/* Hero Parallax Effect */
.parallax-hero .slide {
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (max-width: 1024px) {
    .parallax-hero .slide {
        background-attachment: scroll;
    }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(14, 165, 233, 0.7) 100%);
    z-index: 1;
}
.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 7rem 2rem 3.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}
.hero-badge span {
    width: 8px; height: 8px;
    background: var(--sky-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}
.hero h1 .highlight { color: var(--sky-300); }
.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
    font-family: 'Quicksand', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
    font-weight: 500;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Slider Nav */
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.75rem;
}
.slider-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}
.slider-dot:hover { background: rgba(255, 255, 255, 0.8); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Nunito', sans-serif;
}
.btn-primary {
    background: var(--white);
    color: var(--blue-600);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
.btn-blue {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.5);
}

/* =========================================
   SECTIONS
   ========================================= */
section {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
}
.section-container { max-width: 1300px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge {
    display: inline-block;
    color: var(--blue-500);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--gray-800);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about { background: var(--white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-content h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--gray-800); }
.about-content p { color: var(--gray-500); margin-bottom: 1.5rem; }
.about-features { display: grid; gap: 1rem; }
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}
.about-feature:hover {
    transform: translateX(8px);
    border-color: var(--blue-200);
    background: var(--blue-50);
}
.about-feature-icon {
    width: 50px; height: 50px;
    background: var(--gradient-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.about-feature h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--gray-800); }
.about-feature p { font-size: 0.9rem; color: var(--gray-500); margin: 0; }
.about-image img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); }

/* =========================================
   COURSES
   ========================================= */
.courses { background: var(--blue-50); }
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.course-card {
    background: var(--white);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-200);
}
.course-image {
    width: 100%; height: 160px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.25rem;
}
.course-price {
    display: inline-block;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.course-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--gray-800); }
.course-card p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.6; }
.course-card .btn { width: 100%; justify-content: center; }

/* =========================================
   INSTRUCTORS
   ========================================= */
.instructors { background: var(--white); }
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.instructor-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.instructor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}
.instructor-image { width: 100%; height: 260px; object-fit: cover; object-position: top; }
.instructor-info { padding: 1.5rem; padding-bottom: 0.5rem; }
.instructor-info h3 { font-size: 1.2rem; color: var(--gray-800); margin-bottom: 0.25rem; }
.instructor-role { color: var(--blue-500); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem; }
.instructor-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}
.instructor-contact {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}
.instructor-phone {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.instructor-phone:hover {
    color: var(--blue-500);
}
.instructor-more {
    color: var(--blue-500);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.instructor-more:hover {
    color: var(--blue-600);
}
.instructor-car {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* Instructor Training Promo Card */
.instructor-promo-card {
    background: var(--gradient-blue) !important;
    border: none !important;
}

.instructor-promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.instructor-promo-card .promo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    min-height: 260px;
    justify-content: center;
}

.promo-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(10);
}

.instructor-promo-card .promo-info {
    padding: 0;
}

.instructor-promo-card .promo-info h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.instructor-promo-card .promo-info .instructor-role {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.instructor-promo-card .promo-info p {
    color: rgba(255, 255, 255, 0.85);
    -webkit-line-clamp: unset;
    overflow: visible;
}

.instructor-promo-card .promo-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
}

.instructor-promo-card .promo-btn {
    display: block;
    background: var(--white);
    color: var(--blue-600);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.instructor-promo-card .promo-btn:hover {
    background: var(--blue-50);
    transform: translateY(-2px);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials { background: var(--gray-50); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.testimonial-quote {
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 4rem;
    color: var(--blue-100);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.testimonial-content {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-name { font-weight: 700; color: var(--gray-800); }
.testimonial-instructor { font-size: 0.85rem; color: var(--gray-400); }

/* =========================================
   SLIDER COMPONENT
   ========================================= */
.slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.slider-slide {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
}

.slider-slide .testimonial-card {
    margin: 0;
    height: 100%;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: var(--white);
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: var(--blue-300);
}

.slider-dot.active {
    background: var(--blue-500);
    transform: scale(1.2);
}

/* Slider Responsive */
@media (max-width: 1024px) {
    .slider-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .slider-container {
        padding: 0 40px;
    }
    
    .slider-slide {
        flex: 0 0 100%;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}

/* Instructors Homepage Slider */
.slider-instructors-home .slider-slide {
    flex: 0 0 calc(25% - 1.125rem);
}

.slider-instructors-home .instructor-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1200px) {
    .slider-instructors-home .slider-slide {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 900px) {
    .slider-instructors-home .slider-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 640px) {
    .slider-instructors-home .slider-slide {
        flex: 0 0 100%;
    }
}

/* =========================================
   FAQ
   ========================================= */
.faq { background: var(--white); }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.faq-item {
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: var(--blue-200);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.faq-question {
    padding: 1.25rem 1.5rem 0.75rem;
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1rem;
    line-height: 1.4;
}
.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 1200px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
    position: relative;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(56, 189, 248, 0.85) 100%);
    z-index: 1;
}

.contact .section-container {
    position: relative;
    z-index: 2;
}

/* Parallax effect for contact section */
.contact.parallax-section {
    background-attachment: fixed;
}

@media (max-width: 1024px) {
    .contact.parallax-section {
        background-attachment: scroll; /* Disable parallax on mobile for performance */
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}
.contact-info > p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}
.contact-details { display: grid; gap: 1.25rem; }
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-icon {
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.contact-item-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.7);
}
.contact-item-text p,
.contact-item-text a {
    color: var(--white);
    font-weight: 600;
}
.contact-item-text a:hover { text-decoration: underline; }

.contact-form {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}
.contact-form form { display: grid; gap: 1.25rem; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}
.form-message.success {
    background: #d1fae5;
    color: #065f46;
}
.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* =========================================
   CONTACT FORM 7 STYLES
   ========================================= */
.contact-form .wpcf7 {
    display: block;
}

.contact-form .wpcf7-form {
    display: grid;
    gap: 1.25rem;
}

.contact-form .wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form .wpcf7-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form .wpcf7-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form select,
.contact-form .wpcf7-form textarea,
.contact-form .wpcf7-form .wpcf7-text,
.contact-form .wpcf7-form .wpcf7-email,
.contact-form .wpcf7-form .wpcf7-tel,
.contact-form .wpcf7-form .wpcf7-select,
.contact-form .wpcf7-form .wpcf7-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    box-sizing: border-box;
}

.contact-form .wpcf7-form input:focus,
.contact-form .wpcf7-form select:focus,
.contact-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form .wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form .wpcf7-form .wpcf7-submit {
    background: var(--blue-500);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.contact-form .wpcf7-form .wpcf7-submit:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
}

.contact-form .wpcf7-form .wpcf7-response-output {
    margin: 1rem 0 0 0 !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    border: none !important;
    font-weight: 600;
    text-align: center;
}

.contact-form .wpcf7-form.sent .wpcf7-response-output {
    background: #d1fae5 !important;
    color: #065f46 !important;
}

.contact-form .wpcf7-form.invalid .wpcf7-response-output,
.contact-form .wpcf7-form.failed .wpcf7-response-output {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

.contact-form .wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.contact-form .wpcf7-spinner {
    margin-left: 1rem;
}

@media (max-width: 640px) {
    .contact-form .wpcf7-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 2rem 2rem;
}
.footer-container { max-width: 1300px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .logo-text {
    font-size: 1.5rem;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}
.footer-brand p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 40px; height: 40px;
    background: var(--gray-800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--blue-600);
    color: var(--white);
}
.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 0.75rem; }
.footer-column a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}
.footer-column a:hover { color: var(--white); }
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: var(--blue-400);
}

/* =========================================
   REVEAL ANIMATION
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile nav: always solid, no size change on scroll */
    nav {
        padding: 0.75rem 1.5rem !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-md) !important;
    }
    nav .logo-text { color: var(--blue-600) !important; }
    nav .mobile-menu-btn { color: var(--gray-700) !important; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0; 
        left: 0; 
        right: 0; 
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        padding: 2rem;
        box-sizing: border-box;
    }
    .nav-links.active { 
        display: flex;
    }
    .nav-links li {
        list-style: none;
        width: 100%;
        text-align: center;
    }
    .nav-links a { 
        color: var(--gray-700) !important; 
        font-size: 1.3rem;
        display: block;
        padding: 0.75rem 1rem;
    }
    .nav-links .nav-cta { 
        background: var(--gradient-blue); 
        color: var(--white) !important;
        display: inline-block;
        padding: 1rem 2rem;
        margin-top: 1rem;
    }
    .mobile-menu-btn { 
        display: block; 
        z-index: 1001;
        position: relative;
    }
    
    .hero-stats { gap: 1.5rem; }
    .stat-number { font-size: 2.25rem; }
    
    .form-row { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-brand { order: -1; }
}

@media (max-width: 480px) {
    section { padding: 4rem 1rem; }
    .hero-container { padding: 6rem 1rem 3rem; }
    .contact-form { padding: 1.5rem; }
}

/* =========================================
   INNER PAGE STYLES
   ========================================= */

/* Page Hero Banner */
.page-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    background-size: cover;
    background-position: center;
    margin-top: 80px;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(14, 165, 233, 0.85) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2rem;
    max-width: 800px;
}

.page-hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Simple Page Header (no hero) */
.page-header {
    background: var(--gray-50);
    padding: 8rem 2rem 3rem;
    margin-top: 80px;
    border-bottom: 1px solid var(--gray-100);
}

.page-header h1 {
    color: var(--gray-800);
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Quicksand', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Content Area */
.page-content {
    padding: 4rem 2rem;
    background: var(--white);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.page-article {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-article h2 {
    color: var(--gray-800);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    margin: 2.5rem 0 1rem;
}

.page-article h3 {
    color: var(--gray-800);
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    margin: 2rem 0 0.75rem;
}

.page-article h4 {
    color: var(--gray-700);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}

.page-article p {
    margin-bottom: 1.5rem;
}

.page-article ul, .page-article ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.page-article li {
    margin-bottom: 0.5rem;
}

.page-article a {
    color: var(--blue-500);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.page-article a:hover {
    border-bottom-color: var(--blue-500);
}

.page-article blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--blue-50);
    border-left: 4px solid var(--blue-500);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--gray-700);
}

.page-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.page-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.page-article th, .page-article td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.page-article th {
    background: var(--gray-50);
    font-weight: 700;
    color: var(--gray-800);
}

.page-article tr:last-child td {
    border-bottom: none;
}

/* Page CTA Section */
.page-cta {
    background: var(--blue-50);
    padding: 4rem 2rem;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    color: var(--gray-800);
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Blank Canvas Template */
.blank-canvas {
    margin-top: 80px;
}

/* =========================================
   SINGLE INSTRUCTOR PAGE
   ========================================= */

/* Header Section - Blue gradient like homepage */
.instructor-header {
    background: var(--gradient-blue);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.instructor-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-btn:hover {
    color: var(--white);
}

.instructor-profile-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 900px;
}

.instructor-photo-wrapper {
    flex-shrink: 0;
}

.instructor-photo-wrapper img {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.instructor-initial {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.instructor-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.instructor-details h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.instructor-contact-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--blue-600);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instructor-vehicle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* About Section */
.instructor-about {
    padding: 5rem 2rem;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-badge-small {
    display: inline-block;
    background: var(--blue-100);
    color: var(--blue-600);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.about-main h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-800);
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 1.5rem;
}

.instructor-bio {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-600);
}

.instructor-bio p {
    margin-bottom: 1.5rem;
}

.instructor-bio p:last-child {
    margin-bottom: 0;
}

.instructor-bio strong {
    color: var(--blue-600);
    font-weight: 700;
}

/* Sidebar */
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--blue-100);
}

.booking-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.booking-card > p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}

.btn-block:last-child {
    margin-bottom: 0;
}

.features-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.features-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.features-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
}

.features-card li:last-child {
    border-bottom: none;
}

.features-card .check {
    color: var(--blue-500);
    font-weight: 700;
}

/* Other Instructors Section */
.other-instructors-section {
    padding: 5rem 2rem;
    background: var(--white);
}

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

.section-header-small h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
    font-family: 'Quicksand', sans-serif;
}

.instructors-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.instructor-mini-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.instructor-mini-card:hover {
    background: var(--white);
    border-color: var(--blue-200);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mini-photo {
    flex-shrink: 0;
}

.mini-photo img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
}

.mini-photo span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--gradient-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.mini-info {
    flex: 1;
    min-width: 0;
}

.mini-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-role {
    display: block;
    font-size: 0.8rem;
    color: var(--blue-500);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.mini-phone {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.mini-arrow {
    color: var(--blue-400);
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s;
}

.instructor-mini-card:hover .mini-arrow {
    transform: translateX(4px);
}

/* CTA Section */
.instructor-cta {
    background: var(--gradient-blue);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--blue-600);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .instructors-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .instructor-header {
        padding: 7rem 1.5rem 3rem;
    }
    
    .instructor-profile-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .instructor-photo-wrapper img,
    .instructor-initial {
        width: 130px;
        height: 130px;
    }
    
    .instructor-details h1 {
        font-size: 2rem;
    }
    
    .instructor-contact-row {
        justify-content: center;
    }
    
    .instructor-about {
        padding: 3rem 1.5rem;
    }
    
    .instructor-bio {
        padding: 1.5rem;
    }
    
    .instructors-row {
        grid-template-columns: 1fr;
    }
    
    .instructor-mini-card {
        padding: 1rem;
    }
    
    .other-instructors-section,
    .instructor-cta {
        padding: 3rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* Inner Page Responsive */
@media (max-width: 768px) {
    .page-hero { min-height: 280px; }
    .page-hero-content h1 { font-size: 2.25rem; }
    .page-hero-content p { font-size: 1.1rem; }
    .page-header { padding: 7rem 1.5rem 2rem; }
    .page-header h1 { font-size: 2rem; }
    .page-content { padding: 3rem 1.5rem; }
    .page-article { font-size: 1rem; }
    .cta-box { padding: 2rem 1.5rem; }
    .cta-box h2 { font-size: 1.5rem; }
}

/* =========================================
   LOCATION PAGES
   ========================================= */
.location-hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--sky-500) 100%);
    text-align: center;
    color: var(--white);
}

.location-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
    background-size: 60px;
    opacity: 0.5;
}

.location-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.location-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.location-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.location-hero > p,
.location-hero-content > p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.location-content {
    padding: 4rem 0;
    background: var(--gray-50);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.location-main {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.location-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.location-text p {
    margin-bottom: 1.25rem;
}

.location-text p:last-child {
    margin-bottom: 0;
}

.location-features {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.location-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-feature-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.location-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.location-feature p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.location-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-map-card,
.location-cta-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.location-map-card h3,
.location-cta-card h3 {
    font-size: 1.15rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.location-map iframe {
    display: block;
}

.location-map-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-align: center;
    margin: 0;
}

.location-cta-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}

.btn-block:last-child {
    margin-bottom: 0;
}

.location-bottom-cta {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--sky-500) 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
}

.location-bottom-cta h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 0.75rem;
    color: var(--white);
}

.location-bottom-cta > p,
.location-bottom-cta .section-container > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.location-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--blue-600);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Location Page Responsive */
@media (max-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .location-map-card,
    .location-cta-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 640px) {
    .location-hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .location-hero h1 {
        font-size: 1.75rem;
    }
    
    .location-content {
        padding: 2.5rem 0;
    }
    
    .location-main {
        padding: 1.75rem;
        border-radius: 16px;
    }
    
    .location-sidebar {
        flex-direction: column;
    }
    
    .location-map-card,
    .location-cta-card {
        min-width: 100%;
    }
    
    .location-bottom-cta {
        padding: 3rem 1.5rem;
    }
    
    .location-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .location-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}
