/* ===================================
    Hero Section Complete Redesign
    Clean Flexbox Layout with Responsive Design
====================================== */

/* Reset all hero section styles */
#hero-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main hero section container */
#hero-section {
    min-height: 100vh;
    background-color: #003600; /* Keep your green background */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 0 30px 0; /* Top padding for navbar */
}

/* Keep particles and background elements */
#hero-section .background-position-center-top,
#hero-section #particles-style-01,
#hero-section .position-absolute.left-minus-80px {
    /* Keep these as positioned elements */
}

/* Container - flex container */
#hero-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Main row - flex container for two columns */
#hero-section .row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: calc(100vh - 120px);
}

/* Left column - content section */
#hero-section .col-xl-6:first-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
}

/* Right column - image section */
#hero-section .col-xl-6:last-child {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Remove all unnecessary wrapper styles */
#hero-section .position-relative.outside-box-right-10,
#hero-section .hero-image-wrapper,
#hero-section .text-center.w-90 {
    all: unset;
    display: block;
}

/* Image styling */
#hero-section .hero-image-responsive {
    width: 100%;
    max-width: 650px;
    height: auto;
    display: block;
}

/* Partnership banner */
#hero-section .partnership-banner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 5px;
}

#hero-section .partnership-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

#hero-section .partnership-text,
#hero-section .service-text {
    color: #ffffff;
    font-size: 12px !important;
    margin: 0;
}

#hero-section .axon-logo {
    height: 20px;
}

#hero-section .axon-logo img {
    height: 100%;
    width: auto;
}

/* Hero title - Override clamp() from index.css */
#hero-section .hero-title-responsive,
#hero-section span.hero-title-responsive,
#hero-section .alt-font.hero-title-responsive {
    color: #ffffff;
    font-size: 38px !important;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    display: block;
}

/* Hero subtitle - Override clamp() from index.css */
#hero-section .fs-18.fw-300,
#hero-section span.fs-18.fw-300 {
    color: #ffffff;
    font-size: 16px !important;
    opacity: 0.8;
    line-height: 1.4;
}

/* Buttons container */
#hero-section .overflow-hidden {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 5px 0;
}

/* Button styles */
#hero-section .btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

#hero-section .btn-base-color {
    background-color: #d5d52b;
    color: #003600;
}

#hero-section .btn-base-color:hover {
    background-color: #c4c41a;
}

/* Join Free button specific styling */
#hero-section .btn-extra-large {
    padding: 14px 28px;
    font-size: 18px;
}

#hero-section .btn-extra-large i {
    font-size: 20px;
}

#hero-section .btn-link {
    color: #ffffff;
}

/* Free to join text */
#hero-section .mt-20px {
    color: #ffffff;
    font-size: 13px;
    opacity: 0.8;
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

/* Counter section - make it simple */
#hero-section .counter-style-04 {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    position: static !important;
    width: auto !important;
}

#hero-section .counter-style-04 .col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#hero-section .vertical-counter {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 3px;
}

#hero-section .divider-style-03 {
    width: 50px;
    height: 2px;
    background-color: #d5d52b;
    margin: 0 auto 3px;
}

#hero-section .counter-style-04 span.fw-300 {
    color: #ffffff;
    font-size: 12px;
    opacity: 0.7;
}

/* ===================================
    Responsive Design
====================================== */

/* Tablet view (768px - 991px) */
@media (max-width: 991px) {
    #hero-section .row {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
    }
    
    #hero-section .col-xl-6:first-child,
    #hero-section .col-xl-6:last-child {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    #hero-section .hero-title-responsive {
        font-size: 36px;
        text-align: center;
    }
    
    #hero-section .partnership-banner {
        align-items: center;
    }
    
    #hero-section .counter-style-04 {
        justify-content: center;
    }
    
    #hero-section .hero-image-responsive {
        max-width: 500px;
    }
}

/* Mobile view (less than 768px) */
@media (max-width: 767px) {
    #hero-section {
        padding: 60px 0 30px 0;
    }
    
    #hero-section .hero-title-responsive {
        font-size: 28px;
    }
    
    #hero-section .fs-18.fw-300 {
        font-size: 16px;
    }
    
    #hero-section .vertical-counter {
        font-size: 28px;
    }
    
    #hero-section .counter-style-04 {
        gap: 20px;
    }
    
    #hero-section .overflow-hidden {
        flex-direction: column;
        width: 100%;
    }
    
    #hero-section .btn {
        width: 100%;
        justify-content: center;
    }
    
    #hero-section .hero-image-responsive {
        max-width: 300px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    #hero-section .hero-title-responsive {
        font-size: 24px;
    }
    
    #hero-section .partnership-text,
    #hero-section .service-text {
        font-size: 12px;
    }
    
    #hero-section .axon-logo {
        height: 20px;
    }
}

/* Ensure animations still work */
#hero-section [data-anime] {
    opacity: 1 !important; /* Override animation initial state */
}

/* Override ALL media queries from index.css */
@media (min-width: 992px) {
    body #hero-section .hero-title-responsive,
    body #hero-section span.hero-title-responsive {
        font-size: 38px !important;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    body #hero-section .hero-title-responsive,
    body #hero-section span.hero-title-responsive {
        font-size: 38px !important;
    }
    
    body #hero-section .hero-image-responsive {
        max-width: 650px !important;
    }
}