/* Improved Header Styles */
.header-section {
    position: relative;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, #33435a 0%, #2d3c56 100%);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .contact-info a {
    transition: all 0.3s ease;
    font-weight: 500;
}

.top-bar .contact-info a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* Navigation Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.header-logo {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Navbar Toggle Button */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

/* Navigation Links */
.navbar-nav {
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 15px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
    font-weight: 700;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 5px;
    min-width: 200px;
    background: #fff;
    animation: dropdownFadeIn 0.3s ease;
}

.dropdown-item {
    padding: 12px 20px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.dropdown-item:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    transform: translateX(5px);
}

.dropdown-item:active {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Dropdown Animation */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding: 10px 12px !important;
        font-size: 13px;
    }
    
    .dropdown-menu {
        min-width: 180px;
    }
}

@media (max-width: 991.98px) {
    .header-section {
        position: relative;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .header-logo {
        max-height: 45px;
    }
    
    .navbar-collapse {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        margin-top: 15px;
        padding: 20px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 10px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 20px !important;
        border-radius: 8px;
        margin: 2px 0;
        font-size: 16px;
        color: #333333 !important;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: #ffffff;
        margin: 0;
        padding: 0;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .dropdown-item {
        padding: 12px 25px;
        font-size: 15px;
        border-radius: 6px;
        margin: 2px 10px;
        color: #333333 !important;
    }
    
    .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
        transform: none;
        color: #333333 !important;
    }
    
    .top-bar {
        padding: 6px 0;
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        margin-top: 10px;
        padding: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        font-size: 15px;
        color: #333333 !important;
    }
    
    .dropdown-item {
        padding: 10px 20px;
        font-size: 14px;
        color: #333333 !important;
    }
    
    .header-logo {
        max-height: 40px;
    }
    
    .top-bar {
        padding: 5px 0;
        font-size: 12px;
    }
    
    .top-bar .contact-info a {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        padding: 8px 0;
    }
    
    .header-logo {
        max-height: 35px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 12px !important;
        font-size: 14px;
        color: #333333 !important;
    }
    
    .dropdown-item {
        padding: 8px 15px;
        font-size: 13px;
        color: #333333 !important;
    }
    
    .top-bar {
        padding: 4px 0;
        font-size: 11px;
    }
}

/* Body spacing adjustment */
body {
    padding-top: 0;
}

/* Hero section spacing */
.hero-section,
.page-banner,
.page-header,
.banner-section,
.page-title-section,
.inner-banner {
    margin-top: 0 !important;
    padding-top: 60px !important;
    padding-bottom: 80px !important;
}

/* Page content spacing */
.page-content,
.main-content,
section:first-of-type {
    margin-top: 0;
    padding-top: 40px;
}

/* Consistent section spacing */
.container section,
.main-section,
.content-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* About page specific spacing */
.about-hero,
.about-content {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Gallery page spacing */
.gallery-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Contact page spacing */
.contact-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Footer spacing */
.footer-section {
    margin-top: 0;
    padding-top: 50px;
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    .hero-section,
    .page-banner,
    .page-header,
    .banner-section,
    .page-title-section,
    .inner-banner {
        padding-top: 40px !important;
        padding-bottom: 60px !important;
    }
    
    .container section,
    .main-section,
    .content-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .about-hero,
    .about-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .gallery-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .contact-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .footer-section {
        padding-top: 30px;
    }
}

/* Hover effects for desktop */
@media (hover: hover) {
    .navbar-nav .nav-link:hover {
        transform: translateY(-2px);
    }
    
    .dropdown-item:hover {
        transform: translateX(5px);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .navbar-nav .nav-link:active {
        background-color: rgba(220, 53, 69, 0.1);
        transform: scale(0.98);
    }
    
    .dropdown-item:active {
        background-color: rgba(220, 53, 69, 0.2);
        transform: none;
    }
}

/*for the index */
/* Enhanced Checkbox Styling for Index Form */
.form-check {
    display: flex !important;
    align-items: flex-start !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    gap: 12px !important;
}

.form-check-input {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: white !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

.form-check-input:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.form-check-input:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

.form-check-input:hover {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

.form-check-input:focus {
    outline: none !important;
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

.form-check-label {
    color: white !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    flex: 1 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Mobile Responsive for Index Form */
@media (max-width: 768px) {
    .form-check {
        margin: 15px 0 !important;
        gap: 10px !important;
    }

    .form-check-input {
        width: 18px !important;
        height: 18px !important;
        margin-top: 2px !important;
    }

    .form-check-input:checked::after {
        font-size: 11px !important;
    }

    .form-check-label {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 575px) {
    .form-check {
        margin: 12px 0 !important;
        gap: 8px !important;
    }

    .form-check-input {
        width: 16px !important;
        height: 16px !important;
    }

    .form-check-input:checked::after {
        font-size: 10px !important;
    }

    .form-check-label {
        font-size: 12px !important;
    }
}
/* contact page */
   
        /* Custom Checkbox Styling */
        .custom-form-check {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            padding: 0;
        }

        .custom-form-check-input {
            width: 20px;
            height: 20px;
            margin-right: 12px;
            margin-top: 2px;
            flex-shrink: 0;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-color: white;
            border: 2px solid #ddd;
            border-radius: 4px;
            position: relative;
            transition: all 0.3s ease;
        }

        .custom-form-check-input:checked {
            background-color: #dc3545;
            border-color: #dc3545;
        }

        .custom-form-check-input:checked::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

        .custom-form-check-input:hover {
            border-color: #dc3545;
            box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
        }

        .custom-form-check-input:focus {
            outline: none;
            border-color: #dc3545;
            box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
        }

        .custom-form-check-label {
            color: #fff;
            font-size: 14px;
            line-height: 1.4;
            cursor: pointer;
            flex: 1;
        }

        /* Responsive Contact Form */
        @media (max-width: 768px) {
            .contact-form-container {
                padding: 20px !important;
                margin: 15px !important;
            }

            .contact-form-container h2 {
                font-size: 24px !important;
                margin-bottom: 20px !important;
            }

            .form-group {
                margin-bottom: 20px !important;
            }

            .form-group label {
                font-size: 14px !important;
                margin-bottom: 8px !important;
            }

            .form-control {
                padding: 12px 15px !important;
                font-size: 16px !important;
                border-radius: 6px !important;
            }

            .custom-form-check {
                margin-bottom: 15px !important;
                display: flex !important;
                align-items: flex-start !important;
                gap: 10px !important;
            }

            .custom-form-check-input {
                width: 18px !important;
                height: 18px !important;
                margin-right: 0 !important;
                margin-top: 2px !important;
                flex-shrink: 0 !important;
            }

            .custom-form-check-input:checked::after {
                font-size: 11px !important;
            }

            .custom-form-check-label {
                font-size: 13px !important;
                flex: 1 !important;
                margin: 0 !important;
            }

            .submit-btn {
                width: 100% !important;
                padding: 15px !important;
                font-size: 16px !important;
                margin-top: 20px !important;
            }

            .disclaimer {
                font-size: 12px !important;
                margin-top: 15px !important;
                line-height: 1.4 !important;
            }
        }

        /* Improve form spacing */
        .contact-form-container {
            background: rgba(0, 0, 0, 0.8);
            border-radius: 10px;
            padding: 40px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            color: #fff;
            font-weight: 500;
            margin-bottom: 10px;
            display: block;
        }
        
        /* for the gallery page*/

        /* Gallery Section Styling - Reference Website Design */
        .gallery-section {
            background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
            padding: 80px 0 40px 0;
            position: relative;
            overflow: hidden;
        }

        .gallery-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 20% 80%, rgba(220, 53, 69, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(220, 53, 69, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
           /* // pointer-events: none */
        }

        /* Gallery Grid Container */
        .gallery-grid-container {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            width: 100%;
        }

        .gallery-item {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
            transition: all 0.4s ease;
            height: 320px;
            cursor: pointer;
            background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
            border: 2px solid rgba(220, 53, 69, 0.2);
        }

        .gallery-item:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 30px 60px rgba(220, 53, 69, 0.4);
            border-color: rgba(220, 53, 69, 0.6);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: all 0.4s ease;
            filter: brightness(0.9) contrast(1.1);
        }

        .gallery-item:hover img {
            filter: brightness(1.1) contrast(1.2);
            transform: scale(1.1);
        }

        /* Gallery Item Overlay */
        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.4s ease;
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        .gallery-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 5px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        .gallery-subtitle {
            font-size: 12px;
            opacity: 0.9;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }



        /* Custom Navigation Buttons */
        .custom-nav-btn {
            width: 50px;
            height: 50px;
            background: rgba(220, 53, 69, 0.9);
            border-radius: 50%;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .custom-nav-btn:hover {
            background: #dc3545;
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
        }

        .custom-nav-btn::after {
            font-size: 18px;
            font-weight: bold;
        }



        /* Gallery Info Section */
        .gallery-info {
            position: relative;
            z-index: 2;
        }

        .gallery-info h3 {
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        /* Mobile Responsive */
        @media (max-width: 1200px) {
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 18px;
            }

            .gallery-item {
                height: 260px;
            }
        }

        @media (max-width: 992px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }

            .gallery-item {
                height: 240px;
            }
        }

        @media (max-width: 768px) {
            .gallery-section {
                padding: 60px 0;
            }

            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .gallery-item {
                height: 220px;
            }

            .custom-nav-btn {
                width: 40px;
                height: 40px;
            }

            .custom-nav-btn::after {
                font-size: 14px;
            }
        }

        @media (max-width: 576px) {
            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .gallery-item {
                height: 280px;
            }
        }

        @media (max-width: 480px) {
            .gallery-section {
                padding: 40px 0;
            }

            .gallery-grid {
                gap: 15px;
            }

            .gallery-item {
                height: 250px;
            }
        }



        /* Existing styles remain unchanged */
        
        /* Enhanced Video Cards */
        .video-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .video-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            border-color: var(--primary-color, #dc3545);
        }
        
        .video-thumbnail {
            position: relative;
            overflow: hidden;
            border-radius: 15px 15px 0 0;
        }
        
        .video-thumbnail video {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: all 0.5s ease;
            cursor: pointer;
        }
        
        .video-card:hover .video-thumbnail video {
            transform: scale(1.05);
        }
        
        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(220, 53, 69, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .play-button i {
            color: white;
            font-size: 24px;
        }
        
        .video-card:hover .play-button {
            opacity: 1;
        }
        
        .video-info {
            padding: 20px;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
        }
        
        .video-info h4 {
            color: white;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .video-info p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            margin-bottom: 0;
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .video-thumbnail video {
                height: 180px;
            }
        }
        
        @media (max-width: 768px) {
            .video-thumbnail video {
                height: 200px;
            }
        }

        /* Gallery Tabs */
        .gallery-tabs {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        .gallery-tab-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            font-size: 16px;
        }

        .gallery-tab-btn:hover {
            background: rgba(220, 53, 69, 0.2);
            border-color: #dc3545;
            transform: translateY(-2px);
        }

        .gallery-tab-btn.active {
            background: #dc3545;
            border-color: #dc3545;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
        }

        /* Video Grid */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
            padding: 20px 0;
        }

        .video-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .video-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            height: 250px;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 15px;
        }

        .video-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: all 0.3s ease;
        }

        .video-item:hover .video-overlay {
            transform: translateY(0);
        }

        .video-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .video-subtitle {
            font-size: 14px;
            opacity: 0.8;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .video-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .video-wrapper {
                height: 200px;
            }

            .gallery-tabs {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }

            .gallery-tab-btn {
                width: 200px;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .video-wrapper {
                height: 180px;
            }
        }

.navbar-light .navbar-nav .nav-link.active {
    color: #f99900 !important;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #d82332 !important;
}
/* Remove default dropdown caret */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* Custom dropdown icon */
.dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

/* Rotate icon when dropdown is open */
.nav-item.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}
/* Mobile logo size */
@media (max-width: 991.98px) {
  .mobile-logo {
    width: 50px !important;
    height: auto !important;
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

/* Optional: spacing or dropdown shadow */
.navbar-nav .dropdown-menu {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
