
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --blue-900: #0f3b72;
  --blue-700: #1d5da8;
  --blue-500: #2f7dd0;
  --blue-300: #a6c9f3;
  --blue-100: #e7f1fb;
  --text: #0d1a2d;
  --muted: #4b6075;
  --bg: #f7fbff;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(15, 59, 114, 0.12);
  --radius: 18px;
  --transition: all 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 12% 20%, rgba(47, 125, 208, 0.12), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(15, 59, 114, 0.18), transparent 32%),
    linear-gradient(160deg, #0f3b72 0%, #2f7dd0 45%, #e7f1fb 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  min-height: 70vh;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(247, 251, 255, 0.75);
  border-bottom: 1px solid rgba(47, 125, 208, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.header__search {
  flex: 1;
  max-width: 250px;
  display: none;
}

.search-input {
  width: 100%;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(47, 125, 208, 0.2);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(47, 125, 208, 0.1);
}

@media (min-width: 768px) {
  .header__search {
    display: block;
  }
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  width: 24px;
  height: 3px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav__toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--blue-900);
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  transition: var(--transition);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--blue-900);
  background: var(--blue-100);
}

.btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;

  transition: var(--transition);
  font-size: 0.95rem;
}

.btn--primary {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-500));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(15, 59, 114, 0.22);
  color: var(--blue-900);
}

.btn--ghost {
  background: rgba(47, 125, 208, 0.12);
  color: var(--blue-900);
}

/* Nav bar CTA text color */
.nav .btn--primary {
  color: var(--white);
}

.nav .btn--primary:hover {
  color: var(--blue-900);
}

@media (max-width: 640px) {
  .nav {
    position: relative;
  }

  .nav__toggle {
    display: flex;
    z-index: 2;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(247, 251, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(47, 125, 208, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav__links.is-active {
    max-height: 500px;
  }

  .nav__links a {
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(47, 125, 208, 0.08);
  }

  .nav__links a:last-child {
    border-bottom: none;
  }

  .nav__links .btn--primary {
    margin-top: 12px;
    width: 100%;
    text-align: center;
  }
}

.hero {
  padding: 0;
  background: linear-gradient(140deg, #0f3b72, #2f7dd0);
}

.hero .container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 125, 208, 0.12);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 8px rgba(47, 125, 208, 0.18);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw + 1rem, 3rem);
  margin: 12px 0;
  color: var(--white);
}

.hero p {
  color: var(--white);
  margin: 0 0 16px;
}

.hero .badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero .badge__dot {
  background: var(--white);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 360px;
}

.slider--hero {
  width: 100%;
  min-height: 520px;
  border-radius: 0;
  box-shadow: none;
}

/* Lazy Loading Support */
.slide {
  position: absolute;
  inset: 0;
  padding: 64px 10vw;
  color: var(--white);
  display: grid;
  align-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.slide.is-active {
  opacity: 1;
  transform: translateY(0);
  animation: heroPan 12s ease-in-out alternate forwards;
}

.slide__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 520px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 59, 114, 0.7), rgba(47, 125, 208, 0.45));
  box-shadow: 0 18px 60px rgba(15, 59, 114, 0.25);
  backdrop-filter: blur(6px);
}

.slide__title {
  font-size: 1.6rem;
  font-weight: 700;
}

.slide__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.95rem;
}

.slide__tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.slider__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
}

.dot.is-active {
  background: var(--white);
  transform: scale(1.05);
}

section {
  padding: 46px 0;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}

.section__head h2 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--white);
}

.section__head p {
  margin: 0;
  color: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(47, 125, 208, 0.08), rgba(15, 59, 114, 0.04));
  opacity: 0;
  transition: var(--transition);
}

.card:hover::after {
  opacity: 1;
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(47, 125, 208, 0.12);
  color: var(--blue-900);
  font-weight: 700;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
}

.card p {
  margin: 0 0 12px;
  color: var(--text);
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 600;
  font-size: 0.9rem;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.about__grid > div > h2 {
  color: var(--white);
}

.about__grid > div > p {
  color: var(--white);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.timeline li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.timeline strong {
  color: var(--blue-900);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.services-list li {
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  color: var(--text);
  display: grid;
  gap: 8px;
}

.service-block {
  position: relative;
  overflow: hidden;
}

.service-block::before {
  content: "";
  position: absolute;
  inset: -90px;
  background: conic-gradient(from 120deg, rgba(47, 125, 208, 0.12), rgba(15, 59, 114, 0.18), rgba(47, 125, 208, 0.12));
  opacity: 0.6;
  filter: blur(12px);
  animation: spiral 18s linear infinite;
  z-index: 0;
}

.service-block > * {
  position: relative;
  z-index: 1;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.contact form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  color: var(--blue-900);
}

.field input,
.field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 59, 114, 0.14);
  background: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47, 125, 208, 0.15);
}

.contact__card {
  background: linear-gradient(150deg, var(--blue-900), var(--blue-500));
  border-radius: var(--radius);
  color: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.footer {
  padding: 26px 0 32px;
  background: var(--blue-900);
  color: var(--white);
  margin-top: 32px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.footer__bottom {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: floaty 16s ease-in-out infinite alternate;
}

.shape-a {
  width: 180px;
  height: 180px;
  background: var(--blue-300);
  top: -40px;
  right: -60px;
}

.shape-b {
  width: 140px;
  height: 140px;
  background: var(--blue-500);
  bottom: -30px;
  left: -40px;
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
}

.fade-up--delay {
  animation-delay: 0.15s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  from {
    transform: translateY(0) translateX(0) scale(1);
  }
  to {
    transform: translateY(-10px) translateX(10px) scale(1.05);
  }
}
.section-hero {
  padding: 36px 0 10px;
}

.section-hero h1 {
  margin: 0 0 10pxf;
  color: #ffffff;
  font-size: 2.4rem;
}

.section-hero p {
  margin: 0;
  color: var(--white);
}

@keyframes spiral {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroPan {
  from {
    background-size: 108%;
    background-position: center;
  }
  to {
    background-size: 120%;
    background-position: center right;
  }
}

@media (max-width: 720px) {
  .nav__links {
    gap: 10px;
  }

  .nav__links a {
    padding: 8px 10px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .slide {
    padding: 24px;
    min-height: 380px;
  }

  .slider--hero {
    width: 100%;
  }
}

/* Form Select Styling */
.field select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 59, 114, 0.14);
  background: var(--white);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  cursor: pointer;
}

.field select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47, 125, 208, 0.15);
}

/* Testimonials Section */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  border-left: 4px solid var(--blue-500);
}

.testimonial__rating {
  color: #ffc107;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial__text {
  font-style: italic;
  color: var(--text);
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial__author {
  font-weight: 600;
  color: var(--blue-900);
  margin: 0;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  position: relative;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 700px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  transition: var(--transition);
  color: var(--text);
}

.faq-item summary:hover {
  background: var(--blue-100);
}

.faq-item summary::marker {
  color: var(--blue-500);
}

.faq-item[open] summary {
  background: var(--blue-100);
  border-bottom: 1px solid rgba(47, 125, 208, 0.12);
}

.faq-item p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.faq-item p a {
  color: var(--blue-500);
  font-weight: 600;
  text-decoration: underline;
}

.faq-item p a:hover {
  color: var(--blue-900);
}

/* Footer Legal Links */
.footer__legal {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(47, 125, 208, 0.12);
  border-bottom: 1px solid rgba(47, 125, 208, 0.12);
  font-size: 0.9rem;
}

.footer__legal a {
  color: var(--muted);
  transition: var(--transition);
  text-decoration: underline;
}

.footer__legal a:hover {
  color: var(--blue-500);
}

.footer__legal span {
  color: var(--muted);
}

/* Slider Keyboard Navigation Focus Styles */
.slider:focus-within .slide.is-active {
  box-shadow: 0 0 0 3px rgba(47, 125, 208, 0.3);
}

.dot:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

