.mega-menu {
  display: flex;
  gap: 40px;
  padding: 15px 20px;
}

.mega-menu .column {
  list-style: none;
  padding: 0;
}

.mega-menu .column ul {
  padding: 0;
  margin: 0;
}

.mega-menu li a {
  display: block;
  padding: 3px 0;
  font-size: 14px;
}

.menu-title {
  font-weight: bold;
  font-size: 14px;
  background: #f3f3f3;
  padding: 4px 6px;
  margin-bottom: 8px;
  display: inline-block;
}


/* Base / reset for menu */
.has-dropdown { position: relative; }
.drop-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 8px 12px;
}

/* Dropdown (hidden by default) */
.dropdown {
  display: none; /* hidden until opened */
  position: absolute;
  left: 0;
  top: 100%;
  white-space: normal;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-radius: 2px;
  padding: 18px 20px;
  z-index: 50;
  min-width: 640px; /* desktop base */
}

/* When parent has .open show dropdown */
.has-dropdown.open > .dropdown,
.has-dropdown[aria-expanded="true"] > .dropdown {
  display: block;
}

/* Mega menu columns */
.mega-menu {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Column container inside the dropdown. In your markup .column is an li containing ul */
.mega-menu > .column {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
}

/* Title style */
.menu-title {
  display: inline-block;
  background: #f3f3f3;
  padding: 6px 8px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  border-radius: 2px;
}

/* Items */
.mega-menu a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

/* Hover / focus */
.mega-menu a:hover,
.mega-menu a:focus {
  color: #0073e6;
  outline: none;
}

/* Desktop adjustments */
@media (min-width: 1100px) {
  .dropdown { min-width: 720px; }
  .mega-menu { gap: 50px; }
}

/* Tablet: switch to 2 columns */
@media (max-width: 1099px) and (min-width: 700px) {
  .dropdown { min-width: 520px; padding: 16px; }
  .mega-menu {
    flex-wrap: wrap;
    gap: 24px;
  }
  .mega-menu > .column { flex: 0 0 calc(50% - 12px); } /* two columns layout */
}

/* Mobile: full width stacked list (dropdown becomes static and full-width) */
@media (max-width: 699px) {
  .dropdown {
    position: static;
    display: none; /* still hidden until opened */
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    padding: 12px;
  }

  /* when open -> visible with full stacking */
  .has-dropdown.open > .dropdown,
  .has-dropdown[aria-expanded="true"] > .dropdown {
    display: block;
  }

  .mega-menu {
    display: block;
    gap: 0;
  }

  .mega-menu > .column {
    margin-bottom: 12px;
    min-width: 0;
  }

  /* Make links easier to tap */
  .mega-menu a {
    padding: 10px 6px;
    font-size: 16px;
  }

  /* Make toggle look like an accordion header on mobile */
  .drop-toggle {
    width: 100%;
    text-align: left;
    padding: 12px;
    border-radius: 4px;
  }
}











    /* Reset */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html, body {
      overflow-x: hidden;
      width: 100%;
    }
    body {
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background: #fff;
      color: #333;
      user-select: none;
      line-height: 1.4;
    }

    a {
      text-decoration: none;
      color: inherit;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 100%;
      margin: 0 auto;
      padding: 0 15px;
    }

    /* Header top bar with logo and info */
    header .top-bar {
      background: #f5f5f5;
      font-size: 12px;
      font-weight: 400;
      color: #333;
      user-select: none;
      padding: 6px 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
    }

    /* Logo container */
    .logo-container {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: fit-content;
      user-select: text;
    }

    .logo-container img {
      height: 40px;
      width: auto;
      display: block;
      user-select: none;
    }

    .logo-texts {
      display: flex;
      flex-direction: column;
      font-size: 12px;
      color: #222;
      line-height: 1.1;
    }
    .logo-texts .media {
      font-weight: 700;
      font-size: 11px;
      margin-bottom: 2px;
    }
    .logo-texts .arabic {
      font-family: "Arial", sans-serif;
      font-size: 10px;
      direction: rtl;
      color: #444;
      margin-bottom: 2px;
    }
    .logo-texts .company-name {
      font-weight: 800;
      font-size: 14px;
      color: #222;
    }

    /* Contact and top info text in header */
    .top-bar .contact-info {
      font-size: 12px;
      white-space: nowrap;
      color: #444;
      user-select: text;
    }
    .top-bar .contact-info a {
      color: #d43c18;
      font-weight: 700;
      margin-left: 5px;
    }
    .top-bar .contact-info a:hover {
      text-decoration: underline;
    }

    /* Navigation bar below top bar */
    nav {
      background: white;
      border-bottom: 1px solid #ddd;
      user-select: none;
      position: relative;
      z-index: 100;
    }
    nav .container {
      max-width: 100%;
      margin: 0 auto;
      padding: 0 15px;
      overflow: visible;
      position: relative;
    }
    
    /* Hamburger menu */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 10px;
    }
    .hamburger span {
      width: 25px;
      height: 3px;
      background: #333;
      transition: 0.3s;
    }
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(8px, 8px);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
    }
    
    nav ul {
      display: flex;
      gap: 14px;
      list-style: none;
      font-size: 14px;
      font-weight: 600;
      padding: 11px 0;
      overflow: visible;
      flex-wrap: wrap;
    }
    nav ul li {
      white-space: nowrap;
      position: relative;
    }
    nav ul li a {
      padding: 7px 8px;
      color: #333;
      display: inline-block;
    }
    nav ul li a:hover,
    nav ul li a.active {
      background-color: #fabc00;
      color: #111;
      border-radius: 3px;
    }
    nav ul li.has-dropdown::after {
      content: "▼";
      font-size: 8px;
      color: #333;
      margin-left: 4px;
      vertical-align: middle;
      user-select: none;
    }
    
    /* Dropdown button styles */
    .drop-toggle {
      background: none;
      border: none;
      cursor: pointer;
      font: inherit;
      color: inherit;
      padding: 7px 8px;
      display: inline-block;
    }
    .drop-toggle:hover {
      background-color: #fabc00;
      color: #111;
      border-radius: 3px;
    }
    
    /* Dropdown menu */
    .dropdown {
      position: absolute;
      left: 0;
      top: calc(100% + 6px);
      min-width: 200px;
      list-style: none;
      margin: 0;
      padding: 8px 0;
      background: #fff;
      box-shadow: 0 6px 18px rgba(0,0,0,0.12);
      border-radius: 6px;
      opacity: 0;
      transform: scaleY(0.95);
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease;
      z-index: 50;
    }
    .dropdown li {
      width: 100%;
      white-space: normal;
    }
    .dropdown li a {
      display: block;
      padding: 10px 14px;
      color: #222;
      white-space: nowrap;
    }
    .dropdown li a:hover,
    .dropdown li a:focus {
      background: rgba(0,0,0,0.05);
    }
    
    /* Show dropdown */
    .has-dropdown.open .dropdown {
      opacity: 1;
      transform: scaleY(1);
      pointer-events: auto;
    }

    /* Banner section */
    .banner {
      max-width: 100%;
      margin: 0;
      background-color: #111111;
      border-radius: 0;
      color: white;
      display: flex;
      padding: 40px 30px;
      gap: 40px;
      user-select: none;
      flex-wrap: wrap;
      align-items: center;
    }
    .banner-left {
      flex: 1 1 400px;
      max-width: 600px;
      user-select: text;
    }
    .banner-left h1 {
      font-size: 38px;
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: 12px;
      font-family: "Segoe UI Black", "Arial Black", Verdana, sans-serif;
    }
    .banner-left .orange-text {
      color: #f2691e;
      font-weight: 700;
      font-size: 28px;
      margin-top: 6px;
      margin-bottom: 20px;
    }
    .banner-left p {
      font-size: 13px;
      max-width: 420px;
      color: #ccc;
      line-height: 1.45;
      font-weight: 400;
      user-select: text;
    }
    .banner-right {
      flex: 1 1 320px;
      max-width: 400px;
      position: relative;
      user-select: none;
    }
    .banner-right img {
      width: 100%;
      max-width: 100%;
      height: auto;
      border-radius: 6px;
      box-shadow: 0 0 30px rgba(226, 106, 44, 0.7);
      display: block;
    }

    /* Features bar below banner */
    .features-bar {
      max-width: 100%;
      background: #fabc00;
      margin: 0 auto;
      margin-bottom: 30px;
      padding: 14px 30px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      gap: 15px;
      font-size: 13px;
      font-weight: 600;
      color: #3e2202;
      border-radius: 0;
      user-select: none;
      flex-wrap: wrap;
    }
    .features-bar .feature {
      display: flex;
      gap: 10px;
      align-items: center;
      min-width: 180px;
      flex: 1 1 1;
      justify-content: center;
    }
    .features-bar .feature .icon {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      background: #3e2202;
      color: #fabc00;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 900;
      font-size: 14px;
      user-select: none;
    }
    /* Icons using Unicode or emojis for demonstration */
    .features-bar .feature.free-check .icon::before {
      content: "✔";
    }
    .features-bar .feature.customer-service .icon::before {
      content: "1";
    }
    .features-bar .feature.support .icon::before {
      content: "😊";
    }

    /* Responsive */

    @media (max-width: 960px) {
      .banner {
        padding: 30px 20px;
        gap: 25px;
      }
      .banner-left {
        max-width: 100%;
        flex-basis: 100%;
      }
      .banner-right {
        max-width: 100%;
        flex-basis: 100%;
        order: -1;
        margin-bottom: 20px;
      }
      .banner-left h1 {
        font-size: 32px;
      }
      .banner-left .orange-text {
        font-size: 22px;
      }
      .banner-left p {
        font-size: 12px;
      }
      .features-bar {
        padding: 14px 20px;
        font-size: 12px;
      }
      .features-bar .feature {
        min-width: 140px;
        flex: 1 1 100%;
        justify-content: flex-start;
        gap: 15px;
      }
    }

    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }
      .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 0;
      }
      .main-nav.active {
        display: flex;
      }
      nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
      }
      nav ul li::after {
        display: none;
      }
      nav ul li a,
      nav ul li .drop-toggle {
        display: block;
        width: 100%;
        padding: 15px;
        text-align: left;
        border-radius: 0;
      }
      .dropdown {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        padding: 0;
        opacity: 1;
        transform: none;
        display: none;
        border-radius: 0;
      }
      .has-dropdown.open .dropdown {
        display: block;
      }
      .dropdown li a {
        padding-left: 30px;
      }
    }

    @media (max-width: 480px) {
      header .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
      }
      .banner-left h1 {
        font-size: 26px;
      }
      .banner-left .orange-text {
        font-size: 18px;
      }
      .banner-left p {
        font-size: 11px;
        max-width: 100%;
      }
      .features-bar {
        font-size: 11px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 15px;
      }
      .features-bar .feature {
        min-width: auto;
        justify-content: flex-start;
      }
      .logo-container {
        gap: 6px;
      }
      .logo-texts {
        font-size: 11px;
      }
      .logo-texts .media {
        font-size: 9px;
      }
      .logo-texts .arabic {
        font-size: 9px;
      }
      .logo-texts .company-name {
        font-size: 12px;
      }
    }





    /* Services grid */
    .services-section {
      max-width: 100%;
      margin: 0 auto 35px;
      padding: 0 15px;
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 14px;
      user-select: none;
    }
    .service-card {
      border: 1px solid #ddd;
      border-radius: 3px;
      overflow: hidden;
      box-shadow: 0 0 5px rgb(0 0 0 / 0.05);
      background: white;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      transition: box-shadow 0.3s ease;
    }
    .service-card:hover {
      box-shadow: 0 6px 12px rgba(226, 106, 44, 0.4);
    }
    .service-card img {
      height: 90px;
      width: 100%;
      object-fit: cover;
      object-position: center;
      user-select: none;
      border-bottom: 1px solid #eee;
    }
    .service-info {
      padding: 10px 8px;
      text-align: center;
      font-weight: 600;
      font-size: 13px;
      color: #444;
      flex-grow: 1;
      line-height: 1.1;
      user-select: text;
    }
    .service-btn {
      background: #e26a2c;
      color: white;
      text-transform: uppercase;
      font-weight: 700;
      font-size: 11px;
      padding: 6px 0;
      display: block;
      text-align: center;
      user-select: none;
      transition: background-color 0.3s ease;
      border-top: 1px solid #bf5a1e;
    }
    .service-btn:hover {
      background: #bf5a1e;
    }
    .btn-with-arrow {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5px;
    }
    .arrow-down {
      border: solid white;
      border-width: 0 2px 2px 0;
      display: inline-block;
      padding: 3px;
      transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      margin-top: 1px;
    }

    /* Submit request */
    .submit-request-container {
      text-align: center;
      margin-bottom: 40px;
      user-select: none;
    }
    .submit-btn {
      background: #e26a2c;
      color: white;
      font-weight: 700;
      font-size: 14px;
      padding: 14px 68px;
      border-radius: 3px;
      cursor: pointer;
      border: none;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      user-select: none;
      transition: background-color 0.3s ease;
    }
    .submit-btn:hover {
      background: #bf5a1e;
    }

    /* Core values section */
    .core-values-section {
      max-width: 100%;
      margin: 0 auto 60px;
      display: flex;
      justify-content: space-between;
      gap: 15px;
      padding: 0 15px;
      user-select: none;
      flex-wrap: wrap;
    }
    .value-box {
      background: #f3f3f3;
      border-radius: 3px;
      padding: 25px 24px;
      flex: 1 1 0;
      text-align: center;
      font-size: 13px;
      color: #777;
      box-sizing: border-box;
      user-select: none;
      min-width: 280px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      user-select: none;
    }
    .value-box .icon {
      font-size: 40px;
      color: #e26a2c;
      margin-bottom: 6px;
      user-select: none;
    }
    .value-title {
      font-weight: 900;
      color: #e26a2c;
      font-size: 15px;
      user-select: none;
    }
    .value-desc {
      font-weight: 400;
      color: #777;
      line-height: 1.3;
      user-select: none;
      margin-top: auto;
    }

    /* Footer */
    footer {
      background: #111;
      color: #ddd;
      font-weight: 400;
      font-size: 12px;
      padding: 35px 15px;
      user-select: none;
      flex-shrink: 0;
    }
    .footer-container {
      max-width: 100%;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 15px;
      flex-wrap: wrap;
      align-items: flex-start;
      user-select: none;
    }

    /* Footer logo with custom svg and text */
    .footer-logo-col {
      flex: 0 0 auto;
      user-select: none;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .footer-logo-svg {
      flex-shrink: 0;
      display: block;
      width: 95px;
      height: 36px;
    }
    .footer-logo-texts {
      display: flex;
      flex-direction: column;
      font-size: 12px;
      color: #bbb;
      user-select: none;
    }
    .footer-logo-arabic {
      font-family: Arial, sans-serif;
      font-weight: 400;
      font-size: 11px;
      direction: rtl;
      margin-bottom: 3px;
      color: #777;
      user-select: text;
    }
    .footer-logo-bold {
      font-weight: 600;
      color: #e26a2c;
      font-size: 14px;
      user-select: text;
    }

    .footer-contact,
    .footer-connect {
      font-weight: 400;
      color: #bbb;
      font-size: 12px;
      max-width: 250px;
      user-select: none;
    }
    .footer-contact strong,
    .footer-connect strong {
      color: #e26a2c;
      display: block;
      margin-bottom: 7px;
      font-weight: 700;
      font-size: 13px;
      user-select: none;
    }
    .footer-connect p {
      margin-bottom: 6px;
    }
    .social-icons {
      display: flex;
      gap: 12px;
      margin-top: 6px;
    }
    .social-icons a {
      font-size: 16px;
      color: #ddd;
      user-select: none;
      transition: color 0.3s ease;
      display: inline-block;
      line-height: 1;
      width: 24px;
      height: 24px;
      text-align: center;
      vertical-align: middle;
    }
    .social-icons a:hover {
      color: #e26a2c;
    }

    /* Responsive */

    @media (max-width: 1080px) {
      .banner-section {
        padding-left: 30px;
        padding-right: 30px;
      }
    }

    @media (max-width: 992px) {
      .banner-section {
        flex-direction: column;
        padding: 50px 15px 60px 15px;
        text-align: center;
      }
      .banner-left {
        max-width: 100%;
        margin-bottom: 25px;
      }
      .banner-left h1 {
        font-size: 32px;
      }
      .banner-left h1 .orange-text {
        font-size: 18px;
      }
      .banner-left p {
        max-width: 100%;
      }
      .banner-right {
        max-width: 340px;
        margin: 0 auto;
      }
      .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
      }
      .submit-btn {
        padding: 14px 56px;
      }
      .core-values-section {
        flex-wrap: wrap;
        gap: 20px;
      }
      .value-box {
        flex-basis: 48%;
      }
      footer .footer-container {
        justify-content: start;
        gap: 20px;
      }
    }

    @media (max-width: 720px) {
      .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
      }
      .submit-btn {
        padding: 14px 44px;
        font-size: 13px;
      }
      .core-values-section {
        gap: 20px;
      }
      .value-box {
        flex-basis: 100%;
      }
      footer .footer-container {
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 480px) {
      .banner-left h1 {
        font-size: 26px;
        line-height: 1.2;
      }
      .banner-left h1 .orange-text {
        font-size: 16px;
      }
      .banner-left p {
        font-size: 13px;
      }
      .features-bar {
        font-size: 11px;
        flex-direction: column;
        gap: 10px;
      }
      .features-bar .feature {
        min-width: auto;
        justify-content: center;
      }
      
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
      }
      
      .core-values-section {
        gap: 15px;
      }
      
      .submit-btn {
        padding: 14px 40px;
        font-size: 12px;
      }
      footer {
        font-size: 11px;
        padding: 35px 15px 40px;
      }
      footer .footer-contact,
      footer .footer-connect {
        max-width: 100%;
        font-size: 11px;
      }
      footer .footer-container {
        flex-direction: column;
        gap: 10px;
      }
      footer .footer-logo-col {
        margin-bottom: 12px;
      } 

    }

    /* Base dropdown styling */
.container { position: relative; }
.main-nav { list-style: none; margin: 0; padding: 0; display:flex; gap:1rem; align-items:center; flex-wrap:wrap; }
.main-nav .has-dropdown { position: relative; }

/* Mega dropdown */
.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  margin: 8px 0 0 0;
  padding: 12px;
  background: white;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* responsive columns */
  gap: 8px 16px;
  min-width: 320px;
  max-width: 1000px; /* limit width on large screens */
  opacity: 0;
  transform-origin: top left;
  transform: translateY(-6px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

/* Show dropdown when parent has open state (JS toggles .open) */
.has-dropdown.open > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Remove bullets and spacing for items */
.dropdown li { list-style: none; margin: 0; }
.dropdown a {
  display: block;
  padding: 6px 4px;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
}

/* Small visual niceties */
.drop-toggle { background: none; border: none; cursor: pointer; font: inherit; padding: 8px; }
.hamburger { display:none; /* shown in mobile styles below */ }

/* Responsive adjustments -------------------------------------------------- */

/* Tablet: slightly larger min column */
@media (max-width: 992px) {
  .dropdown { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); max-width: 820px; }
}

/* Mobile: full width stacked menu */
@media (max-width: 768px) {
  .main-nav { display: none; width: 100%; }            /* hidden by default and toggled by JS */
  .hamburger { display: inline-flex; align-items:center; justify-content:center; cursor:pointer; background: none; border: none; padding: 8px; }
  .container .main-nav.open { display: block; }       /* when hamburger toggles .open class */
  .main-nav { flex-direction: column; gap: 0; }
  .main-nav > li { width: 100%; border-bottom: 1px solid rgba(0,0,0,.06); }
  /* Dropdown becomes part of flow, full width, no absolute positioning */
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;  /* single column */
    padding: 8px 16px;
    box-shadow: none;
    border-left: none;
    border-right: none;
  }
  .has-dropdown > .drop-toggle { width:100%; text-align:left; padding:12px 16px; }
  .has-dropdown .dropdown a { padding: 10px 0; }
}

/* Optional: limit height and enable scrolling when many items */
.dropdown {
  max-height: 60vh;
  overflow: auto;
}



/* 1) Ensure grid cells align to the top and rows size to content */
.print-services-dropdown {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px 24px;
  grid-auto-rows: minmax(1.6em, auto);   /* <- lets rows grow with wrapped content */
  align-items: start;                     /* <- avoids vertical centering that can overlap */
  width: 100%;
  max-width: 1100px;
  padding: 16px;
  white-space: normal;                    /* allow wrapping */
}

/* 2) Make links full-width, allow wrapping and break long words */
.print-services-dropdown li { list-style: none; }
.print-services-dropdown a {
  display: block;                         /* full cell area */
  width: 100%;
  white-space: normal;                    /* important */
  overflow-wrap: anywhere;                /* break long words/URLs */
  word-break: break-word;                 /* safety for different browsers */
  line-height: 1.4;
  padding: 6px 2px;                       /* comfortable touch target */
}

/* 3) Prevent accidental negative margins / transforms from causing overlays */
.print-services-dropdown * {
  margin: 0;
  box-sizing: border-box;
}

/* 4) Keep scroll behaviour and avoid clipping */
.print-services-dropdown {
  max-height: 60vh;
  overflow: auto;
}

/* 5) Mobile fallback: 1 column */
@media (max-width: 768px) {
  .print-services-dropdown {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    padding: 12px 16px;
  }
}










