/* ===== RESPONSIVE STYLES ===== */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section .display-4 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
}

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-decoration .blob-1 {
        width: 350px;
        height: 350px;
    }
    
    .hero-decoration .blob-2 {
        width: 250px;
        height: 250px;
    }
}

/* Medium Screens (992px and up) */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        margin: 0 0.75rem;
    }
    
    .hero-section .col-lg-6:first-child {
        padding-right: 2rem;
    }
    
    .hero-section .col-lg-6:last-child {
        padding-left: 2rem;
    }
}

/* Small to Medium Screens (768px to 991px) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--white);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 5px 15px var(--shadow);
    }
    
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-image {
        margin-bottom: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-decoration .blob-1 {
        width: 200px;
        height: 200px;
        top: 5%;
        right: 5%;
    }
    
    .hero-decoration .blob-2 {
        width: 150px;
        height: 150px;
        bottom: 10%;
        left: 5%;
    }
    
    .team-member .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.75rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* Mobile Screens (768px and below) */
@media (max-width: 767.98px) {
    /* Typography Adjustments */
    .display-4 {
        font-size: 2rem;
    }
    
    .h2 {
        font-size: 1.75rem;
    }
    
    .h4 {
        font-size: 1.125rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Header */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 80px;
        min-height: 80vh;
    }
    
    .hero-cta {
        margin-top: 1.5rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* Disable hero animations on mobile */
    .hero-decoration .blob-1,
    .hero-decoration .blob-2 {
        animation: none;
        opacity: 0.05;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    /* Service Cards */
    .service-card .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Pricing Cards */
    .pricing-card .display-4 {
        font-size: 2rem;
    }
    
    /* Team Section */
    .team-member {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .member-photo img {
        width: 60px;
        height: 60px;
    }
    
    /* Timeline */
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline::before {
        left: 0.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
        width: 10px;
        height: 10px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-date {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-top: 0.5rem;
    }
    
    /* Process Section */
    .process-step {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* FAQ Section */
    .faq-card .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    /* Gallery */
    #gallery .col-lg-3,
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Contact Form */
    .contact-form .btn {
        width: 100%;
    }
    
    .contact-info .contact-item {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Footer */
    footer {
        text-align: center;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Additional Pages */
    .breadcrumb-section {
        margin-top: 70px;
        padding: 1rem 0;
    }
    
    .guide-card,
    .category-card,
    .seasonal-card,
    .tip-card,
    .tech-card,
    .mission-card,
    .practice-card,
    .certification-card,
    .future-card {
        margin-bottom: 1.5rem;
    }
    
    .metric-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .metric-card .display-4 {
        font-size: 2rem;
    }
}

/* Extra Small Screens (575px and below) */
@media (max-width: 575.98px) {
    /* Further reduce font sizes */
    .display-4 {
        font-size: 1.75rem;
    }
    
    .h2 {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 70px;
        min-height: 70vh;
    }
    
    .hero-decoration {
        display: none; /* Hide decorative elements on very small screens */
    }
    
    /* Reduce padding */
    section {
        padding: 2rem 0;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    /* Buttons */
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.625rem 1.5rem;
    }
    
    /* Form controls */
    .form-control {
        font-size: 0.9rem;
    }
    
    /* Timeline adjustments */
    .timeline-content {
        padding: 0.75rem;
    }
    
    /* Process steps */
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    /* Metric cards */
    .metric-card .display-4 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-decoration,
    .btn,
    footer {
        display: none;
    }
    
    .hero-section {
        padding-top: 0;
        background: white;
        min-height: auto;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .card:hover {
        transform: none;
        box-shadow: none;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #006400;
        --secondary-blue: #000080;
        --text-dark: #000000;
        --bg-light: #ffffff;
        --shadow: rgba(0, 0, 0, 0.5);
    }
    
    .card {
        border: 2px solid var(--text-dark);
    }
    
    .btn {
        border: 2px solid var(--text-dark);
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .card:hover,
    .btn:hover,
    .team-member:hover,
    .feature-card:hover {
        transform: none !important;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Dark Mode Support */

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .card {
        cursor: pointer;
    }
    
    /* Disable hover effects on touch devices */
    .card:hover,
    .btn:hover,
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .team-member:hover,
    .review-card:hover,
    .faq-card:hover {
        transform: none;
        box-shadow: 0 5px 15px var(--shadow);
    }
}

/* Container Adjustments for Different Screens */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
} 

.hero-section h1 {
    padding-top: 250px;
}