.nutritionist-hero {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

.nutritionist-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.3;
    z-index: 0;
}

.nutritionist-hero:after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 8%;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.nutritionist-hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.nutritionist-hero h2:after {
    content: "";
    position: absolute;
    height: 6px;
    border-radius: 3px;
    width: 80px;
    background: #FFFFFF66;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.nutritionist-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nutritionist-platform {
    padding: 4rem 5%;
    background-color: var(--white);
    position: relative;
}

.nutritionist-platform:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(66, 165, 245, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(76, 175, 80, 0.03) 0%, transparent 20%);
    z-index: 0;
}

.platform-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.search-nutritionists {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-nutritionists input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.search-nutritionists input:focus {
    border-color: var(--tertiary-color);
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1);
    outline: none;
}

.search-nutritionists i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
    transition: var(--transition);
}

.search-nutritionists input:focus + i {
    color: var(--tertiary-color);
}

.filter-nutritionists {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--medium-gray);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--tertiary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-btn i {
    color: var(--tertiary-color);
}

.nutritionist-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.nutritionist-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border-top: 4px solid var(--tertiary-color);
}

.nutritionist-card:nth-child(2) {
    border-top-color: var(--primary-color);
}

.nutritionist-card:nth-child(3) {
    border-top-color: var(--secondary-color);
}

.nutritionist-card:nth-child(4) {
    border-top-color: var(--accent-color);
}

.nutritionist-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.nutritionist-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 1px solid var(--medium-gray);
}

.nutritionist-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.nutritionist-info {
    flex: 1;
}

.nutritionist-info h4 {
    color: var(--text-color);
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.specialties {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.7rem;
}

.specialties span {
    font-weight: 500;
    color: var(--primary-color);
}

.nutritionist-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 4px 8px;
    border-radius: 20px;
    background-color: var(--light-gray);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}

.badge i {
    color: var(--tertiary-color);
}

.nutritionist-body {
    padding: 1.5rem;
}

.nutritionist-body p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.stars {
    color: #ffc107;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

.nutritionist-footer {
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--medium-gray);
}

.view-profile-btn, .book-btn {
    flex: 1;
}

.nutritionist-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nutritionist-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.profile-btn {
    background-color: var(--light-gray);
    color: var(--text-color);
    border: 1px solid var(--medium-gray);
}

.profile-btn:hover {
    background-color: var(--medium-gray);
    transform: translateY(-3px);
}

.book-btn {
    background-color: var(--tertiary-color);
    color: var(--white);
    border: none;
}

.nutritionist-card:nth-child(2n) .book-btn {
    background-color: var(--primary-color);
}

.nutritionist-card:nth-child(3n) .book-btn {
    background-color: var(--secondary-color);
}

.book-btn:hover {
    background-color: var(--tertiary-dark);
    transform: translateY(-3px);
}

.nutritionist-card:nth-child(2n) .book-btn:hover {
    background-color: var(--primary-dark);
}

.nutritionist-card:nth-child(3n) .book-btn:hover {
    background-color: var(--secondary-dark);
}

.nutritionist-btn:hover:before {
    left: 100%;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 8px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--medium-gray);
    background-color: var(--white);
    color: #000 !important;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover:not(.active) {
    color: #000 !important;
    border-color: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.page-btn.active {
    background-color: var(--tertiary-color);
    color: #000 !important;
    font-weight: 900;
    border-color: var(--tertiary-color);
}

.page-btn:last-child {
    width: auto;
    padding: 0 15px;
}

.nutritionist-profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease forwards;
}

.profile-content {
    background-color: var(--white);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: modalContentFadeIn 0.3s 0.1s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalContentFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-header {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.2;
}

.profile-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.profile-close:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.profile-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.profile-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-title {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.profile-stat {
    display: flex;
    flex-direction: column;
}

.profile-stat strong {
    font-size: 1.5rem;
}

.profile-stat span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.profile-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h3 {
    color: var(--tertiary-color);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.profile-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #272B1C;
    border-radius: 1px;
}

.profile-bio {
    color: var(--text-color);
    line-height: 1.7;
}

.profile-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.specialty-tag {
    background-color: rgba(66, 165, 245, 0.1);
    color: var(--tertiary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.specialty-tag:hover {
    background-color: rgba(66, 165, 245, 0.2);
    transform: translateY(-3px);
}

.profile-certifications {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.certification-item {
    background-color: var(--light-gray);
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border-left: 3px solid var(--tertiary-color);
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.certification-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.certification-org {
    color: var(--tertiary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.certification-year {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: auto;
}

.profile-reviews {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
}

.review-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.review-text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--tertiary-color);
    font-family: serif;
    line-height: 1;
}

.profile-booking {
    background-color: var(--light-gray);
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--medium-gray);
}

.booking-title {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.booking-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-slot {
    background-color: var(--white);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.booking-slot.available:hover {
    background-color: rgba(66, 165, 245, 0.1);
    border-color: var(--tertiary-color);
    transform: translateY(-3px);
}

.booking-slot.selected {
    background-color: var(--tertiary-color);
    color: var(--white);
    border-color: var(--tertiary-color);
}

.booking-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

.booking-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.booking-actions .cancel-btn {
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--medium-gray);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.booking-actions .cancel-btn:hover {
    background-color: var(--medium-gray);
    transform: translateY(-2px);
}

.booking-actions .confirm-btn {
    background-color: var(--tertiary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.booking-actions .confirm-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.booking-actions .confirm-btn:hover {
    background-color: var(--tertiary-dark);
    transform: translateY(-2px);
}

.booking-actions .confirm-btn:hover:before {
    left: 100%;
}

.pulse-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(66, 165, 245, 0.1);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

@media (max-width: 992px) {
    .platform-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .search-nutritionists {
        max-width: 100%;
        width: 100%;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .profile-section h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .certification-item {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .nutritionist-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .nutritionist-hero h2 {
        font-size: 2.3rem;
    }
    
    .profile-certifications {
        grid-template-columns: 1fr;
    }
    
    .profile-section h3 {
        text-align: center;
        display: block;
    }
}

@media (max-width: 576px) {
    .nutritionist-hero h2 {
        font-size: 1.8rem;
    }
    
    .filter-nutritionists {
        flex-wrap: wrap;
    }
    
    .booking-slots {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .booking-actions button {
        width: 100%;
    }
}

.testimonials {
    padding: 4rem 5%;
    background-color: var(--light-gray);
    text-align: center;
    position: relative;
}

.testimonials h3 {
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    font-size: 1.8rem;
}

.testimonials h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #272B1C;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1.5px;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    padding: 2rem;
    text-align: left;
    border-top: 3px solid var(--primary-color);
}

.testimonial:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.testimonial:nth-child(3) {
    border-top-color: var(--tertiary-color);
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.quote {
    margin-bottom: 1.5rem;
}

.quote i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    opacity: 0.6;
}

.quote p {
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--medium-gray);
    padding-top: 1.2rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.how-it-works {
    padding: 4rem 5%;
    background-color: var(--white);
    text-align: center;
}

.how-it-works h3 {
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    font-size: 1.8rem;
}

.how-it-works h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #272B1C;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1.5px;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #272B1C !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.step:hover .step-icon {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-icon i {
    font-size: 2rem;
    color: #fff !important;
    border: none !important;
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #272B1C !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    border: 2px solid #F6F2EE;
}

.step:nth-child(2) .step-icon i,
.step:nth-child(3) .step-icon i,
.step:nth-child(4) .step-icon i,
.step:nth-child(5) .step-icon i,
.step:nth-child(2) .step-number,
.step:nth-child(3) .step-number,
.step:nth-child(4) .step-number,
.step:nth-child(5) .step-number {
    color: #fff !important;
    background-color: #272B1C !important;
    border: 2px solid #F6F2EE;
}

.step h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.become-nutritionist {
    padding: 4rem 5%;
    background: #272B1C;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.become-nutritionist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.3;
    z-index: 0;
}

.become-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.become-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.become-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.join-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
}

.join-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.contact-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.contact-box h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--white);
    bottom: -5px;
    left: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info p {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.contact-info p i {
    color: var(--white);
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        max-width: 600px;
        width: 100%;
    }
    
    .steps-container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .testimonials h3,
    .how-it-works h3 {
        font-size: 1.6rem;
    }
    
    .become-content h3 {
        font-size: 1.8rem;
    }
    
    .step {
        min-width: 160px;
    }
}

@media (max-width: 576px) {
    .testimonials h3,
    .how-it-works h3,
    .become-content h3 {
        font-size: 1.5rem;
    }
    
    .step {
        min-width: 100%;
    }
}

.find-nutritionist {
    padding: 3rem 5%;
}

.find-nutritionist h3 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.find-nutritionist h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--tertiary-color), var(--primary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1.5px;
}

.search-filters {
    background-color: var(--light-gray);
    padding: 1.8rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.search-group {
    display: flex;
    flex-direction: column;
}

.search-group label {
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: var(--text-color);
}

.search-group select {
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-sm);
    background-color: var(--white);
    color: var(--text-color);
    font-family: inherit;
    transition: var(--transition);
}

.search-group select:focus {
    outline: none;
    border-color: var(--tertiary-color);
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1);
}

.search-button-group {
    justify-content: flex-end;
    align-self: flex-end;
}

#search-nutritionists {
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 1rem;
}

.platform-intro {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.platform-intro-content {
    flex: 1.3;
}

.platform-intro-content h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.platform-intro-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--tertiary-color), var(--primary-color));
    border-radius: 1px;
}

.platform-intro-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.platform-intro-content ul {
    list-style: none;
}

.platform-intro-content ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.platform-intro-content ul li i {
    color: var(--primary-color);
    font-size: 1rem;
}

.platform-intro-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 992px) {
    .platform-intro {
        flex-direction: column;
    }
    
    .platform-intro-content,
    .platform-intro-image {
        width: 100%;
    }
    
    .platform-intro-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .search-button-group {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .search-group {
        margin-bottom: 1rem;
    }
} 

.why-connect {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 5rem 5%;
    background-color: var(--white);
    position: relative;
}

.why-connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(66, 165, 245, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(76, 175, 80, 0.05) 0%, transparent 25%);
    z-index: 0;
}

.why-connect-content {
    position: relative;
    z-index: 1;
}

.why-connect-content h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.why-connect-content h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.why-connect-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color-light);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #fff !important;
}

.benefit-card h4 {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
}

.why-connect-image {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-connect-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-connect-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.why-connect-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.why-connect-image:hover .image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.overlay-content i {
    font-size: 2rem;
    color: var(--primary-light);
}

.overlay-content span {
    font-size: 1.2rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .why-connect {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 5%;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-connect-image img {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .why-connect-content h3 {
        font-size: 1.8rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-connect-image img {
        min-height: 350px;
    }
    
    .image-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .why-connect {
        padding: 3rem 5%;
    }

    .why-connect-content h3 {
        font-size: 1.6rem;
    }

    .benefit-card {
        padding: 1.25rem;
    }

    .why-connect-image img {
        min-height: 300px;
    }
    
    .overlay-content i {
        font-size: 1.5rem;
    }
    
    .overlay-content span {
        font-size: 1rem;
    }
}

.logo {
    height: 60px !important;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
    background: #fff;
    border-radius: 12px;
    padding: 4px;
} 