.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

/* MAIN SLIDE */
.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.40);
}

/* TEXT */
.hero-content {
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 550px;
    opacity: 0;
}

.hero-slide.active .hero-content {
    opacity: 1 !important;
}

.hero-content h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    font-family: 'poppins' sans-serif;
    font-style: italic;
    
}

.hero-content h3 {
    font-size: 35px;
    font-weight: 800;
    color: #fff;
    font-family: 'poppins' sans-serif;

    font-style: italic;
}

.hero-content h4 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    font-family: 'poppins' sans-serif;

    font-style: italic;
}


.hero-btn {
    background: linear-gradient(to right, #003A66, #E02454);
    padding: 10px 26px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: absolute;
    top: 99%;
}

/* TEXT WORD ANIMATION */
.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: wordUp 0.55s forwards ease-out;
}

@keyframes wordUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* INACTIVE SLIDES */
.hero-slide:not(.active) .hero-content { opacity: 0 !important; }

/* ----------------------------- */
/* IMAGE ANIMATIONS (NEW PART)   */
/* ----------------------------- */

/* SLIDE 1 → Image Right to Center */
.hero-slide:nth-child(1).active {
    animation: slideRightToCenter 6s ease forwards;
}
@keyframes slideRightToCenter {
    0% { background-position: 160% center; }
    100% { background-position: center center; }
}

/* SLIDE 2 → Image Left to Center */
.hero-slide:nth-child(2).active {
    animation: slideLeftToCenter 6s ease forwards;
}
@keyframes slideLeftToCenter {
    0% { background-position: -60% center; }
    100% { background-position: center center; }
}

/* SLIDE 3 → Zoom + Slight Up Motion */
.hero-slide:nth-child(3).active {
    animation: zoomUp 6s ease forwards;
}
@keyframes zoomUp {
    0% {
        background-size: 105%;
        background-position: center 60%;
    }
    100% {
        background-size: 118%;
        background-position: center center;
    }
}

/* IMAGE DOTS */
.hero-img-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-img-dots .img-dot {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 6px;
    border: 3px solid #ffffffad;
    cursor: pointer;
    opacity: 0.9;
    transition: 0.3s;
}

.hero-img-dots .img-dot.active {
    border: 4px solid #E02454;
    transform: scale(1.1);
    opacity: 1;
}

/* MOBILE */
@media(max-width: 768px){
    .hero-slider { height: 65vh; }
    .hero-content h1 { font-size: 34px; }
    .img-dot { width: 40px; height: 40px; }
}

/* IMAGE CONTAINER */
.slide-img {
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    z-index:0;
}

/* SLIDE 1 ANIMATION — Zoom + Left Move */
.hero-slide:nth-child(1).active .slide-img {
    animation: slide1Anim 7s ease forwards;
}
@keyframes slide1Anim {
    0%   { transform: scale(1.15) translateX(60px); }
    100% { transform: scale(1) translateX(0); }
}

/* SLIDE 2 — Zoom + Right Move */
.hero-slide:nth-child(2).active .slide-img {
    animation: slide2Anim 7s ease forwards;
}
@keyframes slide2Anim {
    0%   { transform: scale(1.15) translateX(-60px); }
    100% { transform: scale(1) translateX(0); }
}

/* SLIDE 3 — Parallax Down → Up */
.hero-slide:nth-child(3).active .slide-img {
    animation: slide3Anim 7s ease forwards;
}
@keyframes slide3Anim {
    0%   { transform: scale(1.1) translateY(40px); }
    100% { transform: scale(1) translateY(0); }
}