/* ===== CSS VARIABLES ===== */
:root {
    --primary: #FFC000;
    --primary-dark: #E6AC00;
    --primary-light: #FFF7E0;
    --accent: #FFD700;
    --dark: #000000;
    --dark-2: #1A1A1A;
    --dark-3: #262626;
    --mid: #333333;
    --light-bg: #FFFFFF;
    --light-2: #FFFBE6;
    --text: #000000;
    --text-muted: #4D4D4D;
    --white: #FFFFFF;
    --border: rgba(0, 0, 0, 0.1);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    --radius: 4px;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --nav-height: 64px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    background: none;
    font-family: inherit;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}



.wheel-spin {
    color: var(--primary);
    font-size: 2rem;
    animation: spin 0.8s linear infinite;
}

.preloader-text {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--primary);
    font-size: 2.8rem;
    letter-spacing: 5px;
    text-indent: 5px;
    text-align: center;
    margin: 0;
    line-height: 1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    padding: 0 2rem;
}

.navbar.scrolled {
    background: rgba(255, 192, 0, 0.9); /* Slightly more opaque as we reduce blur */
    backdrop-filter: blur(15px); /* Reduced from 25px */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary);
    height: 54px;
    box-shadow: 0 4px 30px rgba(102, 77, 0, 0.15);
}

.navbar.scrolled .nav-links li a {
    color: var(--dark);
    text-shadow: none;
}

.navbar.scrolled .nav-links li a:hover,
.navbar.scrolled .nav-links li a.active {
    color: var(--text-muted);
}

.navbar.scrolled .logo-main {
    color: var(--dark);
    text-shadow: none;
}

.navbar.scrolled .nav-toggle span {
    background: var(--text);
}

.navbar.scrolled .logo-img {
    height: 44px;
    width: 44px;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 0.95rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    filter: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s, transform 0.3s;
}

.nav-logo:hover .logo-img {
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transform: scale(1.06);
}

.logo-main {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-sub {
    font-family: var(--font-mono);
    color: var(--primary-dark);
    font-size: 0.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links li a {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    left: 14px;
    right: 14px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 192, 0, 0.4);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--text) !important;
    padding: 10px 22px !important;
    border-radius: 2px !important;
    margin-left: 8px;
    font-weight: 800 !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: var(--dark);
    position: relative;
    overflow: hidden; /* This is fine as long as we allow height to grow on mobile */
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 400px),
        linear-gradient(135deg, rgba(255, 192, 0, 0.15) 0%, transparent 70%),
        linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
    z-index: 1;
    backdrop-filter: blur(4px); /* Reduced from 8px */
    -webkit-backdrop-filter: blur(4px);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background: url('../images/hero.png') center/cover no-repeat;
    z-index: 0;
}

.hero-road-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(to right, var(--accent) 0px, var(--accent) 40px, transparent 40px, transparent 80px);
    z-index: 2;
    animation: roadMove 1s linear infinite;
}

@keyframes roadMove {
    to {
        background-position: 80px 0;
    }
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: var(--nav-height);
    width: 100%;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 184, 0, 0.15);
    border: 1px solid rgba(230, 184, 0, 0.3);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 3px;
    padding: 6px 14px;
    border-radius: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-tag i {
    font-size: 0.6rem;
}

.hero-title {
    font-family: var(--font-display);
    color: var(--white);
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-title .accent {
    color: var(--primary);
}

.hero-title .outline {
    -webkit-text-stroke: 2px var(--white);
    color: transparent;
}

.hero-desc {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--text);
    padding: 14px 32px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-dark);
    transform: translateX(-100%);
    transition: var(--transition);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05); /* Minimal fill */
    backdrop-filter: blur(6px); /* Reduced from 12px */
    -webkit-backdrop-filter: blur(6px);
    padding: 14px 32px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    flex: 1;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--white);
    line-height: 1;
    display: flex;
    align-items: flex-start;
    gap: 2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-num sup {
    font-size: 1rem;
    margin-top: 4px;
    color: var(--primary);
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-card-stack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.8); /* Slightly more opaque again */
    backdrop-filter: blur(15px); /* Reduced from 25px */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-card-title {
    font-family: var(--font-display);
    color: var(--dark);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.quick-enroll-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    color: var(--dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 800;
    opacity: 0.9;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #e1e1e1;
    color: var(--dark);
    padding: 16px 20px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Glass styling specifically for the hero card forms */
.hero-card .form-group input,
.hero-card .form-group select,
.hero-card .form-group textarea {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 5px rgba(255, 192, 0, 0.1);
    transform: translateY(-1px);
}

.form-group select option {
    background: var(--white);
    color: var(--text);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--light-bg);
}

.section-dark {
    background: var(--dark);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.section-title.light {
    color: var(--white);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 560px;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-label {
    justify-content: center;
}

.section-header.centered .section-desc {
    margin: 0 auto;
}

/* ===== FEATURES STRIP ===== */
.features-strip {
    background: var(--primary);
    padding: 22px 0;
    overflow: hidden;
}

.features-strip-inner {
    display: flex;
    gap: 0;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 2.5rem;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.strip-item i {
    font-size: 1.1rem;
}

.strip-dot {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-image {
    position: relative;
}

.why-image-main {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: url('../images/instructor_student.png') center/cover;
}

.why-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--primary);
    color: var(--text);
    padding: 24px;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow);
}

.why-badge .num {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
}

.why-badge .label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem;
    border: 1px solid var(--light-2);
    border-radius: 4px;
    transition: var(--transition);
    background: white;
}

.why-feature:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(204, 153, 0, 0.08);
    transform: translateX(4px);
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(204, 153, 0, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.why-feature h4 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.why-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== COURSES CARDS ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.course-card {
    background: white;
    border: 1px solid var(--light-2);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(218, 165, 32, 0.2);
    border-color: transparent;
}

.course-img {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.course-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(255, 215, 0, 0.7));
}

.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--text);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 1;
}

.course-body {
    padding: 1.5rem;
}

.course-icon {
    width: 52px;
    height: 52px;
    background: rgba(204, 153, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.course-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.course-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--light-2);
    margin-bottom: 1.2rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.course-meta span i {
    color: var(--primary);
}

.course-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--primary);
}

.price span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-sm {
    background: var(--dark);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-sm:hover {
    background: var(--primary);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--primary);
}

.testimonials-section .section-label {
    color: rgba(0, 0, 0, 0.5) !important;
}

.testimonials-section .section-label::before {
    background: rgba(0, 0, 0, 0.3) !important;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 10px 30px rgba(102, 77, 0, 0.05);
}

.testimonial-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(102, 77, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    color: var(--text);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--text);
    font-size: 0.92rem;
}

.author-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: 'DRIVE';
    font-family: var(--font-display);
    font-size: 20rem;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    pointer-events: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-text .section-label {
    color: rgba(0, 0, 0, 0.5); /* Changed to dark for contrast */
}

.cta-text .section-label::before {
    background: rgba(0, 0, 0, 0.3);
}

.cta-text .section-title {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1rem;
}

.btn-white {
    background: white;
    color: var(--text);
    padding: 16px 36px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-white:hover {
    background: var(--primary);
    color: var(--text);
}

/* ===== ABOUT PAGE ===== */
.page-hero {
    background: #E6B400;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -30px 60px rgba(0, 0, 0, 0.05);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero.png') center/cover;
    opacity: 0.35;
    mix-blend-mode: multiply;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    z-index: 0;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.breadcrumb a {
    color: var(--accent);
    font-weight: 600;
}

.breadcrumb i {
    font-size: 0.5rem;
    opacity: 0.6;
}

.page-hero h1 {
    font-family: var(--font-display);
    color: white;
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: 2px;
    line-height: 0.9;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-hero h1 span {
    color: rgba(0, 0, 0, 0.35);
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: white;
    border: 1px solid var(--light-2);
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(218, 165, 32, 0.15);
}

.team-img {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center top;
    position: relative;
}

.team-body {
    padding: 1.3rem;
}

.team-body h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 3px;
}

.team-body .role {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-body .exp {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ===== GALLERY PAGE ===== */
.gallery-filter {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 10px 22px;
    border: 1.5px solid var(--light-2);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: white;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,192,0,0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(204, 153, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: white;
    border: 1px solid var(--light-2);
    border-radius: 4px;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(204, 153, 0, 0.07);
}

.contact-item-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1rem;
}

.contact-item h5 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
}

.contact-form-wrap {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary);
}

.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.contact-form-wrap>p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.contact-form .form-group label {
    color: var(--text);
    font-size: 0.78rem;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: var(--light-bg);
    border: 1.5px solid var(--light-2);
    color: var(--dark);
    padding: 12px 14px;
    border-radius: 2px;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

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

/* ===== CONTACT SECTION DECORATION ===== */
.contact-section {
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 192, 0, 0.05) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
}

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

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 800;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 2px;
    font-size: 0.88rem;
    font-weight: 600;
    display: none;
}

.alert-success {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #B38600;
}

.alert-success.show {
    display: block;
}

/* ===== MAP ===== */
.map-section {
    height: 420px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===== COURSES FULL PAGE ===== */
.courses-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.course-full-card {
    background: white;
    border: 1px solid var(--light-2);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.course-full-card:hover {
    box-shadow: 0 20px 50px rgba(218, 165, 32, 0.15);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.course-full-card.details-open {
    transform: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.course-full-img {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    z-index: 5;
}

.course-full-card:hover .course-overlay {
    opacity: 1;
    visibility: visible;
}

.course-overlay .btn-primary,
.course-overlay .btn-outline {
    width: 180px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.8rem;
}

.course-full-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-full-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.course-subtitle {
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.course-details-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    opacity: 0;
}

.course-full-card.details-open .course-details-content {
    max-height: 1000px;
    opacity: 1;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-2);
}

.course-full-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.course-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.include-item i {
    color: var(--primary);
    font-size: 0.75rem;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-2);
    margin-top: auto;
}

.course-footer .price {
    font-size: 2rem;
}

/* ===== STATS BAND ===== */
.stats-band {
    background: var(--primary-light);
    padding: 60px 0;
}

.stats-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-band-item {
    padding: 1rem;
}

.stat-band-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary-dark); /* Darker yellow for better contrast on light background */
    line-height: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.stat-band-num sup {
    font-size: 1.5rem;
    margin-top: 6px;
}

.stat-band-label {
    color: var(--text-muted); /* Changed from white to dark for better visibility */
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--primary);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 0 0 6px white, 0 0 0 7px var(--primary);
}

.process-step h4 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.footer-logo-img {
    height: 90px;
    width: 90px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.footer-brand p {
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--primary);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 1.2rem;
}

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

.footer-links ul li a {
    color: var(--text);
    font-size: 0.88rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

.footer-links ul li a::before {
    content: '→';
    font-size: 0.7rem;
    color: var(--text);
}

.footer-links ul li a:hover {
    color: var(--text);
    padding-left: 4px;
    opacity: 1;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact ul li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text);
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-contact ul li i {
    color: var(--text);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 2rem;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    color: var(--text);
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-bottom i {
    color: var(--text);
}

/* ===== ABOUT VALUES ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--light-2);
    transition: var(--transition);
    background: white;
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(204, 153, 0, 0.08);
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(204, 153, 0, 0.08);
    color: var(--primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.value-card h4 {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== MODAL & INQUIRY ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: flex-start; /* Changed to flex-start for scrolling */
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto; /* Enable scrolling if content is tall */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 4px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

.btn-block {
    display: flex !important;
    width: 100%;
    justify-content: center;
    align-items: center;
}

/* Modal Enhancements */
.modal-content {
    background: white;
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: auto;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.modal-body {
    padding: 2.5rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #999;
    z-index: 10;
}

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

.modal-header h2 {
    font-family: var(--font-body);
    font-weight: 800;
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #718096;
    font-size: 0.95rem;
}

.form-label {
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

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

.phone-input-group {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.phone-prefix {
    padding: 0.8rem 1rem;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.9rem;
}

.phone-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.course-booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.requirement-group, .vehicle-group, .location-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.custom-check, .custom-radio {
    display: flex;
    align-items: center; /* Precise vertical centering */
    gap: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* Custom styled checkbox/radio - Draconian Override */
.custom-check input, .custom-radio input {
    appearance: none !important;
    -webkit-appearance: none !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    outline: none !important;
    box-shadow: none !important;
}

.custom-radio input {
    border-radius: 50%;
}

.custom-check input:checked, .custom-radio input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-check input::after {
    content: '\2714';
    font-size: 13px;
    color: var(--dark);
    display: none;
}

.custom-check input:checked::after {
    display: block;
}

.custom-radio input::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--dark);
    border-radius: 50%;
    display: none;
}

.custom-radio input:checked::after {
    display: block;
}

.custom-check span, .custom-radio span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
    text-transform: none !important;
    white-space: nowrap !important; /* Force zero wrapping */
}

/* Hover state for better feedback */
.custom-check:hover span, .custom-radio:hover span {
    color: var(--dark);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.fact-item:hover .fact-icon {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 192, 0, 0.2);
}

.fact-title {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.fact-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

.milestone-card {
    background: white;
    border: 1px solid var(--light-2);
    padding: 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.milestone-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.milestone-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.milestone-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--light-2);
}

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

.milestone-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
}

.milestone-course {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
}

.milestone-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.milestone-info i {
    color: var(--accent);
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM
   Breakpoints:
   - 1200px : Small Desktop / Large Tablet Landscape
   - 1024px : Tablet Landscape
   -  768px : Tablet Portrait (mobile-nav trigger)
   -  650px : Large Phone Landscape
   -  480px : Phone Portrait
   -  360px : Small Phone
   ============================================================ */

/* ---------- ≤ 1200px  — Small Desktop / Wide Tablets ---------- */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-container {
        gap: 2.5rem;
    }

    .why-grid {
        gap: 3rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* ---------- ≤ 1024px  — Tablet Landscape ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(2.8rem, 5.5vw, 5rem);
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-card {
        padding: 2rem 1.5rem;
    }

    .hero-card-title {
        font-size: 1.3rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .stats-band-grid {
        gap: 1.5rem;
    }

    .stat-band-num {
        font-size: 2.8rem;
    }

    .process-steps {
        gap: 1.5rem;
    }

    .courses-page-grid {
        gap: 1.5rem;
    }

    .contact-grid {
        gap: 2.5rem;
    }

    .contact-form-wrap {
        padding: 2rem;
    }

    .cta-banner {
        padding: 60px 0;
    }

    .cta-banner::before {
        font-size: 14rem;
    }

    .values-grid {
        gap: 1.2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .course-card:hover {
        transform: translateY(-4px);
    }
}

/* ---------- ≤ 768px  — Tablet Portrait ---------- */
@media (max-width: 768px) {
    /* -- Navigation: hamburger trigger -- */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem 2rem;
        gap: 0.25rem;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1010;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li a {
        padding: 12px 0;
        border-radius: 0;
        color: var(--dark);
        text-shadow: none;
        font-size: 0.85rem;
    }

    .nav-links li a::after {
        display: none;
    }

    .nav-cta {
        text-align: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1011;
        position: relative;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* -- Hero -- */
    .hero {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 0;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(3rem, 8vw, 4.5rem);
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-card-stack {
        display: flex;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-card {
        max-width: 100%;
        padding: 2rem;
    }

    /* -- Layout Grids -- */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-image {
        display: block;
        margin-bottom: 1rem;
    }

    .why-image-main {
        aspect-ratio: 16/9;
    }

    .why-badge {
        bottom: 10px;
        right: 10px;
        padding: 15px;
    }

    .why-badge .num {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card::before {
        font-size: 3rem;
    }

    .stats-band-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    .courses-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-top {
        padding: 50px 0 40px;
    }

    /* -- Page Hero -- */
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero-inner h1,
    .page-hero h1 {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

    /* -- Section Sizing -- */
    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* -- CTA -- */
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-banner::before {
        font-size: 10rem;
        right: -1rem;
    }

    /* -- About page -- */
    .about-actions {
        flex-direction: column;
        width: 100%;
    }

    .about-actions .btn-primary,
    .about-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }

    /* -- Modal -- */
    .modal-content {
        max-width: 90vw;
        margin-top: 3vh;
    }

    /* -- Floating Actions -- */
    .floating-actions {
        bottom: 1.5rem !important;
        right: 1rem !important;
        gap: 0.75rem !important;
    }

    .whatsapp-float, .email-float {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.4rem !important;
    }
}

/* ---------- ≤ 650px  — Large Phone / Landscape ---------- */
@media (max-width: 650px) {
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 1rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 0.75rem;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }

    .gallery-item.tall {
        grid-row: span 2;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-contact {
        grid-column: auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 90px 0 40px;
    }

    .page-hero-inner h1,
    .page-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.4rem) !important;
    }

    .section-desc {
        font-size: 0.92rem;
    }

    /* -- Contact -- */
    .contact-item {
        padding: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .contact-item-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 0.9rem;
    }

    .contact-item p {
        font-size: 0.85rem !important;
        word-break: break-word;
    }

    .contact-form-wrap {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .contact-form-wrap h3 {
        font-size: 1.8rem;
    }

    /* -- Stats -- */
    .stats-band {
        padding: 40px 0;
    }

    .stat-band-num {
        font-size: 2.5rem;
    }

    /* -- Hero card on phones -- */
    .hero-card-stack {
        max-width: 100%;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .hero-card-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    /* -- Process -- */
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .step-num {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* -- Course Full Cards -- */
    .course-overlay .btn-primary,
    .course-overlay .btn-outline {
        width: 150px;
        padding: 10px 14px;
        font-size: 0.72rem;
    }

    .course-includes {
        grid-template-columns: 1fr;
    }

    /* -- Buttons -- */
    .btn-primary,
    .btn-outline {
        padding: 12px 24px;
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    .btn-white {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    /* -- Floating Actions -- */
    .floating-actions {
        bottom: 1.25rem !important;
        right: 0.75rem !important;
        gap: 0.5rem !important;
    }

    .whatsapp-float, .email-float {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.2rem !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    }

    /* -- Modal -- */
    .modal {
        padding: 0.75rem;
    }

    .modal-content {
        padding: 1.5rem !important;
        max-width: 100%;
        max-height: 92vh;
        overflow-y: auto;
        border-radius: 14px;
        margin-top: 2vh;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem !important;
    }

    .course-booking-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .requirement-group, .vehicle-group, .location-group {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .phone-input-group {
        flex-direction: column !important;
    }

    .phone-prefix {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-radius: 8px 8px 0 0 !important;
        justify-content: center;
    }

    .phone-input {
        border-radius: 0 0 8px 8px !important;
    }
}

/* ---------- ≤ 480px  — Phone Portrait ---------- */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.2rem);
    }

    .hero-desc {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }

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

    .stat-num {
        font-size: 1.8rem;
        justify-content: center;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2rem) !important;
    }

    .section-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .page-hero {
        padding: 80px 0 35px;
    }

    .page-hero-inner h1,
    .page-hero h1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    /* -- Team -- */
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .team-body {
        padding: 0.8rem;
    }

    .team-body h4 {
        font-size: 0.85rem;
    }

    .team-body .role {
        font-size: 0.65rem;
    }

    /* -- Course Cards -- */
    .course-body {
        padding: 1.2rem;
    }

    .course-body h3 {
        font-size: 1rem;
    }

    .course-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .price {
        font-size: 1.3rem;
    }

    /* -- Process -- */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step h4 {
        font-size: 0.88rem;
    }

    .process-step p {
        font-size: 0.78rem;
    }

    /* -- Stats Band -- */
    .stats-band-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-band-num {
        font-size: 2.2rem;
    }

    .stat-band-label {
        font-size: 0.7rem;
    }

    /* -- Values -- */
    .value-card {
        padding: 1.5rem;
    }

    .value-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    /* -- Footer -- */
    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-logo-img {
        height: 72px;
        width: 72px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .footer-bottom {
        padding: 15px 1rem;
        font-size: 0.72rem;
    }

    /* -- CTA -- */
    .cta-banner {
        padding: 50px 0;
    }

    .cta-banner::before {
        font-size: 6rem;
    }

    /* -- Why features -- */
    .why-feature {
        padding: 1rem;
    }

    .why-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .why-feature h4 {
        font-size: 0.88rem;
    }

    .why-feature p {
        font-size: 0.8rem;
    }

    /* -- Testimonials -- */
    .testimonial-text {
        font-size: 0.85rem;
    }

    .author-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .author-name {
        font-size: 0.85rem;
    }

    /* -- Map -- */
    .map-section {
        height: 280px;
    }

    /* -- Milestones -- */
    .milestones-grid {
        grid-template-columns: 1fr;
    }

    /* -- Custom check/radio text wrapping -- */
    .custom-check span, .custom-radio span {
        white-space: normal !important;
        font-size: 0.82rem;
    }
}

/* ---------- ≤ 360px  — Small Phone ---------- */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .navbar {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 90px 0 40px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-card {
        padding: 1.2rem;
    }

    .hero-card-title {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .page-hero-inner h1,
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .btn-primary,
    .btn-outline {
        padding: 10px 18px;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .btn-white {
        padding: 12px 22px;
        font-size: 0.75rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
    }

    .contact-form-wrap h3 {
        font-size: 1.4rem;
    }

    .course-full-body h3 {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 1.2rem;
    }

    .modal-content {
        border-radius: 10px;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.3rem !important;
    }

    .form-control {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .phone-prefix {
        padding: 0.6rem 0.8rem;
        font-size: 0.82rem;
    }

    .phone-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .map-section {
        height: 220px;
    }
}

/* ============================================================
   Landscape orientation adjustments for phones
   ============================================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 1.5rem;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

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

    .page-hero {
        padding: 80px 0 30px;
    }

    .section {
        padding: 50px 0;
    }
}

/* ============================================================
   Print styles — hide non-essential elements
   ============================================================ */
@media print {
    .navbar,
    .nav-toggle,
    #preloader,
    .floating-actions,
    .cta-banner,
    .modal,
    .hero-road-lines,
    .features-strip {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    body {
        color: #000;
        background: #fff;
    }
}