/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* थोड़ा dark overlay ताकि text और स्पष्ट दिखे */
    background: linear-gradient(
        to right, 
        rgba(0, 0, 0, 0.75), 
        rgba(0, 0, 0, 0.45)
    );
    z-index: 1;
}

/* Text content ऊपर लाने के लिए */
.hero-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-align: center;
}


.hero-carousel .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
    max-width: 600px;
    left: 10%;
    right: auto;
}
.hero-carousel .carousel-caption span {
    color:var(--accent);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.2;
    text-transform: capitalize !important; 
}

.hero-carousel .carousel-caption h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-carousel .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.zoom-effect {
    animation: zoomInOut 20s infinite;
    transform-origin: center;
}

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


/* Categories */
.category-section {
    background-color: var(--secondary);
}

.category-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    height: 350px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card .category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transition: var(--transition);
}

.category-card:hover .category-content {
    background: linear-gradient(to top, rgba(212, 175, 55, 0.8), transparent);
}

.category-card .category-content h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.category-card .category-content p {
    margin-bottom: 0;
    opacity: 0.8;
}

.category-card .btn-explore {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.category-card:hover .btn-explore {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.category-card:hover::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 200px 0;
    position: relative;
    z-index: 1;
    color: #fff;
}

.banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.45);
    z-index: -1;
}
.banner-content {
    position: relative;
    z-index: 2;
}
@supports (-webkit-touch-callout: none) {
    .banner-section {
        background-attachment: scroll !important;
        transform: translateZ(0);
        background-size: cover;
        background-position: center center;
    }
}

.video-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    opacity: 0.6;
}

.video-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(212, 175, 55, 0.15));
    z-index: 1;
}

.video-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
}

.video-banner .banner-content h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.2rem;
    font-weight: 700;
}

.video-banner .banner-content p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.1rem;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .video-banner .banner-content {
        left: 8% !important;
        top: 55% !important;
        transform: translateY(-50%) !important;
        max-width: 90% !important;
    }

    .video-banner .banner-content h2 {
        font-size: 1.8rem !important;
    }

    .video-banner .banner-content p {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .video-banner .banner-content {
        top: 65% !important;
        left: 5% !important;
        transform: translateY(-50%) !important;
        text-align: left !important;
        max-width: 90% !important;
    }

    .video-banner .banner-content h2 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    .video-banner .banner-content p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}

/* Custom 4-banner section with image and hover text */
.custom-banners-section {
    padding: 80px 0;
    background-color: var(--secondary);
}

.custom-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
    cursor: pointer;
}

.custom-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.custom-banner:hover img {
    transform: scale(1.08);
}

.custom-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 1;
}

.custom-banner:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.custom-banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.custom-banner:hover .custom-banner-text {
    transform: translateY(0);
    opacity: 1;
}

.custom-banner-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.custom-banner-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    background-color: var(--secondary);
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: white;
}

.service-card .service-icon i {
    font-size: 2rem;
}

.service-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Social Posts */
.social-post {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 5px;
}

.social-post img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.social-post:hover img {
    transform: scale(1.1);
}

.social-post .social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.social-post:hover .social-overlay {
    opacity: 1;
}

.social-post .social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.5rem;
    transform: scale(0);
    transition: var(--transition);
}

.social-post:hover .social-icon {
    transform: scale(1);
}

/* 🎥 Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 5px;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Zoom on hover */
.social-post:hover video {
    transform: scale(1.1);
}



