/* ===================================================
   RESPONSIVE DESIGN BREAKPOINTS
   =================================================== */

/* Tablet Breakpoint (max-width: 1050px) */
@media (max-width: 1050px) {
  .itw-root {
    padding: 100px 24px 50px;
  }

  .nav-container {
    top: 14px;
    padding: 0 16px;
  }

  .links a:nth-child(4),
  .links a:nth-child(6) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    max-width: 900px;
  }

  .copy {
    text-align: center;
  }

  .desc {
    margin-left: auto;
    margin-right: auto;
  }

  .actions,
  .stats {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .stage {
    margin-top: 10px;
  }



  .services-section {
    padding: 90px 0 100px;
  }

  .services-track {
    gap: 28px;
    padding: 0 32px;
  }

  .service-card {
    flex: 0 0 350px;
    width: 350px;
    padding: 30px 24px;
  }

  .services-carousel::before,
  .services-carousel::after {
    width: 140px;
  }

  .products-section {
    padding: 80px 0 90px;
  }

  .certifications-section {
    padding: 75px 0 85px;
  }

  .cert-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cert-podium-stand {
    margin-top: -28px;
  }

  .cert-stage-text-main {
    font-size: 11.5px;
    letter-spacing: 2px;
  }

  .cert-stage-text-sub {
    font-size: 9px;
    letter-spacing: 1.6px;
  }



  .cert-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px 20px;
  }

  .cert-trust-divider {
    display: none;
  }

  .cert-side-dots,
  .cert-side-tag {
    display: none;
  }





  .pipeline-section {
    padding: 90px 0 100px;
  }

  .pipeline-card {
    padding: 36px 24px;
  }

  .pipeline-track-wrap {
    top: 60px;
    bottom: 60px;
    left: 48px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .pipeline-track-progress {
    width: 100% !important;
    height: 0%;
    transition: height 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .pipeline-stages {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .pipeline-stage {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .stage-node {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
  }

  .stage-icon-circle {
    width: 50px;
    height: 50px;
  }

  .stage-card {
    flex: 1;
    padding: 16px 20px;
  }

  .tech-section {
    padding: 80px 0 90px;
  }

  .tech-ecosystem-card {
    padding: 32px 24px;
    border-radius: 28px;
  }

  .orbit-stage {
    display: none;
  }

  .tech-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
  }

  .tech-group-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid rgba(255, 255, 255, 0.98);
    border-radius: 22px;
    padding: 24px 20px;
    box-shadow: 0 14px 34px -8px rgba(35, 68, 125, 0.08), inset 0 2px 4px #ffffff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  }

  .tech-group-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 20px 45px -6px rgba(37, 99, 235, 0.16), inset 0 2px 4px #ffffff;
  }

  .group-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tech-chip {
    padding: 7px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
  }

  .tech-group-card:hover .tech-chip {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
  }
}

/* Laptop Scale (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .orbit-stage {
    transform: scale(0.85);
    margin: -40px auto;
  }

  .tech-ecosystem-card {
    overflow: hidden;
  }
}

@media (max-width: 680px) {
  .tech-mobile-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tech-group-card {
    padding: 20px 16px;
  }
}

/* Mobile Navigation & Intermediate Devices (max-width: 820px) */
@media (max-width: 820px) {
  .nav-container {
    top: 12px;
    padding: 0 12px;
  }

  .brand span {
    display: none;
  }

  .menu-button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--ink);
    font-size: 17px;
    box-shadow: 0 6px 18px rgba(35, 65, 115, 0.08),
      inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.25s ease,
      color 0.25s ease;
  }

  .menu-button:active {
    transform: scale(0.92);
  }

  .cta {
    margin-left: auto;
  }

  /* Liquid Glass Mobile Dropdown Drawer */
  .links {
    position: absolute;
    left: 8px;
    right: 8px;
    top: calc(100% + 12px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1.5px solid rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    box-shadow: 0 24px 50px rgba(35, 65, 115, 0.16),
      0 4px 14px rgba(23, 105, 255, 0.08),
      inset 0 1px 2px rgba(255, 255, 255, 0.98),
      inset 0 -1px 2px rgba(23, 105, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }

  .links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .links a {
    width: 100%;
    padding: 12px 18px;
    text-align: left;
    display: block !important;
    border-radius: 14px;
    color: #485874;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.1px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.22s ease,
      color 0.22s ease,
      transform 0.22s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .links a:hover {
      background: rgba(23, 105, 255, 0.07);
      color: var(--blue);
      transform: translateX(4px);
    }
  }

  .links a:active {
    background: rgba(23, 105, 255, 0.08);
    transform: scale(0.98);
  }

  .active-pill {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Liquid Glass Active Item in Mobile Menu */
  .links a.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(228, 240, 255, 0.88) 100%);
    border: 1px solid rgba(23, 105, 255, 0.22);
    color: var(--blue);
    font-weight: 750;
    box-shadow: 0 6px 18px rgba(23, 105, 255, 0.1),
      inset 0 1px 2px rgba(255, 255, 255, 0.95);
  }

  /* ===================================================
     MOBILE NAVIGATION 
     =================================================== */
  .products-mega-dropdown,
  .services-mega-dropdown,
  .company-mega-dropdown,
  .company-dropdown-menu,
  .services-dropdown-menu,
  .technology-mega-dropdown,
  .dropdown-chevron {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .nav-item.has-dropdown {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-link.nav-link-dropdown {
    width: 100% !important;
    display: block !important;
    justify-content: flex-start !important;
  }
}

/* Mobile Screen Breakpoint (max-width: 700px) */
@media (max-width: 700px) {
  .itw-root {
    min-height: auto;
    padding: 90px 16px 36px;
  }

  .hero {
    display: block;
  }

  .copy {
    text-align: left;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .sub {
    font-size: 18px;
  }

  .actions {
    flex-direction: column;
  }

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

  .stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .stat {
    padding: 8px 10px;
    border-right: 1px solid #e2eaf5;
  }

  .stage {
    height: 430px;
    margin-top: 24px;
  }

  .browser {
    width: 620px;
    max-width: none;
    transform: translate(-50%, -50%) scale(0.65) !important;
  }

  .float {
    scale: 0.8;
  }

  .orbit {
    display: none;
  }



  .services-section {
    padding: 80px 0 90px;
  }

  .services-track {
    gap: 22px;
    padding: 0 24px;
  }

  .service-card {
    flex: 0 0 min(320px, 84vw);
    width: min(320px, 84vw);
    padding: 26px 22px;
  }

  .services-carousel::before,
  .services-carousel::after {
    width: 80px;
  }

  .products-section {
    padding: 65px 0 75px;
  }

  .certifications-section {
    padding: 60px 0 70px;
  }

  .certifications-container {
    padding: 0 16px;
  }

  .cert-split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 28px;
  }

  .cert-value-pills-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cert-square-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cert-stage-frames {
    gap: 12px;
  }

  .cert-podium-stand {
    width: 104%;
    margin-top: -20px;
  }

  .cert-stage-caption {
    top: 58%;
  }

  .cert-stage-text-main {
    font-size: 9.5px;
    letter-spacing: 1.5px;
  }

  .cert-stage-text-sub {
    font-size: 7.5px;
    letter-spacing: 1.2px;
  }

  .cert-trust-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }

  .cert-trust-divider {
    display: none;
  }





  .demo-section {
    padding: 60px 16px;
    min-height: 50vh;
  }
}

/* Small Mobile Screen Breakpoint (max-width: 480px) */
@media (max-width: 480px) {
  .nav-container {
    top: 8px;
    padding: 0 8px;
  }

  .nav {
    gap: 8px;
    padding: 7px 10px;
  }

  .mark {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .cta {
    padding: 9px 14px;
    font-size: 10.5px;
  }

  .menu-button {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .badge {
    max-width: 100%;
    font-size: 8.5px;
    letter-spacing: 1px;
  }

  .desc {
    font-size: 14px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid #e2eaf5;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .stage {
    height: 380px;
  }

  .browser {
    width: 580px;
    transform: translate(-50%, -50%) scale(0.56) !important;
  }

  .services-section {
    padding: 70px 0 80px;
  }

  .services-track {
    gap: 18px;
    padding: 0 16px;
  }

  .service-card {
    flex: 0 0 min(290px, 86vw);
    width: min(290px, 86vw);
    padding: 22px 18px;
  }

  .services-carousel::before,
  .services-carousel::after {
    width: 45px;
  }

  .contact-section {
    padding: 70px 0 80px;
  }

  .contact-trust-card {
    padding: 24px 16px;
    border-radius: 22px;
  }

  .contact-form-card {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Tablet & Intermediate Contact/Footer Breakpoints */
@media (max-width: 1024px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .contact-section {
    padding: 85px 0 95px;
  }

  .contact-container,
  .footer-container {
    padding: 0 20px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

/* ===================================================
   SECTIONS 5, 6, 8, 9 RESPONSIVE DESIGN
   =================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .portfolio-section,
  .clients-section,
  .partners-section,
  .testimonials-section,
  .faq-section {
    padding: 70px 0 80px;
  }

  .port-slide-card {
    flex: 0 0 380px;
    width: 380px;
  }

  .partner-logo-card {
    flex: 0 0 190px;
    width: 190px;
    height: 86px;
  }

  .portfolio-carousel::before,
  .portfolio-carousel::after,
  .partners-carousel::before,
  .partners-carousel::after {
    width: 100px;
  }

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

  .faq-grid-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .portfolio-section,
  .clients-section,
  .partners-section,
  .testimonials-section,
  .faq-section {
    padding: 55px 0 65px;
  }

  .port-slide-card {
    flex: 0 0 320px;
    width: 320px;
  }

  .partner-logo-card {
    flex: 0 0 160px;
    width: 160px;
    height: 76px;
    padding: 8px 14px;
    border-radius: 10px;
  }

  .partner-logo-img {
    max-height: 44px;
  }

  .port-screen-frame {
    padding: 10px 10px 12px;
    border-radius: 14px;
  }

  .port-slide-title {
    font-size: 17px;
  }

  .port-slide-desc {
    font-size: 12.5px;
  }

  .portfolio-carousel::before,
  .portfolio-carousel::after,
  .partners-carousel::before,
  .partners-carousel::after {
    width: 50px;
  }

  .testi-score-card {
    padding: 16px 20px;
    gap: 16px;
  }
}

/* Small Mobile (max-width: 580px) */
@media (max-width: 580px) {
  .port-slide-card {
    flex: 0 0 280px;
    width: 280px;
  }

  .partner-logo-card {
    flex: 0 0 140px;
    width: 140px;
    height: 70px;
    padding: 6px 10px;
  }

  .partner-logo-img {
    max-height: 38px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 13.5px;
  }
}