@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap');

/* Slider Container */
.iisauh-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Adjust height as needed */
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

/* Slide Styles */
.iisauh-hero-slider .iisauh-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align text to left */
    padding: 0 10%;
    /* Responsive padding */
    box-sizing: border-box;
    z-index: 1;
}

.iisauh-hero-slider .iisauh-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: 1;
}

.iisauh-hero-slider .iisauh-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Slide Content */
.iisauh-hero-slider .iisauh-slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 600px;
}

/* Text Animations - Initial State */
.iisauh-hero-slider .iisauh-slide-content h2,
.iisauh-hero-slider .iisauh-slide-content p,
.iisauh-hero-slider .iisauh-slide-content .iisauh-btn {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

/* Text Animations - Active State */
.iisauh-hero-slider .iisauh-slide.active .iisauh-slide-content h2 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.iisauh-hero-slider .iisauh-slide.active .iisauh-slide-content p {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.6s;
}

.iisauh-hero-slider .iisauh-slide.active .iisauh-slide-content .iisauh-btn {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.9s;
}



/* Typography */
.iisauh-hero-slider .iisauh-slide-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    /* Responsive size removed as per request */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    /* Space for accent line */

    /* Gradient Text */
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    /* Text Shadow Alternative for transparent text */
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Accent Line */
.iisauh-hero-slider .iisauh-slide-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 6px;
    background: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.iisauh-hero-slider .iisauh-slide-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
    padding-left: 25px;
    /* Align with title */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Button Style */
.iisauh-hero-slider .iisauh-btn {
    display: inline-block;
    padding: 15px 35px;
    /* Multi-color Gradient - Teal/Cyan (based on attachment) */
    background: linear-gradient(45deg, #02AAB0 0%, #00CDAC 51%, #02AAB0 100%);
    background-size: 200% auto;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    /* Rounded pill shape for modern look */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.iisauh-hero-slider .iisauh-btn:hover {
    background-position: right center;
    /* change the direction of the change here */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.iisauh-hero-slider .iisauh-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Navigation Arrows */
.iisauh-hero-slider .iisauh-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 100;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: none;
    /* Allow clicks through empty space */
}

.iisauh-hero-slider .iisauh-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    /* Re-enable clicks on buttons */
}

.iisauh-hero-slider .iisauh-nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .iisauh-hero-slider .iisauh-slide-content h2 {
        font-size: 2.5rem;
    }

    .iisauh-hero-slider .iisauh-slide-content p {
        font-size: 1rem;
    }
}