/* ////////banner/////////////////// */

.banner {
            width: 100%;
            height: 400px;
            background-image: url('images/About-back-img.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        
        
        .breadcrumb {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 15px 25px;
            border-radius: 30px;
            z-index: 1;
            margin-top: 80px;
        }
        
        .breadcrumb a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        
        .breadcrumb a:hover {
            color: #000;
        }
        
        .breadcrumb-separator {
            margin: 0 10px;
            color: #333;
            font-size: 18px;
        }
        
        .breadcrumb-current {
            color: #333;
            font-size: 18px;
            font-weight: bold;
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .banner {
                height: 400px;
            }
            
            .breadcrumb {
                padding: 12px 20px;
            }
            
            .breadcrumb a,
            .breadcrumb-separator,
            .breadcrumb-current {
                font-size: 16px;
            }
        }
        



        /* ////////////video gallery//////// */


         .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Heading Style */
        .container h2 {
            font-size: 2rem; /* ~40px */
            font-weight: 500;
            text-align: center;
            margin-bottom: 40px;
            color: #303030; 
            padding: 30px 0;
        }

        /* Video Grid Layout */
        .video-grid {
            display: grid;
            gap: 24px; /* Gap between video cards */
        }

        /* Responsive Grid Columns */
        /* Small screens (default: 1 column) */
        @media (max-width: 639px) {
            .video-grid {
                grid-template-columns: repeat(1, 1fr);
            }
        }
        /* Medium screens */
        @media (min-width: 640px) and (max-width: 1023px) {
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        /* Large screens */
        @media (min-width: 1024px) {
            .video-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Video Card Styles */
        .video-card {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease-in-out; /* Smooth hover effects */
        }

        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        /* Thumbnail Wrapper for 16:9 aspect ratio */
        .thumbnail-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
            overflow: hidden;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }

        .thumbnail-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures image covers the area */
        }

        /* Play Icon Overlay */
        .play-icon {
            position: absolute;
            inset: 0; /* top, right, bottom, left to 0 */
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent background */
            opacity: 0; /* Hidden by default */
            transition: opacity 0.3s ease;
        }

        .video-card:hover .play-icon {
            opacity: 1; /* Show on hover */
        }

        .play-icon svg {
            width: 64px; /* 16*4px */
            height: 64px;
            color: #fff;
        }

        /* Video Title */
        .video-card .p-4 {
            padding: 16px; /* 1rem */
        }

        .video-card h3 {
            font-size: 1.125rem; /* ~18px */
            font-weight: 600; /* semi-bold */
            color: #2d3748; /* Darker gray */
            line-height: 1.4;
            margin: 0;
        }

        /* Video Overlay Modal Styles */
        .overlay {
            display: none; /* Hidden by default */
            position: fixed; /* Stay in place */
            z-index: 1000; /* Sit on top of everything */
            left: 0;
            top: 0;
            width: 100%; /* Full width */
            height: 100%; /* Full height */
            background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
            justify-content: center; /* Center content horizontally */
            align-items: center; /* Center content vertically */
        }

        .overlay.modal-visible {
            display: flex; /* Show when active */
        }

        .overlay-content {
            position: relative;
            /* padding: 20px; */
            border-radius: 12px;
            width: 90%; /* Responsive width */
            max-width: 900px; /* Max width for large screens */
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            animation: fadeIn 0.3s ease-out; /* Smooth animation */
            box-sizing: border-box; /* Include padding in width */
        }

        /* Close Button */
        .close-button {
            color: #aaa;
            position: absolute;
            top: 10px;
            right: 20px;
            font-size: 36px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .close-button:hover,
        .close-button:focus {
            color: #333;
            text-decoration: none;
        }

        /* Video Container for 16:9 aspect ratio within overlay */
        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
            border-radius: 8px; /* Rounded corners for the iframe */
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0; /* No iframe border */
        }

        /* Keyframe Animation for Overlay */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }