.pro-header a {
  text-decoration: none;
  color: inherit;
}

.pro-header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* -------------------------------------------------- */

.pro-header {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1001;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin: 0 auto;
  height: 60px;
  position: relative;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  z-index: 1003;
  color: #1a1a1a;
}

.nav-logo img {
  height: 180px;
  width: 180px;
}

.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu ul li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  color: #000000;
  font-weight: 400;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  font-size: 16px;
  line-height: 14px;
  cursor: pointer;
}

.nav-link.active {
  color: #6a0dad;
  background: linear-gradient(
    to bottom,
    rgba(166, 81, 251, 0.04) 0%,
    rgba(166, 81, 251, 0.07) 40%,
    rgba(166, 81, 251, 0.1) 100%
  );
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6948f9 0%, #f85efe 50%, #a10187 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.btn-contact-desktop {
  background-color: #000;
  color: #fff !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 13.5px;
  border-radius: 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 38px;
  height: 60px;
  transition: background-color 0.3s ease;
  z-index: 1003;
  border: none;
  cursor: pointer;
}

.btn-contact-mobile {
  display: none;
}

.nav-item-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  z-index: 1000;
}

.mega-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #fff transparent;
  z-index: 1001;
  pointer-events: none;
}

.mega-menu-content {
  display: flex;
  justify-content: space-between;
}

.mega-menu-column {
  width: 30%;
}

.mega-menu-column h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.mega-menu-column a {
  display: block;
  padding: 0.5rem 0;
  color: #555;
  transition: color 0.2s;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1004;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  position: relative;
}

.bar {
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, #6948f9 0%, #f85efe 50%, #a10187 100%);
  margin: 4px 0;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 7px);
  background-color: #6a0dad;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -7px);
  background-color: #6a0dad;
}

.nav-link-icon {
  display: none;
}

.category-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.service-category.active .category-items {
  max-height: 500px;
}

@media (hover: hover) and (min-width: 1025px) {
  .nav-link:not(.active):hover {
    color: #6a0dad;
    background: linear-gradient(
      to bottom,
      rgba(166, 81, 251, 0.04) 0%,
      rgba(166, 81, 251, 0.07) 40%,
      rgba(166, 81, 251, 0.1) 100%
    );
  }

  .nav-link:not(.active):hover::after {
    transform: scaleX(1);
  }

  .btn-contact-desktop:hover {
    background-color: #333;
  }

  .nav-item-dropdown:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
  }

  .nav-item-dropdown:hover > .dropdown-toggle {
    color: #6a0dad;
    background: linear-gradient(
      to bottom,
      rgba(166, 81, 251, 0.04) 0%,
      rgba(166, 81, 251, 0.07) 40%,
      rgba(166, 81, 251, 0.1) 100%
    );
  }

  .nav-item-dropdown:hover > .dropdown-toggle::after {
    transform: scaleX(1);
  }

  .mega-menu-column a:hover {
    color: #6a0dad;
    font-weight: 600;
  }

  /* Hide hierarchical icons on desktop */
  .nav-link-icon {
    display: none !important;
  }

  /* Ensure mega-menu columns are always visible on desktop */
  .mega-menu-column a {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Hide category toggle icons on desktop */
  .category-toggle-icon {
    display: none !important;
  }
}

/* Transition styles - applies during resize */
.navbar.transitioning * {
  transition: none !important;
}

@media (max-width: 1200px) {
  .navbar {
    height: 60px;
  }

  .nav-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    flex-direction: column;
    background: #ffffff;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 0 20px 0;
    z-index: 1000;
    overflow-y: auto;
    border-left: 2px solid rgba(106, 13, 173, 0.2);
    display: flex;
    margin-top: 0;
    justify-content: flex-start;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    left: auto;
    transform: none;
  }

  .nav-menu.active {
    left: 0;
    right: 0;
    opacity: 1;
    visibility: visible;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
  }

  .nav-menu.active ul {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-menu.active ul li:nth-child(1) {
    transition-delay: 0.2s;
  }
  .nav-menu.active ul li:nth-child(2) {
    transition-delay: 0.25s;
  }
  .nav-menu.active ul li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-menu.active ul li:nth-child(4) {
    transition-delay: 0.35s;
  }
  .nav-menu.active ul li:nth-child(5) {
    transition-delay: 0.4s;
  }
  .nav-menu.active ul li:nth-child(6) {
    transition-delay: 0.45s;
  }

  .nav-menu ul li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
    margin: 0;
    line-height: 1.2;
    height: auto !important;
    backdrop-filter: blur(5px);
  }

  .nav-menu ul li:last-child {
    border-bottom: none;
  }

  .nav-menu ul li:hover {
    background: none;
    transform: none;
    box-shadow: none;
  }

  .nav-menu.active ul li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-link {
    height: auto;
    padding: 1rem 1.5rem;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 24px;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.5px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    color: #000000;
    padding-left: 1.5rem;
  }

  .nav-link-icon {
    display: block;
    width: 20px;
    height: 20px;
    stroke: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 0.8;
    transform: rotate(270deg);
  }

  .nav-item-dropdown.active .nav-link-icon {
    transform: rotate(0deg);
    stroke: rgba(0, 0, 0, 0.7);
  }

  .nav-link:hover .nav-link-icon {
    stroke: rgba(0, 0, 0, 0.7);
    transform: rotate(360deg);
  }

  .btn-contact-desktop {
    display: none;
  }

  .btn-contact-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 20px 0 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #6a0dad 0%, #f85efe 50%, #a10187 100%);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    width: calc(100% - 40px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(106, 13, 173, 0.3);
  }

  .hamburger {
    display: flex !important;
  }

  .nav-item-dropdown {
    position: static;
    flex-direction: column;
    height: auto;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    padding: 0;
    box-shadow: none;
    border: none;
    display: none;
    background: rgba(248, 248, 248, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0 10px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.5s ease-in-out;
    max-height: 0;
    overflow: hidden;
  }

  .nav-item-dropdown.active > .mega-menu {
    display: block !important;
    max-height: 500px;
  }

  .mega-menu-content {
    flex-direction: column;
  }

  .mega-menu-column {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .mega-menu-column:last-child {
    border-bottom: none;
  }

  .mega-menu-column h5 {
    padding: 9px 1.5rem;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    color: #000000;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: unset;
  }

  .mega-menu-column h5:hover {
    color: #000000;
    background: none;
  }

  .mega-menu-column h5::before {
    display: none;
  }

  .mega-menu-column.active h5::before {
    display: none;
  }

  .mega-menu-column a {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
  }

  .mega-menu-column a:hover {
    color: #000000;
    background: none;
    border-left-color: transparent;
    padding-left: 1.5rem;
  }

  @media (hover: hover) {
    .btn-contact-mobile:hover {
      background: linear-gradient(135deg, #5a0b9a 0%, #7a1fd2 100%);
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    }

    .nav-link:not(.home):hover,
    .dropdown-toggle:hover {
      color: #000000;
    }

    .mega-menu-column a:hover {
      color: #000000;
      font-weight: 400;
    }
  }
}

@media screen and (max-width: 1300px) {
  .nav-link {
    font-size: 14px !important;
  }
}


/* -------------- footer ------------------------ */


.footer {
    background-color: #000;
    color: #fff;
    padding: 0;
}

.footer-top {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: space-between;
}

.footer-about-us {
    margin-bottom: 2rem;
}

.footer-about-us .mb-4 {
    margin-bottom: 1.5rem;
}

.footer-about-us .navbar-brand {
    display: inline-block;
}

.footer-about-us .navbar-brand a {
    text-decoration: none;
}

.footer-about-us .navbar-brand img {
    height: 34px;
    width: auto;
}

.footer-about-us .me-5 {
    margin-right: 3rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    color: #fff;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 21px;
    font-weight: 700;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
}

.footer-menu li a:hover {
    color: #0076ff;
}

.awards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding-bottom: 30px;
}

.award-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-item img {
    max-width: 120px;
    height: auto;
    transition: filter 0.3s ease;
}

.copyrights {
    border-top: 1px solid #333;
    padding: 1.5rem 0;
}

.copyright-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #0076ff;
}

.copyrights p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.75rem;
    flex: 1;
    text-align: center;
}

.social-icon {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon a:hover {
    background-color: #0076ff;
}

.social-icon i {
    font-size: 1.2rem;
}

.social-icon svg {
    width: 14px;
    height: 14px;
}

/* Mobile Accordion Styles - Static (always open) */
.footer-accordian {
    display: block;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #333;
    border-radius: 0.375rem;
}

.accordion-header {
    background-color: #000;
}

.accordion-button {
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.125rem;
    text-align: left;
    cursor: pointer;
}

.accordion-body {
    padding: 1rem;
    background-color: #111;
    display: block; /* Static: Always visible */
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        gap: 3rem;
    }

    .footer-columns {
        display: contents;
    }

    .footer-column {
        display: block;
    }

    .footer-accordian {
        display: none !important;
    }

    .copyrights .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .social-icon {
        margin-left: auto;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-about-us {
        order: 1;
    }

    .footer-columns {
        order: 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }

    .footer-about-us .me-5 {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .footer-accordian {
        display: none;
    }

    .footer-top {
        padding: 2rem 0;
    }

    .footer-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-column {
        display: block;
    }

    .footer-column h4 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-menu li {
        margin-bottom: 1rem;
    }

    .footer-menu li a {
        font-size: 1.1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-about-us .me-5 {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .awards-container {
        gap: 3rem;
    }

    .award-item img {
        max-width: 80px;
    }

    .copyright-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links {
        gap: 1rem;
        justify-content: center;
    }

    .legal-links a {
        font-size: 1rem;
    }

    .copyrights p {
        text-align: center;
    }

    .social-icon {
        justify-content: center;
    }
}