/* 
 * Jyothis Athurasramam - Responsive Adjustments
 */

@media (max-width: 991.98px) {
    section {
        padding: 4rem 0;
    }

    .hero-blob-1 {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .navbar-brand img {
        height: 80px;
        top: -25px;
    }

    .about-img,
    .why-img {
        height: 400px;
        margin-top: 2rem;
    }

    .navbar-collapse {
        background-color: var(--surface-white);
        border-radius: 1rem;
        padding: 1.5rem;
        box-shadow: var(--sun-kissed-shadow);
        margin-top: 2rem;
        border: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(212, 196, 172, 0.2);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav {
        margin-bottom: 1.5rem;
    }

    .custom-navbar .btn-support,
    .custom-navbar .btn-donate {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }

    .hero-blob-1 {
        display: none;
    }

    .navbar-brand img {
        height: 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin: 1rem 0 1.5rem 0;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .about-img,
    .why-img {
        height: 300px;
    }

    .about-legacy-title,
    .contact-form-title {
        font-size: 1.8rem;
    }

    .donation-cta-title {
        font-size: 2rem;
    }

    .donation-cta-desc {
        font-size: 1rem;
    }

    .btn-donate-cta {
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

    .gallery-title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-heading {
        margin-top: 1.5rem;
    }

    .contact-details-card {
        padding: 1.5rem;
    }

    .gallery-section .masonry {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-section .masonry .m-item {
        max-width: 100%;
        flex: 0 0 auto;
    }

    .m-item img {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-blob-1 {
        display: none;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .about-img,
    .why-img {
        height: 250px;
    }

    .gallery-section .masonry {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-section .masonry .m-item {
        max-width: 100%;
        flex: 0 0 auto;
    }

    .m-item img {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 0.5rem;
    }
}