* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #000;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

@font-face {
  font-family: "Open Sans";
  src: url("open-sans-v43-latin-regular.woff2");
}

@font-face {
  font-family: "cardo";
  src: url("fonts/Cardo-Regular.woff2");
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 610px !important;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 26, 63, 0.5); /* dark blue semi-transparent overlay */
  z-index: 1;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7.5vh; /* Matches header height from index.html */
  padding: 2vw 1.5vw;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between; /* Nav links left, logo right */
  align-items: center;
  gap: 0vw;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2vw;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-size: 1.3vw !important;
  font-family: "Open Sans";
  font-weight: 300 !important;
  line-height: normal;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: #f16529;
}

.nav-links a:hover::after {
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
  padding-right: 0; /* Reset if any */
  margin-right: -5.3vw; /* or -10px, test what fits visually */
  padding-top: 2.5vw;
}

.logo img {
  width: 25.5vw;
  height: 7.5vh;
  object-fit: contain;
  display: block;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 50%;
  margin: 0 auto;
  text-align: center;
  padding-top: 15vh;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1s ease-out 0.5s forwards;
}

.hero h1 {
  font-family: "cardo";
  font-size: 3vw !important;
  font-weight: 400;
  margin-bottom: 1.5vw;
  line-height: 1.2;
}

.hero p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.2vw;
  margin-bottom: 2.5vw;
  line-height: 1.6;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* Smooth scrolling */

.accent {
  color: #f16529;
}

.hero-text {
  padding: 5vw;

  width: fit-content;
  margin: 5vw;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1vw;
}

.hero-text p {
  font-size: 1rem;
}

/* Core Services */

.core-intro {
  margin-top: 0 !important;
  text-align: center;
  margin-bottom: 4vw;
  padding: 0 6vw;
}

.core-intro-heading {
  font-family: cardo;
  font-weight: 400;
  margin-bottom: 1.2vw;
  font-style: normal;
  color: #121212;
  text-align: center;
  font-family: "cardo";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px; /* 156.25% */
  font-size: 3.2vw !important;
  line-height: 4.3vw !important;
}

.core-intro-subheading {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 1vw !important;
  line-height: 1.5vw !important;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
}
.core-services {
  max-width: 1400px;
  margin: auto !important;
  height: auto;
  padding: 6vw 0;
  text-align: center;
}

.core-services h2 {
  margin-bottom: 1.5vw;
  color: #121212;
  text-align: center;
  font-family: "cardo";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px; /* 156.25% */
  font-size: 3.2vw !important;
  line-height: 4.3vw !important;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
}

.service-box {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 2vw;
  text-align: left;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  overflow-x: hidden;
  height: auto;
  position: relative;
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
}

.service-box:hover {
  background-color: #051233;
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
  height: auto; /* Expand to fit content */
  z-index: 2;
  transform: scale(1.05);
}

.service-box:hover .icon-orange {
  /* fill: white; */
  fill: none;
  stroke: #ffffff;
  transition: fill 0.3s ease;
}

.service-box:hover .icon-orange2 {
  fill: white;
  stroke: #ffffff;
  transition: fill 0.3s ease;
}

.service-header {
  display: flex;
  align-items: center !important;
  gap: 12px;
  margin-bottom: 1vw;
}

.service-header img {
  height: 40px;
  width: auto;
  transition: filter 0.5s ease;
}

.service-header h4 {
  margin: 0;
  color: #00083e;
  font-family: "Open Sans";
  font-size: 1.15vw;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.4 !important;
  transition: color 0.3s ease;
  font-style: normal;
}

.service-box:hover h4 {
  color: #fff;
}

.service-box p {
  width: 300px;
  color: #000;
  font-family: "Open Sans";
  font-size: 16px !important;
  font-weight: 400;
  height: 100%; /* Roughly 2 lines */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: max-height 0.6s ease, color 0.3s ease;
  font-size: 1vw !important;
  line-height: 1.5vw !important;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

.service-box:hover p {
  color: #fff;
  max-height: 1000px; /* Allow full paragraph */
  white-space: normal;
}

.service-box:hover img {
  filter: brightness(0) invert(1);
}
/* why us */
.why-us {
  position: relative;
  width: 100%;
  height: 70vh;
  background-image: url("images/image copy 5.png"); /* Replace with your actual path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  object-fit: cover;
}

.why-us-overlay {
  background: rgba(0, 0, 0, 0.4); /* Optional dark overlay */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
}

/* .why-us-text {
  padding-top: 4vw;
  color: white;
  padding-left: 6vw;
} */

.why-us-text .tagline {
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 15px;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 1vw !important;
  line-height: 1.5vw !important;
}

.why-us-text h2 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.4;
  font-size: 3.2vw !important;
  line-height: 4.3vw !important;
}

/* faq section */
.faqs {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 6vw;
  gap: 4vw;
  background-color: #fff;
}

.faq-image {
  flex: 1;
  display: flex;
}

.faq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-content h2 {
  font-family: cardo !important;
  margin-bottom: 3vw;
  color: #00083e;
  font-size: 3.2vw !important;
  line-height: 4.3vw !important;
  font-weight: 400 !important;
}

.faq details {
  width: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1.2vw 0;
  font-family: "Open Sans" !important;
  transition: padding 0.3s ease;
  font-size: 14px !important;
}

.faq summary {
  line-height: 23px !important;
  font-weight: 400 !important;
  font-family: "Open Sans" !important;
  font-size: 16px !important;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: #051233;
  transition: color 0.3s ease;
}

.faq p {
  margin-top: 0.8vw;
  font-size: 14px !important;
  color: #222;
  line-height: 1.7 !important;
  transition: opacity 0.3s ease;
  font-family: "Open Sans" !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

/* new faq */

.faq-content {
  flex: 1;
}

.faq-lines {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-line {
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}

.faq-line:hover {
  cursor: default;
  border-bottom: 1px solid #f16529; /* orange on hover */
}

.faq-line h4 {
  font-family: "Open Sans";
  font-style: normal;
  font-size: 1.2vw;
  line-height: 1.5vw;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
}

.faq-line p {
  font-family: "Open Sans";
  font-style: normal;
  font-size: 1vw;
  line-height: 1.5vw;
  margin: 0;
  color: black;
}

/* Footer */

a {
  text-decoration: none;
  color: inherit;
}

/* footer ended */

.subtitle {
  font-size: 1.39vw;
  line-height: 100%;
}

.service-box h4 {
  font-size: 1.1vw !important;
  font-weight: 400 !important;
}

.service-box p {
  font-size: 1.11vw;
  line-height: 100%;
}

.right-box h4 {
  font-size: 1.74vw;
}

.why-us .left h2 {
  font-size: 3.47vw;
}

.right-box p {
  font-size: 1.25vw;
}

.faq-content h2 {
  font-size: 3.47vw;
}

.faq summary {
  font-size: 1.39vw;
}

/* .footer-bottom p {
  font-size: 0.83vw;
} */

/* Dropdown container */
.dropdown {
  position: relative;
}

/* SVG arrow spacing */
.arrow-icon {
  display: inline-block;
  margin-left: 0.1vw;
  vertical-align: middle;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0a1a3f;
  padding: 0.5vw 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 9vw;
  z-index: 10;
}

/* Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 0.6vw 1vw;
  color: #fff;
  font-size: 1vw;
  font-family: "Open Sans";
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-toggle {
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  font-size: 1.3vw !important;
  font-family: "Open Sans";
  font-weight: 400;
  position: relative;
  padding: 0.5vw 0;
  transition: color 0.3s ease;
}

.site-footer {
  display: flex;
  height: 30vh;
  background-color: #00083e;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  width: 100%;
  align-items: stretch; /* stretch footer-inner to full height */
  padding: 0; /* remove extra vertical padding */
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* push nav to center and copy to bottom */
  padding: 0 4vw;
  width: 100%;
  height: 100%; /* this is critical */
  box-sizing: border-box;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1vw;
  flex-wrap: nowrap;
  height: 100%;
}

.footer-flex a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1vw;
  white-space: nowrap;
}

.footer-flex a:hover {
  text-decoration: none;
  color: #f16529;
}

.footer-copy {
  padding-bottom: 2vw;
  text-align: right;
  font-size: 0.85rem;
  color: #ccc;
  margin: 0;
}

/* why us video added */
.why-us {
  position: relative;
  width: 100%;
  height: 70vh !important;
  overflow: hidden;
}

.why-us-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.why-us-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* optional dark overlay */
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 3vw 6vw;
}

.why-us-text {
  color: white;
}

.why-us-text h2,
.why-us-text .tagline {
  margin: 0;
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
  /* Navbar adjustments if needed */
  .nav-links a,
  .dropdown-toggle {
    font-size: 1.8vw !important;
  }

  .logo {
    margin-right: 0;
    padding-top: 2vw;
  }

  .logo img {
    width: 25vw;
  }

  /* Hero section */
  .hero-text {
    padding: 0 6vw;
    max-width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 4vw;
    line-height: 5vw;
  }

  .hero-text p {
    font-size: 2vw;
    line-height: 3vw;
    max-width: 90%;
    margin: 0 auto;
  }

  /* Core Intro */
  .core-intro-heading {
    font-size: 4vw !important;
    line-height: 5.5vw !important;
  }

  .core-intro-subheading {
    font-size: 2vw !important;
    line-height: 3vw !important;
  }

  .core-services h2 {
    font-size: 4vw !important;
    line-height: 5.5vw !important;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    padding: 0 4vw;
  }

  .service-box {
    padding: 4vw 3vw;
  }

  .service-box h4 {
    font-size: 2.4vw !important;
  }

  .service-box p {
    font-size: 1.8vw !important;
    line-height: 2.5vw !important;
    white-space: normal;
    text-align: left;
  }

  /* Why Us Section */
  .why-us-text h2 {
    font-size: 4vw !important;
    line-height: 5.5vw !important;
  }

  .why-us-text .tagline {
    font-size: 2vw !important;
    line-height: 3vw !important;
  }

  /* FAQ Section */
  .faqs {
    flex-direction: column;
    gap: 6vw;
  }

  .faq-content h2 {
    font-size: 4vw !important;
    line-height: 5vw !important;
  }

  .faq summary {
    font-size: 2vw !important;
  }

  .faq p {
    font-size: 1.9vw !important;
  }

  .faq-line h4 {
    font-size: 2.5vw;
  }

  .faq-line p {
    font-size: 1.8vw;
    line-height: 2.5vw;
  }

  /* Footer Links */
  .footer-flex a {
    font-size: 1.8vw;
  }

  .footer-copy {
    font-size: 1.4vw;
  }
}
