/* General styles */

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #1f2937;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1320px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.section-gray {
  background-color: #f9fafb;
}

/* Navigation styles */
header {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

header nav a {
  position: relative;
  padding: 4px 0;
  transition: border-bottom 0.3s ease;
  text-decoration: none;
}

header nav a:hover {
  color: #1a56db;
  border-bottom: 2px solid #1a56db !important;
  transition: border-bottom 0.3s ease;
  transform: scale(1.01);
}

header nav a.active,
header nav a[aria-current="page"] {
  color: #1a56db;
  border-bottom: 2px solid #1a56db;
}

/* For non-active items, hide the border */
header nav a:not(.active):not([aria-current="page"]) {
  border-bottom: 2px solid transparent;
}

.logo {
  width: 140px;
  height: auto;
}

/* Button styles to match design */
.bg-primary-blue {
  background-color: #1a56db;
}

.primary-blue {
  color: #1a56db;
}

.primary-gray {
  color: #6b7280;
}

.hover\:bg-dark-blue:hover {
  background-color: #1a56db;
}

/* Hero section styles */

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90vh;
  overflow: hidden;
  color: white;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgb(0, 26, 85, 0.9) 30%,
    rgba(0, 24, 72, 0.6) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 span {
  font-weight: 400;
}

.hero-text p {
  font-weight: 400;
}

.hero-image {
  max-width: 45%;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.bg-contact {
  background: url(./assets/contact-us.png)
    linear-gradient(
      0deg,
      rgba(3, 60, 168, 0) 0%,
      rgba(0, 45, 131, 0.59) 59%,
      rgba(0, 45, 131, 1) 87%
    );
  background-size: cover;
  background-blend-mode: multiply;
}

.card_icon {
  min-height: 60px;
  min-width: 60px;
  max-height: 60px;
  max-width: 60px;
}

.card_icon img {
  height: 30px;
  width: 30px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.heroVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

/* Mission section styles */

/* Approach section styles */
.approach-card:hover {
  border-left: 4px solid #1a56db;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.conector {
  content: "";
  height: 100%;
  width: 1px;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  /* 20% transparent white */
  padding-top: 0.5rem;
  /* Reduced from 1rem (py-4) to 0.5rem */
  padding-bottom: 0.5rem;
  transition: all 0.5s ease-in-out;
  backdrop-filter: saturate(180%) blur(8px);
  /* Optional: glassy feel */
}

@media (max-width: 575px) {
  .logo {
    width: 100px;
  }
}

/* Service section */
.service-list {
  background-color: #f1f5f9;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.mpcp-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 40%,
    rgba(225, 235, 255, 0.8) 100%
  );
}

.img-blue-hover {
  transition: transform 0.3s ease;
  overflow: hidden;
}
.mpcp-card:hover .img-blue-hover {
  transform: scale(1.1);
}
.mpcp-card:hover .img-overlay {
  background: linear-gradient(
    180deg,
    rgba(23, 76, 184, 0.2) 0%,
    rgba(23, 76, 184, 1) 100%
  );
}

/* service section */

.service-card:hover .service-stats {
  color: #1a56db;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* footer pages */

.extra-pages h1 {
  color: #1a56db;
  border-bottom: 2px solid #ebf8ff;
  padding-bottom: 10px;
  font-size: 2rem;
  font-weight: 600;
}
.extra-pages h2 {
  color: #1a56db;
  margin-top: 30px;
  font-size: 1.4rem;
  font-weight: 600;
}
.extra-pages h3 {
  color: #1a56db;
}
.extra-pages p {
  margin-bottom: 15px;
}
.extra-pages last-updated {
  font-style: italic;
  color: #6b7280;
  margin-bottom: 30px;
}
.extra-pages .contact-info {
  background-color: #ebf8ff;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
}
.extra-pages ul {
  padding-left: 20px;
}
.extra-pages li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #founder .founder-img {
    max-height: 350px;
    width: auto;
    margin: 0 auto;
  }

  .hero-text,
  .hero-image {
    max-width: 100%;
  }
  .hero-video {
    top: 80%;
    min-height: 50%;
  }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgb(0, 26, 85, 0.8) 30%,
      rgba(0, 24, 72, 0.6) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  .hero-content {
    flex-direction: column;
    padding: 50 10px;
  }

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