/* ===========================
   Dietetics & Nutrition Page - Modern Styles
   =========================== */

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.8), rgba(0, 180, 216, 0.8));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 30px;
    border-radius: 30px;
    margin-bottom: 30px;
    font-size: 1em;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: slide-down 0.8s ease-out;
}

.hero-badge i {
    margin-right: 8px;
}

.hero-title {
    font-size: 4em;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: slide-down 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    animation: slide-up 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fade-in 0.8s ease-out 0.3s both;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0077B6;
    color: white;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.4);
    background: #00B4D8;
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary-large:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px 20px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2em;
    color: #ffffff !important;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.5));
}

.stat-content {
    text-align: left;
}

.stat-number {
    font-size: 1.8em;
    font-weight: 800;
    display: block;
    line-height: 1;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.85em;
    opacity: 1;
    display: block;
    margin-top: 5px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #ffffff;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0077B6, #00B4D8);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-badge.light {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0077B6;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8em;
    font-weight: 900;
    margin-bottom: 15px;
    color: #0077B6;
}

.section-header p {
    font-size: 1.1em;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid.modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 119, 182, 0.15);
    border-color: #00B4D8;
}

.service-card-header {
    background: linear-gradient(135deg, #0077B6, #00B4D8);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.15) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
}

.service-card-content {
    padding: 40px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.6em;
    font-weight: 800;
    color: #0077B6;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1em;
    flex-grow: 1;
}

.service-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-highlights li {
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
}

.service-highlights i {
    color: #00B4D8;
    font-weight: bold;
    flex-shrink: 0;
}


.programs-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
/* Programs Section */
.programs-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 119, 182, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 119, 182, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.programs-section .section-header {
    position: relative;
    z-index: 1;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 119, 182, 0.15);
    border-color: #00B4D8;
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #0077B6, #00B4D8);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.08);
}

.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 119, 182, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.program-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 1.5em;
    font-weight: 800;
    color: #0077B6;
    margin-bottom: 12px;
}

.program-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.program-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.95em;
}

.program-features i {
    color: #10B981;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0077B6;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-link:hover {
    gap: 12px;
    color: #00B4D8;
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

.why-choose-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.why-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 119, 182, 0.15);
    border-color: #00B4D8;
}

.why-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0077B6, #00B4D8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

.why-card:hover .why-card-icon {
    transform: scale(1.1) rotate(10deg);
}

.why-card h3 {
    font-size: 1.4em;
    font-weight: 800;
    color: #0077B6;
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Nutrition Tips Section */
.nutrition-tips {
    padding: 100px 0;
    background: white;
}

.nutrition-tips .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.tip-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0077B6, #00B4D8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tip-card:hover::before {
    transform: scaleX(1);
}

.tip-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 119, 182, 0.15);
    border-color: #00B4D8;
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0077B6, #00B4D8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    color: white;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

.tip-card:hover .tip-icon {
    transform: scale(1.15) rotate(10deg);
}

.tip-card h3 {
    font-size: 1.4em;
    font-weight: 800;
    color: #0077B6;
    margin-bottom: 15px;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Education Section */
.education-section {
    padding: 100px 0;
    background: white;
}

.education-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.education-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.education-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 119, 182, 0.15);
    border-color: #00B4D8;
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0077B6, #00B4D8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

.education-card:hover .education-icon {
    transform: scale(1.1) rotate(10deg);
}

.education-card h3 {
    font-size: 1.4em;
    font-weight: 800;
    color: #0077B6;
    margin-bottom: 15px;
}

.education-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.education-card .btn-link {
    margin-top: auto;
}

/* Contact CTA Section */
.contact-cta {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
    color: white;
    overflow: hidden;
}

.contact-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.cta-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.cta-left h2 {
    font-size: 2.8em;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-left > p {
    font-size: 1.1em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cta-feature i {
    font-size: 1.8em;
    color: #ffffff;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cta-feature:hover i {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.cta-feature div {
    flex: 1;
}

.cta-feature h4 {
    font-size: 1.1em;
    font-weight: 800;
    margin: 0 0 5px 0;
}

.cta-feature span {
    display: block;
    font-size: 0.9em;
    opacity: 0.85;
}

.cta-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-card-modern {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card-modern:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-card-modern:hover .contact-card-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: scale(1.1);
}

.contact-card-modern h3 {
    font-size: 1.4em;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-card-modern p {
    font-size: 0.95em;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #0077B6;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    font-size: 1em;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

/* Hover Lift Utility */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-12px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0077B6, #00B4D8);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 119, 182, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* Animations */
@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3em;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        justify-content: center;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid.modern {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .section-header p {
        font-size: 1em;
    }

    .cta-text h2 {
        font-size: 1.8em;
    }

    .cta-text p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .services-section,
    .programs-section,
    .why-choose-section,
    .nutrition-tips,
    .education-section,
    .contact-cta {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.5em;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1em;
    }
}

