/* ==========================================================================
   1. CORE STYLING (Colors, Buttons, Counter)
   ========================================================================== */

.hero { padding: 60px 0; overflow: hidden; position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

/* --- The Button --- */
.btn-primary {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    padding: 18px 45px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(11, 63, 89, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(11, 63, 89, 0.3);
}

/* --- The Stat Card & +200% --- */
.hero-stat-badge {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 22px;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    width: 210px;
    z-index: 10;
    animation: float 6s infinite ease-in-out;
}

.stat-label { font-size: 0.85rem; color: var(--text-light); font-weight: 700; display: block; margin-bottom: 5px; }
.stat-value { font-size: 2.2rem; font-weight: 900; color: var(--primary) !important; display: block; line-height: 1; }

/* --- The Counter --- */
.hero-countdown {
    display: flex !important;
    flex-direction: row !important; /* Forces horizontal */
    gap: 12px;
    margin-top: 30px;
    direction: ltr;
    justify-content: flex-end; /* Align to text side */
}

.cd-item {
    background: white;
    padding: 12px;
    border-radius: 12px;
    min-width: 75px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.cd-item span { font-size: 1.8rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.cd-item label { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; display: block; }
.cd-sep { font-size: 1.5rem; font-weight: 800; color: var(--accent); padding-top: 10px; }

/* ==========================================================================
   2. DESKTOP POSITIONING (> 1024px)
   ========================================================================== */
.hero-visual { position: relative; margin-top: -40px; }
.hero-person-cutout { width: 85%; max-width: 500px; margin-left: auto; display: block; }
.hero-stat-badge { bottom: 0px; left: 215px; } /* Desktop: LEFT */

/* ==========================================================================
   3. TABLET STYLES (768px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 20px; }
    .hero-title { font-size: 2.6rem; }
    .hero-person-cutout { width: 95%; }
    .hero-stat-badge { left: 30%; right: auto; bottom: 0px; } /* Tablet: LEFT */
}

/* ==========================================================================
   4. MOBILE STYLES (< 767px)
   ========================================================================== */
@media (max-width: 767px) {
    .hero-grid { display: flex; flex-direction: column; text-align: center; }
    .hero-visual { order: 2; margin-top: -70px; width: 100%; }
    .hero-person-cutout { width: 80%; margin: 0 auto; }
    .hero-stat-badge { left: auto; right: 27%; bottom: 0px; width: 160px; } /* Mobile: RIGHT */
    .hero-countdown { justify-content: center; }
    .hero-description { margin: 0 auto 30px; }
    .hero-title { font-size: 2.2rem; }
}

/* ==========================================================================
   5. ANIMATIONS
   ========================================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}