/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 2.2rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-stat-number {
        font-size: 2.2rem;
    }
    .mission-content {
        padding: 1rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    .hero-section {
        min-height: 70vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content .lead {
        font-size: 1.1rem;
    }
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    .navbar-nav .dropdown-menu {
        border: none;
        background-color: rgba(0, 0, 0, 0.03);
        box-shadow: none;
        padding-left: 1.5rem;
    }
    .feature-icon {
        height: 100px;
    }
    .feature-title {
        font-size: 1.3rem;
    }
    .mission-image {
        margin-bottom: 2rem;
    }
    .testimonial-item {
        padding: 2rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .hero-section {
        min-height: 100vh;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content .lead {
        font-size: 1rem;
    }
    .hero-stats {
        justify-content: center;
    }
    .feature-card {
        margin-bottom: 2rem;
    }
    .mission-point {
        font-size: 0.9rem;
    }
    .testimonial-content p {
        font-size: 1.1rem;
    }
    .cta-text {
        font-size: 1.1rem;
    }
    .footer {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
        margin-bottom: 2rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.6rem;
    }
    .hero-section {
        padding-top: 4rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content .lead {
        font-size: 0.95rem;
    }
    .hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
    }
    .feature-icon {
        height: 80px;
    }
    .feature-title {
        font-size: 1.2rem;
    }
    .feature-text {
        font-size: 0.9rem;
    }
    .mission-text {
        font-size: 0.95rem;
    }
    .mission-point {
        font-size: 0.85rem;
    }
    .testimonial-item {
        padding: 1.5rem;
    }
    .testimonial-content p {
        font-size: 1rem;
    }
    .cta-text {
        font-size: 1rem;
    }
    .cta-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        right: 20px;
        bottom: 20px;
    }
}

/* Animation delays for AOS */
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Custom Media Queries for Better UX */

/* For very large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-section h1 {
        font-size: 4rem;
    }
}

/* For landscape orientation on mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        padding: 100px 0;
    }
}

/* For high-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Add high-resolution background images if needed */
    .hero-section {
        background-image: url('../images/hero-bg@2x.jpg');
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-section,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}