/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}
body {
  line-height: 1.6;
  color: #333;
}
/*hero video*/
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
  z-index: 0;
}

/* Hero */
.hero {
  background: linear-gradient(90deg, #201f1f, #a5a4a4);
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}
.typing-text span {
  border-right: 2px solid white;
  padding-right: 2px;
  animation: blink-caret 0.8s step-end infinite;
}
.cta-button {
  position: relative;
  display: inline-block;
  padding: 10px 50px;
  background: #ff9800;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s;
  margin-top: 420px;
}
.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s;
}
.cta-button:hover::before {
  left: 0;
}
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-down i {
  font-size: 2rem;
  color: white;
}
@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/*Navigation Logo Image */
.nav-logo {
  display: flex;
  align-items: last baseline;
  gap: 80px; /* space between image and text */
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff; /* or whatever your theme uses */
  text-transform: uppercase;
}

.nav-logo img {
  height: 80px; /* adjust as needed */
  width: auto;
  border-radius: 5px; /* optional: rounds the corners */
  margin: 0%;
}

/* Navigation */
nav {
  background: linear-gradient(360deg, #2569c1, #358be2);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
/* .nav-logo {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
} */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.nav-links li a.active {
  color: #ff9800;
  text-decoration: underline;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Sections */
section {
  padding: 60px 20px;
  position: relative;
}
section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #004aad;
}
.center-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* Fade & stagger */
.fade-in-up,
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.show,
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
.stagger-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.stagger-item.show {
  opacity: 1;
  transform: translateY(0);
}
.stagger-item:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-item:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-item:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-item:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-item:nth-child(5) {
  transition-delay: 0.5s;
}

/* Services */
.service-card {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 12px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card i {
  color: #004aad;
  margin-bottom: 15px;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.testimonial-card {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-5px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}
.testimonial-card h4 {
  font-weight: bold;
  color: #004aad;
}

/* Accordion */
.accordion {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.accordion-item {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}
.accordion-button {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background: linear-gradient(360deg, #2569c1, #358be2);
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
}
.accordion-button:hover {
  transform: translateX(5px);
  background: #004aad;
}
.accordion-button i {
  float: right;
  transition: transform 0.3s;
}
.accordion-item.active .accordion-button i {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #e6f0ff;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion-content p {
  padding: 15px 0;
  margin: 0;
}
.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 15px 20px;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 8px rgba(30, 144, 255, 0.3);
  outline: none;
}
.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(360deg, #2569c1, #358be2);
  color: white;
  font-weight: bold;
  cursor: pointer;
}
.contact-form button:hover {
  background: #004aad;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: linear-gradient(360deg, #2569c1, #358be2);
  color: white;
  text-align: center;
  padding: 30px 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .services,
  .testimonials {
    flex-direction: column;
    align-items: center;
  }
  .service-card,
  .testimonial-card {
    width: 80%;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.2rem;
  }

  /* Hamburger mobile menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(360deg, #2569c1, #358be2);
    flex-direction: column;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 200;
    border-left: 1px solid #002060;
  }
  .nav-links.show {
    right: 0;
  }
  .nav-links li {
    margin: 20px 0;
    text-align: center;
  }
  .hamburger {
    display: flex;
  }
}
/*Hero Video Mobile*/
/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: auto;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== BACKGROUND VIDEO ===== */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* fills full screen */
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* ===== CONTENT OVERLAY ===== */
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* ===== DARK OVERLAY (optional) ===== */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .hero-video {
    object-fit: cover; /* 👈 ensures full video is visible */
    width: 100vw;
    height: 100vh;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

