/* Home Section Hero CSS */

:root {
    --hero-red: #E31B23;
    /* Madagascar Red */
    --hero-green: #007E3A;
    /* Madagascar Green */
    --hero-white: #FFFFFF;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* Adjust based on needs, image suggests large height */
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center; /* Ensure horizontal centering too if needed */
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content-container {
    position: relative;
    z-index: 2;
    /* Remove height: 100% to let flexbox center it properly if it doesn't need to be full height */
    /* If we keep height 100%, justify-content: center handles it. Let's keep it but ensure no margins interfere */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%; /* Ensure it takes full width of container */
}

.hero-text-content {
    max-width: 650px;
    color: var(--hero-white);
}

/* Enforce White Text for all children */
.hero-text-content h1,
.hero-text-content h2,
.hero-text-content h3,
.hero-text-content p {
    color: #FFFFFF !important;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: #FFFFFF !important;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #FFFFFF !important;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 550px;
    color: #FFFFFF !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Button Styles - Updated to match Figma specs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Figma: Gap 10px */
    padding: 15px 30px 15px 25px;
    /* Figma: Top 15px, Right 30px, Bottom 15px, Left 25px */
    border-radius: 15px;
    /* Figma: Radius 15px */
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    font-size: 16px;
    height: 50px;
    /* Figma: Height 50px */
    box-sizing: border-box;
    line-height: 19px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-red {
    background-color: #ED2024 !important;
    /* Figma: #ED2024 */
    color: #FFFFFF !important;
    border: none;
}

.btn-red:hover {
    background-color: #d41b1f !important;
    color: #FFFFFF !important;
}

.btn-white {
    background-color: #FFFFFF !important;
    /* Figma: #FFFFFF */
    color: #333333 !important;
    /* Dark text for contrast on white */
    border: none;
}

.btn-white:hover {
    background-color: #f5f5f5 !important;
    color: #333333 !important;
}

/* Flag Curve */
.hero-flag-curve {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 60%;
    /* Adjust size */
    height: auto;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-flag-curve {
        max-width: 80%;
    }

    .hero-section {
        min-height: 500px;
    }
}
