	.gapp{
		gap:15px;
	}
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden; /* Important to keep everything contained */
}

/* 1. The Container Window */
.hero-clip-window {
    position: absolute;
    inset: 0;
    /* This creates a 'box' that the fixed image cannot leave */
    clip-path: inset(0 0 0 0); 
    z-index: -1;
}

/* 2. The Image Inside the Window */
.hero-media-fixed {
    position: fixed; /* Locks to screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Keeps image inside the clip-path of the parent */
}

.hero-overlay-fixed {
    position: fixed; /* Overlay also stays fixed with the image */
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

/* 3. Text & Fade Logic */
.hero-container {
    position: relative;
    z-index: 2;
}

.fade-scroll {
    animation: fadeOutScroll linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 80%;
}

@keyframes fadeOutScroll {
    to {
        opacity: 0;
        transform: translateY(-60px);
    }
}





/* Mobile: Disable fixed behavior for better performance */
@media (max-width: 991px) {
    .hero-media-fixed, .hero-overlay-fixed {
        position: absolute; /* Image scrolls normally on mobile */
    }
    .hero-clip-window {
        clip-path: none;
    }
}
/* --- Button Group Gap --- */
.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Modern gap property handles both vertical and horizontal spacing */
}

.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 1. The Container Window (Supports Mobile) */
.hero-clip-window {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 0); 
    z-index: -1;
}

/* 2. The Fixed Image (Now enabled for Mobile) */
.hero-media-fixed {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    will-change: transform; /* Helps mobile performance */
}

.hero-overlay-fixed {
    position: fixed; 
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

/* 3. Text & Fade Logic */
.hero-container {
    position: relative;
    z-index: 2;
}

.fade-scroll {
    animation: fadeOutScroll linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 80%;
}

@keyframes fadeOutScroll {
    to {
        opacity: 0;
        transform: translateY(-60px);
    }
}

/* --- Typography & Buttons --- */
.hero-title {
   
    font-size: clamp(45px, 9vw, 116px); /* Slightly smaller start for mobile */
    font-weight: 700;
    color: #fff;
    line-height: 105px;
    margin-bottom: 20px;
	text-shadow:rgba(51, 17, 33, 0.4) 5.1419px 5.1419px 0px;
}

.hero-subtitle {
    
    font-size: clamp(18px, 2.5vw, 30px);
    color: #fff;
    margin-bottom: 30px;
}

.btn-canva {
    background-color: #4A0C2A;
    color: #fff !important;
    padding: 12px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s all ease;
    border: 1px solid #4A0C2A;
    display: inline-block;
}

.btn-canva:hover {
    background-color: #fff;
    color: #4A0C2A !important;
}
.heroimg{
	filter:brightness(1.4) opacity(2.5) ;
}
/* --- Mobile Specific Fixes --- */
@media (max-width: 991px) {
    /* Keeping the fixed effect but ensuring no jittering */
    .hero-media-fixed, .hero-overlay-fixed {
        position: fixed;
        height: 100vh; /* Use vh to ensure it covers the screen */
    }

    .hero-section {
        height: 65vh; /* Adjusting height for mobile viewports */
    }

    .hero-btn-group {
        gap: 15px; /* Ensuring gap exists when buttons stack */
        justify-content: center; /* Centering buttons for mobile looks better */
    }

    .btn-canva {
        width: 100%; /* Makes buttons full width on small phones for better UX */
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
}
