.youtube-video-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* Maintains perfect 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
        margin-bottom: 20px;
        border-radius: 5px; /* Optional: adds slightly rounded corners */
    }

    .youtube-video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

  .video-title {
        color: rgb(51, 51, 51);
        display: block;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 17px;
        font-weight: 500;
        letter-spacing: 0.2px;
        line-height: 19.8px;
        list-style: none; /* Covering the list-style properties from your image */
        margin-bottom: 22px; 
        margin-top: 15px;
        min-height: 40px; /* Keeps the heights uniform for multiline titles */
    }

    .custom-slider-wrapper {
        position: relative;
        width: 100%;
        max-width: 600px;
        margin: 0 0 30px 0;
        overflow: hidden;
        border-radius: 5px;
    }
    .custom-slider-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
        width: 100%;
    }
    .custom-slider-track img {
        width: 100%;
        max-height: 350px;
        object-fit: contain;
        flex-shrink: 0;
    }
    .custom-slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        cursor: pointer;
        padding: 9px 18px;
        font-size: 20px;
        border-radius: 50%;
        z-index: 10;
    }
    .custom-slider-btn:hover {
        background-color: #4fc0aa;
    }
    .custom-slider-prev {
        left: 10px; 
    }
    .custom-slider-next {
        right: 10px;
    }

.custom-heading {
    color: rgb(62, 62, 62);
    display: block;
    font-family: Roboto, sans-serif;
    font-size: 30px !important;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.3 !important; /* Updated to prevent overlapping text */
    list-style-type: none;
    margin-block-end: 0px; 
    
    /* NEW: Left Accent Border */
    border-left: 6px solid #4ebfa9; /* Change color to match your website theme */
    padding-left: 15px; /* Adds space between the line and the text */
}

.custom-text {
    color: rgb(0, 0, 0);
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    letter-spacing: 0.2px;
    line-height: 22px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin-block-start: 20px; /* Same as margin-top: 20px */
    margin-block-end: 10px;   /* Same as margin-bottom: 10px */
}

/* === FULLSCREEN MODAL CSS === */
/* === FULLSCREEN MODAL CSS === */
.custom-image-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: hidden; /* Hide scrollbars in fullscreen */
    background-color: rgba(0, 0, 0, 0.92); 
}

.custom-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh; 
    object-fit: contain;
    border-radius: 5px;
    animation: zoomIn 0.3s ease; 
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.custom-modal-close:hover {
    color: #d9534f; /* Adds a nice red hover effect */
}

/* New Navigation Buttons */
.custom-modal-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 35px;
    transition: 0.3s;
    border-radius: 3px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    z-index: 10000;
}

.custom-modal-prev {
    left: 20px;
}

.custom-modal-next {
    right: 20px;
}

.custom-modal-nav:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.custom-slider-track img {
    cursor: pointer; 
}

@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;} 
    to {transform: scale(1); opacity: 1;}
}

/* Disabled state for modal arrows */
.custom-modal-nav.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    background-color: rgba(0, 0, 0, 0.2);
}

.custom-modal-nav.disabled:hover {
    background-color: rgba(0, 0, 0, 0.2); /* Prevents the hover effect */
}