:root {
    /* Changed font to Comic Sans MS as requested */
    --heading-font: "Comic Sans MS", "Comic Neue", sans-serif;
    --body-font: "Comic Sans MS", "Comic Neue", sans-serif;
    --text-color: #404040;
    --btn-green: #299c8e;
    --btn-orange: #ff7e00;
    --heading-orange: #f7931e;
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: var(--body-font);
}

.carousel,
.carousel-inner,
.carousel-item {
    height: auto;
}

/* Fixed banner height so slides don't jump when switching */
#bannerCarousel,
#bannerCarousel .carousel-inner,
#bannerCarousel .carousel-item {
    height: 680px;
}

#bannerCarousel .carousel-item {
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    padding: 4rem 0 5rem;
    min-height: 680px;
    overflow: hidden;
}

/* Only active/transitioning slides may be flex — do not override Bootstrap's display:none */
#bannerCarousel .carousel-item.active,
#bannerCarousel .carousel-item-next,
#bannerCarousel .carousel-item-prev {
    display: flex;
    align-items: center;
}

#bannerCarousel .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
    object-position: center;
}

#bannerCarousel .carousel-caption-custom {
    position: static;
    width: 100%;
    height: 100%;
}

.text-content {
    padding-left: 5rem;
    text-align: left;
}
.dropdown-active-menu {
    display: block;
}
.text-content h1,.text-content h2 {
    font-family: var(--heading-font);
    font-size: 4.2rem;
    color: var(--heading-orange);
    /* New text-shadow for thicker outline */
    text-shadow: -2.5px -2.5px 0 #fff, 2.5px -2.5px 0 #fff, -2.5px 2.5px 0 #fff,
        2.5px 2.5px 0 #fff, 4px 4px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: bold;
}

.text-content h1 .title-part-1 ,.text-content h2 .title-part-1 {
    color: #198897;
    font-family: "Comic Sans MS", "Comic Neue", sans-serif !important;
}
.text-content h1 .title-part-2,.text-content h2 .title-part-2 {
    color: #ff7e00;
    font-family: "Comic Sans MS", "Comic Neue", sans-serif !important;
}

.text-content .subtitle {
    font-size: 1.2rem;
    font-weight: bold !important;
    margin-bottom: 1rem;

    font-family: "Comic Sans MS", "Comic Neue", sans-serif !important;
    color: #198897 !important;
}

.subtitle-block {
    font-size: 1.2rem;
    font-weight: bold;
    color: #198897;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
        1px 1px 0 #fff;
}
.subtitle-block p {
    margin-bottom: 0.25rem;
    font-family: "Comic Sans MS", "Comic Neue", sans-serif !important;
    color: #198897 !important;
    font-weight: 700 !important;
}

.subtitle-block p:last-child {
    margin-bottom: 0;
}

.text-content ul {
    list-style: none;
    padding-left: 0;
}

.text-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 20px;
}

.text-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.btn-custom {
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    color: white;
    font-weight: bold;
    border: none;
    margin-top: 1.5rem;
    transition: transform 0.2s;
    background-color: var(--btn-green);
    font-family: "Comic Sans MS", "Comic Neue", sans-serif !important;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:hover {
    transform: translateY(-2px);
    color: white;
    background-color: var(--btn-green);
}

.btn-green {
    font-family: "Comic Sans MS", "Comic Neue", sans-serif !important;
    background-color: var(--btn-green);
}

.btn-green:hover {
    background-color: var(--btn-green);
    box-shadow: 2px 2px 4px #1988975b;
}

.btn-orange {
    background-color: var(--btn-orange);
    margin-left: 0.5rem;
}

.btn-orange:hover,
.btn-orange:focus,
.btn-orange:hover {
    background-color: var(--btn-orange);
    box-shadow: 2px 2px 4px #f7921e73;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.video-container {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 520px;
    border: 2px solid #228da1;
    /* z-index: 10000; */
}

.video-container h3 {
    font-family: var(--body-font);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: #000; /* Changed to black */
}

.video-container iframe {
    border-radius: 15px;
    width: 100%;
    aspect-ratio: 16/9;
    position:relative;
    z-index:100000;
}

/* Modern Arrow Styles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.9); /* Pure white background */
    border-radius: 50%;
    width: 45px; /* Smaller size */
    height: 45px; /* Smaller size */
    background-size: 50% 50%;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); /* Added box shadow */
    transition: background-color 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff7e00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='15 18 9 12 15 6'%3e%3c/polyline%3e%3c/svg%3e"); /* Bold, orange arrow */
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff7e00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='9 6 15 12 9 18'%3e%3c/polyline%3e%3c/svg%3e"); /* Bold, orange arrow */
}

/* Indicators */
.carousel-indicators button {
    background-color: var(--btn-green) !important;
    opacity: 0.4;
    transition: opacity 0.3s ease-in-out;
}
.carousel-indicators .active {
    opacity: 1;
}
.dropdown-active-menu {
    display: block !important;
}
/* Responsive adjustments */
@media (max-height: 750px) {
    #bannerCarousel,
    #bannerCarousel .carousel-inner,
    #bannerCarousel .carousel-item {
        height: 560px;
        min-height: 560px;
        padding-top: 0;
        padding-bottom: 3rem;
    }
    .text-content h1 ,.text-content h2{
        font-size: 2.8rem;
    }
    .text-content .subtitle {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .subtitle-block {
        font-size: 1rem;
    }
    .text-content ul li {
        font-size: 1rem;
        margin-bottom: 0.2rem;
        font-weight: bold;
    }
    .btn-custom {
        padding: 0.6rem 2rem;
        margin-top: 1rem;
    }
}

@media (max-width: 1200px) {
    #bannerCarousel,
    #bannerCarousel .carousel-inner,
    #bannerCarousel .carousel-item {
        height: 640px;
        min-height: 640px;
    }
    .text-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    #bannerCarousel,
    #bannerCarousel .carousel-inner,
    #bannerCarousel .carousel-item {
        height: 720px;
        min-height: 720px;
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }
    .text-content h1 {
        font-size: 3rem;
        text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
            2px 2px 0 #fff, 3px 3px 5px rgba(0, 0, 0, 0.3);
    }
    .text-content {
        padding-left: 2rem;
    }
}

@media (max-width: 768px) {
    #bannerCarousel,
    #bannerCarousel .carousel-inner,
    #bannerCarousel .carousel-item {
        height: 860px;
        min-height: 860px;
        padding-top: 2.5rem;
        padding-bottom: 3rem;
    }
    .carousel-item {
        text-align: center;
    }
    .text-content {
        padding: 2rem;
        text-align: left;
    }
    .text-content h1 {
        font-size: 2.5rem;
    }
    .video-wrapper {
        padding: 0 1rem 2rem 1rem;
    }
    .carousel-item .row > [class^="col-"] {
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(3px);
        border-radius: 15px;
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    #bannerCarousel,
    #bannerCarousel .carousel-inner,
    #bannerCarousel .carousel-item {
        height: 920px;
        min-height: 920px;
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }
    .text-content h1 {
        font-size: 2.2rem;
    }
    .text-content .subtitle {
        font-size: 1rem;
    }
    .subtitle-block {
        font-size: 1rem;
    }
    .text-content ul li {
        font-size: 0.9rem;
    }
    .btn-custom {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
