/* ===================================
   MODERN HERO SECTION STYLES
   Clean, Animated, Professional Design
   =================================== */

/* Hero Container */
.hero-modern {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* Background Slider Wrapper */
.hero-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual Slides */
.hero-slide-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.hero-slide-modern.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Gradient Overlay - Removed to show images clearly */
.hero-overlay {
    display: none;
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 90%;
    animation-delay: 3s;
    animation-duration: 16s;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translate(50px, -100px) scale(1.5);
        opacity: 0.8;
    }

    90% {
        opacity: 1;
    }
}

/* Hero Content */
.hero-content-modern {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 2rem;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero-badge i {
    color: #ffd700;
    font-size: 1rem;
}

/* Hero Heading */
.hero-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-heading-line {
    display: block;
    animation: fadeInUp 1s ease both;
}

.hero-heading-line:first-child {
    animation-delay: 0.4s;
}

.hero-heading-line:last-child {
    animation-delay: 0.6s;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #00ffcc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.8s both;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00ffcc, #009688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.feature-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.2s both;
}

/* Minimal CTA Container - Only Buttons */
.hero-cta-minimal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s both;
    margin-top: 60vh;
    /* Position buttons in lower portion of hero */
}

.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #105c9d 0%, #009688 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(16, 92, 157, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 92, 157, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #105c9d;
    color: #105c9d;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-hero-secondary:hover {
    background: #105c9d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 92, 157, 0.3);
    border-color: #105c9d;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-hero-primary:hover .btn-shine {
    left: 100%;
}

/* Slider Navigation - Hidden (Auto-play only) */
.hero-slider-nav {
    display: none;
}

.slider-nav-btn.prev-slide,
.slider-nav-btn.next-slide {
    display: none;
}

/* Slider Dots Container - Below Buttons */
.slider-dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.dot-modern {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.dot-modern:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
    border-color: #fff;
}

.dot-modern.active {
    background: #00ffcc;
    border-color: #00ffcc;
    width: 40px;
    border-radius: 10px;
}

.dot-modern:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    animation: fadeIn 1s ease 1.6s both;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite ease-in-out;
}

@keyframes scroll-wheel {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(15px);
        opacity: 0.5;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-features {
        gap: 1.5rem;
    }

    /* Tablet - Keep images covering the area */
    .hero-slide-modern {
        background-position: center center;
        background-size: cover;
    }

    .hero-cta-minimal {
        margin-top: 55vh;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        display: flex;
        flex-direction: column;
        background: #0a1628;
    }

    .hero-slider-wrapper {
        position: relative;
        width: 100%;
        /* Generous padding to show FULL image - increase this value if image still crops */
        padding-bottom: 85%;
        /* ~85% gives room for most banner images to display fully */
        height: 0;
        overflow: hidden;
        background-color: #0a1628;
    }

    /* Mobile - Show 100% COMPLETE image - NO cropping at all */
    .hero-slide-modern {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center center;
        background-size: contain;
        /* CONTAIN = shows full image, no cropping */
        background-repeat: no-repeat;
    }

    .hero-content-modern {
        position: relative;
        width: 100%;
        padding: 2rem 1rem;
        background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(16, 92, 157, 0.9) 100%);
    }

    .hero-inner {
        margin: 0 auto;
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-feature {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta-minimal {
        margin-top: 0;
        padding: 0;
        gap: 1rem;
    }

    .btn-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-slider-nav {
        bottom: 2rem;
        gap: 1rem;
    }

    .slider-nav-btn.prev-slide {
        left: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .slider-nav-btn.next-slide {
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .slider-dots-container {
        margin-top: 1.5rem;
    }

    .dot-modern {
        width: 10px;
        height: 10px;
    }

    .dot-modern.active {
        width: 30px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-modern {
        min-height: auto;
        background: #0a1628;
    }

    .hero-slider-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 90%;
        /* Slightly more height for smaller screens */
        height: 0;
        overflow: hidden;
    }

    /* Small mobile - Show FULL image without cropping */
    .hero-slide-modern {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .hero-content-modern {
        padding: 1.5rem 1rem;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .feature-text strong {
        font-size: 1rem;
    }

    .hero-cta-minimal {
        margin-top: 0;
        gap: 0.8rem;
        padding: 0;
    }

    .btn-hero {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        width: auto;
        min-width: 200px;
        max-width: 280px;
    }

    .slider-nav-btn.prev-slide,
    .slider-nav-btn.next-slide {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-nav-btn.prev-slide {
        left: 0.5rem;
    }

    .slider-nav-btn.next-slide {
        right: 0.5rem;
    }

    .slider-dots-container {
        gap: 0.75rem;
        margin-top: 1.2rem;
    }

    .dot-modern {
        width: 8px;
        height: 8px;
    }

    .dot-modern.active {
        width: 24px;
    }

    .hero-content-modern {
        padding: 1rem;
    }
}

/* Extra small devices - iPhone SE, etc. */
@media (max-width: 375px) {
    .hero-slider-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 95%;
        height: 0;
        overflow: hidden;
    }

    .hero-slide-modern {
        background-position: center center;
        background-size: contain;
    }

    .hero-cta-minimal {
        margin-top: 0;
    }

    .btn-hero {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        min-width: 180px;
    }

    .slider-dots-container {
        gap: 0.5rem;
    }

    .hero-content-modern {
        padding: 1rem 0.75rem;
    }
}

/* Landscape mode on mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-modern {
        flex-direction: row;
        min-height: 100vh;
    }

    .hero-slider-wrapper {
        width: 60%;
        height: 100vh;
        aspect-ratio: auto;
    }

    .hero-slide-modern {
        background-position: top center;
        background-size: contain;
    }

    .hero-content-modern {
        width: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-cta-minimal {
        margin-top: 0;
    }

    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .slider-dots-container {
        margin-top: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .hero-slide-modern,
    .hero-badge,
    .hero-heading-line,
    .hero-description,
    .hero-features,
    .hero-cta,
    .hero-slider-nav,
    .scroll-indicator {
        animation: none;
        transition: none;
    }

    .particle {
        display: none;
    }
}