/* =============================================
   HGV DRIVING TRAINING - Main Stylesheet
   CSS Custom Properties for easy branding changes
   ============================================= */

:root {
    /* Primary Branding - Change these to update the entire site */
    --primary: #1a2b4a;
    --primary-light: #2a3f6a;
    --primary-dark: #0f1a30;
    --accent: #e8792b;
    --accent-hover: #d0681f;
    --accent-light: #fdf0e7;
    --secondary: #17a2b8;
    --secondary-dark: #128a9e;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-grey: #e9ecef;
    --mid-grey: #6c757d;
    --dark-grey: #343a40;
    --text: #2d3436;
    --text-light: #636e72;

    /* Semantic */
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;

    /* Layout */
    --nav-height: 72px;
    --top-bar-height: 40px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* =============================================
   BASE / RESET
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

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

a:hover {
    color: var(--accent-hover);
}

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

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-accent {
    color: var(--accent);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-accent {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.section {
    padding: 5rem 0;
}

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

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar-info span {
    margin-right: 1.5rem;
}

.top-bar-info i {
    color: var(--accent);
    margin-right: 0.4rem;
}

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0.4rem;
    font-size: 0.75rem;
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--accent);
    color: var(--white);
}

/* =============================================
   MAIN NAVIGATION
   ============================================= */
.main-nav {
    background: var(--primary);
    padding: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    overflow: visible;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 0;
    overflow: visible;
}

.brand-logo {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    z-index: 100;
    margin-top: -10px;
    margin-bottom: -50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    align-self: center;
    background: #fff;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}

.navbar-brand:hover .brand-logo {
    border-color: var(--accent);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: 1.2rem;
}

.brand-text {
    color: var(--white);
    font-size: 2.4rem;
    font-family: var(--font-heading);
    align-self: center;
}

.brand-text strong {
    font-weight: 800;
}

.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 1.5rem 1rem !important;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--white);
}

.main-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
}

.main-nav .dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0;
}

.main-nav .dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}

.main-nav .dropdown-item:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.btn-nav-cta {
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem !important;
    white-space: nowrap;
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-dark);
}

/* Styled CSS backgrounds for each slide */
.hero-bg-styled {
    background-size: cover;
    background-position: center;
}

.hero-bg-artic {
    background: url('../images/hero-1.jpg') center/cover no-repeat, var(--primary-dark);
}

.hero-bg-rigid {
    background: url('../images/hero-2.jpg') center/cover no-repeat, var(--primary-dark);
}

.hero-bg-motorway {
    background: url('../images/hero-3.jpg') center/cover no-repeat, var(--primary-dark);
}

.hero-bg-c1 {
    background: url('../images/hero-4.jpg') center/cover no-repeat, var(--primary-dark);
}

.hero-bg-training {
    background: url('../images/hero-5.jpg') center/cover no-repeat, var(--primary-dark);
}

.hero-bg-cpc {
    background: url('../images/hero-6.jpg') center/cover no-repeat, var(--primary-dark);
}

/* Decorative truck scene overlay */
.hero-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-truck {
    position: absolute;
    right: 8%;
    bottom: 28%;
    color: rgba(255, 255, 255, 0.04);
    font-size: 14rem;
    display: flex;
    align-items: flex-end;
    gap: 0;
    filter: drop-shadow(0 0 80px rgba(232, 121, 43, 0.05));
}

.hero-truck-artic {
    font-size: 16rem;
    right: 5%;
    bottom: 22%;
}

.hero-truck-rigid {
    font-size: 13rem;
    right: 8%;
    bottom: 25%;
}

.hero-truck-convoy {
    font-size: 12rem;
    right: 3%;
    bottom: 24%;
}

.hero-truck-c1 {
    font-size: 11rem;
    right: 10%;
    bottom: 28%;
}

.hero-truck-yard {
    font-size: 12rem;
    right: 6%;
    bottom: 24%;
}

.hero-truck-fleet {
    font-size: 11rem;
    right: 4%;
    bottom: 26%;
}

/* Road decoration at bottom of hero */
.hero-road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(20, 30, 50, 0.95) 0%, transparent 100%);
}

.hero-road::before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.15) 0px,
        rgba(255, 255, 255, 0.15) 40px,
        transparent 40px,
        transparent 80px
    );
}

.hero-road::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-road-motorway::before {
    height: 3px;
    bottom: 18px;
}

.hero-road-motorway::after {
    height: 2px;
    bottom: 8px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.08) 0px,
        rgba(255, 255, 255, 0.08) 40px,
        transparent 40px,
        transparent 80px
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 20, 40, 0.92) 0%,
        rgba(20, 35, 60, 0.8) 40%,
        rgba(15, 28, 50, 0.7) 60%,
        rgba(10, 20, 40, 0.75) 100%
    );
    z-index: 2;
}

.hero-slide .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 121, 43, 0.15);
    border: 1px solid rgba(232, 121, 43, 0.35);
    color: var(--accent);
    padding: 0.4rem 1.15rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-buttons .btn {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

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

.hero-stat {
    text-align: left;
}

.hero-stat strong {
    display: block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Slider Controls */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-slider-prev { left: 1.5rem; }
.hero-slider-next { right: 1.5rem; }

.hero-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.6rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    width: 28px;
    border-radius: 10px;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
    background: var(--primary);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--accent);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--white);
}

.trust-item i {
    font-size: 1.8rem;
    color: var(--accent);
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.trust-item span {
    font-size: 0.8rem;
    opacity: 0.75;
}

/* =============================================
   COURSE CARDS
   ============================================= */
.courses-section {
    background: var(--off-white);
}

.course-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-grey);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.course-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.course-badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.course-card-body {
    padding: 1.5rem;
    flex: 1;
}

.course-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.course-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.course-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-meta li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.course-meta i {
    color: var(--accent);
    width: 20px;
    margin-right: 0.3rem;
}

.course-card-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--off-white);
}

.course-price .price-from {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-price .price-amount {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us-image {
    position: relative;
}

.why-us-photo {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.why-us-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 43, 74, 0.85) 0%, rgba(26, 43, 74, 0.3) 50%, rgba(26, 43, 74, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
}

.why-us-statement {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    gap: 1rem;
}

.image-placeholder span {
    font-size: 1.1rem;
    font-weight: 500;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 1.25rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-us-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-section {
    background: var(--off-white);
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(232, 121, 43, 0.4);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0.5rem auto 1rem;
}

.process-step h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.testimonials-section .section-subtitle {
    color: var(--accent);
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   EARNINGS SECTION
   ============================================= */
.earnings-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--light-grey);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.earnings-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.earnings-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.earnings-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.earnings-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.earnings-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.earnings-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.earnings-amount {
    background: var(--off-white);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.amount-range {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.amount-period {
    font-size: 0.85rem;
    color: var(--text-light);
}

.earnings-roles {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* =============================================
   CALLBACK SECTION
   ============================================= */
.callback-section {
    background: var(--off-white);
}

.callback-benefits {
    list-style: none;
    padding: 0;
}

.callback-benefits li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

.callback-benefits i {
    color: var(--success);
    margin-right: 0.5rem;
}

.callback-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-grey);
}

.callback-form h4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.callback-form .form-control,
.callback-form .form-select {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-grey);
    font-size: 0.95rem;
}

.callback-form .form-control:focus,
.callback-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 121, 43, 0.15);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* =============================================
   CTA BAR
   ============================================= */
.cta-bar {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    padding: 3rem 0;
    color: var(--white);
}

.cta-bar h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-bar p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-logo {
    width: 135px;
    height: 135px;
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0;
    box-shadow: none;
}

.footer-brand .brand-text {
    font-size: 1.4rem;
    color: var(--white);
    align-self: center;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-contact-details p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-contact-details i {
    color: var(--accent);
    width: 16px;
    margin-right: 0.5rem;
}

.footer-contact-details a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact-details a:hover {
    color: var(--accent);
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.accreditation-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.badge-item i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
}

.payment-methods span {
    font-size: 0.85rem;
}

.payment-methods i {
    font-size: 1.5rem;
    opacity: 0.6;
    transition: var(--transition);
}

.payment-methods i:hover {
    opacity: 1;
}

/* =============================================
   PAGE HEADERS (for inner pages)
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 3.5rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    transform: skewX(-12deg);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
}

.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-nav span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.5rem;
}

.breadcrumb-nav .current {
    color: var(--accent);
}

/* =============================================
   COURSE DETAIL PAGE
   ============================================= */
.course-detail-section {
    padding: 3rem 0;
}

.course-key-facts {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-grey);
    padding: 2rem;
    position: sticky;
    top: calc(var(--nav-height) + 1rem);
}

.key-fact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-grey);
}

.key-fact:last-child {
    border-bottom: none;
}

.key-fact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.key-fact-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.key-fact-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.course-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.course-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    padding: 0.4rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.95rem;
}

.included-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
}

.prereq-list li::before {
    content: '\f05a';
    color: var(--secondary);
}

.structure-list {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.structure-list li {
    padding: 0.75rem 0 0.75rem 3rem;
    position: relative;
    border-left: 2px solid var(--accent);
    margin-left: 1rem;
}

.structure-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -15px;
    top: 0.75rem;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.vehicle-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    list-style: none;
}

.vehicle-types li {
    background: var(--off-white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid var(--light-grey);
}

/* =============================================
   AUTH PAGES
   ============================================= */
.auth-section {
    padding: 4rem 0;
    background: var(--off-white);
    min-height: calc(100vh - var(--nav-height) - var(--top-bar-height) - 200px);
    display: flex;
    align-items: center;
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--light-grey);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-card .form-control {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-grey);
}

.auth-card .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 121, 43, 0.15);
}

.auth-card .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =============================================
   DASHBOARD
   ============================================= */
.dashboard-section {
    padding: 3rem 0;
    background: var(--off-white);
    min-height: 70vh;
}

.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--light-grey);
}

.dashboard-user-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.dashboard-avatar {
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.dashboard-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    color: var(--text);
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: var(--accent-light);
    color: var(--accent);
    border-left-color: var(--accent);
}

.dashboard-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    border: 1px solid var(--light-grey);
}

.booking-card {
    background: var(--off-white);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--light-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.booking-status {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-grey);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--light-grey);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: 0.5rem;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    border: 1px solid var(--light-grey);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
    .hero-slider {
        height: 580px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-truck {
        display: none;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat strong {
        font-size: 1.1rem;
    }

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

    .brand-logo {
        width: 90px;
        height: 90px;
        margin-bottom: -35px;
    }

    .main-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .main-nav .nav-link.active::after {
        display: none;
    }

    .btn-nav-cta {
        margin-top: 0.5rem;
        display: inline-block;
    }

    .experience-badge {
        bottom: -10px;
        right: -10px;
        padding: 1rem;
    }

    .exp-number {
        font-size: 2rem;
    }

    .course-key-facts {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        height: auto;
        min-height: 520px;
    }

    .hero-slide {
        position: absolute;
    }

    .hero-slide .container {
        padding-top: 2.5rem;
        padding-bottom: 3.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat strong {
        font-size: 1rem;
    }

    .hero-stat span {
        font-size: 0.7rem;
    }

    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .hero-slider-prev { left: 0.75rem; }
    .hero-slider-next { right: 0.75rem; }

    .section {
        padding: 3.5rem 0;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    .trust-item i {
        font-size: 1.4rem;
    }

    .image-placeholder {
        height: 300px;
    }

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

    .cta-bar .text-lg-end {
        text-align: center !important;
    }

    .payment-methods {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .booking-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .hero-slider {
        min-height: 480px;
    }

    .hero-content h1 {
        font-size: 1.65rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.75rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 22px;
    }

    .brand-logo {
        width: 75px;
        height: 75px;
        margin-bottom: -28px;
    }

    .top-bar-info span {
        margin-right: 0;
        display: block;
    }

    .top-bar-info span:not(:first-child) {
        display: none;
    }
}

/* =============================================
   COOKIE CONSENT BANNER (UK GDPR/PECR)
   ============================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    padding: 1.25rem 0;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.cookie-icon {
    font-size: 1.8rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.cookie-banner-text strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cookie-banner-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner-actions .btn {
    white-space: nowrap;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-text {
        flex-direction: column;
        align-items: center;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   FLASH SUCCESS OVERLAY
   ============================================= */

.flash-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 48, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: flashFadeIn 0.4s ease;
}

@keyframes flashFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes flashCheck {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.flash-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    animation: flashPop 0.5s ease 0.1s both;
    text-align: center;
}

.flash-card-header {
    background: var(--primary-dark);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    object-fit: cover;
}

.flash-card-body {
    padding: 2rem 2rem 1.5rem;
}

.flash-checkmark {
    animation: flashCheck 0.6s ease 0.4s both;
}

.flash-checkmark i {
    font-size: 4rem;
    color: var(--success);
    filter: drop-shadow(0 4px 12px rgba(39, 174, 96, 0.3));
}

.flash-card-body h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.75rem 0 0.5rem;
}

.flash-msg {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.flash-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 1.25rem auto;
}

.flash-subtext {
    font-size: 0.9rem;
    color: var(--mid-grey);
    margin: 0 0 0.75rem;
}

.flash-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.flash-phone:hover {
    color: var(--accent-hover);
}

.flash-phone i {
    font-size: 1rem;
}

.flash-card-footer {
    display: flex;
    gap: 0.75rem;
    padding: 0 2rem 2rem;
    justify-content: center;
}

.flash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.flash-btn-primary {
    background: var(--accent);
    color: var(--white);
}

.flash-btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 121, 43, 0.3);
}

.flash-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--light-grey);
}

.flash-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 575.98px) {
    .flash-card-body { padding: 1.5rem 1.25rem 1rem; }
    .flash-card-footer { flex-direction: column; padding: 0 1.25rem 1.5rem; }
    .flash-card-body h2 { font-size: 1.4rem; }
    .flash-logo { width: 64px; height: 64px; }
    .flash-checkmark i { font-size: 3rem; }
}
