/* home.css */

main {
    padding-top: 80px;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 77, 64, 0.75), rgba(0, 77, 64, 0.75)), url('hero-bg.jpg') no-repeat center/cover;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

/* Why Choose Us */
.why-us {
    padding: 60px 0;
    background: #f8f9fa;
}

.why-us h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #004d40;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

/* Courses */
.courses-preview {
    padding: 60px 0;
}

.courses-preview h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #004d40;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.course-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #004d40;
}

.center {
    text-align: center;
    margin-top: 2.5rem;
}

/* Gallery Preview */
.gallery-preview {
    padding: 60px 0;
    background: #f8f9fa;
}

.gallery-preview h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #004d40;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s;
}

.gallery-item:hover {
    transform: scale(1.06);
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: #004d40;
    color: white;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 1.2rem;
}

.final-cta p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: #ffab00;
    color: #004d40;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #ffb74d;
    transform: translateY(-3px);
}

.cta-button.secondary {
    background: #00695c;
    color: white;
}

.cta-button.secondary:hover {
    background: #00897b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.2rem; }
}