/* Mobile Responsive Styles */

/* Base Mobile Styles */
@media screen and (max-width: 768px) {
    
    /* Container & Layout */
    .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
    }
    
    .section {
        padding: 3rem 0 !important;
    }
    
    /* Typography */
    .section__title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .section__subtitle {
        font-size: 0.9rem !important;
    }
    
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    p { font-size: 0.9rem !important; }
    
    /* Header & Navigation */
    .nav {
        height: auto !important;
        padding: 1rem 0 !important;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: white;
        padding: 4rem 2rem;
        transition: 0.3s;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .nav__link {
        font-size: 1rem !important;
    }
    
    .nav__toggle {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .nav__close {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .nav__logo {
        font-size: 1.25rem !important;
    }
    
    /* Auth Buttons in Nav */
    .nav__list .button {
        width: 100% !important;
        text-align: center !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Home Section */
    .home__container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding-top: 2rem !important;
    }
    
    .home__data {
        text-align: center !important;
        order: 2;
    }
    
    .home__img {
        order: 1;
        width: 100% !important;
        justify-self: center;
    }
    
    .home__title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    .home__description {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Social Media Buttons */
    .home__social {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        justify-content: center !important;
        margin: 2rem 0 !important;
        gap: 1rem !important;
    }
    
    .home__social-link {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.25rem !important;
    }
    
    /* Services Section */
    .services__container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .service__card {
        padding: 1.5rem !important;
    }
    
    .service__icon {
        font-size: 2rem !important;
        width: 60px !important;
        height: 60px !important;
    }
    
    .service__title {
        font-size: 1.1rem !important;
    }
    
    /* About Section */
    .about__container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .about__img {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .about__data {
        text-align: center !important;
    }
    
    /* Discover/Places Section */
    .discover__container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .discover__card {
        width: 100% !important;
    }
    
    /* Experience Section */
    .experience__container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .experience__content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Video Section */
    .video__container {
        padding: 0 !important;
    }
    
    .video__description {
        padding: 2rem 1rem !important;
    }
    
    /* Medications/Products Grid */
    .medications__container,
    .products__container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .medication__card,
    .product__card {
        max-width: 100% !important;
    }
    
    .medication__img,
    .product__img {
        height: 200px !important;
    }
    
    /* Hospitals Grid */
    .hospitals__container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .hospital__card {
        max-width: 100% !important;
    }
    
    /* Product/Hospital Details */
    .details__container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem 1rem !important;
    }
    
    .details__img {
        max-width: 100% !important;
        height: 250px !important;
    }
    
    .details__data {
        padding: 1rem !important;
    }
    
    .details__title {
        font-size: 1.5rem !important;
    }
    
    .details__price {
        font-size: 1.5rem !important;
    }
    
    /* Testimonials */
    .testimonial__container {
        padding: 1rem !important;
    }
    
    .testimonial__card {
        padding: 1.5rem !important;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    /* Footer */
    .footer__container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .footer__content {
        text-align: center !important;
    }
    
    .footer__links {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .footer__social {
        justify-content: center !important;
        gap: 1.5rem !important;
    }
    
    .footer__contact {
        text-align: center !important;
    }
    
    .footer__contact-item {
        justify-content: center !important;
    }
    
    /* Subscribe Form */
    .subscribe__container {
        padding: 2rem 1rem !important;
    }
    
    .subscribe__form {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .subscribe__input {
        width: 100% !important;
    }
    
    .subscribe__button {
        width: 100% !important;
    }
    
    /* Contact Form */
    .contact__container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .contact__form {
        padding: 1.5rem !important;
    }
    
    .contact__input,
    .contact__textarea {
        width: 100% !important;
        font-size: 0.9rem !important;
    }
    
    /* Buttons */
    .button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .button--flex {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    /* Cards */
    .card {
        padding: 1rem !important;
    }
    
    .card__img {
        height: 180px !important;
    }
    
    .card__title {
        font-size: 1rem !important;
    }
    
    .card__description {
        font-size: 0.85rem !important;
    }
    
    /* Auth Pages */
    .auth__container {
        padding: 2rem 1rem !important;
        min-height: calc(100vh - 60px) !important;
    }
    
    .auth__form {
        max-width: 100% !important;
        padding: 2rem 1.5rem !important;
        margin: 1rem !important;
    }
    
    .auth__title {
        font-size: 1.5rem !important;
    }
    
    .auth__input {
        font-size: 0.9rem !important;
        padding: 0.75rem !important;
    }
    
    .auth__button {
        padding: 0.875rem !important;
        font-size: 1rem !important;
    }
    
    /* Admin Panel */
    .admin__container {
        padding: 1rem !important;
    }
    
    .admin__sidebar {
        width: 100% !important;
        position: fixed !important;
        left: -100% !important;
        transition: 0.3s !important;
        z-index: 100 !important;
    }
    
    .admin__sidebar.show {
        left: 0 !important;
    }
    
    .admin__content {
        margin-left: 0 !important;
        padding: 1rem !important;
    }
    
    .admin__table {
        font-size: 0.8rem !important;
    }
    
    .admin__table td,
    .admin__table th {
        padding: 0.5rem !important;
    }
    
    /* Table Responsive */
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    table {
        min-width: 600px !important;
    }
    
    /* Modal */
    .modal__content {
        width: 95% !important;
        max-width: 95% !important;
        margin: 1rem !important;
        padding: 1.5rem !important;
    }
    
    /* Scroll to Top */
    .scrollup {
        right: 1rem !important;
        bottom: 3rem !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    /* Privacy/Terms Page */
    .terms__container {
        padding: 2rem 1rem !important;
    }
    
    .terms__section {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .terms__title {
        font-size: 1.5rem !important;
    }
    
    .terms__subtitle {
        font-size: 1.1rem !important;
    }
    
    /* Hide Desktop Elements */
    .desktop-only {
        display: none !important;
    }
    
    /* Show Mobile Elements */
    .mobile-only {
        display: block !important;
    }
    
    /* Spacing Utilities */
    .mb-mobile {
        margin-bottom: 1rem !important;
    }
    
    .mt-mobile {
        margin-top: 1rem !important;
    }
    
    .p-mobile {
        padding: 1rem !important;
    }
}

/* Extra Small Devices */
@media screen and (max-width: 480px) {
    .section__title {
        font-size: 1.25rem !important;
    }
    
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.25rem !important; }
    
    .button {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.85rem !important;
    }
    
    .home__social-link {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .nav__menu {
        width: 85% !important;
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .home__container {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .home__data {
        order: 1;
        text-align: right !important;
    }
    
    .home__img {
        order: 2;
    }
}
