/* =========================================
   10. MOBILE RESPONSIVENESS
   ========================================= */

/* Mobile First - Base Mobile Styles */
@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    /* Top bar hidden on mobile */
    .top-bar-charity {
        display: none;
    }

    /* Mobile navbar */
    .navbar-charity {
        position: fixed !important;
        top: 0 !important;
        height: 60px;
    }

    .logo-charity {
        height: 40px;
    }

    /* Hero sections */
    .hero-slider-section,
    .hero-slide-item {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Section padding */
    .section-pad {
        padding: 60px 0;
    }

    .section-sm {
        padding: 40px 0;
    }

    /* Service cards */
    .service-split-card {
        min-height: auto;
    }

    .service-split-content {
        padding: 1.5rem;
    }

    .service-headline {
        font-size: 1.4rem;
    }

    /* Gallery */
    .gallery-slider .gallery-item {
        height: 200px;
    }

    /* Testimonials */
    .testimonial-title {
        font-size: 1.8rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Footer */
    .footer-charity {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .footer-heading {
        margin-top: 1.5rem;
    }

    /* CTA Button */
    .btn-cta-gold {
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .page-header .title {
        font-size: 2rem !important;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-headline {
        font-size: 1.2rem;
    }

    /* Ensure proper spacing */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-charity {
        height: 75px;
    }

    .logo-charity {
        height: 50px;
    }

    .hero-slider-section,
    .hero-slide-item {
        height: 600px;
    }

    .service-split-content {
        padding: 2rem;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for mobile dropdown */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    .dropdown-item {
        padding: 8px 20px;
        color: var(--color-primary);
    }

    .dropdown-item:hover {
        background: #f8f9fa;
    }
}