/* ===================================================================
   MSINTERIORS — RESPONSIVE STYLESHEET (BLACK & GOLD COMPACT)
   Breakpoints:
     Desktop: 1200px+
     Tablet:  768px - 1199px
     Mobile:  Below 768px
   =================================================================== */

/* Large Desktop & Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Tablet & Smaller (< 1200px) */
@media (max-width: 1199.98px) {
  .navbar-nav {
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 0.8125rem;
  }

  .editorial-service-item {
    grid-template-columns: 50px 1.2fr 2fr 40px;
    padding: 1.35rem 1rem;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .project-img-box {
    height: 240px;
  }

  .hero-floating-card {
    right: 2%;
    bottom: 2rem;
    padding: 1rem 1.4rem;
  }

  .hero-floating-number {
    font-size: 1.9rem;
  }
}

/* Tablets (< 992px) */
@media (max-width: 991.98px) {
  .section-py {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-py-sm {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* Navigation */
  .desktop-nav {
    display: none !important;
  }

  .btn-hamburger {
    display: flex !important;
  }

  /* Hero Section */
  .hero-video-section {
    min-height: 80vh;
    padding: 6.5rem 0 3.5rem;
  }

  .hero-floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
    width: fit-content;
  }

  /* Editorial Services Responsive Grid */
  .editorial-service-item {
    grid-template-columns: 45px 1fr 35px;
    grid-template-rows: auto auto;
    gap: 0.4rem 0.85rem;
    padding: 1.25rem 0.75rem;
  }

  .service-summary {
    grid-column: 2 / -1;
    padding-right: 0;
  }

  /* Process Steps */
  .process-track,
  .process-timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .process-track-line {
    display: none !important;
  }

  .process-step {
    margin-bottom: 0;
    display: flex !important;
    text-align: left !important;
    align-items: flex-start !important;
    gap: 1.15rem !important;
    padding: 0 !important;
  }

  .process-step-num {
    margin: 0 !important;
    flex-shrink: 0 !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1rem !important;
  }

  /* Why MSInteriors on Tablet */
  .why-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
  }

  .why-principles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .hero-floating-glass-panel {
    display: none !important;
  }

  /* Capabilities */
  .capability-preview-box {
    height: 300px;
    margin-top: 1.5rem;
  }

  /* Uniform Image Boxes on Tablet */
  .service-detail-img-box {
    height: 280px;
  }

  .about-hero-img-box {
    height: 320px;
    margin-top: 2rem;
  }

  .project-details-hero-img-box {
    height: 340px;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 767.98px) {
  body {
    padding-bottom: 56px; /* Space for mobile bottom action bar */
  }

  .section-py {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .section-py-sm {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Disable Custom Cursor on Touch */
  #cursor-dot, #cursor-circle {
    display: none !important;
  }

  /* Floating controls */
  .desktop-floating-contact {
    display: none !important;
  }

  .mobile-bottom-bar {
    display: block !important;
  }

  #back-to-top {
    bottom: 4.5rem;
    right: 1rem;
  }

  /* Typography & Titles */
  .hero-title {
    font-size: 2.15rem !important;
    line-height: 1.15;
  }

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

  .hero-desc {
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem;
  }

  /* Hero Section Mobile Perfection */
  .hero-slider-section {
    min-height: 580px;
    height: 100svh;
  }

  .hero-slide {
    padding-top: 85px;
    padding-bottom: 4.5rem;
    justify-content: flex-end;
  }

  .hero-content-container {
    padding-bottom: 0.5rem;
  }

  .hero-title {
    font-size: 2rem !important;
    line-height: 1.16;
  }

  .hero-eyebrow {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-desc {
    font-size: 0.875rem !important;
    line-height: 1.55;
    margin-bottom: 1.25rem !important;
  }

  .hero-action-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
  }

  .hero-action-buttons .btn-primary-custom,
  .hero-action-buttons .btn-outline-custom {
    padding: 0.65rem 1.15rem !important;
    font-size: 0.85rem !important;
  }

  .hero-floating-glass-panel {
    display: none !important;
  }

  .hero-video-section {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-floating-card {
    padding: 0.85rem 1.15rem;
    gap: 1rem;
    width: 100%;
    justify-content: space-around;
  }

  .hero-floating-number {
    font-size: 1.65rem;
  }

  /* Process Section Mobile */
  .process-track,
  .process-timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .process-track-line {
    display: none !important;
  }

  .process-step {
    display: flex !important;
    text-align: left !important;
    align-items: flex-start !important;
    gap: 1.1rem !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  .process-step-num {
    margin: 0 !important;
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1rem !important;
  }

  .process-step-title {
    font-size: 1rem !important;
    margin-bottom: 0.25rem !important;
  }

  .process-step-desc {
    font-size: 0.8rem !important;
  }

  /* Why MSInteriors Mobile */
  .why-section {
    padding: 3.5rem 0 !important;
  }

  .why-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }

  .why-stat-box {
    padding: 1.15rem 0.9rem !important;
    margin-bottom: 0 !important;
  }

  .why-stat-box h3 {
    font-size: 1.75rem !important;
    margin-bottom: 0.2rem !important;
  }

  .why-stat-box p {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  .why-principles-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .why-principle-card {
    padding: 1.35rem 1.15rem !important;
  }

  /* Project Feature Slider Mobile */
  .project-feature-section {
    padding: 3rem 0 !important;
  }

  .project-feature-card {
    flex-direction: column !important;
  }

  .project-feature-img-col {
    height: 220px !important;
    min-height: 220px !important;
  }

  .project-feature-info-col {
    padding: 1.5rem 1.15rem !important;
  }

  .feature-counter {
    font-size: 1.85rem !important;
    margin-bottom: 0.35rem !important;
  }

  .feature-project-category {
    font-size: 0.72rem !important;
    letter-spacing: 0.12em !important;
  }

  .feature-project-title {
    font-size: 1.5rem !important;
  }

  .feature-project-desc {
    font-size: 0.85rem !important;
    margin-bottom: 1.25rem !important;
  }

  /* Uniform Heights on Mobile */
  .project-img-box {
    height: 220px !important;
  }

  .project-card.featured-card .project-img-box {
    height: 240px !important;
  }

  .service-hover-preview {
    display: none !important;
  }

  .service-detail-img-box {
    height: 220px !important;
  }

  .about-hero-img-box {
    height: 260px !important;
  }

  .project-details-hero-img-box {
    height: 250px !important;
  }

  .gallery-grid-box {
    height: 180px !important;
  }

  /* Metrics Strip */
  .stats-strip {
    padding: 2rem 0;
  }

  .stat-metric-item {
    margin-bottom: 1.5rem;
  }

  .stat-metric-item:last-child {
    margin-bottom: 0;
  }

  .stat-number {
    font-size: 2.1rem;
  }

  /* Testimonial Card */
  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  /* Contact Form */
  .contact-form-card {
    padding: 1.65rem 1.25rem;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    margin-top: 2rem;
  }

  /* Inner Hero */
  .inner-hero {
    padding: 6rem 0 2.5rem;
  }

  /* Prevent any horizontal overflow */
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}
