:root {
  --bg: #f7f7f6;
  --text: #10233a;
  --muted: #5f6f7f;
  --brand: #ef6d3e;
  --brand-dark: #d95a2d;
  --navy: #082847;
  --card: #ffffff;
  --line: #e4e8ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #f0f6ff 0%, var(--bg) 36%);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

.top-strip {
  background: var(--navy);
  color: #c4d6e8;
  font-size: 0.82rem;
  padding: 0.4rem 1rem;
  letter-spacing: 0.3px;
}

.site-header {
  background: transparent;
  padding: 0.8rem 0;
  transition: padding 0.3s ease;
  z-index: 1030;
}

.floating-nav {
  background: transparent;
  border: 0;
  border-radius: 18px;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0.55rem 0;
  transition: transform 0.35s ease;
  animation: navFloatIn 0.75s cubic-bezier(.2,.8,.2,1) both;
}

.site-header.nav-scrolled {
  padding: 0.35rem 0;
}

.site-header.nav-scrolled .floating-nav {
  transform: translateY(-2px) scale(0.985);
}

@keyframes navFloatIn {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #132336;
  text-decoration: none;
}

.brand span {
  color: #1592c4;
}

.nav-link {
  color: #1e334a;
  font-weight: 500;
  text-transform: lowercase;
  position: relative;
  border-radius: 0;
  padding: 0.38rem 0.8rem;
  transition: color 0.22s ease, transform 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ef6d3e, #1592c4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #10233a;
  transform: translateY(-1px);
}

.nav-link.is-active {
  color: #10233a;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.btn-pill {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  border: 0;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.2s ease;
}

.btn-pill:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  border: 0;
  background: transparent;
  display: grid;
  gap: 5px;
  width: 38px;
}

.mobile-menu-btn span {
  height: 2px;
  background: #10233a;
  border-radius: 10px;
}

.mobile-sidebar {
  background: linear-gradient(160deg, #0a2f4d 0%, #091f35 40%, #153f5f 100%);
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-sidebar::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  top: -70px;
  right: -60px;
  background: rgba(239, 109, 62, 0.25);
  filter: blur(10px);
}

.mobile-sidebar::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  background: rgba(21, 146, 196, 0.28);
  filter: blur(14px);
  animation: mobileBlob 6s ease-in-out infinite;
}

@keyframes mobileBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -12px) scale(1.08); }
}

.mobile-link {
  color: #d8e7f3;
  text-decoration: none;
  font-size: 1.06rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(0);
  transition: transform 0.3s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mobile-link::before {
  content: "";
  position: absolute;
  width: 36%;
  height: 180%;
  top: -40%;
  left: -45%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(18deg);
  transition: left 0.45s ease;
}

.mobile-link:hover {
  color: #fff;
  background: rgba(239, 109, 62, 0.16);
  border-color: rgba(239, 109, 62, 0.45);
  transform: translateX(8px);
}

.mobile-link:hover::before {
  left: 110%;
}

.section-space {
  padding: 4.8rem 0;
}

.section-space-sm {
  padding: 3.2rem 0;
}

.section-title {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  text-transform: lowercase;
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  margin-bottom: 1rem;
}

.hero-slider {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(10, 32, 56, 0.17);
}

.hero-slider .carousel-item img {
  height: clamp(300px, 42vw, 520px);
  object-fit: cover;
  animation: imageZoom 8s ease forwards;
}

@keyframes imageZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero-slider .carousel-caption {
  left: 8%;
  right: 8%;
  bottom: 12%;
  max-width: 540px;
}

.hero-slider h1 {
  font-size: clamp(1.65rem, 4vw, 3rem);
  font-weight: 800;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.28);
}

.hero-slider p {
  color: #f3f8ff;
  font-size: 1.05rem;
}

.lead-text {
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.8;
}

.trend-wrap {
  position: relative;
}

.trend-wrap::after {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 45%;
  height: 45%;
  border-radius: 20px;
  border: 2px dashed rgba(21, 146, 196, 0.5);
  z-index: 0;
}

.trend-image {
  position: relative;
  z-index: 1;
  animation: floatTrend 4s ease-in-out infinite;
  box-shadow: 0 20px 35px rgba(12, 37, 62, 0.2);
}

@keyframes floatTrend {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.counter-section {
  background: #fff;
  position: relative;
  padding: 3.5rem 0 4.4rem;
}

.counter-wrap {
  position: relative;
}

.counter-row {
  position: relative;
  z-index: 2;
  margin-bottom: 1.55rem;
}

.count-item h3 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.1rem;
  color: #1b2430;
}

.count-item p {
  margin: 0;
  color: #808892;
  font-size: 1.08rem;
  font-weight: 500;
}

.counter-wave {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  width: calc(100% - 1.5rem);
  height: 120px;
  z-index: 1;
  pointer-events: none;
}

.counter-wave path {
  fill: none;
  stroke: #d2d5d8;
  stroke-width: 4;
  stroke-dasharray: 2 16;
  stroke-linecap: round;
}

.counter-wave .dot {
  fill: #e96b3a;
  stroke: #f8f8f8;
  stroke-width: 6;
  filter: drop-shadow(0 3px 6px rgba(233, 107, 58, 0.38));
}

@media (min-width: 992px) {
  .count-item:nth-child(2),
  .count-item:nth-child(4) {
    transform: translateY(2.1rem);
  }
}

.custom-acc .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.custom-acc .accordion-button {
  background: transparent;
  color: #1f3146;
  padding: 1rem 0;
  font-weight: 500;
  box-shadow: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.custom-acc .accordion-button:not(.collapsed) {
  color: #0f2136;
  letter-spacing: 0.2px;
}

.custom-acc .accordion-body {
  color: var(--muted);
  padding: 0.2rem 0 1rem;
  animation: accordionFade 0.35s ease;
}

@keyframes accordionFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-image {
  min-height: 380px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.16);
}

.bg-light-soft {
  background: #f9f9f8;
}

.service-card {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(10, 26, 44, 0.14);
  isolation: isolate;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1), filter 0.4s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 28, 46, 0.05), rgba(12, 28, 46, 0.72));
}

.service-card::before {
  content: "";
  position: absolute;
  width: 180%;
  height: 40%;
  left: -35%;
  bottom: -75%;
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(-15deg);
  z-index: 2;
  transition: bottom 0.55s ease;
}

.service-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  color: #fff;
  font-weight: 600;
}

.service-card:hover img {
  transform: scale(1.12) rotate(1.5deg);
  filter: saturate(1.15);
}

.service-card:hover::before {
  bottom: 40%;
}

.testimonial-slider {
  padding: 0.5rem 0 2.2rem;
}

.testimonial-slider .swiper-slide {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.testimonial-slider .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.85;
}

.testimonial-slider .swiper-slide-active {
  transform: translateY(-7px);
}

.testimonial-card {
  background: #fff;
  border: 1px solid #d7e0e7;
  border-radius: 18px;
  padding: 1.4rem;
  min-height: 220px;
  box-shadow: 0 10px 18px rgba(8, 40, 71, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.35s ease, color 0.35s ease;
}

.testimonial-card.highlight {
  background: #0b2e4b;
  color: #e5eff8;
  border: 0;
}

.testimonial-slider .swiper-slide-active .testimonial-card {
  background: #0b2e4b;
  color: #e5eff8;
  border-color: transparent;
  box-shadow: 0 20px 28px rgba(5, 26, 46, 0.24);
  transform: scale(1.01);
}

.stars {
  color: #ef6d3e;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
  font-size: 1.05rem;
}

.testimonial-card p {
  color: inherit;
  line-height: 1.7;
}

.testimonial-card h6 {
  margin-top: 1.1rem;
  margin-bottom: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: #b6c2ce;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  width: 23px;
  border-radius: 9px;
  background: var(--brand);
}

.contact-box {
  background: #fff;
  border-radius: 22px;
  border: 1px solid #d7e1e9;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 14px 28px rgba(7, 35, 60, 0.1);
}

.form-label {
  font-weight: 500;
  color: #1d2f44;
}

.form-control {
  border: 0;
  border-bottom: 1px solid #cfd8e0;
  border-radius: 0;
  padding-left: 0;
  background: transparent;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--brand);
}

.site-footer {
  background: var(--navy);
  color: #cdd9e4;
  padding: 1.6rem 0;
  font-size: 0.95rem;
}

.site-footer .brand {
  color: #fff;
}

.swal2-popup.swal-modern {
  border-radius: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.swal2-confirm.swal-confirm-btn {
  border-radius: 10px;
  background: var(--brand) !important;
}

@media (max-width: 991.98px) {
  .site-header {
    padding: 0.55rem 0;
  }

  .floating-nav {
    border-radius: 14px;
    padding: 0.45rem 0;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.93);
  }

  .section-space {
    padding: 3.7rem 0;
  }

  .counter-section {
    padding: 2.7rem 0 2.9rem;
  }

  .counter-wave {
    display: none;
  }

  .count-item:nth-child(2),
  .count-item:nth-child(4) {
    transform: none;
  }

  .why-image {
    min-height: 300px;
  }
}

@media (max-width: 575.98px) {
  .top-strip {
    font-size: 0.74rem;
  }

  .hero-slider .carousel-caption {
    bottom: 9%;
  }

  .hero-slider p {
    font-size: 0.9rem;
  }

  .contact-box {
    border-radius: 14px;
  }
}
