/* Reset and base */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
}
.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 55px;
  width: auto;
  object-fit: contain;
  margin-top: 50px; /* adjust up/down by ±2px for fine-tuning if needed */
}
.logo-link, .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none; /* Remove underline */
}
.logo-link:visited { color: inherit; }

.logo-link:visited {
  color: inherit;
}


.lines-decor {
  height: 129px;        /* or adjust to match header height */
  opacity: 0.22;        /* 25% transparency */
  object-fit: contain;
}

.main-logo {
  height: 60px;        /* your existing logo height */
  object-fit: contain;
}


/* Top Bar */
.top-bar {
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* make children fill the height */
  padding: 0 0px;
  background-color: white;
  /*border-bottom: 1px solid #eee;*/
}


.top-nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: stretch;  /* stretch each item */
  height: 100%;
}

.top-nav-links li {
  height: 100%;
  display: flex;
}
.top-nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  font-weight: 500;
  text-decoration: none;
  color: black;
}


.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 128px;              /* wider width */
  height: 100%;

  padding-left: 36px;        /* more left space */
  padding-right: 20px;

  background-color: #e30613;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
  color: black;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  background-color: #e30613;
}
.contact-btn:hover {
  color: black !important;
}
.contact-btn:visited,
.contact-btn:focus {
  color: white;
}
/* Main Nav */
.main-nav {
  background-color: white;
  border-bottom: 1px solid #eee;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  padding: 10px 30px;
  align-items: center;
}

.menu li {
  position: relative;
  z-index: 10;
}

.menu li a {
  text-decoration: none;
  color: black;
  font-weight: normal;
}

.menu li a.active {
  color: orange;
}
.menu li.dropdown {
  position: relative;
}
.menu li.dropdown:hover .services-dropdown {
  display: grid;
}

.menu li.dropdown:hover .sectors-dropdown {
  display: grid;
}


/* Dropdowns remain the same */


/* Dropdowns */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%-16px);
  z-index: 9999;
  background: #ff1e1e;
  border-radius: 16px;
  padding: 30px;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Add these to your dropdown CSS */
.dropdown-content .item a {
  display: block;
  color: inherit;
  background: none;
  text-decoration: none;
  font: inherit;
  padding: inherit;
  border-radius: inherit;
  transition: inherit;
}

.dropdown-content .item a:hover, 
.dropdown-content .item a:focus {
  background: rgba(255,255,255,0.1); /* or whatever highlight you use */
  color: #ff3333; /* your hover color */
}

/* Remove default focus ring unless wanted */
.dropdown-content .item a:focus {
  outline: none;
}


.menu li.dropdown:hover .services-dropdown {
  display: grid;
}

.menu li.dropdown:hover .sectors-dropdown {
  display: grid;
}

/* SERVICES DROPDOWN */
.services-dropdown {
  
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 40px;
  
  
  position: absolute;
  
  
  
  display: none;
  
  position: absolute;
  top: 100%;
  left: calc(50% - 85px);
  transform: translateX(-58%);
  z-index: 9999;

  background: rgba(255, 0, 0, 0.95);
  border-radius: 20px;
  padding: 30px;

  display: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  width: 850px;
  max-width: calc(100vw - 32px); /* Optional safety */
}


/* SECTORS DROPDOWN */
.sectors-dropdown {
  
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 40px; /* row-gap, column-gap */
  padding: 30px;
  
  
  
  transform: translateX(-50%);
  
  border-radius: 20px;
  
  
  position: absolute;
  top: 100%;
  left: calc(50% - 170px);
  transform: translateX(-58%);
  z-index: 9999;

  background: rgba(255, 0, 0, 0.95);
  border-radius: 20px;
  padding: 30px;

  display: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  width: 850px;
  max-width: calc(100vw - 32px); /* Optional safety */
}



.services-dropdown div,
.sectors-dropdown div {
  color: white;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  line-height: 1.4;
}

.services-dropdown .item span {
  display: inline-block;
  color: white;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.sectors-dropdown .item span {
  display: inline-block;
  color: white;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.services-dropdown .item span {
  display: inline-block;
  color: white;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.services-dropdown .item span:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: black;
}
.sectors-dropdown .item span:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: black;
}
.sectors-dropdown .item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Footer Styling */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  padding: 40px 60px;
  border-top: 1px solid #eee;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  margin: 10px;
  min-width: 220px;
}

.footer-column.left ul {
  list-style: none;
  padding: 0;
}

.footer-column.left ul li {
  margin-bottom: 10px;
}

.footer-column.left ul li a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.footer-column.left ul li a.active {
  color: orange;
  font-weight: bold;
}

.footer-column.center h4,
.footer-column.right h4 {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-column.center p {
  margin-bottom: 5px;
  color: #333;
}

.footer-column.center a {
  text-decoration: none;
  color: #000;
}
.address-row {
  display: flex;
  gap: 40px; /* Adjust the space between the addresses */
  justify-content: center; /* Optional: Center them horizontally in the column */
}

.address-block {
  min-width: 220px;
  max-width: 300px;
}

.footer-column.right .footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-contact-btn {
  display: inline-block;
  background: red;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 2px;
}
/* Hero Section */
.sector-hero {
  display: flex;
  align-items: stretch;
  min-height: 480px;
  background: #fff;
  padding: 0 0 0 0;
}
.sector-hero-text {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 72px 54px;
}
.sector-hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.08;
}
.sector-hero-text p {
  font-size: 1.25rem;
  color: #333;
  line-height: 1.6;
}
.sector-hero-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  background: #fff;
}
.sector-hero-img img {
  max-width: 800px;
  max-height: 800px;
  border-radius: 16px;
  object-fit: cover;
  margin: 48px 56px 48px 0;
  box-shadow: 0 4px 32px #0001;
}

/* Sectors Grid Section */
.sector-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 330px);
  gap: 0;
}
.vector-cell, .content-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
}
.vector-cell {
  flex-direction: column;
  background: #FDE7D1;
}
.cell-bg2 {
  background: #FBCAC7;
}
.content-cell {
  flex-direction: column;
  background: #fff;
  text-align: left;
  align-items: flex-start;
  justify-content: center;
}
.content-cell h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.content-cell p {
  font-size: 1.05rem;
  color: #333;
  max-width: 370px;
  margin: 0;
}
.vector-cell svg {
  margin: 0 auto;
  display: block;
}
@media (max-width: 1200px) {
  .sector-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 330px);
  }
}
@media (max-width: 800px) {
  .sector-hero {
    flex-direction: column;
    padding: 0;
  }
  .sector-hero-img {
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  .sector-hero-img img {
    margin: 24px 0 24px 0;
    max-width: 96vw;
    max-height: 240px;
  }
  .sector-hero-text {
    padding: 32px 12px 24px 12px;
  }
  .sector-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 240px);
  }
}
