/* Responsive Styles for Basmat Frq Website */

/* Mobile and Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 50px 20px !important;
    }

    .hero {
        padding: 130px 25px 0 25px !important;
        overflow: hidden !important;
    }

    .hero-content {
        width: 100% !important;
        padding: 0 !important;
        position: relative;
        z-index: 5;
    }

    .hero-body {
        width: 200% !important;
    }

    .repeated-stack {
        display: flex !important;
        position: absolute !important;
        top: -20px !important;
        right: -20px !important;
        width: 100% !important;
        height: auto !important;
        z-index: 1 !important;
        opacity: 1;
    }

    .repeated-svg.outline {
        margin-right: 220px !important;
        transform: scale(0.8);
    }

    .repeated-svg.faded {
        margin-right: 270px !important;
        transform: scale(0.75);
    }

    .section-title {
        font-size: 2.2rem !important;
        flex-wrap: wrap;
        gap: 5px !important;
    }

    .svg-container {
        opacity: 0.4 !important;
    }

    .cta-wrapper {
        margin: 50px 0;
    }

    .nav-pill {
        flex-direction: column;
        gap: 10px;
    }

    .header-cta {
        margin-top: 15px;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
    }

    .mobile-toggle span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s;
    }

    .mobile-toggle span:nth-child(2) {
        width: 20px;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem !important;
    }

    .hero h2 {
        font-size: 1.5rem !important;
    }

    .hero p {
        font-size: 0.9rem !important;
    }

    .cta-button {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    .story-item {
        margin-bottom: 2rem;
    }

    .cat-card {
        margin-bottom: 1.5rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 70px 30px !important;
    }

    .services-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .services-visuals {
        width: 100%;
    }

    .participation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-viewport {
        height: 300px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Admin Mode Responsive */
@media (max-width: 768px) {
    #adm-bar {
        padding: 8px 12px;
        height: auto;
        min-height: 56px;
    }

    #adm-bar .adm-logo {
        height: 24px;
    }

    #adm-bar span {
        font-size: 0.7rem;
    }

    #adm-pop {
        width: 90%;
        max-width: 300px;
    }

    .adm-item-overlay {
        padding: 8px;
        gap: 6px;
    }

    .adm-overlay-btn {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}
