/* Subtitle */
.hero-banner .hero-subtitle {
    display: inline-block;
    font-weight: 500;
    margin-bottom: 16px;
    color: #fff;
    font-size: var(--subtitle-font-size, 18px);
}

.hero-banner .hero-subtitle.has-border::before {
    content: "";
    display: inline-block;
    width: 35px;
    height: 6px;
    background-color: var(--subtitle-border-color, currentColor);
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 6px;
}

.hero-short-description {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
}

.yellow-text {
    background: linear-gradient(to right, rgb(249, 187, 45), rgb(247, 138, 30));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.orange-text {
    color: #f15a24;
}

/* Heading */
.hero-banner .hero-heading {
    color: #fff;
    font-size: var(--heading-font-size, 64px);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    position: relative;
}

.hero-description {
    font-size: 14px;
    color: #fff;
    margin-top: 30px;
}

.hero-banner::before {
    content: "";
    position: absolute;
    background: var(--overlay-color, rgba(0, 46, 91, 0.2));
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.btn-primary,
.btn-outline {
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 12px 32px;
}

.btn-primary {
    background-color: var(--secondary-clr);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover-bg, var(--primary-color));
    color: var(--primary-hover-color, #fff);
}

.btn-outline {
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--secondary-hover-bg, #fff);
    color: var(--secondary-hover-color, var(--primary-color));
    border-color: var(--secondary-hover-bg, #fff);
}

/* Button with no border */
.btn.no-border {
    border: none;
}

/* Button with arrow icon */
.btn.has-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* FontAwesome icon specific styling */
.btn-arrow-fa {
    font-size: 16px;
    line-height: 1;
}


.hero-buttons .btn-primary {
    margin-right: 10px;
}

.hero-buttons .btn-primary:hover {
    background-color: #fff;
    color: #f15a24;
    border: 1px solid #f15a24 !important;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    width: 85%;
}

.stat-item {
    color: #fff;
    min-width: 180px;
    flex: 1
}

.stat-item:not(:last-child) {
    border-right: 1px solid
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.stat-item p {
    opacity: .9;
    margin: 0;
    color: #fff;
    font-family: var(--heading-font);
}

/* Stats Style: Bordered Boxes */
.hero-stats--bordered {
    gap: 15px;
}

.hero-stats--bordered .stat-item {
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 10px 10px;
    text-align: center;
    min-width: 150px;
}

.hero-stats--bordered .stat-item:not(:last-child) {
    border-right: 1px solid #fff;
}

.hero-stats--bordered .stat-item h3 {
    font-size: 30px;
    color: var(--secondary-clr, #ff6b35);
    font-weight: 600;
    line-height: 1.3;
}

/* Stats Style: Checkmarks */
.hero-stats--checkmarks {
    gap: 8px;
    margin-top: 30px;
    justify-content: flex-start;
}

.stat-check-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    margin-right: 12px;
}

.stat-check-item .check-icon {
    color: #fff;
    flex-shrink: 0;
}

/* Responsive Styles */

/* Tablet - Medium screens (≤1024px) */
@media (max-width: 1024px) {
    .hero-banner .hero-heading {
        --heading-font-size: 48px;
        font-size: 48px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .stat-item {
        min-width: 150px;
    }

    .hero-stats--bordered .stat-item {
        min-width: 140px;
        padding: 16px 20px;
    }

    .hero-stats--bordered .stat-item h3 {
        font-size: 30px;
    }
}

/* Mobile - Small screens (≤767px) */
@media (max-width: 767px) {
    .hero-banner[style*="--mobile-bg-image"] {
        background-image: var(--mobile-bg-image) !important;
    }

    .hero-banner {
        padding: 60px 20px;
    }
    
    .hero-short-description {
        font-size: 16px;
    }

    .hero-inner {
        max-width: 100%;
    }
    
    .hero-banner .hero-heading {
        --heading-font-size: 36px;
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .hero-buttons .btn:not(:only-child) {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
        width: 100%;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    
    .stat-item h3 {
        font-size: 24px;
    }
    
    .stat-item p {
        font-size: 14px;
    }

    .hero-stats--bordered .stat-item {
        min-width: auto;
    }

    .hero-stats--bordered .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255) !important;
    }

    .hero-stats--checkmarks {
        display: flex;
        flex-wrap: wrap;
    }

    .stat-check-item {
        font-size: 14px;
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .hero-banner {
        padding: 40px 15px;
    }
    
    .hero-banner .hero-heading {
        --heading-font-size: 28px;
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 22px;
    }
    
    .stat-item p {
        font-size: 13px;
    }

    .hero-stats--bordered .stat-item {
        padding: 14px 16px;
    }

    .stat-check-item {
        font-size: 13px;
        margin-right: 8px;
    }
}