@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f7fb;
  color: #1f2933;
  margin: 0;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #ffffff;
}

.site-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.main-nav .nav-item {
  margin: 0 0.15rem;
}

.main-nav .nav-link {
  font-weight: 600;
  color: #4b5563;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background-color: #2563eb;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: #2563eb;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  width: 100%;
}

.main-nav .nav-link.active {
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.06);
}

.main-content {
  min-height: calc(100vh - 220px);
  overflow-x: hidden;
}

.main-footer {
  background-color: #0f172a;
  color: #cbd5f5;
}

.main-footer .footer-top {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.main-footer h5,
.main-footer h6 {
  color: #e5ecff;
}

.footer-links li+li {
  margin-top: 0.25rem;
}

.footer-links a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contacts a {
  color: #e5ecff;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #020617;
}

.hero-section {
  background: radial-gradient(circle at top left, #e0edff 0, #f5f7fb 55%, #ffffff 100%);
  padding: 4rem 0 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2rem, 3vw + 1rem, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: #111827;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-stat-item>span:first-child {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #2563eb;
}

.hero-card {
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #111827;
}

.section-subtitle {
  color: #6b7280;
}

/* Swiper Pagination Styling */
.service-swiper .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.service-swiper .swiper-pagination-bullet-active {
  background: #2563eb;
  width: 24px;
  border-radius: 8px;
}

/* Original Regular Service Card */
.service-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.5);
}

/* Big Glassmorphic Service Card for Slider */
.hero-service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  /* Increased vertical padding */
  height: 100%;
  min-height: 280px;
  /* Force larger height */
  display: flex;
  /* Setup centering via flex */
  flex-direction: column;
  justify-content: center;
  /* Vertically center content */
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 0;
}

.hero-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(37, 99, 235, 0.2);
}

.hero-service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(20, 184, 166, 0.1));
  color: #2563eb;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.hero-service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(20, 184, 166, 0.2));
  color: #1d4ed8;
}

.badge-soft-primary {
  background-color: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-radius: 999px;
}

.activity-card img {
  border-radius: 0.75rem;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.map-embed {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.form-control:focus,
.form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #1d4ed8;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  border-color: #1e40af;
}

.btn-outline-primary {
  border-radius: 999px;
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .main-header {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }
}