@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #ffffff;
}
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #21336a;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}

#scrollTopBtn:hover {
  background: #333;
  transform: translateY(-3px);
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  position: fixed;
  width: 100%;
  top: 0;
  background: #fff;
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 20px;
}
.button-primary {
  text-decoration: none;
  color: #fff;
  padding: 12px 24px;
  background: linear-gradient(to bottom, #132f67, #4d3d73);
  border-radius: 30px;
}
.menu-btn {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #000;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
}

.nav-links a:hover {
  /* text-decoration: none; */
  color: #31376e;
  font-weight: 600;
  /* font-size: 15px; */
}

.close-btn {
  display: none;
}

/* HERO */
.hero {
  height: 110vh;
  background-image: url("../images/her0-image.png");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 60px;
  margin-top: 80px;
  background-color: #082557;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 37, 87, 0.98),
    rgba(8, 37, 87, 0.8),
    rgba(8, 37, 87, 0.2)
  );
}

.hero-content {
  position: relative;
  /* max-width: 600px; */
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  color: #fff;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero p {
  color: #eeeeee;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.5;
}

.btn-primary {
  padding: 14px 30px;
  background: linear-gradient(90deg, #5b6cff, #7c8cff);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 80px 60px;
  align-items: center;
  /* background-color: #082557; */
  border-bottom-right-radius: 80px;
  border-bottom-left-radius: 80px;
}

.about-text {
  /* display: flex;
  justify-content: center;
  align-items: center; */
  flex-direction: column;
}

.about h2 {
  font-size: 34px;
  margin-bottom: 16px;
  /* text-align: center; */
}

.about p {
  color: #000;
  line-height: 1.6;
  /* text-align: center; */
}

.about img {
  width: 100%;
  border-radius: 14px;
}

.features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin: 40px;
  padding: 0 60px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 20%;
  border-radius: 30px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); */
}

.f-logo {
  background-color: #e4eaf7;
  /* padding: 40px; */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.f-title {
  display: flex;
  justify-content: center;
  align-items: center;
}
.f-title .text-p {
  text-align: center;
}
.f-logo img {
  width: 50px;
}

.why-chose {
  background-color: #082557;
  padding: 60px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.why-chose h2 {
  font-size: 34px;
  margin-bottom: 16px;
  text-align: center;
}
.why {
  position: relative;
  width: 720px; /* ⬅️ increase width */
  height: 340px; /* ⬅️ decrease height */
  margin: 50px auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  height: 100%;
}

.cell {
  border: 1px solid #1f4387;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #e5e7eb;
  padding: 20px;
  gap: 20px;
  line-height: 1.5;
}
/* Top-left */
.cell:nth-child(1) {
  border-top-left-radius: 20px;
}

/* Top-right */
.cell:nth-child(2) {
  border-top-right-radius: 20px;
}

/* Bottom-left */
.cell:nth-child(3) {
  border-bottom-left-radius: 20px;
}

/* Bottom-right */
.cell:nth-child(4) {
  border-bottom-right-radius: 20px;
}
/* Center logo */
.center-logo {
  background: linear-gradient(to bottom, #132f67, #4d3d73);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-logo img {
  width: 100%;
  height: auto;
}

/* SOLUTIONS */
.solutions {
  padding: 100px 10%;
  background: #060b1e;
}

.solutions h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 50px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.solution-card {
  background: #0f1733;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s;
}

.solution-card:hover {
  transform: translateY(-6px);
}

.solution-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.solution-card h3 {
  padding: 18px;
  font-size: 16px;
  text-align: center;
}

/* FOOTER */
.footer {
  padding: 24px;
  text-align: center;
  background: #0a1024;
  color: #94a3b8;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-image img {
  width: 80%;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .features {
    flex-direction: column;
    gap: 20px;
  }

  .feature-card {
    width: 100%;
  }
  .about h2 {
    text-align: center;
  }

  .about p {
    text-align: center;
  }
  .about {
    padding: 80px 20px;
  }
  .footer-links {
    flex-direction: column;
  }
  .features {
    padding: 0 20px;
  }
  .why {
    width: 100%;
    height: auto;
  }
  .why-chose {
    padding: 60px 20px;
  }
  .nav-links a {
    color: #fff;
  }
  .about-image img {
    width: 100%;
  }
  .grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 20px;
  }

  .footer-basic {
    padding: 40px 20px;
  }
  .hero {
    margin-top: 0;
    height: 100vh;
  }

  .center-logo {
    display: none;
  }

  /* Top-left */
  .cell:nth-child(1) {
    border-top-left-radius: 0;
  }

  /* Top-right */
  .cell:nth-child(2) {
    border-top-right-radius: 0;
  }

  /* Bottom-left */
  .cell:nth-child(3) {
    border-bottom-left-radius: 0;
  }

  /* Bottom-right */
  .cell:nth-child(4) {
    border-bottom-right-radius: 0;
  }
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 260px;
    background: #0a1024;
    flex-direction: column;
    padding: 30px 24px;
    transition: 0.3s;
  }
  .navbar {
    padding: 14px 20px;
  }

  .nav-links.active {
    right: 0;
  }

  .close-btn {
    display: block;
    font-size: 24px;
    margin-bottom: 20px;
    cursor: pointer;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }
}
.footer-basic {
  padding: 40px 60px;
  background: #0a1024;
  color: #94a3b8;
}

.footer-basic ul {
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-basic li {
  padding: 0 10px;
}

.footer-basic ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.footer-basic ul a:hover {
  opacity: 1;
}

.footer-basic .social {
  text-align: center;
  padding-bottom: 25px;
}

.footer-basic .social > a {
  font-size: 24px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin: 0 8px;
  color: inherit;
  opacity: 0.75;
}

.footer-basic .social > a:hover {
  opacity: 0.9;
}

.footer-basic .copyright {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 0;
}
