.nutritionist-hero {
    background-image: url("images/c34da73dcdb926cdbc847f14e64486e1d0891c1d.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0; /* adjust height */
    color: white; /* optional: makes text readable */
    position: relative;
    min-height: 50vh;

}

/* ==================== OFFERS SECTION ==================== */
.offers-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.offers-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #053717;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background-color: #f8fdf5;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(5, 55, 23, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0f2e9;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(5, 55, 23, 0.825);
    background-color: #ffffff;
}

.offer-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(5, 55, 23, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.offer-icon i {
    font-size: 2.5rem;
    color: #053717;
}

.offer-card h4 {
    color: #053717;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.offer-card p {
    color: #666;
    line-height: 1.6;
}

/* ==================== TIMELINE SECTION ==================== */

.timeline-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23053717' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.timeline-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #053717;
    position: relative;
    z-index: 1;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #053717, #1a5c2e, #053717);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #053717, #0a4d23);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(5, 55, 23, 0.2);
}

.timeline-content {
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(5, 55, 23, 0.08);
    margin: 0 30px;
    border: 1px solid rgba(5, 55, 23, 0.1);
    backdrop-filter: blur(10px);
}

.timeline-content h4 {
    color: #053717;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* ==================== PARTNERS SECTION ==================== */

.partners-section {
    padding: 80px 0;
    background: transparent;
}

.partners-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #053717;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(5, 55, 23, 0.05);
    transition: all 0.3s;
    border: 1px solid rgba(5, 55, 23, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(5, 55, 23, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.partner-logo i {
    font-size: 3rem;
    color: #053717;
    margin-bottom: 15px;
}

.partner-logo span {
    color: #053717;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==================== SIGNUP FORM SECTION ==================== */

.signup-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.signup-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #053717;
}

.signup-section p {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.nutritionist-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(248, 253, 245, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(5, 55, 23, 0.08);
    border: 1px solid rgba(5, 55, 23, 0.1);
    backdrop-filter: blur(10px);
}

.nutritionist-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(5, 55, 23, 0.1), rgba(10, 77, 35, 0.1));
    border-radius: 17px;
    z-index: -1;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(5, 55, 23, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #053717;
    box-shadow: 0 0 0 3px rgba(5, 55, 23, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* Add gradient submit button */
.submit-btn {
    background: #278e4d;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 30px;
    height: 30px;
    cursor: pointer;
    accent-color: #34a749;

}



.submit-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 55, 23, 0.3);
    color: #34a749;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offers-section,
    .timeline-section,
    .partners-section,
    .signup-section {
        padding: 60px 0;
    }
    
    .offers-section h3,
    .timeline-section h3,
    .partners-section h3,
    .signup-section h3 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        align-items: flex-start;
    }
    
    .timeline-number {
        margin-right: 20px;
    }
    
    .timeline-content {
        margin-left: 20px;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .offers-section,
    .timeline-section,
    .partners-section,
    .signup-section {
        padding: 50px 0;
    }
    
    .offers-section h3,
    .timeline-section h3,
    .partners-section h3,
    .signup-section h3 {
        font-size: 1.8rem;
    }
    
    .offer-card,
    .partner-logo,
    .nutritionist-form {
        padding: 30px 20px;
    }
}

.form-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 55, 23, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.form-success-box {
    background: #fff;
    padding: 40px 35px;
    border-radius: 22px;
    text-align: center;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s ease;
}

.form-success-box h3 {
    color: #053717;
    font-size: 1.9rem;
    margin-bottom: 15px;
}

.form-success-box p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.form-success-box button {
    background: #053717;
    color: #FFD700;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-success-box button:hover {
    background: #0a2e1a;
    transform: translateY(-2px);
}

.spinner {
    width: 55px;
    height: 55px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #053717;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
