body {
    font-family: 'Open Sans', sans-serif;
    color: #212529;
    line-height: 1.6;
    /* overflow-x: hidden; */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #0056b3;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.text-muted-custom {
    color: #6c757d !important;
}

/* Global Styles */
.bg-light-gray {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #ffd700;
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #003f80;
    border-color: #003f80;
}

.custom-btn-gold {
    background-color: #ffd700;
    border-color: #ffd700;
    color: #212529;
    font-weight: 600;
}

.custom-btn-gold:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #212529;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar-brand .site-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.offcanvas {
    background-color: #0056b3;
    color: #fff;
}

.offcanvas .offcanvas-header {
    background-color: #003f80;
    color: #fff;
}

.offcanvas .offcanvas-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: inherit;
}

.offcanvas .btn-close {
    filter: invert(1);
}

.offcanvas .navbar-nav .nav-link {
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    display: block;
}

.offcanvas .navbar-nav .nav-link:hover {
    background-color: #0069d9;
    color: #ffd700 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('images/graphics/hero-car-background.jpeg') no-repeat center center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 150px 0 50px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
}

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

.hero-features li {
    font-size: 1.1rem;
    font-weight: 600;
    background-color: rgba(0, 86, 179, 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0.5rem;
}

.hero-features li i {
    color: #ffd700;
    font-size: 1.3rem;
}

/* About Us Section */
#about img {
    max-height: 450px;
    object-fit: cover;
    width: 100%;
}

#about .list-unstyled li i {
    color: #0056b3;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Courses Section */
.course-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

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

.course-card .card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0056b3;
}

.course-features {
    padding-left: 0;
    list-style: none;
}

.course-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.course-features li i {
    color: #ffd700;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Instructors Section */
.instructor-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.instructor-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #ffd700;
    margin-bottom: 1rem;
}

.instructor-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0056b3;
}

.instructor-card .card-text {
    font-size: 0.95rem;
    color: #343a40;
}

/* How Training Works Section (Timeline) */
.timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #0056b3;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    padding-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 40px;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background-color: #ffd700;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056b3;
    font-size: 1.8rem;
    border: 3px solid #0056b3;
    z-index: 1;
}

.timeline-content {
    width: 45%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    right: 0;
    margin-left: 55%;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0056b3;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #343a40;
}

/* Testimonials Section */
.testimonial-card {
    border: none;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid #0056b3;
}

.testimonial-card .card-text {
    font-style: italic;
    color: #343a40;
    font-size: 1rem;
}

.quote-icon {
    color: #ffd700;
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: #0056b3;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    background-color: #f0f4f8;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #003f80;
    background-color: #e0e7ed;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1rem 1.25rem;
    background-color: #fff;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    margin-top: -0.5rem;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-item:last-of-type {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Statistics Section */
#statistics {
    background-color: #0056b3;
}

#statistics .statistic-item {
    padding: 2rem 1rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#statistics .statistic-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

#statistics .statistic-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
}

#statistics .bi {
    color: #ffd700;
}

/* Contact Form Section */
#contact-form .form-label {
    font-weight: 600;
}

#contact-form .form-control, #contact-form .form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

#contact-form .form-control:focus, #contact-form .form-select:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
}

#contact-form .p-md-5 {
    padding: 3rem !important;
}

/* Disclaimer Section */
#disclaimer {
    background-color: #fff3cd;
    border-color: #ffc107 !important;
}

#disclaimer h3 {
    color: #856404;
}

#disclaimer p {
    color: #856404;
}

#disclaimer .bi {
    color: #856404;
}

/* Footer */
.footer {
    background-color: #343a40 !important;
    color: #f8f9fa;
}

.footer .logo-img-footer {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer .site-name-footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #f8f9fa;
}

.footer h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 1rem;
}

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

.footer ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer ul li i {
    color: #ffd700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffd700;
}

.footer .email-break-all {
    word-break: break-all;
}

/* Modals */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background-color: #0056b3;
    color: #fff;
    border-bottom: none;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: inherit;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: none;
}

/* Cookie Consent Modal Specifics */
.cookie-modal-content {
    z-index: 1060; /* Higher than other modals if needed */
}

.cookie-modal-content .modal-header {
    background-color: #0056b3;
    color: #fff;
}

.cookie-modal-content .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.cookie-modal-content .btn-link {
    color: #0056b3;
    font-weight: 600;
}

.cookie-modal-content .btn-link:hover {
    color: #003f80;
}

.cookie-modal-content .collapse.show {
    margin-top: 1rem;
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .navbar-brand .site-name {
        font-size: 1.8rem;
    }
    .footer .site-name-footer {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .navbar-brand .site-name {
        font-size: 1.6rem;
    }
    .footer .site-name-footer {
        font-size: 1.4rem;
    }
    .timeline::before {
        left: 18px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px;
        padding-left: 20px;
        padding-right: 20px;
        text-align: left;
    }
    .timeline-icon {
        left: -7px;
        transform: translateX(0%);
    }
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px; /* Adjust arrow position */
        right: auto;
    }
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -10px; /* Adjust arrow position */
        right: auto;
    }
    .timeline-item:nth-child(even) {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px 0;
    }
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-features li {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin: 0.3rem;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .navbar-brand .site-name {
        font-size: 1.25rem;
    }
    .navbar-brand .logo-img {
        height: 30px;
    }
    .footer .site-name-footer {
        font-size: 1.25rem;
    }
    .footer .logo-img-footer {
        height: 25px;
    }
    .timeline::before {
        left: 18px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 70px);
        margin-left: 50px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: left;
    }
    .timeline-icon {
        left: -7px;
        transform: translateX(0%);
    }
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px; /* Adjust arrow position */
        right: auto;
    }
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -10px; /* Adjust arrow position */
        right: auto;
    }
    .timeline-item:nth-child(even) {
        text-align: left;
    }
    .statistic-number {
        font-size: 2.5rem !important;
    }
    .statistic-text {
        font-size: 1rem !important;
    }
    .statistic-item i {
        font-size: 2.5rem !important;
    }
    .offcanvas-body .navbar-nav {
        overflow-x: hidden;
    }
}

@media (min-width: 1100px) {
    .offcanvas-collapse {
        display: flex !important;
        width: auto;
    }
    .navbar-toggler {
        display: none;
    }
}

.offcanvas-end {
    width: 250px;
}

.navbar-nav {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.navbar-nav .nav-item {
    flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}
/*
 * Core styling for the compliance content slot.
 * Provides basic spacing for the container itself.
 */
.complianceCoreSlot {
    margin-top: 2rem; /* Top margin for spacing above the content block */
    padding-left: 1.5rem; /* Left padding for content inside the slot */
    padding-right: 1.5rem; /* Right padding for content inside the slot */
    /* You might want to add max-width and margin: 0 auto; here if this slot should be centered and constrained */
}

/*
 * Heading styles for H1 to H5 within the compliance slot.
 * Font sizes are kept moderate as requested, with appropriate line heights and margins.
 */
.complianceCoreSlot h1 {
    font-size: 2.2rem; /* Moderate H1 font size */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 2.5rem; /* Spacing above H1 */
    margin-bottom: 1rem; /* Spacing below H1 */
    font-weight: 700; /* Bold font weight */
}

.complianceCoreSlot h2 {
    font-size: 1.8rem; /* H2 font size, smaller than H1 */
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.complianceCoreSlot h3 {
    font-size: 1.5rem; /* H3 font size, smaller than H2 */
    line-height: 1.3;
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.complianceCoreSlot h4 {
    font-size: 1.2rem; /* H4 font size, smaller than H3 */
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.complianceCoreSlot h5 {
    font-size: 1rem; /* H5 font size, often similar to body text but with more weight */
    line-height: 1.5;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/*
 * Paragraph styles within the compliance slot.
 * Sets a standard font size, line height for readability, and bottom margin for spacing between paragraphs.
 */
.complianceCoreSlot p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.6; /* Optimal line height for readability */
    margin-top: 0; /* No top margin by default, let bottom margin handle spacing */
    margin-bottom: 1rem; /* Spacing between paragraphs */
}

/*
 * Unordered list styles within the compliance slot.
 * Provides default bullet points, and appropriate top/bottom margins and left padding for indentation.
 */
.complianceCoreSlot ul {
    list-style-type: disc; /* Standard disc bullet points */
    margin-top: 1rem; /* Spacing above the list */
    margin-bottom: 1rem; /* Spacing below the list */
    padding-left: 1.5rem; /* Indentation for bullet points */
}

/*
 * List item styles within the compliance slot.
 * Adds a bottom margin for spacing between individual list items and ensures consistent line height.
 */
.complianceCoreSlot li {
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Ensures readability for list item text */
}
@media (min-width: 992px) {
    .footer .site-name-footer {
        font-size: 1.1rem;
    }
}
@media (max-width: 576px) {
    .navbar-brand {
        flex-direction: column;
    }
    .navbar-brand .site-name {
        font-size: 1rem;
    }
    .complianceCoreSlot h2 {
    font-size: 1.3rem;
    }
}
@media (max-width: 767px) {
        .navbar-toggler {
        padding: 5px;
    }
}
main {
    overflow: hidden;
}
.offcanvas {
    height: 100vh !important;
    max-height: 100vh !important;
}