/* =====================================================
   NutriCoach Pro - Responsive Stylesheet
   Mobile-First Responsive Design
   ===================================================== */

/* Extra Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 3.52rem;
    }
    
    .hero-content .lead {
        font-size: 1.46rem;
    }
    
    .service-card img {
        height: 220px;
    }
    
    .team-card img {
        width: 180px;
        height: 180px;
    }
}

/* Large Screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content .lead {
        font-size: 1.29rem;
    }
    
    .service-card img {
        height: 200px;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .team-card img {
        width: 160px;
        height: 160px;
    }
}

/* Medium Screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.56rem;
    }
    
    .hero-content .lead {
        font-size: 1.19rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.27rem !important;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .team-card {
        margin-bottom: 2rem;
    }
    
    .team-card img {
        width: 140px;
        height: 140px;
    }
    
    .review-card {
        margin-bottom: 1.70rem;
    }
    
    .feature-card {
        margin-bottom: 1.71rem;
    }
    
    /* Additional Pages Responsive */
    .wellness-card,
    .age-card,
    .metabolic-card,
    .tech-card {
        margin-bottom: 1.74rem;
    }
    
    .corporate-feature {
        margin-bottom: 2rem;
    }
    
    .feature-box {
        margin-bottom: 1.70rem;
    }
}

/* Small Screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.29rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.35rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-image {
        margin-top: 1.73rem;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .pricing-card,
    .team-card,
    .review-card,
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .team-card img {
        width: 120px;
        height: 120px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .gallery img {
        margin-bottom: 1rem;
    }
    
    /* Contact Form */
    .form-control {
        padding: 0.75rem;
    }
    
    /* Footer */
    footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Additional Pages */
    .wellness-card,
    .age-card,
    .metabolic-card,
    .tech-card,
    .feature-box {
        margin-bottom: 2rem;
    }
    
    .corporate-feature {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .corporate-feature .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .corporate-feature .flex-shrink-0 {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
}

/* Extra Small Screens (up to 575px) */
@media (max-width: 575px) {
    .hero-section {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.99rem;
        margin-bottom: 0.84rem;
    }
    
    .hero-content h2 {
        font-size: 1.18rem;
        margin-bottom: 0.88rem;
    }
    
    .hero-content .lead {
        font-size: 1.02rem;
        margin-bottom: 1.69rem;
    }
    
    .hero-image {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .navbar-brand {
        font-size: 1.00rem !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.96rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    /* Sections */
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .section-title {
        font-size: 1.86rem;
        margin-bottom: 0.89rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 0.90rem;
    }
    
    .section-description {
        font-size: 0.98rem;
        margin-bottom: 1.70rem;
    }
    
    /* Cards */
    .service-card,
    .pricing-card,
    .team-card,
    .review-card,
    .feature-card {
        margin-bottom: 1.59rem;
    }
    
    .service-card img {
        height: 140px;
    }
    
    .service-card .card-body {
        padding: 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .team-card img {
        width: 100px;
        height: 100px;
    }
    
    .review-card {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.89rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Gallery */
    .gallery img {
        margin-bottom: 0.86rem;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 0.75rem 1rem;
        font-size: 0.99rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* Contact Form */
    .form-control {
        padding: 0.5rem 0.75rem;
        font-size: 0.92rem;
    }
    
    .form-label {
        font-size: 0.97rem;
        margin-bottom: 0.50rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 0 !important;
    }
    
    footer .col-lg-4 {
        margin-bottom: 1.65rem;
        text-align: center;
    }
    
    footer h5 {
        font-size: 1rem;
        margin-bottom: 0.86rem;
    }
    
    footer p,
    footer li {
        font-size: 0.94rem;
    }
    
    /* Additional Pages Mobile */
    .wellness-card,
    .age-card,
    .metabolic-card,
    .tech-card,
    .feature-box {
        margin-bottom: 1.65rem;
        padding: 1rem;
    }
    
    .corporate-feature {
        margin-bottom: 1.69rem;
        text-align: center;
    }
    
    .corporate-feature .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .corporate-feature .flex-shrink-0 {
        margin-bottom: 0.89rem;
        margin-right: 0 !important;
    }
    
    .corporate-feature i {
        font-size: 2rem !important;
    }
    
    .tech-feature {
        margin-bottom: 1.63rem;
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .tech-feature i {
        font-size: 2rem !important;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.79rem;
        padding: 0.5rem 0;
    }
    
    .breadcrumb img {
        width: 14px;
        height: 14px;
    }
}

/* Landscape Mobile Phones */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .py-5 {
        padding: 1.5rem 0 !important;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content .lead {
        font-size: 1.56rem;
    }
    
    .service-card img {
        height: 240px;
    }
    
    .team-card img {
        width: 200px;
        height: 200px;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-size: cover;
    }
    
    .service-card img,
    .team-card img,
    .gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .hero-section {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        color: black !important;
    }
    
    .service-card,
    .pricing-card,
    .team-card,
    .review-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .py-5 {
        padding: 1rem 0 !important;
    }
}

/* Accessibility - Focus States */
@media (prefers-contrast: high) {
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 3px solid #000;
        outline-offset: 2px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This template uses light theme as per requirement */
    /* Dark mode styles would go here if needed */
}

/* New Sections Mobile Responsiveness */
@media (max-width: 767px) {
    .timeline-item {
        margin-left: 0 !important;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .process-step .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.02rem;
    }
    
    .career-card,
    .case-study-card,
    .core-info-card,
    .blog-card {
        margin-bottom: 1.70rem;
    }
}

@media (max-width: 576px) {
    .process-step {
        margin-bottom: 2rem;
    }
    
    .timeline-content {
        margin-left: 0;
        padding: 1rem !important;
    }
    
    .process-step .step-number {
        width: 45px !important;
        height: 45px !important;
        font-size: 0.94rem;
    }
    
    .blog-card img {
        height: 150px !important;
    }
    
    .case-study-card,
    .career-card,
    .core-info-card {
        padding: 1rem !important;
    }
} 