body {
    background: #343a40;
}

/* Navbar Background and Shadow */
.navbar {
    background-color: #111;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    /* Enhanced shadow for modern feel */
    transition: all 0.3s ease;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;

    position: relative;
    display: flex;
    justify-content: center;
    /* Centers content horizontally */
    align-items: center;
    /* Centers content vertically */

}

.navbar .container {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.navbar-toggler {
    position: absolute;
    right: 1rem;
    /* Ensure the toggler is on the right side */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    /* Overrides default icon with white lines */
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    /* Optional: Change toggler border to white */

    position: absolute;
    right: 1rem;
    /* Ensure the toggler is on the right side */
}

/* Navbar Links */
.nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
    color: #f5f5f5;
}

.nav-link:hover {
    color: #f8d210;
    /* Accent color for hover */
}

/* CTA Button Styling */
.cta-btn {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    background-color: #e63946;
    /* Strong color for CTA */
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Shadow for pop effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* CTA Button Hover Effects */
.cta-btn:hover {
    background-color: #d62c1a;
    /* Slightly darker red for hover */
    transform: scale(1.05);
    /* Slightly enlarges the button */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    /* Bigger shadow on hover */
    color: white;
    /* Text color remains white on hover */
}

/* Navbar Brand Positioning */
.navbar-brand {
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffffff;
}

/* Navbar Logo */
.navbar-logo {
    max-height: 85px;
    /* Ensures logo fits within the navbar */
    width: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
    /* Ensures no distortion */
    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.1);
    /* Slight zoom on hover for interactivity */
}


@media (max-width: 991.98px) {

    /* Adjust logo size for smaller screens */
    .navbar-logo {
        max-height: 80px;
    }
}


/* Dropdown Menu Styles */
.dropdown-menu {
    background-color: #343a40;
    border-radius: 8px;
    padding: 10px;
}

.dropdown-header {
    font-size: 0.9rem;
    color: #ffc107;
    margin-bottom: 5px;
}

.dropdown-item {
    color: #f8f9fa;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #495057;
    color: #ffc107;
}

.dropdown-divider {
    border-top: 1px solid #495057;
}

/* CTA Button */
.cta-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .navbar-brand {
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .navbar-toggler {
        position: absolute;
        right: 1rem;
        top: 2rem;
    }

    .navbar .container {
        padding-top: 0rem !important;
        padding-bottom: 0rem !important;
    }

}

@media (max-width: 991.98px) {

    /* Ensure the logo is centered on mobile */
    .navbar-brand {
        position: relative;
        left: auto;
        transform: none;
        margin: auto;
    }

    /* Stack navbar items vertically on mobile for better UX */
    .navbar-nav {
        text-align: center;
    }

    .cta-btn {
        width: 100%;
        font-size: 1rem;
        padding: 14px 0;
    }
}

/* Active link styling */
.nav-item.active .nav-link {
    color: #f8d210;
    font-weight: bold;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.cta-btn {
    animation: pulse 2s infinite;
}

/* hero  */

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}


/* YouTube Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.hero-bg iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.full-width-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video covers the entire section */
}




/* Semi-Transparent Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.78);
    /* Semi-transparent black */
    z-index: -1;
}

/* Hero Content */
.hero-content {
    z-index: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* Hero Button Adjustments */
.hero-btn {
    width: 50%;
    /* Set the width to 50% of its container */
    padding: 0.75rem 1rem;
    /* Keep original height */
    font-size: 1rem;
    border: none;
    transition: background-color 0.3s ease;
    text-align: center;
}

.hero-btn:hover {
    background-color: #343a40;
    color: #ffffff;
}


/* Right Image */
.hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    height: 500px;
    margin-right: 50px;
    /* Adjust height as needed */
    object-fit: cover;
    z-index: 0;
}

/* Responsive Image */
@media (max-width: 768px) {
    .hero-image {
        display: none;
        /* Hide image on small screens */
    }

    .hero-title {
        font-size: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;

    }

    .hero-content {
        text-align: center;
        /* Centers the content horizontally */
        align-items: center;
    }

    .hero-btn {
        margin: 0 auto;
        /* Center the button horizontally */
        display: inline-block;
    }
}

/* home form 1 */
/* Custom form styles */
.form-container {
    max-width: 100%;
    padding: 30px;
    background-color: #cc0202;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #343a40;
}

/* Modern Input Styles */
.form-control {
    border-radius: 0.375rem;
    box-shadow: none;
    font-size: 1rem;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #007bff;
    background-color: #ffffff;
}

/* Submit Button Styles */
.btn-submit {
    color: white;
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    transition: background-color 0.3s ease;
    width: 100%;
    border-radius: 0.375rem;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.form-group.justify-content-center {
    display: flex;
    justify-content: center;
}

/* Input container row styles */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.form-group {
    flex: 1 1 100%;
    /* Makes inputs full width on small screens */
}

.gdpr-text {
    font-size: 0.875rem;
    color: #e8e8e8;
    text-align: center;
    margin-top: 20px;
}

.gdpr-text a {
    color: #007bff;
    text-decoration: none;
}

.gdpr-text a:hover {
    text-decoration: underline;
}

/* Responsive Behavior */
@media (min-width: 576px) {
    .form-group {
        flex: 1 1 48%;
        /* 2 columns on small devices */
    }
}

@media (min-width: 768px) {
    .form-group {
        flex: 1 1 22%;
        /* 4 columns on larger screens */
    }
}

/* Submit button full width on all screen sizes */
.btn-submit {
    flex: 1 1 100%;
}



.content-row {
    display: flex;
    align-items: center;
    padding: 50px 15px;
}

.content-row img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-text {
    padding: 20px;
}

.content-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.content-description {
    font-size: 1rem;
    margin-bottom: 20px;
}

.content-button {
    color: white;
    padding: 10px 20px;
    text-transform: uppercase;
    border: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.content-button:hover {
    /* background-color: #0056b3; */
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
    }

    .content-text {
        text-align: center;
    }

    .content-button {
        margin-top: 15px;
    }
}

/* Featured Programs Section */
.featured-section {
    padding: 50px 15px;
}

.featured-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #343a40;
}

/* Flip Card Styles */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 300px;
    height: 350px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.flip-card-front {
    background-size: cover;
    background-position: center;
}

.flip-card-back {
    background-color: #343a40;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.program-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.program-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-learn-more {
    color: white;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-learn-more:hover {
    /* background-color: #0056b3;s */
}

/* Title Box */
.title-box {
    text-align: center;
    margin-top: 25px;
    cursor: pointer;
    font-weight: bold;
    color: #f8f9fa;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.title-box:hover {
    color: #ff5733;
}

/* Ensure title box triggers the flip */
.flip-card:hover .flip-card-inner,
.title-box:hover+.flip-card .flip-card-inner {
    transform: rotateY(180deg);
}


/* Responsive Behavior */
@media (max-width: 768px) {
    /* .flip-card-inner {
        height: 250px;
    } */

    .program-title {
        font-size: 1.2rem;
    }

    .program-subtitle {
        font-size: 0.9rem;
    }
}


/* Testimonials */
.testimonial-carousel {
    padding: 50px 15px;
    position: relative;
}

.testimonial-item {
    text-align: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px 0 5px;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more-btn {
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
    text-transform: uppercase;
    transition: 0.3s;
}

.read-more-btn:hover {
    /* background-color: #d32f2f; */
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

@media (min-width: 992px) {

    /* Adjust button position for desktop */
    .carousel-control-prev {
        left: -50px;
        /* Move to the left of the container */
    }

    .carousel-control-next {
        right: -50px;
        /* Move to the right of the container */
    }
}

/* Maps and locations */
.map-section,
.multi-location-map-section {
    background-color: #f8f9fa;
    padding: 50px 15px;
}

.map-section h2,
.multi-location-map-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.map-container iframe,
.map-card iframe {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-card h5 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #007bff;
    text-transform: uppercase;
}

/* 123 */
.steps-section {
    text-align: center;
    padding: 50px 15px;
    position: relative;
}

.home-steps {
    color: #000 !important;
}

.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    background-color: #dc3545;
    /* Solid red color */
    color: #fff;
    /* White text color */
    font-weight: bold;
    font-size: 3.5rem;
    /* Larger font size for numbers */
    position: relative;
    z-index: 1;
    padding-bottom: 10px;
}

.step-circle svg {
    width: 50px;
    height: 50px;
    fill: #fff;
}

.step-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid #ddd;
    border-radius: 50%;
    z-index: -1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: bold;
/*     text-decoration: underline; */
    margin-bottom: 10px;
    color: #343a40;
}

.step-description {
    font-size: 1rem;
    color: #6c757d;
}

.horizontal-line {
    width: calc(100% - 250px);
    /* Adjust based on container width */
    height: 2px;
    background-color: #ddd;
    position: absolute;
    top: 40px;
    left: 120px;
    /* Adjust based on step     circle width */
    z-index: 0;
}


.program-hero {
    position: relative;
    background: url('Dave 3.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    z-index: 1;
}

.program-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-hero-text {
    max-width: 50%;
    padding: 20px;
    background-color: rgba(237, 0, 0, 0.5);
    border-radius: 10px;
}

.program-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.program-hero-sign-up-btn {
    background-color: #e94040;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.program-hero-sign-up-btn:hover {
    background-color: #ff5e5e;
}

.program-hero-image {
    max-width: 35%;
    margin-right: 30px;
    text-align: left;
    /* Ensures the image aligns left within its container */
}


.program-hero-image img {
    border-radius: 15px;
    width: auto;
    height: 600px;
    border-radius: 15px;
    top: 88px;
    position: relative;
}

.program-body-section {
    font-family: Arial, sans-serif;
    color: #333;
    padding: 40px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Flexbox Fix for Side-by-Side Layout */
.d-flex {
    display: flex;
    flex-wrap: wrap;
    /* Disable wrapping to prevent stacking */
}

/* Text Section Styling */
.text-section {
    flex: 1;
    max-width: 50%;
    /* Ensure the text section only takes half the width */
}

.text-heading {
    font-size: 2rem;
    color: #000;
    font-weight: bold;
    line-height: 1.4;
}

.text-paragraph {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.school-name {
    color: #000;
    font-weight: bold;
}

/* Image Section Styling */
.image-section {
    flex: 1;
    max-width: 50%;
    /* Ensure the image section only takes half the width */
    text-align: right;
}

.program-image {
    width: 100%;
    /* Force image to fit its container */
    max-width: 400px;
    /* Prevent image from getting too large */
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Call-to-Action Styling */
.centered-call-to-action {
    font-size: 1.3rem;
    color: #000;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    text-align: center;
}

.steps-container {
    background-color: black;
    padding: 30px 0;
}

.steps-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.steps-col {
    /* margin-bottom: 30px; */
    /* Ensures proper spacing between rows on smaller screens */
    text-align: center;
    /* Center-aligns text inside each column */
}

.steps-circle {
    width: 150px;
    height: 150px;
    background-color: #FF0000;
    color: white;
    font-size: 7rem;
    font-weight: bold;
    line-height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;

}

.steps-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    max-width: 160px;
    /* Ensures the text wraps */
    margin: 0 auto;
    /* Centers the text block under the circle */
    word-break: break-word;
    /* Prevents overflow */
    text-align: center;
    /* Explicitly centers the text */
}

/* Full Width Section Styling */
.full-width-section {
    width: 100%;
    background-color: #cc0202;
    /* Red background */
    color: white;
}

.text-column {
    padding: 40px;
}

.text-heading {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.full-width-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Right Image Styling */
.image-column img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


.benefit-card {
    background-color: #000;
    /* Black background */
    color: #fff;
    /* White text */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    min-height: 300px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.program-highlights-row {
    background-color: #cc0202;
    /* Matches the red background */
    color: white;
}

.highlight-item img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add a subtle shadow to the images */
}

.highlight-item p {
    margin-top: 10px;
    font-size: 26px;
}

.custom-navbar {
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-brand {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
}

.custom-phone-link {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.custom-phone-icon {
    margin-right: 0.5rem;
}

.about-hero-section {
    position: relative;
    max-height: 510px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
}

/* Background Styling */
.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Gully.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    filter: brightness(0.4);
    /* Dark overlay effect */
}

/* Heading */
.about-hero-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Subheading */
.about-hero-subheading {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Location Text */
.about-hero-location {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 10px;
}


.instructor-card {
    position: relative;
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.instructor-img-container {
    width: 210px;
    height: 250px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 8px;
}

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

.instructor-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
    color: #333;
}

.instructor-rank {
    background-color: #ffc107;
    color: #000;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    margin-top: 5px;
    display: inline-block;
}

.instructor-bio {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 8px;
}

/* CTA Section */
.about-page-cta-section {
    position: relative;
    color: white;
    padding: 0 0 50px 0;
    text-align: center;
    overflow: hidden;
}

/* Triangle Bottom */
.triangle-bottom {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 100vw solid transparent;
    border-right: 100vw solid transparent;
    border-top: 50px solid #212529;
    /* Change this to white */
    transform: translateX(-50%);
}



/* Heading */
.about-page-cta-heading {
    font-size: 2rem;
    font-weight: 700;
}

/* Subheading */
.about-page-cta-subheading {
    font-size: 1.5rem;
}

/* Description */
.about-page-cta-description {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Divider */
.about-page-cta-divider {
    border-color: white;
    width: 60%;
    margin: auto;
}

/* Program Selection Heading */
.about-page-cta-selection-heading {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Buttons */
.about-page-cta-buttons .btn {
    width: 150px;
    padding: 10px 0;
}

/* About Hero Section */
.trial-box {
    color: white;
    padding: 40px;
    text-align: center;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trial-box h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.trial-box .title {
    font-size: 48px;
    font-weight: bold;
}

.trial-box p {
    margin: 15px 0;
}

.trial-box a {
    text-decoration: none;
    color: white;
    background-color: #dc3545;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
}



.grid-container {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.trial-header {
    background-image: url('https://via.placeholder.com/1500x600');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.trial-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Overlay color */
    z-index: 1;
}

.trial-header .container {
    position: relative;
    z-index: 2;
}


.info-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.info-box img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}

.info-text {
    padding: 20px;
}

.info-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-text p {
    font-size: 1rem;
    color: #333;
}

.hours,
.locations,
.form-section,
.map-section {
    margin-bottom: 40px;
}

.card {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 0.5rem;
}

.contact-btn-submit {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 10px 20px;
}

.contact-btn-submit:hover {
    background-color: #b71c1c;
}

iframe {
    border: none;
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
}

.card-title {
    font-size: 1rem;
    font-weight: bold;
}

.map-box {
    margin-top: 10px;
}

.step-header {
    background-color: #00164e;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.step-header div {
    display: inline-block;
    margin: 0 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.step-header div.active {
    color: #ff0000;
}

.offer-section {
    text-align: center;
    padding: 30px 20px;
}

.offer-section h2 {
    font-size: 1.8rem;
    color: #ff0000;
    margin-bottom: 15px;
}

.offer-card {
    background-color: #0073a5;
    color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.offer-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.offer-card p {
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 15px;
}

.offer-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.offer-card ul li {
    margin-bottom: 10px;
}

.selected-btn {
    background-color: white;
    color: #0073a5;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-section {
    text-align: center;
    padding: 20px 20px 50px;
}

.form-section h3 {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 5px;
    margin-bottom: 15px;
}

.checkbox-section {
    text-align: left;
    margin-bottom: 20px;
}

.checkbox-section input {
    margin-right: 10px;
}

.submit-btn {
    background-color: #0073a5;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.terms {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 20px;
}

.terms a {
    color: #0073a5;
    text-decoration: none;
}

.video-row {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}
.video-container {
    position: relative;
    padding-top: 56.25%; /* Aspect ratio 16:9 */
    overflow: hidden;
    border-radius: 10px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-title {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.5rem;
}
.video-subtitle {
    text-align: center;
    color: #6c757d;
    margin-top: 5px;
}

@media (min-width: 768px) {
    .info-box {
        flex-direction: row;
    }

    .info-text,
    .info-box img {
        flex: 1 1 45%;
    }

    .info-box:nth-child(2) {
        flex-direction: row-reverse;
        /* Adjusts the order for this specific box */
    }

}

@media (max-width: 767px) {
    .info-box {
        flex-direction: column;
    }

    .info-box img {
        max-height: 250px;
    }

    .info-text {
        text-align: center;
    }

    .info-box:nth-child(odd) .info-text {
        order: 1;
    }

    .info-box:nth-child(odd) img {
        order: 2;
    }

    .info-box:nth-child(even) .info-text {
        order: 2;
    }

    .info-box:nth-child(even) img {
        order: 1;
    }

}

@media (max-width: 576px) {
    .trial-header {
        padding: 50px 0;
    }

    .info-box img {
        max-height: 200px;
    }

    .info-text h3 {
        font-size: 1.25rem;
    }
}


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

@media (max-width: 576px) {
    .custom-brand {
        font-size: 0.9rem;
    }

    .custom-phone-link {
        font-size: 0.8rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .text-column {
        padding: 20px;
        text-align: center;
    }

    .image-column img {
        margin-top: 20px;
    }
}


@media (max-width: 768px) {
    .steps-circle {
        width: 100px;
        height: 100px;
        font-size: 3rem;
        line-height: 100px;
    }

    .steps-text {
        font-size: 1rem;
        max-width: 120px;
        /* Adjusts text width for smaller screens */
    }
}


/* Prevent Stacking on Smaller Screens */
@media (max-width: 767px) {
    .d-flex {
        flex-wrap: nowrap;
        /* Force side-by-side on small screens */
        overflow-x: auto;
        /* Allow horizontal scrolling if content overflows */
    }

    .text-section,
    .image-section {
        flex: 0 0 auto;
        /* Prevent shrinking and ensure fixed width */
        max-width: 50%;
        /* Maintain equal widths */
    }

    .program-image {
        max-width: 100%;
        /* Ensure it fits within its container */
    }
}





@media (max-width: 768px) {
    .program-hero-content {
        flex-direction: column;
    }

    .program-hero-image {
        display: none;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .program-hero-text {
        max-width: 80%;
    }
}


@media (max-width: 768px) {
    .horizontal-line {
        display: none;
    }
}
