/* Main Header Styles */
.site-header {
  position: relative;
  width: 100%;
  z-index: 100;
  font-family: PPNeueMontreal-Regular, sans-serif;
}

/* Supporting Menu (Top Bar) */
.supporting-menu {
  background: #ad2324;
  height: 39px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.supporting-menu ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.supporting-menu a {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.supporting-menu a:hover {
  opacity: 0.8;
}

/* Main Navigation */
.main-header {
  background: #ffffff;
  height: 85px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  width: 197px;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.main-nav ul {
  display: flex;
  gap: 23px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-menu-link {
  text-transform: uppercase;
}

.main-nav a {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 500; /* Changed from 600 to 400 to remove bold */
  font-size: 16px;
  line-height: 24px;
  color: #767676;
  text-decoration: none;
  padding: 10px;
  display: flex;
  align-items: center !important;
  gap: 6px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #ad2324;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
}

.menu-item-dropdown:hover .menu-link {
  color: #000;
  border-bottom-color: #ad2324;
}

.arrow-icon-container {
  display: flex;
  align-items: center;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.mega-menu-title a {
  color: #000000;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0px;
  display: flex;
  align-items: center;
}

.menu-item-dropdown:hover .arrow-icon-container {
  transform: rotate(-180deg);
}

/* Contact Button */
.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ad2324;
  color: #ffffff;
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400; /* Changed from 500 to 400 to remove bold */
  font-size: 16px;
  line-height: 21px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background: #870708;
  color: #ffffff;
}

.contact-btn .arrow-icon {
  width: 20px;
  height: 20px;
}

/* Mega Menu Overlay */
/* Removing the overlay section */

/* New Mega Menu Styles */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1241px;
  max-width: 100vw;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  padding: 0;
  overflow: hidden;
}

.menu-item-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-menu-container {
  width: 100%;
  padding: 40px;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
}

.mega-menu-title {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400; /* Changed from 600 to 400 to remove bold */
  font-size: 18px !important;
  padding: 0px !important;
  line-height: 24px;
  color: #252526 !important;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}
.mega-menu-title:hover {
  color: #ad2324 !important;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}
.mega-menu-heading {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400; /* Changed from 600 to 400 to remove bold */
  font-size: 24px;
  line-height: 32px;
  color: #252526;
  margin: 0 0 16px 0;
}

.mega-menu-description {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #767676;
  margin: 0;
}

/* Mega Menu Links */
.mega-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-menu-links a {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0;
}

.mega-menu-links a:hover {
  color: #ad2324;
}

/* Mega Menu Image Column */
.mega-menu-image-column {
  grid-column: 4;
}

.mega-menu-image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-menu-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.mega-menu-image-description {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #767676;
  margin: 0;
}

.mega-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ad2324;
  color: #ffffff !important;
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400; /* Changed from 500 to 400 to remove bold */
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
}

.mega-menu-button:hover {
  background: #870708;
}

.mega-menu-button img {
  width: 20px;
  height: 20px;
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
  .mega-menu {
    width: 95vw;
  }
}

@media (max-width: 1200px) {
  .mega-menu-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-menu-image-column {
    grid-column: span 1;
  }
}

@media (max-width: 992px) {
  .mega-menu {
    position: fixed;
    top: 124px;
    left: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
  }

  .mega-menu-container {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mega-menu-image-wrapper {
    flex-direction: column;
  }
}

/* What We Do Menu Styles */
.what-we-do-menu {
  display: flex;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  padding: 0;
}

.what-we-do-dropdown:hover .what-we-do-menu {
  opacity: 1;
  visibility: visible;
}

.what-we-do-container {
  width: 100%;
  display: flex;
}

/* Main Sections Column */
.what-we-do-main-sections {
  display: flex;
  flex-direction: column;
  width: 300px;
  background: #f8f8f8;
  padding: 16px 0;
  border-radius: 8px 0 0 8px;
}

.service-menu-item {
  position: relative;
  width: 100%;
}

.service-menu-item h4 {
  margin: 0;
  padding: 16px 24px;
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400; /* Changed from 600 to 400 to remove bold */
  font-size: 16px;
  color: #252526;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.service-menu-item h4 a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
}

.service-menu-item h4::after {
  content: "›";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #767676;
  transition: all 0.3s ease;
}

.service-menu-item:hover h4 {
  background-color: rgba(173, 35, 36, 0.05);
  color: #ad2324;
}

.service-menu-item:hover h4::after {
  color: #ad2324;
  transform: translateY(-50%) translateX(5px);
}
.what-we-do-menu-image {
  margin: auto;
  position: relative;
  width: 27%;
  height: 108%;
  /* background-color: #f8f8f8; */
  border-radius: 0 8px 8px 0;
  padding-right: 30px;
}
.what-we-do-menu-image .mega-menu-image-wrapper {
  gap: 20px;
}
/* Dropdown Menu */
.section-dropdown {
  position: fixed;
  top: 0;
  left: 25%;
  width: 600px;
  background: #ffffff;
  border-radius: 0 8px 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  padding: 32px;
  height: 100%;
}

.service-menu-item:hover .section-dropdown {
  opacity: 1;
  visibility: visible;
}

.section-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 39px 0px;
}

.section-dropdown ul li a {
  display: block;
  padding: 8px 16px;
  color: #252526;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.section-dropdown ul li a:hover {
  background-color: rgba(173, 35, 36, 0.05);
  color: #ad2324;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .what-we-do-menu {
    width: 95%;
  }

  .what-we-do-main-sections {
    width: 250px;
  }

  .section-dropdown {
    width: 500px;
  }
}

@media (max-width: 992px) {
  .what-we-do-container {
    flex-direction: column;
  }

  .what-we-do-main-sections {
    width: 100%;
    background: none;
    padding: 0;
  }

  .service-menu-item h4 {
    padding: 12px 16px;
  }

  .service-menu-item h4::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .service-menu-item:hover h4::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .section-dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 16px;
    box-shadow: none;
    background: #f8f8f8;
  }

  .section-dropdown ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-dropdown ul li a {
    white-space: normal;
  }
}

/* Hide contact button and adjust main-nav on contact page */
body[data-page="contact"] .contact-btn,
body[data-page="contact"] .mob-contact-btn {
  display: none !important;
}

body[data-page="contact"] .main-nav {
  margin-inline: auto;
}
