
.maf-hero {
    background: url('{% static "images/maf-family.jpg" %}');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
}

.maf-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.maf-hero .container-fluid {
    position: relative;
    z-index: 1;
}

.maf-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.maf-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c7a4d;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title span {
    font-size: 14px;
    letter-spacing: 3px;
    display: block;
    color: #e67e22;
    margin-bottom: 10px;
}

.section-title.text-start {
    text-align: left;
}

/* Oval Image - SMALLER and CLOSER to text */
.oval-image {
    width: 80%;
    max-width: 380px;
    border-radius: 50% 40% 50% 40%;
    transition: all 0.5s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}

.oval-image:hover {
    transform: scale(1.02);
    border-radius: 40% 50% 40% 50%;
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

/* Content with slide-in animation */
.slide-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.slide-content.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Larger text for content */
.slide-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.slide-content .lead {
    font-size: 20px;
    font-weight: 500;
    color: #2c7a4d;
    margin-bottom: 20px;
}

/* Reduced gap between columns */
.row.g-5 {
    --bs-gutter-x: 2rem;
}

/* Free background - no cards */
.feature-item {
    padding: 25px;
    text-align: center;
    background: transparent;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.feature-item:hover {
    border-bottom-color: #2c7a4d;
    transform: translateY(-5px);
}

.feature-number {
    font-size: 48px;
    font-weight: 800;
    color: #2c7a4d;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Involvement items */
.involve-item {
    text-align: center;
    padding: 30px 20px;
    background: transparent;
    transition: all 0.3s;
    border-radius: 12px;
}

.involve-item:hover {
    background: rgba(44,122,77,0.05);
    transform: translateY(-5px);
}

.involve-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c7a4d;
    margin-bottom: 12px;
}

.involve-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-outline-success-custom {
    background: transparent;
    border: 2px solid #2c7a4d;
    color: #2c7a4d;
    padding: 8px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline-success-custom:hover {
    background: #2c7a4d;
    color: white;
    transform: translateX(5px);
}

.btn-join {
    background: #2c7a4d;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-join:hover {
    background: #1e5a38;
    transform: translateY(-2px);
    color: white;
}

.btn-travel {
    background: #667eea;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-travel:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .oval-image {
        width: 50%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .slide-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .maf-hero h1 {
        font-size: 36px;
    }
    
    .maf-hero {
        padding: 60px 0;
    }
    
    .maf-hero p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-title.text-start {
        text-align: center;
    }
    
    .feature-number {
        font-size: 36px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .oval-image {
        width: 60%;
        max-width: 280px;
        margin-bottom: 30px;
    }
    
    .slide-content {
        text-align: center;
    }
    
    .slide-content p {
        font-size: 15px;
    }
    
    .slide-content .lead {
        font-size: 18px;
    }
    
    .row.g-5 {
        --bs-gutter-x: 1rem;
    }
}

@media (max-width: 480px) {
    .oval-image {
        width: 70%;
        max-width: 250px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .involve-item {
        padding: 20px 15px;
    }
    
    .btn-join, .btn-travel {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
}

