.carousel .carousel-indicators button {
    padding: 5px;
    width: 1px;
    height: 1px;
    border-radius: 50px;
    border: none;
    margin: 4px;
    background-color: white;
}

/* Video container specific styling - auto height with aspect ratio */
.video-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Maintains video aspect ratio */
    overflow: hidden;
}

/* Ensure YouTube iframe is clickable and not blocked by carousel controls */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto; /* Ensure video controls are clickable */
    z-index: 1; /* Place iframe above any potential overlays */
}

/* Hide carousel controls when video is active to prevent interference */
.carousel-item.active .carousel-control-prev,
.carousel-item.active .carousel-control-next {
    display: none;
}

/* Show carousel controls for non-video items */
.carousel-item:not(.active) .carousel-control-prev,
.carousel-item:not(.active) .carousel-control-next {
    display: block;
}

/* Hide carousel indicators when video slide is active - handled by JavaScript */
.carousel-indicators.hidden {
    display: none !important;
}


.carousel-indicators .active {
    background-color: black;
}

.carousel-control-next, .carousel-control-prev {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    border: none;
    border-radius: 4px;
    width: 50px;
    height: 50px;
    opacity: 0.8;
    transition: all 0.3s ease;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Perfect vertical centering */
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-next:hover, .carousel-control-prev:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Darker on hover */
    opacity: 1;
    transform: translateY(-50%) scale(1.05); /* Maintain vertical centering with scale */
}
.carousel-indicators .carousel-item img{
    cursor: pointer;
}
/*Section 2*/
.row .col-4 img {
    width: 100%;
    height: auto;
    transition: all 0.3s;
    padding: 0;
    margin: 0;
}

.hover-zoom {
    overflow: hidden;
}

.row .col-4 img:hover {
    transform: scale(1.1);
}


.model-page-footer .col {
    margin: 10px;
    background-color: #e7e7e7;
}

.model-page-footer .col a {

    text-decoration: none;
    color: black;
}

.model-page-footer .custom-icon {
    width: 2em;
    margin-bottom: 20px;
}

@media screen and (min-width: 601px) {
    .section-two-carousel {
        display: none;
    }

    .section-two {
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .section-two-carousel {
        display: block;
    }

    .section-two {
        display: none;
    }
}

.brochure-modal .brochure-image { 
    max-height: 90vh;
    width: auto;
}

.brochure-modal .modal-header {
    border-bottom: none;
}

.brochure-modal .modal-content {
    background-color: transparent;
    border: none;
}

.model-page-footer .row .model-footer-col-block {
    background-color: red;
    border-radius: 5px;
}

.model-page-footer .row .model-footer-col-block h6,.model-page-footer .row .model-footer-col-block img {
    filter: brightness(0) invert(1);
}

/* Additional Slider Section */
.additional-slider-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin: 2rem 0;
}

.additional-slider-section h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 2rem;
}

.additional-slider-section .carousel-item {
    padding: 2rem 0;
    min-height: 300px;
}

.additional-slider-section .carousel-item h4 {
    color: #dc3545;
    font-weight: 700;
    margin-bottom: 1rem;
}

.additional-slider-section .carousel-item p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.additional-slider-section .btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.additional-slider-section .btn-primary:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.additional-slider-section .carousel-indicators {
    bottom: -50px;
}

.additional-slider-section .carousel-indicators button {
    background-color: #dc3545;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 5px;
}

.additional-slider-section .carousel-indicators .active {
    background-color: #333;
}

.additional-slider-section .carousel-control-prev,
.additional-slider-section .carousel-control-next {
    width: 5%;
    color: #dc3545;
}

.additional-slider-section .carousel-control-prev-icon,
.additional-slider-section .carousel-control-next-icon {
    background-color: #dc3545;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .additional-slider-section .carousel-item {
        text-align: center;
    }
    
    .additional-slider-section .carousel-item .col-md-6:first-child {
        margin-bottom: 2rem;
    }
    
    .additional-slider-section h3 {
        font-size: 1.5rem;
    }
    
    .additional-slider-section .carousel-item h4 {
        font-size: 1.3rem;
    }
}

/**/
