/* ===== RESPONSIVE STYLES ===== */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 225px;
}
    
    .service-card .card-img-top {
        height: 220px;
    }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    padding-top: 225px;
}
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
}

/* Small screens (768px to 991px) */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    padding-top: 225px;
}
    
    .navbar-collapse {
        text-align: center;
        padding-top: 1rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        padding-left: 0;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .timeline-marker {
        position: relative;
        left: auto;
        top: auto;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

/* Extra small screens (576px to 767px) */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 80vh;
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 225px;
}
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .feature-item,
    .goal-card,
    .care-item {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .feature-item .feature-icon,
    .goal-card .goal-icon,
    .care-item .care-icon {
        margin: 0 0 1rem 0;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Mobile screens (up to 575px) */
@media (max-width: 575.98px) {
    /* Disable animations on mobile */
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    padding-top: 225px;
}
    
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    .contact-info,
    .contact-form {
        margin-bottom: 1rem;
    }
    
    .pricing-card .badge {
        position: static;
        transform: none;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .price-display {
        margin: 0.5rem 0;
        padding: 0.75rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .partner-logo {
        width: 60px;
        height: 60px;
    }
    
    /* Gallery adjustments */
    #gallery img {
        height: 200px;
    }
    
    /* Form adjustments */
    .form-control {
        padding: 10px 14px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Extra small screens (up to 480px) */
@media (max-width: 479.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    padding-top: 225px;
}
    
    .h2, h2 {
        font-size: 1.5rem;
    }
    
    .h5, h5 {
        font-size: 1rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .team-photo {
        width: 70px;
        height: 70px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .partner-logo {
        width: 50px;
        height: 50px;
    }
    
    #gallery img {
        height: 150px;
    }
}

/* ===== MOBILE NAVIGATION ===== */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 1rem;
        border-radius: 8px;
        padding: 1rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .btn,
    .contact-form,
    #footer {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 1rem 0;
        break-inside: avoid;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        animation: none;
        transform: none;
    }
    
    .card:hover {
        transform: none;
    }
    
    .feature-card:hover,
    .story-card:hover,
    .mission-card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --eco-green: #008000;
        --nature-blue: #0000ff;
        --earth-brown: #8b4513;
        --sun-yellow: #ffd700;
        --forest-teal: #008080;
    }
    
    .card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid #000;
    }
} 