/**
 * Argon Medical - Mobile Responsive CSS
 * Ensures all pages display perfectly on all devices
 * Breakpoints: 576px (phone), 768px (tablet), 992px (desktop)
 */

/* ========================================
   GLOBAL MOBILE FIXES
======================================== */

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Ensure key touch targets are tappable on mobile */
@media (max-width: 768px) {
    .btn, .flip-btn, button[type="submit"],
    .hamburger-menu a,
    .close-mobile-menu a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer-newsletter button {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ========================================
   HERO / BREADCRUMB SECTIONS (All Pages)
======================================== */

@media (max-width: 992px) {
    .breadcrumb-area.about-hero,
    section.breadcrumb-area.about-hero {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .breadcrumb-area .title,
    .about-hero .title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .breadcrumb-area.about-hero,
    section.breadcrumb-area.about-hero {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .breadcrumb-area .title,
    .about-hero .title,
    h3.title.text-white {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .breadcrumb-area.about-hero,
    section.breadcrumb-area.about-hero {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .breadcrumb-area .title,
    .about-hero .title,
    h3.title.text-white {
        font-size: 1.65rem !important;
    }

    .breadcrumb-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 425px) {
    .breadcrumb-area .title,
    .about-hero .title,
    h3.title.text-white {
        font-size: 1.5rem !important;
    }
}

/* ========================================
   CONTACT & CAREER PAGES
======================================== */

@media (max-width: 768px) {
    .contact-info {
        padding: 30px 20px !important;
    }

    .contact-info .icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }

    .contact-map {
        height: 300px !important;
    }

    .contact-map iframe {
        height: 300px !important;
    }

    .contact-area {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .contact-form-wrap {
        padding: 30px 20px !important;
    }
}

@media (max-width: 576px) {
    .contact-info {
        padding: 25px 15px !important;
    }

    .contact-info .icon {
        width: 50px !important;
        height: 50px !important;
    }

    .contact-info .details h5 {
        font-size: 1rem;
    }

    .contact-info .details p {
        font-size: 0.9rem;
    }

    .contact-map {
        height: 250px !important;
        border-radius: 12px !important;
    }

    .contact-map iframe {
        height: 250px !important;
    }

    .contact-form-wrap {
        padding: 25px 15px !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    .flip-btn {
        height: 52px !important;
    }
}

@media (max-width: 425px) {
    .contact-map {
        height: 220px !important;
    }

    .contact-map iframe {
        height: 220px !important;
    }
}

/* ========================================
   ABOUT PAGE
======================================== */

@media (max-width: 768px) {
    .full-row.principle-section-fixed {
        padding: 60px 0 !important;
    }

    .about-area {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .about-content-full {
        padding: 0 15px;
    }

    .principle-card-fixed {
        padding: 25px 20px !important;
    }

    .principle-icon-fixed img {
        max-width: 60px;
    }

    .principle-card-fixed h6 {
        font-size: 1.1rem;
    }

    .principle-card-fixed p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .full-row.principle-section-fixed {
        padding: 40px 0 !important;
    }

    .principle-card-fixed {
        padding: 20px 15px !important;
    }

    .section-title-center h4 {
        font-size: 1.5rem;
    }

    .about-text-section p {
        font-size: 0.95rem;
    }

    .container.px-tight,
    .px-10 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ========================================
   PRODUCTS PAGES (Products, Products1, Products2)
======================================== */

/* Products2 - images grid layout */
@media (max-width: 768px) {
    .images-grid .col-6 {
        margin-top: 20px !important;
    }

    .images-grid .row.g-3 > [class*="col-6"]:nth-child(n+3) {
        margin-top: 15px;
    }

    .simple-product-grid .col-lg-7,
    .simple-product-grid .col-lg-5 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .simple-product-grid .right-text-area {
        order: -1;
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .images-grid .product-tile h6 {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .simple-product-grid .product-tile h6 {
        font-size: 1rem;
    }

    .right-text-area h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .simple-product-grid .col-lg-3,
    .simple-product-grid .col-md-3 {
        margin-left: 0 !important;
        margin-bottom: 20px;
    }

    .right-text-area {
        order: -1;
        margin-bottom: 30px;
        text-align: center;
    }

    .right-text-area h3 {
        font-size: 1.5rem;
    }

    .right-text-area ul {
        text-align: left;
        display: inline-block;
    }

    .container-fluid.px-40 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 576px) {
    .simple-product-grid .row.g-4 {
        padding: 0 10px;
    }

    .product-tile {
      
        margin: 0 auto;
    }

    .right-text-area h3 {
        font-size: 1.35rem;
    }

    .container-fluid.px-40 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ========================================
   SERVICES PAGE
======================================== */

@media (max-width: 992px) {
    .services-description,
    .services-tabs-wrapper {
        padding: 60px 0 !important;
    }

    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-item {
        min-width: 150px;
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .services-description,
    .services-tabs-wrapper {
        padding: 50px 0 !important;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        width: 100%;
        max-width: 280px;
        min-width: unset;
    }

    .service-split-item .split-layout,
    .split-layout {
        padding: 30px 20px !important;
        flex-direction: column;
        text-align: left;
    }

    .split-image {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 25px !important;
    }

    .split-image img {
        height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .split-content h3 {
        font-size: 1.75rem !important;
    }

    .desc-split-layout {
        flex-direction: column;
    }

    .desc-text {
        order: 2;
    }

    .desc-image {
        order: 1;
    }

    .services-description .container,
    .services-tabs-wrapper .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 576px) {
    .tabs-nav {
        margin-bottom: 30px !important;
    }

    .nav-item {
        padding: 12px 15px;
    }

    .nav-item span {
        font-size: 0.9rem;
    }

    .nav-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .split-content h3 {
        font-size: 1.5rem !important;
    }

    .service-details {
        font-size: 1rem !important;
    }

    .services-description .container,
    .services-tabs-wrapper .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ========================================
   PRODUCT DETAIL PAGES (P1-P8)
======================================== */

@media (max-width: 992px) {
    .product-perfect-layout {
        flex-direction: column !important;
    }

    .left-column,
    .right-column {
        width: 100% !important;
        max-width: 100% !important;
    }

    .image-wrapper {
        max-width: 400px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .product-details-section .container-fluid,
    .page-padding {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .product-description h3 {
        font-size: 1.75rem !important;
    }

    .product-description h5 {
        font-size: 1.1rem !important;
    }

    .specs-list .spec-row {
        font-size: 0.95rem;
    }

    .image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .product-details-section .container-fluid,
    .page-padding {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .product-description h3 {
        font-size: 1.5rem !important;
    }

    .intro-section p,
    .dose-reduction-section p,
    .workflow-section p {
        font-size: 0.95rem;
    }
}

/* ========================================
   INDEX PAGE - Hero Slider
======================================== */

@media (max-width: 768px) {
    .medical-hero-slider .slider-title {
        font-size: 1.75rem !important;
    }

    .medical-hero-slider .slider-subtitle {
        font-size: 1rem !important;
    }

    .offer-area,
    .category-area-2 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .offer-area {
        margin-top: -40px !important;
    }
}

@media (max-width: 576px) {
    .medical-hero-slider .slider-title {
        font-size: 1.5rem !important;
    }

    .medical-hero-slider .slider-subtitle {
        font-size: 0.9rem !important;
    }

    .slider-content {
        padding: 15px !important;
    }

    .offer-area,
    .category-area-2 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* ========================================
   HEADER - Mobile
======================================== */

@media (max-width: 768px) {
    .header-area .logo img {
        max-height: 45px;
        width: auto;
    }

    .header-style-4 .header-info-3,
    .header-style-4 .header-info-2 {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .header-area .logo img {
        max-height: 40px;
    }

    .header-style-4 .header-middle {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .header-style-4 .header-info-area {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

/* ========================================
   FOOTER - Mobile
======================================== */

@media (max-width: 768px) {
    .footer-area .footer-title {
        font-size: 1.1rem;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .footer-newsletter input {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-contact li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .footer-area .footer-title {
        font-size: 1rem;
    }

    .footer-links ul li a {
        font-size: 0.95rem;
    }

    .footer-contact li {
        font-size: 0.9rem;
    }
}

/* ========================================
   MOBILE SLIDE-OUT MENU
======================================== */

@media (max-width: 576px) {
    .slide-bar {
        width: 280px !important;
        right: -290px !important;
        padding: 20px 15px !important;
    }

    .slide-bar.show {
        right: 0 !important;
    }

    .side-mobile-menu ul li a {
        font-size: 15px !important;
        color: #1E5FA8;
        padding: 12px 0 !important;
    }

    .side-mobile-menu ul li ul li a {
        font-size: 14px !important;
    }
}

/* ========================================
   CONTAINER & PADDING UTILITIES
======================================== */

@media (max-width: 768px) {
    .container-fluid.px-40,
    .page-container-padding,
    .container-padding {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .pr-15.pl-15 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 576px) {
    .container-fluid.px-40,
    .page-container-padding,
    .container-padding {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .pr-15.pl-15 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .mb-60 {
        margin-bottom: 40px !important;
    }

    .pt-20 {
        padding-top: 15px !important;
    }
}

/* ========================================
   TABLE OVERFLOW (Admin/Data tables if any)
======================================== */

.table-responsive,
[class*="table-wrap"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   IMAGES - Fluid
======================================== */

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   FORMS - Prevent iOS zoom
======================================== */

@media (max-width: 576px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea {
        font-size: 16px !important; /* Prevents zoom on focus in iOS */
    }
}
