/* Kudumija Hero & Navbar Styles */

/* ===== HERO OUTER WRAPPER (FULLY FLUID 97%) ===== */
.hero-outer-wrapper {
    width: 96.94%; /* (1396/1440) from Figma */
    margin: 18px auto 0 auto;
    background-color: #fff;
}

#hero {
    position: relative;
    width: 100%;
    height: 782px;
    min-height: 782px;
    background-color: #4a6741;
    background-image:
        url('https://images.pexels.com/photos/2258536/pexels-photo-2258536.jpeg?auto=compress&cs=tinysrgb&w=1920'),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?q=80&w=2070');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px; /* Figma Radius */
    overflow: hidden;
    display: block; /* Control internal layout via container */
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
}

/* Nested grid adjustment for Hero (which is already squeezed to 96.94%) */
.hero-inner-grid {
    width: 83.1%; /* ( (1440 - 140*2) / 1396 ) from Figma */
    margin: 0 auto;
    padding: 0;
    position: relative;
    height: 100%;
}

/* ===== HERO CARD ===== */
.hero-card {
    background: #EEEEEEE5; /* Figma Aqua/Translucent silver */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 40px 32px;
    width: 340px;
    height: 341px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: absolute;
    top: 342px;
    left: 0;   /* ALIGNED WITH GRID */
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 36px;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 0%;
}

.hero-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    color: #444;
    margin-bottom: 28px;
    letter-spacing: 0%;
}

/* Button style if used only in hero card */
.hero-card .btn-primary-red {
    background-color: #CC4443;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s;
}

@media (max-width: 1200px) {
    .hero-inner-grid { width: 100%; padding: 0 15px; }
}

@media (max-width: 767px) {
    .hero-card {
        position: relative;
        top: 220px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 100% !important;
        max-width: 90%;
    }
}
