 /* Font styling for headings and paragraphs */
 nav,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p,
 strong {
     font-family: "Palatino Linotype", serif !important;
 }

 /* General Layout */
 .container {
     padding: 15px;
 }

 /* Section title */
 .section-title h2 {
     font-family: "Palatino Linotype", serif;
     font-size: 28px;
     color: #fff;
     margin-bottom: 15px;
 }

 /* Video Player Container */
 .video-player-container {
     position: relative;
     max-width: 100%;
     margin: 15px auto;
     background-color: #000;
     overflow: hidden;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
 }

 /* Main Video Player */
 #mainPlayer {
     width: 99%;
     min-height: 400px;
     margin-right: 2px;
     background-color: black;
     /* border-radius: 2px;
border: 1px solid white; */
     transition: all 0.3s ease;
      object-fit: cover;
 }

 #mainPlayer:hover {
     /* border-color: #007bff; */
     transform: scale(1.05);
     box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
 }

 /* Pause Icon */
 .pause-icon {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: 80px;
     opacity: 0.8;
     pointer-events: none;
     transition: opacity 0.3s ease;
 }

 .pause-icon img {
     width: 100%;
     filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
 }

 /* Responsive adjustments */



 /* Video Thumbnails */
 .video-thumbnail {
     width: 150px;
     height: 100px;
     border: 1px solid #007bff;
     border-radius: 5px;
     object-fit: cover;
     cursor: pointer;
     margin: 2px 1px;
     /* Keep 2px gap between thumbnails */
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     display: inline-block;
     /* Ensures thumbnails align properly */
     vertical-align: top;
     /* Keeps them aligned */
 }

 .video-thumbnail:hover {
     border-color: #fff;
     transform: scale(1.05);
     box-shadow: 1px rgba(0, 0, 0, 0.2);
 }

 /* Responsive Video Thumbnails */
 @media (max-width: 768px) {
     .video-thumbnail {
         width: 100px;
         height: 68px;
         margin: 2px 1px;
         /* Keep 2px gap between thumbnails */
     }
 }
 @media (max-width: 700px) {
    #mainPlayer {
        min-height: auto;
         object-fit: cover;
         border: none;
    }
}
 @media (max-width: 576px) {
     .video-thumbnail {
         width: 78px;
         height: 48px;
         margin: 2px 1px;
         /* Keep 2px gap between thumbnails */
     }
 }

 @media (max-width: 275px) {
     .video-thumbnail {
         width: 68px;
         height: 44px;
         margin: 2px 1px;
         /* Keep 2px gap between thumbnails */
     }
 }

 /* Row and Column adjustments for responsive layout */

 /* Carousel Controls */
 .carousel-control-prev,
 .carousel-control-next {
     width: 50px;
     height: 50px;
     background-color: rgba(0, 0, 0, 0.5);
     border-radius: 50%;
     top: 50%;
     transform: translateY(-50%);
 }

 /* Fix carousel control positions */
 .carousel-control-prev {
     left: 5px;
 }

 .carousel-control-next {
     right: 5px;
 }

 /* Ensure controls are fixed at the same position */
 .carousel-control-prev,
 .carousel-control-next {
     top: 50%;
     transform: translateY(-50%);
     position: absolute;
     z-index: 10;
 }

 /* Responsive adjustments for smaller screens */
 @media (max-width: 768px) {
     .carousel-control-prev {
         left: 3px;
         /* Adjust left margin for smaller screens */
     }

     .carousel-control-next {
         right: 3px;
         /* Adjust right margin for smaller screens */
     }
 }

 @media (max-width: 576px) {
     .carousel-control-prev {
         left: 1px;
         /* Further reduce left margin for mobile */
     }

     .carousel-control-next {
         right: 1px;
         /* Further reduce right margin for mobile */
     }
 }

 /* Alternatively, use margin-right (mr) if needed */
 @media (max-width: 576px) {
     .carousel-control-prev {
         margin-right: 0px;
         /* Use margin-right for extra spacing if needed */
     }

     .carousel-control-next {
         margin-left: 0px;
         /* Use margin-left for extra spacing if needed */
     }
 }


 /* Ensure that the thumbnails don't shift unexpectedly */
 .video-thumbnail-container {
     white-space: nowrap;
     /* Prevents thumbnails from wrapping */
     overflow-x: auto;
     /* Allows horizontal scroll if necessary */
     display: flex;
     /* Keeps the thumbnails in a straight row */
     justify-content: flex-start;
     /* Ensures thumbnails stay aligned to the left */
 }

 .carousel-control-prev-icon,
 .carousel-control-next-icon {
     background-color: transparent;
 }

 /* Optional: Hover effect for controls */
 .carousel-control-prev:hover,
 .carousel-control-next:hover {
     background-color: rgba(0, 0, 0, 0.7);
 }

 .error-message {
     position: absolute;
     top: 20%;
     left: 53%;
     transform: translate(-50%, -50%);
     color: white;
     font-size: 24px;
     text-align: center;
     background: rgba(0, 0, 0, 0.5);
     padding: 10px;
     border-radius: 5px;
 }

 .video-container {
     position: relative;
     display: inline-block;
     /* To hold the text and poster */
 }
 #videoCarousel {
    max-width: 1200px; /* Adjust this value to fit your design */
    margin: 0 auto; /* Center the carousel */
    
}
#image-display {
    border-radius: 10px;
}
.mbtm {
    padding-bottom: 15px !important;
}
body {
    overflow-x: hidden;
    /* Disable horizontal scrolling */
}