/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    backdrop-filter: blur(10px); 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 123, 191, 0.1);
}

.header.scrolled {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #007bbf;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007bbf;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #007bbf;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #007bbf 0%, #0056b3 100%);
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.pexels.com/photos/5452293/pexels-photo-5452293.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Form */
.hero-form-container {
    position: relative;
    z-index: 3;
}

.hero-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-form h3 {
    color: #007bbf;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.hero-form p {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.hero-form .input-group {
    margin-bottom: 20px;
}

.hero-form input,
.hero-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.hero-form input:focus,
.hero-form select:focus {
    outline: none;
    border-color: #007bbf;
    box-shadow: 0 0 0 3px rgba(0, 123, 191, 0.1);
}

.hero-form input::placeholder {
    color: #999;
}

.btn-full {
    width: 100%;
    margin-bottom: 20px;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.form-note i {
    color: #28a745;
}

/* Button Styles */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #007bbf;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #007bbf;
    border: 2px solid #007bbf;
}

.btn-outline:hover {
    background: #007bbf;
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Health Crisis Section */
.health-crisis {
    background: #f8f9fa;
}

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

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    color: #007bbf;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 15px;
}

.stat-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.stat-source {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Program Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
}

.benefit-icon {
    font-size: 3.5rem;
    color: #007bbf;
    margin-bottom: 25px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

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

/* Action Plan Section */
.action-plan {
    background: #f8f9fa;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #007bbf;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 25px;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

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

/* BMI Calculator Section */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.calculator-info {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.calculator-info h3 {
    color: #007bbf;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.calculator-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.calculator-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #333;
}

.calculator-info li i {
    color: #28a745;
    font-size: 1.1rem;
}

.bmi-ranges h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.range-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 8px;
}

.range-item.underweight {
    background: #e3f2fd;
    color: #1976d2;
}

.range-item.normal {
    background: #e8f5e8;
    color: #388e3c;
}

.range-item.overweight {
    background: #fff3e0;
    color: #f57c00;
}

.range-item.obese {
    background: #ffebee;
    color: #d32f2f;
}

.range-item.obese_class_1 {
    background: #ffd1d8;
    color: #d32f2f;
}

.range-item.obese_class_2 {
    background: #fdb9c3;
    color: #d32f2f;
}

.range-item.obese_class_3 {
    background: #fba0ad;
    color: #d32f2f;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #007bbf;
}

/* BMI Modal Styles */
.bmi-modal-content {
    max-width: 600px;
    width: 95%;
}

.bmi-result-display {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #007bbf 0%, #0056b3 100%);
    border-radius: 15px;
    color: white;
}

.bmi-value-large {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bmi-category-large {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
}

.bmi-chart-modal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.bmi-chart-modal .chart-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 500;
}

.bmi-chart-modal .chart-item.underweight {
    background: #e3f2fd;
    color: #1976d2;
}

.bmi-chart-modal .chart-item.normal {
    background: #e8f5e8;
    color: #388e3c;
}

.bmi-chart-modal .chart-item.overweight {
    background: #fff3e0;
    color: #f57c00;
}

.bmi-chart-modal .chart-item.obese {
    background: #ffebee;
    color: #d32f2f;
}

.bmi-chart-modal .chart-item.obese_class_1 {
    background: #ffd1d8;
    color: #d32f2f;
}

.bmi-chart-modal .chart-item.obese_class_2 {
    background: #fdb9c3;
    color: #d32f2f;
}

.bmi-chart-modal .chart-item.obese_class_3 {
    background: #fba0ad;
    color: #d32f2f;
}

.bmi-chart-modal .chart-item.active {
    font-weight: 700;
    transform: scale(1.02);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.screening-recommendation-modal {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #007bbf;
    margin-bottom: 30px;
}

.screening-recommendation-modal h4 {
    color: #007bbf;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.package-details-modal {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.package-details-modal h4 {
    color: #007bbf;
    margin-bottom: 15px;
}

.package-details-modal ul {
    margin: 15px 0;
    padding-left: 20px;
}

.package-details-modal li {
    margin-bottom: 8px;
    color: #333;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonials Section */
.testimonials {
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #007bbf;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.author-location {
    color: #666;
    font-size: 0.9rem;
}

/* Booking Section */
.booking-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-form,
.info-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-form {
    background: #f8f9fa;
}

.info-form h3 {
    color: #007bbf;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-form p {
    color: #666;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #007bbf 0%, #0056b3 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #007bbf;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bbf;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bbf;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #007bbf;
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-form-container {
        order: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .calculator-container,
    .booking-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .bmi-value-large {
        font-size: 3rem;
    }
    
    .bmi-category-large {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-form {
        padding: 30px 20px;
    }
    
    .calculator-form,
    .booking-form,
    .info-form {
        padding: 25px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .bmi-result-display {
        padding: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hero form animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-form-container {
    animation: slideInRight 0.8s ease-out 0.3s both;
}

/* Modal animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.show .modal-content {
    animation: modalFadeIn 0.3s ease-out;
}