:root {
    /* Changed font to Comic Sans MS as requested */
    --heading-font: "Comic Sans MS", cursive, sans-serif;
    --body-font: "Comic Sans MS", 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: 100vh;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    padding: 0.5rem 0 2rem 0; /* Further reduced top padding */
    overflow: hidden; /* Prevents scrollbars from appearing */
}

.carousel-caption-custom {
    position: static;
    height: 100%;
}

.text-content {
    padding-left: 5rem;
    text-align: left;
}

.text-content h1 {
    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 {
    color: #198897;
}
.text-content h1 .title-part-2 {
    color: #ff7e00;
}

.text-content .subtitle {
    font-size: 1.2rem;
    font-weight: bold !important;;
    margin-bottom: 1rem;

    font-family: 'Comic Sans MS', cursive, 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', cursive, 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);
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:hover {
    transform: translateY(-2px);
    color: white;
    background-color: var(--btn-green);
}

.btn-green {
    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; /* Reduced max-width */
    border: 2px solid #228da1; /* Added border */
}

.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;
}

/* 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) {
    .text-content h1 {
        font-size: 2.8rem;
    }
    .text-content .subtitle {
        font-size: 1.20rem;
        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) {
    .text-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .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);
    }
    .carousel,
    .carousel-inner,
    .carousel-item {
        height: auto;
        min-height: 100vh;
        padding-top: 20px;
        padding-bottom: 4rem;
    }
    .text-content {
        padding-left: 2rem;
    }
}

@media (max-width: 768px) {
    .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) {
    .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;
    }
}
