*{margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  padding-top: 90px; 
  text-align: left;
  justify-content: left;
}


header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 999;
  transition: top 0.3s ease-in-out;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  position: relative;
  list-style: none;
}

.navbar a {
  text-decoration: none;  
  color: #333;            
  font-weight: 600;
  font-size: 16px;
}

.navbar:hover,
.navbar:hover a {
  color: #061729;         
  text-decoration: none;  
  cursor: pointer;
}

.nav-logo img {
  height: 70px;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links ul li {
  position: relative;
}

.nav-links a,
.nav-links span.dropdown {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.services-menu {
  position: relative;
}

.dropdown-container.services-menu {
  position: relative;
}

.dropdown-container {
  position: relative;
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 20%;
  transform: translateX(-50%) translateY(10px);

  width: 400px;
  background: #fff;

  padding: 20px 20px 20px; /* bottom space kam */
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 22px;

  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

/* Important: invisible bridge between menu text and dropdown */
.mega-dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  background: transparent;
}

.dropdown-container:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-20%) translateY(0);
}

.dropdown-container:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.mega-col {
  position: relative;
}

.mega-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: -23px;
  width: 1px;
  height: 85%;
  border-right: 1px dashed #b9c9bd;
}

.mega-icon {
  width: 42px;
  height: 42px;
  background: #dff3e3;
  color: #032f40;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.mega-col h4 {
  color: #032f40;
  font-size: 18px;
  margin-bottom: 18px;
  font-weight: 700;
}

.mega-col a {
  display: block;
  color: #566b66;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 400;
  transition: 0.2s ease;
}

.mega-col a:hover {
  color: #d13d2f;
  padding-left: 5px;
}

@media (max-width: 991px) {
  .mega-dropdown {
    position: static;
    width: 100%;
    transform: none;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 20px;
  }

  .mega-col:not(:last-child)::after {
    display: none;
  }
}

.company-mega-menu {
  position: relative;
}

.company-mega-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 20%;
  transform: translateX(-20%) translateY(10px);

  width: 200px;
  background: #fff;

  padding: 20px 20px 20px; /* bottom space kam */

  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.company-mega-dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  background: transparent;
}

/* company dropdown links spacing */
.company-mega-dropdown a {
  display: block;
  margin-bottom: 12px;
}

.company-mega-dropdown a:last-child {
  margin-bottom: 0; /* last item ke baad space remove */
}

.company-mega-menu:hover .company-mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-20%) translateY(0); /* yahan -50% nahi, -20% */
}

.company-mega-menu:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-shrink: 0;
}

.nav-right .phone-link {
  color: #032f40;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-right .phone-link:hover {
  color: #d13d2f;
}

.nav-right .contact-btn {
  background: linear-gradient(45deg, #b63434, #061729);
  color: white; 
  padding: 10px 20px; 
  border-radius: 25px; 
  text-decoration: none; 
  font-weight: bold; 
  transition: background 0.3s ease;
}

.nav-right .contact-btn:hover {
  background: linear-gradient(45deg, #dc4141, #072a4f);

}



/* Small Mobile */
@media (max-width: 480px) {
  .nav-logo img {
    height: 52px;
  }

  .nav-links {
    top: px;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 72px);
  }

  .nav-right .contact-btn {
    display: none;
  }
}



.mobile-consultation {
  display: none;
}

html.menu-open,
body.menu-open {
  overflow: hidden !important;
  height: 100vh !important;
  position: fixed;
  width: 100%;
}

.nav-bar {
  display: grid;
  grid-template-columns: 220px 1fr 460px;
  align-items: center;
}

.nav-links {
  justify-content: center;
}

.nav-links ul {
  justify-content: center;
}

.nav-right {
  justify-content: flex-end;
}

.icon {
  display: none;
}

.mobile-contact {
  display: none;
}

.menu-top{
  display: none;
}

.mobile-contact {
    display: none !important;
}
.desktop-contact {
    display: flex !important;
}


@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
  }

    .mobile-contact {
    display: block !important;
  }
  .desktop-contact {
    display: none !important;
  }
  
.nav-bar {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-logo img {
    height: 60px;
  }

  .icon {
    font-size: 28px;
    color: #061729;
    cursor: pointer;
  }

  .nav-logo img {
    height: 60px;
    align-self: flex-start;
    flex-direction: row;
  }

  .icon {
    display: block;
    font-size: 15px;
    cursor: pointer;
    color: #061729;
    align-self: flex-end;
    margin: 10px 0;
  }

  .nav-links,
  .nav-right {
    display: none;
  }

  .nav-links.show {
    display: flex;
    width: 100%;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
  }

    #mobileMenu {
      position: fixed;
      top: 0;
      left: 0;
      width: 90vw;
      height: 100vh;
      background: white;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }

  body.menu-open .mobile-header {
    display: none !important;
  } 

  #mobileMenu.show {
    transform: translateX(0);
  }

  .menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    background-color: white;
    z-index: 10001;
  }

  .menu-top .nav-logo img {
    height: 40px;
    padding-left: 20px;
  }

  .menu-top .icon {
    font-size: 30px;
    color: #061729;
    cursor: pointer;
    padding-right: 20px;
  }

  body.menu-open .page-content {
    filter: blur(20px);
    pointer-events: none; 
    user-select: none;    
    transition: filter 0.3s ease;
  }

  body.menu-open footer {
    filter: blur(20px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
  }
  .icon {
    font-size: 28px;
    color: #061729;
    cursor: pointer;
    user-select: none;
  }

  .nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
  }

  .nav-links ul li {
    border-bottom: 1px solid #eee;
  }

  .nav-links ul li a,
  .nav-links ul li span.dropdown {
    display: block;
    padding: 5px 20px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
  }

  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
    padding-left: 10px;
  }

  .dropdown-container.active .dropdown-menu {
    max-height: 500px;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links ul li {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-top: 1px solid #eee;
    position: relative;
  }

  .nav-links ul li a,
  .nav-links ul li span.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
  }

  .dropdown-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f9f9f9;
    padding: 0;
    margin-top: 0;
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-container.active .dropdown-menu {
    display: flex;
  }

  .dropdown-menu li {
    padding: 10px;
    border-top: 1px solid #eee;
  }

  .dropdown-menu a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
  }

  .dropdown-container:hover .dropdown-menu,
  .dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
  }

  .dropdown-menu::before,
  .dropdown-menu::after {
    display: none;
  }

 .nav-right {
    display: none;
  }

  .mobile-contact {
    display: block;
    padding: 16px;
  }

}
  .section-subtext {
      font-size: 1.25rem;
  line-height: 1.6;
  color: #555;
  }
  .section-subtext {
      font-size: 1.25rem;
  line-height: 1.6;
  color: #555;
  }


    /* ===== MOBILE HEADER FIX ===== */
@media (max-width: 786px) {

  body {
    padding-top: 80px;
  }

  header {
    height: 80px;
  }

  .nav-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 28px !important;
    height: 80px;
  }

  .nav-logo img {
    height: 55px !important;
  }

  .icon {
    display: block !important;
    font-size: 28px !important;
    color: #061729 !important;
    margin: 0 !important;
    align-self: center !important;
  }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    height: 100vh !important;
    background: #fff !important;
    display: block !important;
    z-index: 99999 !important;
    transition: right 0.3s ease !important;
    overflow-y: auto !important;
  }

  .nav-links.active {
    right: 0 !important;
  }

  .menu-top {
    display: flex !important;
    height: 80px !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 28px !important;
    border-bottom: 1px solid #eee !important;
  }

  .menu-top .nav-logo img {
    height: 45px !important;
    padding-left: 0 !important;
  }

  .menu-top .icon {
    font-size: 30px !important;
    padding-right: 0 !important;
  }

  .nav-links ul {
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-links ul li {
    padding: 0 !important;
    border-bottom: 1px solid #eee !important;
  }

  .nav-links ul li a,
  .nav-links ul li span.dropdown {
    padding: 18px 28px !important;
    font-size: 16px !important;
  }

.nav-links ul li.mobile-consultation {
  display: block !important;
  width: 100% !important;
  padding: 20px 28px !important;
  border-bottom: none !important;
  box-sizing: border-box !important;
}

.nav-links ul li.mobile-consultation a.mobile-consult-btn {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(45deg, #b63434, #061729) !important;
  color: #fff !important;
  padding: 14px 20px !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin: 0 !important;
}

.nav-links ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  height: auto !important;
  min-height: auto !important;
}

.nav-links ul li.mobile-consultation {
  margin-top: 20px !important;
}
}

@media (max-width: 1100px) {
  .mega-dropdown,
  .company-mega-dropdown {
    display: none !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .dropdown-container.active .mega-dropdown,
  .company-mega-menu.active .company-mega-dropdown {
    display: grid !important;
  }

  .nav-links ul {
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    flex-grow: 0 !important;
  }

  .nav-links ul li.mobile-consultation {
    display: block !important;
    padding: 20px 28px !important;
    margin: 0 !important;
    border-bottom: none !important;
  }

  .mobile-consult-btn {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* ===== TABLET SAME AS MOBILE: 1100px to 769px ===== */
@media (max-width: 1100px) and (min-width: 769px) {
  body {
    padding-top: 80px;
  }

  header {
    height: 80px;
    padding: 0 28px;
  }

  .nav-bar {
    height: 80px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-header {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo img {
    height: 55px !important;
  }

  .icon {
    display: block !important;
    font-size: 30px !important;
    color: #061729 !important;
    cursor: pointer;
  }

  .nav-right {
    display: none !important;
  }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    height: 100vh !important;
    background: #fff !important;
    display: block !important;
    overflow-y: auto !important;
    transition: right 0.3s ease !important;
    z-index: 999999 !important;
  }

  .nav-links.show {
    right: 0 !important;
  }

  .menu-top {
    display: flex !important;
    height: 80px !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    border-bottom: 1px solid #eee;
  }

  .nav-links ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-links ul li {
    width: 100% !important;
    border-bottom: 1px solid #eee;
    padding: 0 !important;
  }

  .nav-links a,
  .nav-links span.dropdown {
    width: 100% !important;
    padding: 18px 28px !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    font-size: 16px !important;
  }

  .mega-dropdown,
  .company-mega-dropdown {
    position: static !important;
    width: 100% !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 15px 28px !important;
    grid-template-columns: 1fr !important;
  }

  .dropdown-container.active .mega-dropdown,
  .company-mega-menu.active .company-mega-dropdown {
    display: grid !important;
  }

  .mobile-consultation {
    display: block !important;
    padding: 20px 28px !important;
    border-bottom: none !important;
  }

  .mobile-consult-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(45deg, #b63434, #061729);
    color: #fff !important;
    padding: 14px 20px !important;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    margin: 0 !important;
  }
} 


    .hero-section {
      height: 90vh;
      width: 100%;
     background:
  linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(10, 10, 10, 0.3)),
  url('../images/Services.png') no-repeat center center / cover;

      display: flex;
      align-items: center;
      padding: 0 5%;
    }

    .hero-content {
      max-width: 800px;
      color: white;
    }

    .hero-content .tagline {
      color: #d13d2f;
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 10px;
      letter-spacing: 1px;
    }

    .hero-content h1 {
      font-size: 2.5rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-content p {
      font-size: 1rem;
      line-height: 1.6;
      color: #e0e0e0;
      max-width: 90%;
    }

    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 1.5rem;
      }
      .hero-content p {
        font-size: 0.95rem;
      }

      .hero-section {
      height: 60vh;
    }
    }

    .tax-section {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 50px;
      background-color: #fff;
    }

    .tax-text {
      flex: 1 1 500px;
      padding-left: 40px;
      font-size: 1rem;
  line-height: 1.6;
color: #555;
    }

    .tagline {
      color: #061729;
      font-size: 0.9rem;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }

    .heading-with-line {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }

    .vertical-line {
      width: 4px;
      height: 100px; /* FIXED height for visibility */
      background: linear-gradient(45deg, #b63434, #061729);
      margin-right: 15px;
      border-radius: 2px;
      flex-shrink: 0;
    }

    .heading-with-line h2 {
      font-size: 2rem;
      color: #062241;
    }

    .tax-text ul {
      list-style: none;
      padding-left: 0;
      color: #333;
    }

    .tax-text ul li {
      position: relative;
      padding-left: 25px;
      margin-bottom: 10px;
    }

    .tax-text ul li::before {
      content: '\2713';
      position: absolute;
      left: 0;
      top: 0;
      color: #072a4f;
      font-weight: bold;
      font-size: 1rem;
  line-height: 1.6;
    }

    .tax-image {
      flex: 1 1 400px;
      text-align: center;
    }
    /* Reverse image and text position */
.tax-image {
  order: 1;
}

.tax-text {
  order: 2;
}


    .tax-image img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 1200px){
    .tax-image {
      display: none;
    }
    }
    @media (max-width: 708px) {
          .tax-section {
      display: flex;
      flex-wrap: wrap;
      align-items: left;
      padding: 30px;
      background-color: #fff;
            padding-left: 0px;

    }
      .tax-text {
          font-size: 0.95rem;
  line-height: 1.6; 
      }

      .vertical-line {
        height: 100px;
      }
      .heading-with-line h2 {
      font-size: 1.5rem;
    }
    .tax-image {
      display: none;
    }
    }

    .timeline-section {
  text-align: center;
  padding: 0 30px;
}

.timeline-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
}

.heading-line {
  display: inline-block;
  width: 100px;
  height: 4px;
  background: linear-gradient(45deg, #b63434, #061729);
  border-radius: 2px;
}

/* Mobile adjustments */
@media (max-width: 800px) {
  .timeline-section {
    text-align: left;
    padding-left: 50px;
  }
  .timeline-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;

}
}

    .timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 20px;
    margin-bottom: 30px;
  }

  /* Horizontal timeline line */
  .timeline::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #ddd;
    z-index: 1;
  }

  .timeline-item {
    position: relative;
    max-width: 200px;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  /* Circle style */
  .circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, #b63434, #061729);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
  }

  /* Vertical connector line from circle to horizontal line */
  .timeline-item::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 15px;
    background: #ddd;
    z-index: 2;
  }

  /* Arrow on timeline line pointing right, except last item */
  .timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15px;
    width: 20px;
    height: 20px;
    border-top: 3px solid #b63434;
    border-right: 3px solid #b63434;
    transform: rotate(45deg);
    z-index: 2;
  }

  /* Hide arrows for first two items */
  .timeline-item:nth-child(1)::after,
  .timeline-item:nth-child()::after,
  .timeline-item:nth-child(2)::after {
    display: none;
  }

  .timeline-item h4 {
    margin: 0 0 8px;
    font-weight: 600;
    color: #061729;
  }

  .timeline-item p {
    font-size: 1rem;
  line-height: 1.4;
color: #555;
    margin: 0;
  }

@media (max-width: 800px) {
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    max-width: 100%;
    position: relative;
  }

  /* Hide horizontal line */
  .timeline::before {
    display: none;
  }

  /* Vertical line */
  .timeline::after {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 90px;
    width: 4px;
    background: #ddd;
    z-index: 1;
  }

  .timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 30px;
    max-width: 100%;
    text-align: left;
    align-items: flex-start;
  }

  .circle {
    position: absolute;
    left: 15px;
    top: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, #b63434, #061729);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    margin: 0;
  }

  /* Mobile downward arrow (except last item) */
  .timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 100px; /* just below the circle */
    left: 52px; /* center of vertical line */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #b63434;
    z-index: 2;
  }

  /* Remove horizontal connector and right arrow */
  .timeline-item::before {
    display: none;
  }

  .timeline-item h4,
  .timeline-item p {
    margin: 0 0 10px 0;
  }

  .timeline-item p{
      font-size: 0.95rem;
  line-height: 1.6;  
  }
}

 .footer {
      background: linear-gradient(50deg, #061729, #07214c);
    color: #eee;
    padding: 40px 20px 20px;
    font-size: 15px;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 120px;
    padding-right: 120px;
    margin: 0 auto;
    gap: 40px;
  }


  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-social {
    flex: 1 1 220px;
    min-width: 220px;
  }

  .footer-about h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .footer-links h4,
  .footer-contact h4,
  .footer-social h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #ffffff;
  }

  .footer-links ul {
    list-style: none;
    padding: 0;
  line-height: 1.6;
    color:#d9d8d8;
}

  .footer-links ul li a {
    color: #d9d8d8;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease; 
    display: inline-block; 
    margin-bottom: 8px; 
  }

  .footer-links ul li a:hover {
    transform: translateX(10px); 
  }


  .footer-contact p {
    margin-bottom: 8px;
    color: #aaaaaa;
  }

  .footer-social .social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #eee;
    transition: color 0.3s ease;
  }

  .footer-social .social-icons a:hover {
    color: #ffffff;
  }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  margin-top: 30px;
  padding: 22px 120px;

  border-top: 1px solid rgba(255, 255, 255, 0.18);

  color: #d9d8d8;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
  color: #d9d8d8;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.footer-bottom-links a {
  color: #d9d8d8;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Tablet */
@media (max-width: 1100px) {
  .footer-bottom {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 16px;

    padding: 24px 20px;

    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 22px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }
}

  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      padding-left: 20px;
    }

    .footer-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      width: 100%;
      flex-wrap: wrap;
    }

    .footer-about,
    .footer-social {
      flex: 1;
      max-width: 90%;
    }

    .footer-social .social-icons {
      display: flex;
      gap: 10px;
      margin-top: 8px;
    }

    .footer-social .social-icons a {
      margin: 0;
    }
  }

/* =========================================================
   CORPORATE CONSULTANCY HEADER FIX
   Desktop: Accounting | IT | Marketing
   Mobile/tablet: working slide-in menu and dropdowns
   ========================================================= */

/* ---------- Desktop services mega menu ---------- */
@media screen and (min-width: 1101px) {
  .mobile-header {
    display: none !important;
  }

  .dropdown-container.services-menu > .mega-dropdown {
    position: fixed !important;
    top: 90px !important;
    left: 50% !important;
    right: auto !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    column-gap: 0 !important;
    row-gap: 0 !important;

    width: min(1000px, calc(100vw - 40px)) !important;
    max-width: 1000px !important;
    min-width: 850px !important;

    margin: 0 !important;
    padding: 30px !important;

    background: #ffffff !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14) !important;
    z-index: 999999 !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, 12px) !important;

    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease !important;
  }

  .dropdown-container.services-menu:hover > .mega-dropdown,
  .dropdown-container.services-menu.active > .mega-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }

  .dropdown-container.services-menu > .mega-dropdown::before {
    content: "" !important;
    position: absolute !important;
    top: -22px !important;
    left: 0 !important;
    width: 100% !important;
    height: 22px !important;
    background: transparent !important;
  }

  .dropdown-container.services-menu > .mega-dropdown > .mega-col {
    position: relative !important;
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 30px !important;
  }

  .dropdown-container.services-menu > .mega-dropdown > .mega-col:first-child {
    padding-left: 0 !important;
  }

  .dropdown-container.services-menu > .mega-dropdown > .mega-col:last-child {
    padding-right: 0 !important;
  }

  .dropdown-container.services-menu
  > .mega-dropdown
  > .mega-col:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 100% !important;
    border: none !important;
    border-right: 1px dashed #aebdb8 !important;
  }

  .dropdown-container.services-menu > .mega-dropdown > .mega-col h4 {
    display: block !important;
    color: #032f40 !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #c8d3cf !important;
  }

  .dropdown-container.services-menu > .mega-dropdown > .mega-col a {
    display: block !important;
    width: 100% !important;
    color: #566b66 !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    white-space: normal !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
  }

  .dropdown-container.services-menu > .mega-dropdown > .mega-col a:last-child {
    margin-bottom: 0 !important;
  }

  .dropdown-container.services-menu > .mega-dropdown > .mega-col a:hover {
    color: #d13d2f !important;
    padding-left: 5px !important;
  }
}

/* ---------- Mobile and tablet header ---------- */
@media screen and (max-width: 1100px) {
  body {
    padding-top: 80px !important;
  }

  header {
    height: 80px !important;
    padding: 0 !important;
  }

  .nav-bar {
    display: flex !important;
    width: 100% !important;
    height: 80px !important;
    padding: 10px 24px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .mobile-header {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .mobile-header .nav-logo,
  .menu-top .nav-logo {
    display: flex !important;
    align-items: center !important;
  }

  .mobile-header .nav-logo img {
    display: block !important;
    width: auto !important;
    height: 55px !important;
    max-width: 180px !important;
    object-fit: contain !important;
  }

  .mobile-header .icon {
    display: block !important;
    margin: 0 !important;
    padding: 8px !important;
    color: #061729 !important;
    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .nav-right {
    display: none !important;
  }

  #mobileMenu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;

    display: flex !important;
    flex-direction: column !important;

    width: min(90vw, 430px) !important;
    height: 100vh !important;
    height: 100dvh !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    box-shadow: 14px 0 40px rgba(0, 0, 0, 0.18) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 999999 !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-105%) !important;
    transition: transform 0.3s ease-in-out !important;
  }

  #mobileMenu.show,
  #mobileMenu.active {
    transform: translateX(0) !important;
  }

  .menu-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;

    display: flex !important;
    flex: 0 0 80px !important;
    width: 100% !important;
    height: 80px !important;

    align-items: center !important;
    justify-content: space-between !important;

    padding: 10px 24px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #eeeeee !important;
  }

  .menu-top .nav-logo img {
    display: block !important;
    width: auto !important;
    height: 48px !important;
    max-width: 170px !important;
    padding: 0 !important;
    object-fit: contain !important;
  }

  .menu-top .icon {
    display: block !important;
    margin: 0 !important;
    padding: 8px !important;
    color: #061729 !important;
    font-size: 34px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  #mobileMenu > ul {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  #mobileMenu > ul > li {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    border-top: none !important;
    border-bottom: 1px solid #eeeeee !important;
  }

  #mobileMenu > ul > li > a,
  #mobileMenu > ul > li > .dropdown {
    display: flex !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 16px 24px !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  #mobileMenu .dropdown-arrow {
    transition: transform 0.2s ease !important;
  }

  #mobileMenu .dropdown-container.active > .dropdown .dropdown-arrow {
    transform: rotate(180deg) !important;
  }

  #mobileMenu .mega-dropdown,
  #mobileMenu .company-mega-dropdown {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 12px 24px 18px !important;

    grid-template-columns: 1fr !important;
    gap: 0 !important;

    background: #f8faf9 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  #mobileMenu .dropdown-container.active > .mega-dropdown,
  #mobileMenu .company-mega-menu.active > .company-mega-dropdown {
    display: grid !important;
  }

  #mobileMenu .mega-col {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
  }

  #mobileMenu .mega-col:last-child {
    margin-bottom: 0 !important;
  }

  #mobileMenu .mega-col::after {
    display: none !important;
  }

  #mobileMenu .mega-col h4 {
    margin: 10px 0 8px !important;
    padding: 0 0 8px !important;
    color: #032f40 !important;
    font-size: 16px !important;
    border-bottom: 1px solid #d8e0dd !important;
  }

  #mobileMenu .mega-col a {
    display: block !important;
    width: 100% !important;
    padding: 9px 0 !important;
    margin: 0 !important;
    color: #566b66 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
  }

  #mobileMenu .mobile-consultation {
    display: block !important;
    width: 100% !important;
    padding: 20px 24px !important;
    border-bottom: none !important;
  }

  #mobileMenu .mobile-consult-btn {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 18px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    background: linear-gradient(45deg, #b63434, #061729) !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    width: 100% !important;
    height: auto !important;
    position: static !important;
  }
}

@media screen and (max-width: 480px) {
  .nav-bar {
    padding: 10px 16px !important;
  }

  #mobileMenu {
    width: 92vw !important;
  }

  .menu-top {
    padding: 10px 16px !important;
  }

  #mobileMenu > ul > li > a,
  #mobileMenu > ul > li > .dropdown {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #mobileMenu .mega-dropdown,
  #mobileMenu .company-mega-dropdown {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* =====================================================================
   FINAL SHARED HEADER — COPIED FROM THE WORKING Social Media Marketing PATTERN
   Desktop: Logo left | Navigation centre | Contact details right
   Mobile/tablet: working slide-in menu with clickable dropdowns
   Services: Accounting | IT | Marketing
   ===================================================================== */

.header-shadow {
  box-shadow: 0 8px 28px rgba(6, 23, 41, 0.10) !important;
}

/* ============================= DESKTOP ============================== */
@media (min-width: 1101px) {
  body {
    padding-top: 90px !important;
    overflow-y: auto !important;
    position: static !important;
    height: auto !important;
  }

  header {
    height: 90px !important;
    padding-left: 100px !important;
    padding-right: 100px !important;
  }

  .nav-bar {
    display: grid !important;
    grid-template-columns: 220px minmax(300px, 1fr) 460px !important;
    align-items: center !important;
    width: 100% !important;
    height: 90px !important;
    padding: 10px 40px !important;
  }

  /* The Social Media Marketing header keeps its logo wrapper as the first column. */
  .mobile-header {
    display: flex !important;
    width: 220px !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .mobile-header .nav-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .mobile-header .nav-logo img {
    display: block !important;
    width: auto !important;
    height: 70px !important;
    max-width: 190px !important;
    object-fit: contain !important;
  }

  .mobile-header .icon,
  .menu-top,
  .icon {
    display: none !important;
  }

  #mobileMenu,
  .nav-links,
  .nav-links.show,
  .nav-links.active {
    position: static !important;
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .nav-links {
    align-items: center !important;
    justify-content: center !important;
  }

  .nav-links > ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .nav-links > ul > li {
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  .nav-links > ul > li > a,
  .nav-links > ul > li > .dropdown {
    display: flex !important;
    width: auto !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  .nav-right {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
  }

  .mobile-consultation {
    display: none !important;
  }

  /* Desktop Services dropdown box. */
  .dropdown-container.services-menu > .mega-dropdown {
    position: fixed !important;
    top: 90px !important;
    left: 50% !important;
    right: auto !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    column-gap: 0 !important;
    row-gap: 0 !important;

    width: min(1000px, calc(100vw - 40px)) !important;
    max-width: 1000px !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 30px !important;

    background: #ffffff !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14) !important;
    z-index: 999999 !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, 12px) !important;

    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease !important;
  }

  .dropdown-container.services-menu:hover > .mega-dropdown,
  .dropdown-container.services-menu.active > .mega-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }

  .dropdown-container.services-menu > .mega-dropdown::before {
    content: "" !important;
    position: absolute !important;
    top: -22px !important;
    left: 0 !important;
    width: 100% !important;
    height: 22px !important;
    background: transparent !important;
  }

  .dropdown-container.services-menu > .mega-dropdown > .mega-col {
    position: relative !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 28px !important;
    margin: 0 !important;
  }

  .dropdown-container.services-menu
  > .mega-dropdown
  > .mega-col:first-child {
    padding-left: 0 !important;
  }

  .dropdown-container.services-menu
  > .mega-dropdown
  > .mega-col:last-child {
    padding-right: 0 !important;
  }

  .dropdown-container.services-menu
  > .mega-dropdown
  > .mega-col:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 100% !important;
    border: 0 !important;
    border-right: 1px dashed #aebdb8 !important;
  }

  .dropdown-container.services-menu
  > .mega-dropdown
  > .mega-col h4 {
    display: block !important;
    color: #032f40 !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #c8d3cf !important;
  }

  .dropdown-container.services-menu
  > .mega-dropdown
  > .mega-col a {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    color: #566b66 !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
  }

  .dropdown-container.services-menu
  > .mega-dropdown
  > .mega-col a:last-child {
    margin-bottom: 0 !important;
  }

  .dropdown-container.services-menu
  > .mega-dropdown
  > .mega-col a:hover {
    color: #d13d2f !important;
    padding-left: 5px !important;
  }
}

/* Prevent large desktop padding from squeezing the centre at smaller laptops. */
@media (min-width: 1101px) and (max-width: 1450px) {
  header {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .nav-bar {
    grid-template-columns: 190px minmax(280px, 1fr) 430px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
  }

  .mobile-header {
    width: 190px !important;
  }
}

/* ========================== MOBILE/TABLET =========================== */
@media (max-width: 1100px) {
  body {
    padding-top: 80px !important;
  }

  header {
    height: 80px !important;
    padding: 0 !important;
  }

  .nav-bar {
    display: flex !important;
    width: 100% !important;
    height: 80px !important;
    padding: 10px 28px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .mobile-header {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .mobile-header .nav-logo,
  .menu-top .nav-logo {
    display: flex !important;
    align-items: center !important;
  }

  .mobile-header .nav-logo img {
    display: block !important;
    width: auto !important;
    height: 55px !important;
    max-width: 180px !important;
    object-fit: contain !important;
  }

  .mobile-header .icon {
    display: block !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 8px !important;
    color: #061729 !important;
    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .nav-right {
    display: none !important;
  }

  #mobileMenu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;

    display: flex !important;
    flex-direction: column !important;

    width: min(90vw, 430px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    box-shadow: 14px 0 40px rgba(0, 0, 0, 0.18) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 999999 !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-105%) !important;
    transition: transform 0.3s ease-in-out !important;
  }

  #mobileMenu.show,
  #mobileMenu.active {
    transform: translateX(0) !important;
  }

  .menu-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;

    display: flex !important;
    flex: 0 0 80px !important;
    width: 100% !important;
    height: 80px !important;

    align-items: center !important;
    justify-content: space-between !important;

    padding: 10px 28px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #eeeeee !important;
  }

  .menu-top .nav-logo img {
    display: block !important;
    width: auto !important;
    height: 48px !important;
    max-width: 170px !important;
    padding: 0 !important;
    object-fit: contain !important;
  }

  .menu-top .icon {
    display: block !important;
    margin: 0 !important;
    padding: 8px !important;
    color: #061729 !important;
    font-size: 34px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  #mobileMenu > ul {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  #mobileMenu > ul > li {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    border-top: none !important;
    border-bottom: 1px solid #eeeeee !important;
  }

  #mobileMenu > ul > li > a,
  #mobileMenu > ul > li > .dropdown {
    display: flex !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 16px 28px !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  #mobileMenu .dropdown-arrow {
    transition: transform 0.3s ease !important;
    transform: rotate(0deg) !important;
  }

  #mobileMenu .dropdown-container.active > .dropdown .dropdown-arrow {
    transform: rotate(180deg) !important;
  }

  #mobileMenu .company-mega-dropdown,
  #mobileMenu .mega-dropdown {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 10px 28px 18px !important;

    background: #f9f9f9 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  #mobileMenu .company-mega-menu.active > .company-mega-dropdown {
    display: block !important;
  }

  #mobileMenu .services-menu.active > .mega-dropdown {
    display: grid !important;
  }

  #mobileMenu .mega-col {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
  }

  #mobileMenu .mega-col:last-child {
    margin-bottom: 0 !important;
  }

  #mobileMenu .mega-col::after {
    display: none !important;
  }

  #mobileMenu .mega-col h4 {
    display: block !important;
    margin: 10px 0 8px !important;
    padding: 0 0 8px !important;
    color: #032f40 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #d8e0dd !important;
  }

  #mobileMenu .company-mega-dropdown a,
  #mobileMenu .mega-dropdown a {
    display: block !important;
    width: 100% !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    color: #566b66 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
  }

  #mobileMenu .mobile-consultation {
    display: block !important;
    width: 100% !important;
    padding: 20px 28px !important;
    margin: 0 !important;
    border-bottom: none !important;
    box-sizing: border-box !important;
  }

  #mobileMenu .mobile-consult-btn {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 14px 20px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    background: linear-gradient(45deg, #b63434, #061729) !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
  }

  body.menu-open .page-content,
  body.menu-open footer {
    filter: blur(20px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
  }
}

/* Tablet follows the Social Media Marketing page: three Services columns. */
@media (min-width: 769px) and (max-width: 1100px) {
  #mobileMenu .services-menu.active > .mega-dropdown {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 20px 28px !important;
  }

  #mobileMenu .services-menu.active > .mega-dropdown > .mega-col {
    position: relative !important;
    padding: 0 20px !important;
  }

  #mobileMenu
  .services-menu.active
  > .mega-dropdown
  > .mega-col:first-child {
    padding-left: 0 !important;
  }

  #mobileMenu
  .services-menu.active
  > .mega-dropdown
  > .mega-col:last-child {
    padding-right: 0 !important;
  }

  #mobileMenu
  .services-menu.active
  > .mega-dropdown
  > .mega-col:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    height: 100% !important;
    border-right: 1px dashed #aebdb8 !important;
  }
}

/* Small mobile remains stacked and readable. */
@media (max-width: 768px) {
  #mobileMenu .services-menu.active > .mega-dropdown {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .nav-bar {
    padding: 10px 18px !important;
  }

  #mobileMenu {
    width: 92vw !important;
  }

  .menu-top {
    padding: 10px 18px !important;
  }

  #mobileMenu > ul > li > a,
  #mobileMenu > ul > li > .dropdown {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #mobileMenu .company-mega-dropdown,
  #mobileMenu .mega-dropdown,
  #mobileMenu .mobile-consultation {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* =====================================================================
   EXACT Social Media Marketing MOBILE MENU SIZE
   Full screen width, content starts at top, same row/button spacing.
   Keep this block at the absolute end of erp.css.
   ===================================================================== */
@media (max-width: 1100px) {

  /* Social Media Marketing uses a full-screen menu, not a narrow side panel. */
  #mobileMenu,
  .nav-links#mobileMenu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;

    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;

    /* Remove the narrow-panel transform and vertical centring. */
    transform: none !important;
    justify-content: initial !important;
    align-items: initial !important;

    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999999 !important;

    transition: right 0.3s ease-in-out !important;
  }

  #mobileMenu.show,
  #mobileMenu.active,
  .nav-links#mobileMenu.show,
  .nav-links#mobileMenu.active {
    right: 0 !important;
    transform: none !important;
  }

  /* Same top logo/close section as Social Media Marketing. */
  #mobileMenu .menu-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;

    display: flex !important;
    width: 100% !important;
    height: 80px !important;
    min-height: 80px !important;

    align-items: center !important;
    justify-content: space-between !important;

    margin: 0 !important;
    padding: 10px 28px !important;

    background: #ffffff !important;
    border-bottom: 1px solid #eeeeee !important;
  }

  #mobileMenu .menu-top .nav-logo img {
    width: auto !important;
    height: 45px !important;
    max-width: 170px !important;
    padding: 0 !important;
    object-fit: contain !important;
  }

  #mobileMenu .menu-top .icon {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 30px !important;
    line-height: 1 !important;
    color: #061729 !important;
  }

  /* Same list sizing and spacing as the Social Media Marketing page. */
  #mobileMenu > ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  #mobileMenu > ul > li {
    display: block !important;
    width: 100% !important;

    margin: 0 !important;
    padding: 12px 20px !important;

    text-align: left !important;
    border-top: none !important;
    border-bottom: 1px solid #eeeeee !important;
    box-sizing: border-box !important;
  }

  #mobileMenu > ul > li > a,
  #mobileMenu > ul > li > span.dropdown {
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;

    align-items: center !important;
    justify-content: space-between !important;

    margin: 0 !important;
    padding: 12px 20px !important;

    color: #333333 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  /* Same full-width consultation button spacing. */
  #mobileMenu > ul > li.mobile-consultation {
    display: block !important;
    width: 100% !important;

    margin: 0 !important;
    padding: 15px 20px !important;

    border-bottom: none !important;
    box-sizing: border-box !important;
  }

  #mobileMenu .mobile-consult-btn {
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 14px 20px !important;

    background: linear-gradient(45deg, #b63434, #061729) !important;
    color: #ffffff !important;
    border-radius: 25px !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  /* Dropdowns remain inside the full-width menu. */
  #mobileMenu .company-mega-dropdown,
  #mobileMenu .mega-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Small phones also remain 100% wide, exactly like Social Media Marketing. */
@media (max-width: 480px) {
  #mobileMenu,
  .nav-links#mobileMenu {
    width: 100% !important;
    max-width: 100% !important;
  }

  #mobileMenu .menu-top {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}
