/* Hero Section Styling */
.hero-section {
    /* We use min-height to ensure it fills the screen minus the navbar */
    min-height: 90vh; 
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 10%;
    padding-right: 20px;
    position: relative;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    overflow: hidden;

    /* --- FIX START --- */
    padding-top: 0 !important;
    margin-top: 0 !important;
    /* --- FIX END --- */
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* UPDATED: Points to french-books.webp */
    background: 
        linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0,0,0,0) 100%),
        url('../images/french-books.webp') center center / cover no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 50%;
    text-align: left;
}

.hero-content p {
    font-family: 'Courier Prime', monospace;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: 'Special Elite', cursive;
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-family: 'Courier Prime', monospace;
    font-style: normal;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-volunteer {
    background-color: #d97706; /* Distinct amber color */
    border: 2px solid #fff;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-volunteer:hover {
    background-color: #b45309; /* Darker amber for hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    color: white;
}

/* Buttons */
.btn-custom {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-right: 15px;
    border: none;
    color: var(--light-text);
}

.btn-enroll-now {
    background-color: #C6BCBA;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-enroll-now:hover {
    background-color: #A6A09E;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.btn-free-trial {
    background-color: #946534;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-submit-homework {
    background-color: #c46b5a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-submit-homework:hover {
    background-color: #a95646;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.btn-review {
    background-color: #4285F4;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
}

.btn-review:hover {
    background-color: #357ae8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    color: white;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:20px;
}

/* Practice Section */
.practice-section {
    padding: 80px 15px;
    background-color: var(--light-bg-body);
    flex-grow: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-text);
    text-align: center;
}

.practice-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background-color: var(--card-bg);
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.practice-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 15px;
}

.practice-card p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
}

.practice-card .icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-content {
        max-width: 70%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* MOBILE FIXES */
@media (max-width: 767.98px) {
    .hero-section {
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
        justify-content: center;
        padding-top: 0 !important; 
        min-height: 85vh;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 0.9rem;
    }
    
    .btn-custom {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .hero-section::before {
        /* UPDATED: Points to french-books.webp */
        background: 
            linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%),
            url('../images/french-books.webp') center center / cover no-repeat;
    }
    }