/* ===== PARALLAX COMPONENT ===== */
.parallax-video-container {
    position: relative;
    width: 100vw;
    height: 71vh;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    left: 0;
}

.parallax-video-container video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 71vh;
    object-fit: cover;
    object-position: center top;
    z-index: -1;
    filter: brightness(0.9);
    pointer-events: none;
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUpFadeIn 1.5s cubic-bezier(.61,-0.17,.43,1.31) 0.3s forwards;
    padding: 0 20px;
}

@keyframes slideUpFadeIn {
    0% { opacity: 0; transform: translateY(100%); }
    60% { opacity: 1; transform: translateY(-10%); }
    100% { opacity: 1; transform: translateY(0); }
}

.contact-overlay-box {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 90px auto 0; /* Added 100px top margin */
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.contact-overlay-box h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.after-parallax {
    background: #f6f6f6;
    padding: 10px 0 30px;
    position: relative;
    z-index: 2;
}

/* ===== CONTENT SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #0d1b2a;
}

/* ===== ICON BOXES ===== */
.icon-box {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon-box i {
    font-size: 2.5rem;
    color: #1965e4;
    margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.gallery-img-container {
    padding: 0.75rem;
}

.gallery-img {
    border-radius: 8px;
    transition: transform 0.3s;
    width: 100%;
    height: auto;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* ===== CONTACT VIDEO ===== */
.contact-video {
    position: relative;
    height: 30vh;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.contact-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contact-video .overlay {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive adjustments for components */
@media (max-width: 992px) {
    .parallax-video-container,
    .parallax-video-container video {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .parallax-video-container,
    .parallax-video-container video {
        height: 50vh;
    }

    .contact-overlay-box,
    .contact-video .overlay {
        padding: 1.5rem;
        width: 90%;
    }

    .icon-box {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .parallax-video-container,
    .parallax-video-container video {
        height: 45vh;
    }

    .contact-video {
        min-height: 180px;
    }
}