@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800&display=swap");

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Work Sans", serif;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: 50px;
}

.margin-captcha {
  padding-top: 10px;
}

/* Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.btn-container {
  display: flex;
  justify-content: flex-end;
}

.active-menu {
  color: #0072ce !important;
}

.main-nav a {
  text-decoration: none;
  color: #202020;
  font-weight: 500;
}

.main-nav a:hover {
  color: #0072ce;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed; /* Use fixed to cover the whole screen */
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 2rem;
    border: none;
    z-index: 1000;
    width: 100%;
  }

  .main-nav.open ~ .close-btn {
    display: block;
  }

  .main-nav.open ~ .hamburger {
    display: none;
  }

  .main-nav a {
    font-size: 2rem;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hamburger {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-title {
  color: white;
  font-size: 8rem;
  font-weight: 800;
  font-family: "Work Sans", sans-serif;
  margin: 0;
  overflow: hidden;
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
}

/* Typing effect WITHOUT caret */
.typing {
  animation: typing 2.5s steps(20, end) forwards;
}

.features-section {
  background-color: #ffffff;
  padding: 6rem 1rem 8rem 1rem;
}

.features-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.features-intro {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #1a1a1a;
  line-height: 1.6;
  color: #1a2b4c;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: #f1f8ff;
  padding: 2rem;
  border-left: 5px solid #0072ce;
  text-align: left;
}

.feature-card img {
  width: auto;
  height: 100px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #0057b7;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #333;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    text-align: center;
  }

  .feature-card img {
    margin: 0 auto 1rem auto;
  }
}

.stats-section {
  background-color: #fff;
  padding: 4rem 1rem;
}

.stats-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.stats-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #163b6d;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-circle {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 10px solid #0072ce;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0057b7;
  background-color: #fff;
}

.stat-circle img {
  position: absolute;
  top: -15px;
  background: white;
  border-radius: 50%;
  padding: 5px;
  width: 32px;
  height: 32px;
}

.stat-label {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2b4c;
}

/* Responsive Layout */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-circle {
    width: 100px;
    height: 100px;
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}

.about-section {
  background-color: #eaf4ff;
  padding: 0;
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.about-image,
.about-content {
  flex: 1 1 50%;
  padding-right: 20px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: 2rem;
  color: #0057b7;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #1a2b4c;
  margin-bottom: 2rem;
}

.btn-blue {
  display: inline-block;
  background-color: #0057b7;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  transition: background-color 0.3s ease;
  width: 14rem;
  height: auto;
}

.btn-blue:hover {
  background-color: #003f88;
}

/* Responsive layout */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-content {
    padding: 2rem 1.5rem;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .about-image {
    padding-right: 0px;
  }
}

.services-section {
  background: #fff;
  padding: 6rem 4rem;
}

.services-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.services-container h2 {
  color: #0057b7;
  margin-bottom: 1rem;
  text-align: left;
}

.services-container p {
  text-align: left;
}

.services-intro {
  max-width: 850px;
  color: #1a2b4c;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: white;
  padding: 1.5rem;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.service-card-2 {
  background-color: white;
  padding: 1.5rem;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.card-1 {
  border-left: 4px solid #0072ce;
}

.card-2 {
  border-left: 4px solid #e3f2fd;
}

.service-card h3 {
  font-size: 1.1rem;
  color: #0057b7;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-section {
    background: #fff;
    padding: 4rem 2rem;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-container h2 {
    font-size: 1.5rem;
  }

  .service-card {
    padding: 1.25rem;
  }
}

.cta-section {
  background-color: #eef7ff;
  border-top: 3px solid #0072ce;
  padding: 2.5rem 1rem;
}

.cta-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cta-text {
  flex: 1 1 60%;
}

.cta-text h3 {
  color: #0057b7;
  margin-bottom: 0.5rem;
}

.cta-text p {
  font-size: 1rem;
  color: #1a2b4c;
}

.cta-button {
  flex: 1 1 200px;
  display: flex;
  justify-content: flex-end;
}

.btn-blue {
  display: inline-block;
  height: auto; /* ensure it wraps the text naturally */
  line-height: 1.2; /* good readability */
  padding: 0.75rem 1.5rem; /* controls size */
  box-sizing: border-box;
  width: 50%; /* prevents stretch */
  text-align: center;
}

.btn-blue:hover {
  background-color: #003f88;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-button {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-button {
    flex: none;
    justify-content: center;
    display: flex;
    width: 100%;
  }

  .btn-blue {
    width: auto;
    min-width: 180px;
    height: auto;
    padding: 0.75rem 1.5rem;
    line-height: 1.2;
    box-sizing: border-box;
    text-align: center;
  }
}
.projects-section {
  padding: 6rem 1rem;
  background-color: #fff;
}

.projects-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.projects-container h2 {
  color: #0057b7;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.projects-intro {
  font-size: 1rem;
  color: #1a2b4c;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.projects-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.projects-grid img:hover {
  transform: scale(1.03);
}

.projects-cta {
  background-color: #eef7ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
}

.projects-cta .btn-blue {
  background-color: #0057b7;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.projects-cta .btn-blue:hover {
  background-color: #003f88;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.site-footer {
  background-color: #0f64c4;
  color: white;
  padding: 3rem 1rem 2rem 1rem;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2rem;
}

.footer-column {
  flex: 1 1 250px;
}

.logo-column .footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-weight: 400;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.contact-column p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.btn-white {
  display: inline-block;
  background-color: #ffffff;
  color: #0057b7;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-white:hover {
  background-color: #e5f1ff;
}

.footer-bottom {
  max-width: 1300px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #e0e0e0;
  gap: 1rem;
}

.footer-links a {
  margin-left: 1rem;
  color: #e0e0e0;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-links a {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.secondaryhero-wrapper1 {
  background: url("../assets/hero-1.png") no-repeat center center;
  background-size: cover;
  width: 100%;
  padding: 6rem 1rem;
}

.secondaryhero-wrapper2 {
  background: url("../assets/hero-2.png") no-repeat center center;
  background-size: cover;
  width: 100%;
  padding: 6rem 1rem;
}

.secondaryhero-wrapper3 {
  background: url("../assets/hero-3.png") no-repeat center center;
  background-size: cover;
  width: 100%;
  padding: 6rem 1rem;
}

.secondaryhero-wrapper4 {
  background: url("../assets/hero-4.png") no-repeat center center;
  background-size: cover;
  width: 100%;
  padding: 6rem 1rem;
}

.secondaryhero-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}

.secondaryhero-box {
  background-color: rgba(0, 91, 187, 0.9);
  color: white;
  padding: 2.5rem 3rem;
  width: 70%;
}

.secondaryhero-breadcrumb {
  font-size: 0.85rem;
  color: #dbefff;
  margin-bottom: 1rem;
}

.secondaryhero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.secondaryhero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .secondaryhero-box {
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .secondaryhero-title {
    font-size: 2rem;
  }

  .secondaryhero-subtitle {
    font-size: 0.95rem;
  }
}

.faq-section {
  background: #fff;
  padding: 6rem 4rem;
}

.faq-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.faq-container h2 {
  color: #0057b7;
  margin-bottom: 1rem;
  text-align: left;
}

.faq-container p {
  text-align: left;
}

.faq-intro {
  max-width: 850px;
  color: #1a2b4c;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.faq-card {
  background-color: white;
  padding: 1.5rem;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.faq-card-2 {
  background-color: white;
  padding: 1.5rem;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.card-1 {
  border-left: 4px solid #0072ce;
}

.card-2 {
  border-left: 4px solid #e3f2fd;
}

.faq-card h3 {
  font-size: 1.1rem;
  color: #0057b7;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.faq-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 600px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-container h2 {
    font-size: 1.5rem;
  }

  .faq-card {
    padding: 1.25rem;
  }
}

.faq-search-wrapper {
  position: relative;
  max-width: 1300px;
  margin: 0 auto 3rem auto;
}

.faq-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  font-size: 1rem;
  border: 1px solid #d3e3f7;
  border-radius: 8px;
  background-color: #f4f9ff;
  color: #1a2b4c;
}

.faq-search-input::placeholder {
  color: #7a9cc4;
}

.faq-search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #7aa6da;
  pointer-events: none;
}

.faq-search-icon .icon {
  width: 20px;
  height: 20px;
}

.faq-search-input:focus {
  outline: none; /* Remove browser's black outline */
  border: 1px solid #7aa6da; /* Optional: add your custom border */
  box-shadow: 0 0 0 2px rgba(122, 166, 218, 0.2); /* Optional glow */
}

.contact-section {
  background: #fff;
  padding: 6rem 2rem;
}

.contact-container {
  max-width: 1300px !important;
  margin: 0 auto;
  display: flex;
  padding: 0 1rem;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-left,
.contact-right {
  flex: 1 1 600px;
}

.contact-heading {
  color: #0057b7;
  margin-bottom: 1.5rem;
}

.contact-form {
  background: #fdfdfd;
  border: 1px solid #d0e4f8;
  box-shadow: 0 4px 15px rgba(0, 87, 183, 0.08);
  border-radius: 6px;
  padding: 2rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.full-width {
  flex: 1 1 100%;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0072ce;
  box-shadow: 0 0 0 2px rgba(0, 114, 206, 0.2);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  text-align: left;
  margin-top: 2rem;
}

.form-submit button {
  background-color: #0057b7;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-submit button:hover {
  background-color: #003f88;
}

.error input {
  border-color: #dc3545;
}

.error-msg {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}

.contact-map {
  width: 100%;
  height: 100%;
  max-height: 625px;
  min-height: 300px;
  overflow: hidden;
  border-radius: 6px;
  display: block;
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-group {
    flex: 1 1 100%;
  }

  .contact-container {
    flex-direction: column;
  }
}

.policy-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 6rem 2rem;
  background-color: #fff;
  color: #1a2b4c;
}

.policy-section h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #0057b7;
}

.policy-section h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  color: #003f88;
}

.policy-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
}

.policy-section a {
  color: #0057b7;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .policy-section {
    padding: 4rem 1.5rem;
  }

  .policy-section h1 {
    font-size: 2rem;
  }

  .policy-section h2 {
    font-size: 1.25rem;
  }
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 35px;
  font-size: 15px;
  display: none;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 35px;
  font-size: 15px;
  display: none;
}
