/* ==========================================================================
   ATx Pest Control Services - Responsive Stylesheet
   Breakpoints: 1200px, 992px, 768px, 576px, 375px
   ========================================================================== */

/* Large Tablets & Desktops under 1200px */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .footer-about {
    grid-column: span 3;
  }
}

/* Navigation Breakpoint for Comprehensive Header Links (under 1140px) */
@media (max-width: 1140px) {
  .main-nav {
    display: none;
  }
  
  .mobile-toggle-btn {
    display: flex;
  }
}

/* Medium Tablets under 992px */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  
  .mobile-toggle-btn {
    display: block;
  }
  
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }
  
  .hero-bg-visual {
    width: 100%;
    opacity: 0.3;
  }
  
  .hero-overlay {
    background: rgba(10, 10, 10, 0.85);
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-tagline {
    justify-content: center;
  }
  
  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
  
  .hero-btn-group {
    justify-content: center;
  }
  
  .workplace-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .amc-split-container {
    grid-template-columns: 1fr;
  }
  
  .amc-split-image {
    min-height: 260px;
  }
  
  .amc-split-content {
    padding: 40px 24px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Mobile Navigation Drawer Off-Screen Clean State */
  .mobile-nav-drawer:not(.open) {
    visibility: hidden !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }
}

/* Small Tablets & Mobile under 768px */
@media (max-width: 768px) {
  .header-container {
    height: 66px;
  }
  
  .site-logo .logo-brand {
    font-size: 1.7rem;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .header-actions .header-inspection-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(232, 90, 25, 0.4);
  }

  .mobile-toggle-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.1rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95);
  }

  .hero-section {
    min-height: 520px;
    padding: 35px 0 30px 0;
    position: relative;
  }

  .hero-bg-visual {
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
    opacity: 0.92 !important;
    z-index: 1;
  }

  .hero-slide img {
    object-position: center center !important;
    filter: brightness(1.02) contrast(1.05);
  }

  .hero-slide-dots {
    bottom: 10px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    gap: 6px !important;
  }

  .hero-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .hero-dot.active {
    width: 18px !important;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.38) 0%, rgba(10, 10, 10, 0.52) 48%, rgba(10, 10, 10, 0.72) 100%) !important;
    z-index: 2;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
  }

  .hero-tagline {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }

  .hero-desc {
    color: #F2F2F2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
    font-size: 0.92rem;
  }

  .hero-trust-item {
    background: rgba(14, 14, 14, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-btn-group {
    flex-direction: row !important;
    width: 100%;
    gap: 8px !important;
  }

  .hero-btn-group .btn {
    flex: 1;
    width: auto !important;
    padding: 12px 6px !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  .hero-btn-group .btn i {
    font-size: 0.8rem;
    margin-right: 2px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .workplace-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .workplace-card {
    padding: 16px 12px;
    border-radius: var(--radius-md);
  }
  
  .workplace-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .workplace-icon {
    width: 30px;
    height: 30px;
  }
  
  .workplace-card-title {
    font-size: 0.88rem;
    line-height: 1.25;
  }
  
  .workplace-card-desc {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  /* Mobile Marquee adjustments */
  .marquee-track {
    gap: 16px;
    animation: marqueeScroll 18s linear infinite;
  }
  
  .logo-item {
    height: 44px;
    padding: 6px 14px;
    width: auto !important;
    flex-shrink: 0;
  }
  
  .logo-item img {
    height: 24px;
    max-width: 120px;
  }

  .testimonials-marquee-track {
    gap: 14px;
    animation: testimonialMarqueeScroll 20s linear infinite;
  }

  .testimonial-card {
    width: 290px;
    padding: 20px 16px;
  }

  .testimonial-quote {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px 16px;
    text-align: center;
  }
  
  .footer-about {
    grid-column: span 2;
    margin-bottom: 10px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col:last-child {
    grid-column: span 2;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-col-title {
    font-size: 0.88rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 0.78rem;
  }

  .footer-contact-item {
    font-size: 0.78rem;
    margin-bottom: 10px;
    justify-content: center;
    text-align: center;
  }

  .footer-hours-row {
    font-size: 0.76rem;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  /* Mobile Floating Dock adjustment */
  .floating-contact-dock {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    flex-direction: row !important;
    border-radius: 0 !important;
    border-top: 1px solid var(--dark-border) !important;
    border-left: none !important;
    justify-content: space-around !important;
    padding: 6px 0 !important;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.3) !important;
    pointer-events: auto !important;
    background: var(--dark-surface) !important;
  }
  
  .dock-item {
    border-bottom: none !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    flex: 1 !important;
    padding: 6px 4px !important;
    min-width: auto !important;
    transform: none !important;
    border-radius: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 0 !important;
  }
  
  .dock-item:last-child {
    border-right: none !important;
  }
  
  .dock-icon-circle {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.85rem !important;
    margin-bottom: 2px !important;
  }
  
  .dock-label {
    font-size: 0.6rem !important;
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
    padding-right: 0 !important;
    color: #E0E0E0 !important;
  }
  
  body {
    padding-bottom: 58px; /* Offset for mobile floating bar */
  }
}

/* Small Screen Phones under 480px */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }
  
  .hero-btn-group {
    flex-direction: row !important;
    width: 100%;
    gap: 6px !important;
  }
  
  .hero-btn-group .btn {
    flex: 1;
    width: auto !important;
    padding: 11px 4px !important;
    font-size: 0.78rem !important;
    letter-spacing: -0.2px;
  }

  .hero-btn-group .btn i {
    font-size: 0.75rem;
    margin-right: 2px;
  }
  
  .workplace-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .workplace-card {
    padding: 14px 10px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-card {
    padding: 20px 10px 16px 10px;
  }

  .service-card-title {
    font-size: 0.92rem;
  }

  .service-card-desc {
    font-size: 0.75rem;
    line-height: 1.35;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .stat-item {
    justify-content: center;
  }
  
  .form-card {
    padding: 22px 16px;
  }

  /* Why Choose Features Grid Mobile */
  .why-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 0;
  }

  .why-feature-col {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 8px;
  }

  .why-feature-label {
    font-size: 0.72rem;
  }

  /* ATx Man Mobile */
  .atx-man-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .atx-man-img-wrap {
    max-width: 290px;
    margin: 0 auto;
  }

  .atx-man-title {
    font-size: 2.2rem;
  }

  .atx-man-subtitle {
    font-size: 1rem;
  }

  .atx-man-stats-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* How We Work Process Mobile */
  .process-steps-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .process-arrow-divider {
    display: none;
  }

  .process-step-card:last-child:nth-child(odd) {
    grid-column: span 2;
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }

  /* Protected Premises Mobile (Matches Reference Design) */
  .protected-premises-section {
    padding: 55px 0 60px 0;
  }

  .protected-premises-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .protected-premises-title {
    font-size: 2.1rem;
  }

  .protected-sub-badge {
    justify-content: center;
  }

  .protected-premises-desc {
    margin: 0 auto 28px auto;
  }

  .protected-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    margin-bottom: 28px;
  }

  .pillar-icon-circle {
    width: 60px;
    height: 60px;
  }

  .pillar-label {
    font-size: 0.76rem;
  }

  .protected-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .protected-btn-row .btn {
    width: 100%;
    justify-content: center;
  }

  .protected-plaque-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  /* Certificate Section Mobile */
  .certificate-section {
    padding: 55px 0;
  }

  .certificate-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .certificate-title {
    font-size: 1.75rem;
  }

  .certificate-features-list {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  .certificate-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .certificate-badge-floating {
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    font-size: 0.72rem;
    padding: 6px 14px;
    white-space: nowrap;
  }

  /* Universal mobile viewport overflow protection */
  html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #FAFAFB !important;
  }

  /* Mobile Sticky Header */
  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1050 !important;
    background-color: rgba(17, 17, 17, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Compliance Landing Page Mobile */
  .compliance-hero-section {
    padding: 40px 0 50px 0 !important;
  }

  .compliance-hero-grid,
  .qr-transparency-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .compliance-hero-title,
  .qr-section-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }

  .compliance-hero-cta {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .compliance-hero-cta .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Protected Pillars Mobile */
  .protected-premises-section {
    padding: 50px 0 !important;
  }

  .protected-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 12px !important;
    max-width: 100% !important;
  }

  .protected-pillar-item p {
    max-width: 100% !important;
  }

  /* QR Transparency Section */
  .qr-transparency-section {
    padding: 60px 0 !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .qr-features-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .qr-feature-row {
    text-align: left !important;
    padding: 14px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .phone-mockup-frame {
    max-width: 250px !important;
    margin: 0 auto !important;
  }

  .phone-mockup-frame img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* More Than Just Pest Control (2 Cards per line) */
  .more-than-section {
    padding: 50px 0 !important;
  }

  .more-than-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .more-than-card {
    padding: 16px 12px !important;
  }

  .more-than-card-title {
    font-size: 0.88rem !important;
    margin-bottom: 6px !important;
  }

  .more-than-card-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  .more-than-card:last-child:nth-child(odd) {
    grid-column: span 2 !important;
    max-width: 100% !important;
  }

  /* Knowledge Section (Section 5) */
  .fssai-knowledge-grid {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    width: 100% !important;
  }

  .fssai-sectors-box {
    padding: 20px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .fssai-sectors-subgrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .fssai-sector-pill {
    padding: 10px 10px !important;
    font-size: 0.76rem !important;
    text-align: center !important;
  }

  /* Inspection Focus (2 Cards per line on mobile) */
  .inspection-focus-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .inspection-focus-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .inspection-card-top {
    margin-bottom: 8px !important;
  }

  .inspection-num {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }

  .inspection-card-top i {
    font-size: 0.85rem !important;
  }

  .inspection-card-title {
    font-size: 0.86rem !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }

  .inspection-card-desc {
    font-size: 0.72rem !important;
    line-height: 1.38 !important;
  }

  /* Pest Risks (2 Cards per line on mobile) */
  .pest-risks-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .pest-risk-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .pest-risk-badge {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    margin-bottom: 8px !important;
  }

  .pest-risk-title {
    font-size: 0.88rem !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }

  .pest-risk-desc {
    font-size: 0.72rem !important;
    line-height: 1.38 !important;
  }

  /* 7-Step Process Grid (2 Cards per line on mobile) */
  .fssai-process-section {
    padding: 55px 0 !important;
  }

  .fssai-process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .fssai-step-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .fssai-step-badge {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
  }

  .fssai-step-title {
    font-size: 0.88rem !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }

  .fssai-step-desc {
    font-size: 0.72rem !important;
    line-height: 1.38 !important;
  }

  .fssai-step-card:last-child {
    grid-column: span 2 !important;
  }

  /* Documentation & Workplace (2 Cards per line on mobile) */
  .doc-badges-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .doc-badge-card {
    padding: 12px 10px !important;
    gap: 6px !important;
    flex-direction: column !important;
  }

  .doc-badge-icon {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
  }

  .doc-badge-title {
    font-size: 0.8rem !important;
    margin-bottom: 2px !important;
  }

  .doc-badge-desc {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
  }

  .workplace-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .workplace-card {
    padding: 14px 12px !important;
  }

  .workplace-card-title {
    font-size: 0.84rem !important;
  }

  .workplace-card-desc {
    font-size: 0.72rem !important;
    line-height: 1.38 !important;
  }

  /* Partner Orange Banner */
  .partner-orange-banner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 18px !important;
    padding: 24px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .partner-banner-left {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .partner-banner-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* =========================================================================
     ABOUT US PAGE MOBILE PERFECTION (2-Column Grids & Clean Stacked Rhythm)
     ========================================================================= */
  
  /* 1. About Hero Section Mobile */
  .about-hero-section {
    min-height: auto !important;
    padding: 0 !important;
    background: #0A0A0A !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .about-hero-bg-visual {
    position: relative !important;
    width: 100% !important;
    height: 250px !important;
    z-index: 1 !important;
    display: block !important;
  }

  .about-hero-bg-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 25% !important;
  }

  .about-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 250px !important;
    background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.88) 100%) !important;
    z-index: 2 !important;
  }

  .about-hero-container {
    position: relative !important;
    z-index: 3 !important;
    padding: 24px 16px 45px 16px !important;
    margin-top: -24px !important;
  }

  .about-hero-title {
    font-size: 1.85rem !important;
    line-height: 1.22 !important;
    margin-bottom: 10px !important;
  }

  .about-hero-highlight {
    font-size: 1rem !important;
    margin-bottom: 12px !important;
  }

  .about-hero-desc {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
  }

  .about-trust-pods-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 18px !important;
    width: 100% !important;
  }

  .about-trust-pod {
    padding: 12px 10px !important;
    gap: 8px !important;
    border-radius: 8px !important;
    background: rgba(25, 25, 25, 0.85) !important;
  }

  .about-trust-pod-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
  }

  .about-trust-pod-title {
    font-size: 0.8rem !important;
    margin-bottom: 2px !important;
    line-height: 1.25 !important;
  }

  .about-trust-pod-desc {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
  }

  .about-hero-badge-strip {
    margin-top: 16px !important;
    gap: 8px !important;
  }

  .about-hero-badge {
    font-size: 0.76rem !important;
    padding: 6px 12px !important;
  }

  .about-team-tag {
    padding: 8px 12px !important;
    font-size: 0.74rem !important;
  }

  /* 2. Founder / Leadership Section Mobile */
  .about-founder-section {
    padding: 50px 0 !important;
  }

  .about-founder-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .founder-portrait-wrap {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
  }

  .founder-portrait-frame {
    max-width: 250px !important;
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
  }

  .founder-badge-floating {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: -14px auto 0 auto !important;
    width: auto !important;
    max-width: 95% !important;
    font-size: 0.72rem !important;
    padding: 7px 14px !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
    z-index: 5 !important;
  }

  .founder-content {
    padding-left: 0 !important;
    text-align: left !important;
  }

  .founder-eyebrow {
    display: inline-flex !important;
  }

  .founder-name {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
  }

  .founder-designation {
    font-size: 0.95rem !important;
  }

  .founder-sub-designation {
    font-size: 0.82rem !important;
    margin-bottom: 16px !important;
  }

  .founder-quote-box {
    padding: 18px 16px 16px 16px !important;
    margin-bottom: 16px !important;
    border-radius: 0 10px 10px 0 !important;
  }

  .founder-quote-mark {
    font-size: 1.4rem !important;
  }

  .founder-quote-mark.top {
    margin-bottom: 6px !important;
  }

  .founder-quote-mark.bottom {
    margin-top: 8px !important;
  }

  .founder-quote-text {
    font-size: 0.90rem !important;
    line-height: 1.55 !important;
  }

  .founder-story-text {
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }

  .founder-signature-box {
    text-align: left !important;
  }

  .founder-signature-text {
    font-size: 1.75rem !important;
  }

  /* 3. Founder Credentials (2 Cards per row on mobile) */
  .founder-credentials-section {
    padding: 40px 0 !important;
  }

  .founder-credentials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .founder-cred-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .founder-cred-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    margin-bottom: 10px !important;
    border-radius: 8px !important;
  }

  .founder-cred-title {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }

  .founder-cred-desc {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }

  /* 4. Company Story Section Mobile */
  .about-story-section {
    padding: 50px 0 !important;
  }

  .about-story-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .about-story-img-wrap img {
    height: 220px !important;
  }

  /* 5. Journey Milestones (2 Cards per row on mobile) */
  .about-journey-section {
    padding: 50px 0 !important;
  }

  .journey-milestones-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .journey-milestone-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .journey-milestone-pill {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
    margin-bottom: 8px !important;
  }

  .journey-milestone-title {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }

  .journey-milestone-desc {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }

  /* 6. Why Businesses Trust ATx (2 Cards per row on mobile) */
  .why-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .why-trust-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .why-trust-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    margin-bottom: 10px !important;
    border-radius: 8px !important;
  }

  .why-trust-title {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }

  .why-trust-desc {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }

  /* 7. Our Values (2 Cards per row on mobile with 5th spanning 2) */
  .about-values-section {
    padding: 55px 0 !important;
  }

  .values-horizontal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    border-radius: 12px !important;
  }

  .value-col {
    padding: 18px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .value-col:nth-child(even) {
    border-right: none !important;
  }

  .value-col:last-child {
    grid-column: span 2 !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  .value-icon {
    font-size: 1.4rem !important;
    margin-bottom: 8px !important;
  }

  .value-title {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
  }

  .value-desc {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
  }

  /* 8. Statistics Section (2 Cards per row on mobile with 5th spanning 2) */
  .about-stats-section {
    padding: 50px 0 !important;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .about-stat-card {
    padding: 16px 12px !important;
    border-radius: 10px !important;
  }

  .about-stat-card:last-child {
    grid-column: span 2 !important;
  }

  .about-stat-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }

  .about-stat-val {
    font-size: 1.6rem !important;
    margin-bottom: 2px !important;
  }

  .about-stat-lbl {
    font-size: 0.78rem !important;
    margin-bottom: 2px !important;
  }

  .about-stat-desc {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
  }

  /* 9. Mission & Vision Mobile */
  .mission-vision-section {
    padding: 50px 0 !important;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .mv-card {
    padding: 22px 18px !important;
    border-radius: 12px !important;
  }

  .mv-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.15rem !important;
  }

  .mv-card-title {
    font-size: 1.1rem !important;
  }

  .mv-card-desc {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  /* 10. 5-Step Process (2 Cards per row on mobile with 5th spanning 2) */
  .about-process-section {
    padding: 50px 0 !important;
  }

  .about-process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .about-process-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .about-process-card:last-child {
    grid-column: span 2 !important;
  }

  .about-process-num {
    font-size: 1.3rem !important;
    margin-bottom: 6px !important;
  }

  .about-process-title {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }

  .about-process-desc {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }

  /* 11. Commitment Strip & CTA Mobile */
  .commitment-strip-section {
    padding: 30px 0 !important;
  }

  .commitment-strip-grid {
    flex-direction: column !important;
    gap: 14px !important;
    align-items: flex-start !important;
  }

  .about-cta-section {
    padding: 55px 0 !important;
  }

  .about-cta-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }

  .about-cta-desc {
    font-size: 0.88rem !important;
    margin-bottom: 22px !important;
  }

  .about-cta-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .about-cta-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* =========================================================================
     OUR WORK PAGE MOBILE STYLES
     ========================================================================= */
  .work-hero-section {
    min-height: auto !important;
    padding: 60px 0 !important;
  }

  .work-hero-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }

  .work-hero-desc {
    font-size: 0.90rem !important;
    margin-bottom: 20px !important;
  }

  .work-hero-cta-group {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .work-hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .work-sectors-section {
    padding: 50px 0 !important;
  }

  .sectors-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .sector-card {
    padding: 24px 20px !important;
  }

  .sector-title {
    font-size: 1.2rem !important;
  }

  .work-portfolio-section {
    padding: 50px 0 !important;
  }

  .work-filter-wrapper {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
  }

  .work-projects-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .work-cta-card {
    padding: 35px 22px !important;
    border-radius: 16px !important;
  }

  .work-cta-title {
    font-size: 1.65rem !important;
  }

  .work-cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .work-cta-buttons .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .work-cta-phone-strip {
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }

  .work-phone-pill {
    justify-content: center !important;
  }

  /* =========================================================================
     RESOURCES PAGE MOBILE STYLES
     ========================================================================= */
  .resource-hero-section {
    min-height: auto !important;
    padding: 60px 0 !important;
  }

  .resource-hero-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }

  .resource-hero-desc {
    font-size: 0.90rem !important;
  }

  .resource-search-box {
    padding: 4px 6px 4px 14px !important;
  }

  .resource-search-box input {
    font-size: 0.85rem !important;
  }

  .resource-search-btn {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
  }

  .resource-featured-card {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-bottom: 35px !important;
  }

  .resource-featured-media {
    height: 220px !important;
    min-height: auto !important;
  }

  .resource-featured-body {
    padding: 24px 20px !important;
  }

  .resource-featured-title {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }

  .resource-featured-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }

  .resource-featured-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .resource-featured-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .resources-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .resource-faq-section {
    padding: 50px 0 !important;
  }

  .faq-accordion-header {
    padding: 16px 18px !important;
    font-size: 0.95rem !important;
  }

  .resource-cta-box {
    padding: 35px 20px !important;
  }

  .resource-cta-title {
    font-size: 1.65rem !important;
  }

  .resource-cta-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .resource-cta-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .case-modal-sections-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .case-modal-footer {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .resource-modal-body {
    padding: 24px 18px !important;
  }

  .resource-modal-title {
    font-size: 1.45rem !important;
  }

  .resource-modal-image-wrap {
    height: 190px !important;
    margin-bottom: 20px !important;
  }

  .resource-modal-cta-box {
    flex-direction: column !important;
    text-align: center !important;
  }

  .resource-modal-cta-box .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* =========================================================================
     CAREERS PAGE MOBILE STYLES
     ========================================================================= */
  .careers-hero-section {
    min-height: auto !important;
    padding: 60px 0 !important;
  }

  .careers-hero-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }

  .careers-hero-desc {
    font-size: 0.90rem !important;
  }

  .careers-hero-badge-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .job-card {
    padding: 24px 20px !important;
    border-radius: 14px !important;
  }

  .job-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
  }

  .job-title {
    font-size: 1.25rem !important;
  }

  .job-apply-btn-desktop {
    display: none !important;
  }

  .job-card-footer {
    display: block !important;
  }

  .job-apply-btn-mobile {
    width: 100% !important;
    justify-content: center !important;
  }

  .job-details-dual-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .culture-benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .job-apply-dialog {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  .job-apply-title {
    font-size: 1.35rem !important;
  }

  .job-apply-form .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .form-submit-row {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .form-submit-row .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* =========================================================================
     SITE FOOTER MOBILE STYLES (Logo & Brand Centered on Mobile)
     ========================================================================= */
  .site-footer {
    padding: 36px 0 0 0 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-bottom: 24px !important;
  }

  .footer-about {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-logo-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-logo-wrap .logo-brand {
    justify-content: center !important;
    text-align: center !important;
  }

  .footer-logo-wrap .logo-sub {
    text-align: center !important;
  }

  .footer-tagline {
    justify-content: center !important;
    text-align: center !important;
  }

  .footer-desc {
    text-align: center !important;
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-socials-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-social-label {
    text-align: center !important;
  }

  .footer-socials {
    justify-content: center !important;
  }

  .footer-col-title {
    margin-bottom: 10px !important;
  }

  .footer-dual-contact-row {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 14px 0 !important;
  }

  .footer-bottom-left {
    justify-content: center !important;
  }
}

/* Tablet Media Query (769px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .about-hero-grid,
  .about-story-grid,
  .about-founder-grid,
  .sectors-grid,
  .resource-featured-card {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .work-projects-grid,
  .resources-cards-grid,
  .culture-benefits-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .founder-credentials-grid,
  .journey-milestones-grid,
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-horizontal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-trust-grid,
  .about-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .niphm-trust-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .niphm-image-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }

  .niphm-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .niphm-actions {
    justify-content: center;
  }
}

/* NIPHM Mobile Responsive (Under 768px) */
@media (max-width: 768px) {
  .niphm-trust-section {
    padding: 45px 0 !important;
  }

  .niphm-trust-card {
    padding: 26px 16px !important;
    border-radius: 18px !important;
  }

  .niphm-trust-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }

  .niphm-image-wrapper {
    max-width: 290px !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
  }

  .niphm-gov-tag {
    font-size: 0.68rem !important;
    padding: 8px 10px !important;
    line-height: 1.3 !important;
  }

  .niphm-badge-pill {
    margin: 0 auto 12px auto !important;
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
  }

  .niphm-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  .niphm-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }

  .niphm-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    text-align: left !important;
  }

  .niphm-feature-item {
    padding: 12px 10px !important;
    gap: 8px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    border-radius: 10px !important;
  }

  .niphm-feature-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
    margin-bottom: 2px !important;
  }

  .niphm-feature-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
  }

  .niphm-feature-text {
    font-size: 0.68rem !important;
    line-height: 1.32 !important;
  }

  .niphm-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .niphm-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}





