/* ==========================================
   Hero Banner Styles (Desktop Preserved)
   ========================================== */

.hero-section {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important; 
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0 0 0;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

/* Master Anchor ensuring columns stretch full height */
.hero-container {
    position: relative; 
    width: 100%;
    display: flex;
    flex: 1;
    align-items: stretch;
}

.hero-container > .row {
    flex: 1;
    align-items: stretch;
}

/* --- Left Column: Text Content --- */
.hero-content-col {
    padding-right: 30px;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Desktop default for the text wrapper */
.hero-text-box {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color:#cc0000;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color:#cc0000;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background-color: #cc0000;
    border: none;
    margin: 20px 0;
}

.hero-description {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

/* --- Buttons --- */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-dark-blue {
    background-color:#cc0000;
    color: #ffffff !important;
    border: 2px solid#cc0000;
}
.btn-dark-blue:hover { background-color: #001a38; }

.btn-green {
    background-color: #000;
    color: #ffffff !important;
    border: 2px solid #000;
}
.btn-green:hover {
    background-color: var(--color-1);
    border-color: var(--color-1);
}

/* --- Right Column: Image & Info Card --- */
.hero-image-col {
    position: static !important;
    display: flex;
    align-items: flex-end !important;
    justify-content: center;
}

.hero-avatar {
    height: 500px;
    width: 500px;
    object-fit: cover;
    object-position: bottom;
    margin-bottom: 0 !important;
    display: block;
    border-radius: 20px 20px 0px 0px;
    z-index: 999;
}

/* --- Floating Info Card --- */
.hero-info-card {
    position: absolute;
    top: 50px; 
    right: 15px; 
    transform: none; 
    background-color:#cc0000;
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10; 
    width: 320px;
    max-width: 100%; 
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 24px;
    color: #fff;
    margin-right: 15px;
    margin-top: 3px;
}

.info-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.info-text span {
    display: block;
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1199px) {
    .hero-title { font-size: 42px; }
    .hero-info-card { right: 15px; width: 280px; padding: 20px; }

}

/* ==========================================
   MOBILE OVERHAUL (Matches Mockup Image)
   ========================================== */
@media (max-width: 991px) {
    
    .hero-slide {
        padding-top: 0; /* Remove top padding to let image touch header */
        min-height: auto; 
    }
    
    .hero-overlay {
        display: none; /* Hide white gradient so the image is fully visible */
    }

    .hero-container {
        padding: 115px 0 0 0 !important; /* Remove edges so elements can be flush */
    }

    .hero-container > .row {
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    /* 1. Image Area (Moves to the very top) */
    .hero-image-col {
        order: 1;
        min-height: 380px;
        padding: 0;
        align-items: flex-end !important;
        justify-content: center;
        position: relative;
    }
    
.hero-avatar {
    position: absolute;
    right: 30px;
    bottom: 0;
    height: 400px;
    width: 380px;
}


    /* 2. Text Content container */
    .hero-content-col {
        order: 2;
        position: static !important; /* Allows absolute box to reference the row */
        padding: 0;
    }

    /* The Flush Teal Box */
.hero-text-box {
    position: absolute;
    top: 40px;
    left: 0;
    background-color: var(--color-1);
    padding: 20px 20px 20px 15px;
    width: 70%;
    max-width: 300px;
    z-index: 5;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
    /* Override Text formatting inside the Teal Box */
    .hero-text-box .hero-subtitle,
    .hero-text-box .hero-title,
    .hero-text-box .hero-description {
        color: #ffffff !important;
        text-align: left;
        margin-bottom: 5px;
    }
    
    .hero-text-box .hero-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .hero-text-box .hero-title {
        font-size: 32px;
        line-height: 1.1;
    }
    
    .hero-text-box .hero-description {
        font-size: 13px;
        padding-top: 10px;
        margin-bottom: 0;
    }

    .hero-text-box .hero-divider {
        display: none; /* Hidden to match mockup */
    }

    /* 3. Full Width Stacked Buttons (Moves to the very bottom) */
    .hero-buttons {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        z-index: 10;
        margin-top: 0;
    }

.btn-hero {
    width: max-content;
    padding: 10px 15px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    border: none !important;
    border-radius: 0;
    text-transform: capitalize;
    margin-bottom: 20px;
    border-radius: 5px;
    margin-left: 10px;
}
    /* First Button (Teal Background, White Text) */
  
    /* Second Button (White Background, Teal Text) */
    .hero-buttons .btn-hero:nth-child(2) {
        background-color: #ffffff !important;
        color: var(--color-2) !important;
    }

    /* Hide the floating info card completely on mobile, as per mockup */
    .hero-info-card {
        display: none;
    }
    .priorities-section {
    position: relative;
    z-index: 20;
    margin-top: 20px;
    padding-bottom: 60px;
}
}


@media(max-width:767.98px){
.hero-avatar {
    position: absolute;
    right: 10px;
    bottom: 0;
    height: 350px;
    width: 340px;
}
}
/* Very Small Screens adjustments */
@media (max-width: 575px) {
    .hero-text-box .hero-title { font-size: 24px; }
.hero-text-box {
    top: 0px;
    display: none;
}
.btn-hero {
    width: 100%;
    padding: 10px 15px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    border: none !important;
    border-radius: 0;
    text-transform: capitalize;
    margin-bottom: 0;
    border-radius: 0;
    margin-left: 0;
}
    .hero-image-col { min-height: 320px; }
.hero-avatar {
    max-height: 100%;
    width: 80%;
    margin-bottom: 0px !important;
    height: 100%;
    right: inherit;
    bottom: 0;
    transform: translateX(-50%) !important;
    left: 50% !important;
}
.hero-content-col {
    bottom: 0;
    position: absolute !important;
    z-index: 999;
}
.hero-section {
    height: 600px;
}
   .hr-hero-swiper {
    height: 100%;
}
    .hero-description {
    max-width: 100%;
}
}

@media(max-width:480px){
    .hero-section {
    height: 480px;
}
}