:root {
    --primary: #dc0000;
    --primary-dark: #a00000;
    --secondary: #0047AB;
    --secondary-dark: #003380;
    --accent: #dc0000;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-light: #666666;
    --border: #e0e0e0;
}

html {
    scroll-padding-top: 170px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    padding-top: 170px;
    visibility: visible;
}

/* Header Banner with Logo - Always Visible */
.header-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--white);
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.header-banner.has-image {
    background: var(--white);
}

.header-banner-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo-container {
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-width: 0; /* Allow flex shrinking */
}

.header-logo-img {
    max-height: 90px;
    max-width: 200px; /* Prevent logos from being too wide */
    height: auto;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    flex-shrink: 0; /* Prevent logos from shrinking */
}

.logo-divider {
    font-size: 3rem;
    color: var(--text);
    font-weight: 300;
}

.header-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.facebook i {
    color: #ffffff;
}

.social-link.facebook:hover {
    background: #145dbf;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram i {
    color: #ffffff;
}

.social-link.instagram:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.social-link.tiktok {
    background: #000000;
}

.social-link.tiktok i {
    color: #ffffff;
}

.social-link.tiktok:hover {
    background: #fe2c55;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(254, 44, 85, 0.4);
}

.header-spacer {
    width: 200px;
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 110px;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: visible;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links li {
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

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

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

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: 0.3s;
    border-radius: 3px;
    display: block;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%230047AB" width="1920" height="1080"/><circle cx="400" cy="400" r="300" fill="%23dc0000" opacity="0.15"/><circle cx="1500" cy="600" r="400" fill="%23000000" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6.4rem 2rem 3.2rem;
    overflow: hidden;
}

.hero.has-image {
    background-size: cover;
    background-position: center center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 1;
}

.hero.has-image::before {
    display: none; /* Hide gradient overlay when custom background is used */
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

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

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero h1 .highlight {
    color: var(--primary);
    display: block;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

/* Info Bar */
.info-bar {
    background: var(--black);
    color: var(--white);
    padding: 2rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    font-size: 2rem;
}

.info-text h4 {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 0.2rem;
}

.info-text p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Section Styling */
section {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '🏍️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    opacity: 0.3;
}

.about-image.has-image::after {
    display: none;
}

.about-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

.feature-text h4 {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}

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

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s;
    border: 1px solid var(--border);
}

.course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.course-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-header.has-photo {
    background-size: cover;
    background-position: center;
    min-height: 250px;
}

.course-header.has-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.course-header.has-photo * {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.course-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.course-header.has-photo .course-icon {
    display: none;
}

.course-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.course-price {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.course-body {
    padding: 2rem;
    flex: 1 1 auto;
}

.course-body p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
}

.course-features li {
    padding: 0.8rem 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border);
}

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

.course-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Actions area anchored to bottom of card */
.course-actions {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.6rem;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-top: auto;
}

.course-actions .btn {
    width: 100%;
}
.course-book-btn {
    justify-content: center;
}

/* CBT Day Section */
.cbt-day {
    background: var(--light);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
}

.cbt-day h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 3rem;
}

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

.cbt-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.step-number-blue {
    /* Blue variant used on CBT steps */
    background: var(--secondary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.step-number-red {
    /* Red variant used on full-licence/process steps */
    background: var(--primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
}

.cbt-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-map {
    width: 100%;
    height: 250px;
    background: var(--light);
}

.location-info {
    padding: 2rem;
    flex: 1 1 auto;
}

.location-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.location-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.location-detail strong {
    color: var(--text);
}

.location-detail a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Prevent address wrapping inside location cards and style actions area */
.no-wrap-address {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-actions {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    justify-content: center;
    background: transparent;
    margin-top: auto;
}

.location-actions .btn {
    margin: 0;
}

/* Address block shown on separate lines with no extra spacing */
.location-address {
    color: var(--text-light);
    margin: 0 0 0.6rem 0;
}
.location-address .addr-line {
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    padding-top: 75%;
    background: #f5f5f5;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 3rem;
}

/* Reviews */
.reviews-container {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    margin-top: 3rem;
}

.stars {
    color: #ffd700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reviews-container h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.reviews-container p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-wrapper {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.contact-form {
    padding: 3rem;
}

.contact-form h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--white);
}

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

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

.contact-info-panel {
    background: var(--black);
    color: var(--white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-method p {
    opacity: 0.9;
    line-height: 1.8;
}

.contact-method a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}



/* Floating CBT Button */
.floating-cbt-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10000;
    animation: pulse 2s ease-in-out infinite;
    transition: opacity 0.3s, visibility 0.3s;
}

.floating-cbt-btn.hidden {
    opacity: 0;
    visibility: hidden;
}

.cbt-btn {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
    font-weight: 700;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.cbt-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.6);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Admin Modal */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-modal.active {
    display: flex;
}

.admin-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
}

.admin-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.close-modal {
    float: right;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
    line-height: 1;
}

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

/* Course Image Manager */
.course-image-manager {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.course-image-preview {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.image-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Logo Manager */
.logo-manager {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.logo-preview {
    max-height: 100px;
    max-width: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid var(--border);
    padding: 0.5rem;
    background: white;
}

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Mobile Navigation - Match JavaScript breakpoint */
@media (max-width: 900px) {
    html {
        scroll-padding-top: 190px;
    }

    /* Resize header for mobile - taller to fit stacked content */
    body {
        padding-top: 180px;
    }

    .header-banner {
        height: 130px;
    }

    .header-logo-img {
        height: 60px;
    }

    /* Stack header content vertically */
    .header-banner-wrapper {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .header-spacer {
        display: none;
    }

    .header-logo-container {
        gap: 1rem;
    }

    .logo-divider {
        font-size: 2rem;
    }

    .header-social {
        gap: 0.75rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Adjust nav positioning for taller header */
    nav {
        top: 130px;
        display: block !important;
        visibility: visible !important;
        overflow: visible;
    }

    #navbar {
        display: block !important;
        visibility: visible !important;
    }

    /* Hide inline nav links on mobile */
    #navbar .nav-links {
        display: none;
        position: fixed;
        top: 210px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 210px);
        overflow-y: auto;
        background: var(--white);
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        z-index: 1002;
    }

    /* Show dropdown when active */
    #navbar .nav-links.active {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0;
    }

    #navbar .nav-links li {
        display: block;
        width: 100%;
    }

    #navbar .nav-links li a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border);
        display: block;
        width: 100%;
        white-space: nowrap;
        margin: 0;
        text-align: center;
    }

    /* Style CTA button in mobile dropdown */
    #navbar .nav-links .nav-cta {
        display: block;
        text-align: center;
        margin: 0 auto;
        white-space: nowrap;
    }

    /* Adjust nav container for mobile toggle */
    #navbar .nav-container {
        justify-content: center;
        padding: 0 1rem;
        min-height: 50px;
        display: flex !important;
        overflow: visible;
    }

    /* Show hamburger menu */
    #navbar .mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Content adjustments */
    section {
        padding: 4rem 2rem;
    }

    .hero {
        padding-top: 6rem;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .info-bar {
        gap: 2rem;
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .floating-cbt-btn {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }

    .cbt-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Course page adjustments */
    .course-header-section h1 {
        font-size: 2rem;
    }

    .course-header-section .subtitle {
        font-size: 1.2rem;
    }

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

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .process-step {
        flex-direction: column;
    }

    .perfect-for-grid {
        grid-template-columns: 1fr;
    }

    nav a {
        display: none;
    }

    .btn {
        width: 100%;
    }
}

/* Appended rules from cbt-course.html (only missing selectors) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.logo-divider {
    height: 50px;
    width: 2px;
    background: var(--border);
    display: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Back Button */
.back-button {
    display: inline-block;
    margin: 2rem 0 1rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-button:hover {
    color: var(--primary);
}

/* Course Header */
.course-header-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.course-header-section h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.course-header-section .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.course-header-section .price {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--white);
    color: var(--primary);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

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

.content-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Lists */
.feature-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.feature-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border-left: 4px solid var(--primary);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-list li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Schedule */
.schedule-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.schedule-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.schedule-activity {
    font-size: 1.1rem;
    color: var(--text);
}

/* FAQs */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.faq-answer {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

/* Policy container mirrors FAQ styling but kept separate for clarity */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.policy-container .policy-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.policy-container .policy-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.policy-container .policy-answer {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

/* Floating CBT Button */
.floating-cbt-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.floating-cbt-btn .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(220, 0, 0, 0.4);
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
}

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



/* --------------------------------------------------
    Styles moved from full-licence.html
    Appended so `full-licence.html` no longer contains inline CSS
    -------------------------------------------------- */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

/* Header */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.logo-divider {
    height: 50px;
    width: 2px;
    background: var(--border);
    display: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Back Button */
.back-button {
    display: inline-block;
    margin: 2rem 0 1rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-button:hover {
    color: var(--primary);
}

/* Course Header */
.course-header-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.course-header-section h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.course-header-section .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.course-header-section .price {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--white);
    color: var(--secondary);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

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

.content-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Lists */
.feature-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.feature-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border-left: 4px solid var(--secondary);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-list li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Licence Types */
.licence-types {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.licence-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary);
}

.licence-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.licence-card .age-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.licence-card .bikes {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Process Steps */
.process-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}



.step-content h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* FAQs */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.faq-answer {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #b00000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
}

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

/* Footer (consolidated) */
footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 3rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.footer-section h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    opacity: 0.8;
}

/* Ensure footer lists have no bullets or left padding */
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
.footer-links li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}



/* --------------------------------------------------
    Styles moved from return-to-riding.html
    Appended so `return-to-riding.html` no longer contains inline CSS
    -------------------------------------------------- */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

/* Header */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.logo-divider {
    height: 50px;
    width: 2px;
    background: var(--border);
    display: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Back Button */
.back-button {
    display: inline-block;
    margin: 2rem 0 1rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-button:hover {
    color: var(--primary);
}

/* Course Header */
.course-header-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.course-header-section h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.course-header-section .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.course-header-section .price {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--white);
    color: var(--accent);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

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

.content-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Lists */
.feature-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.feature-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border-left: 4px solid var(--accent);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-list li:before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Perfect For Cards */
.perfect-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.perfect-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 5px solid var(--accent);
}

.perfect-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.perfect-card p {
    text-align: center;
    margin: 0;
}

/* What You'll Cover */
.cover-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.cover-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.cover-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cover-item p {
    text-align: left;
    margin: 0;
}

/* FAQs */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.faq-answer {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #b00000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
}

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

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}


