﻿:root {
  --primary: #1e0297;
  --accent: #fa0101;
  --dark: #020203;
  --light: #ffffff;
  --muted: rgba(2, 2, 3, 0.7);
  --surface: #ffffff;
  --surface-alt: #f5f5f7;
  --border: rgba(2, 2, 3, 0.12);
  --shadow: 0 18px 40px rgba(2, 2, 3, 0.12);
  --radius: 16px;
  --bs-primary: #1e0297;
  --bs-primary-rgb: 30, 2, 151;
  --bs-dark: #020203;
  --bs-dark-rgb: 2, 2, 3;
  --bs-body-color: #020203;
  --bs-body-bg: #ffffff;
  --bs-link-color: #1e0297;
  --bs-link-hover-color: #fa0101;
  --bs-border-color: rgba(2, 2, 3, 0.12);
  --bs-heading-color: #020203;
}

* {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #020203;
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  color: #020203;
  font-weight: 800;
  line-height: 1.2;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (max-width: 991.98px) {
  .display-5 {
    font-size: 2rem;
  }
}

.navbar {
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  background-color: #ffffff !important;
  padding: 0.5rem 0;
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 0.75rem 0;
  }
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(2, 2, 3, 0.05);
  }
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    padding: 0.5rem 0;
  }
  .navbar-collapse {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}

.navbar .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--dark);
}

.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
  color: var(--accent) !important;
}

.logo-img {
  height: 70px;
  width: auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  background: #020203;
  background-image: url("images/bg/bg1.jpg");
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

.hero-subpage {
  min-height: 50vh;
  padding-top: 100px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(2, 2, 3, 0.5), rgba(2, 2, 3, 0.9));
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  width: 100%;
  padding: 0 1.5rem;
  text-align: center;
  color: #ffffff;
  box-sizing: border-box;
}

.hero .carousel {
  height: 100%;
}

.hero .carousel-inner {
  height: 100%;
}

.hero .carousel-item {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-item.active {
  display: flex;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 4;
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.3);
}

.hero .carousel-control-prev {
  left: 30px;
}

.hero .carousel-control-next {
  right: 30px;
}

.hero .carousel-indicators {
  z-index: 4;
  bottom: 30px;
  margin-bottom: 0;
}

.hero .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.hero .carousel-indicators button.active {
  background-color: var(--accent);
  border-color: var(--accent);
  opacity: 1;
  transform: scale(1.2);
}

.hero .carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: translateX(100%);
}

.hero .carousel-fade .carousel-item.active {
  opacity: 1;
  transform: translateX(0);
}

.hero .carousel-fade .carousel-item.prev,
.hero .carousel-fade .carousel-item.next {
  opacity: 0;
}

.hero .carousel-fade .carousel-item.prev {
  transform: translateX(-100%);
}

.hero .carousel-fade .carousel-item.next {
  transform: translateX(100%);
}

/* Right-to-left slide animation */
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.hero .carousel-item {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.hero .carousel-item.active {
  animation-name: slideInFromRight;
}

.hero .carousel-item.prev {
  animation-name: slideOutToLeft;
}

@media (max-width: 991.98px) {
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  .hero .carousel-control-prev {
    left: 10px;
  }
  .hero .carousel-control-next {
    right: 10px;
  }
  .hero .carousel-indicators {
    bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 36px;
    height: 36px;
  }
  .hero .carousel-control-prev {
    left: 5px;
  }
  .hero .carousel-control-next {
    right: 5px;
  }
  .hero .carousel-control-prev-icon,
  .hero .carousel-control-next-icon {
    width: 16px;
    height: 16px;
  }
  .hero .carousel-indicators {
    bottom: 15px;
  }
  .hero .carousel-indicators button {
    width: 10px;
    height: 10px;
  }
}

.hero h1 {
  line-height: 1.2;
  color: #ffffff;
}

.hero p,
.hero .lead {
  color: #ffffff;
}


.page-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(rgba(2, 2, 3, 0.82), rgba(2, 2, 3, 0.82)), url("images/bg/bg1.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero .page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
}

.section {
  padding: 4.5rem 0;
}

.section-home-intro {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #ffffff, rgba(250, 250, 250, 0.5));
  position: relative;
}

.section-home-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(30, 2, 151, 0.03), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(250, 1, 1, 0.03), transparent 50%);
  pointer-events: none;
}

.section-home-services {
  padding: 5rem 0;
  background: #ffffff;
}

.section-home-specialists {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #fafafa, #ffffff);
}

.section-home-cta {
  padding: 5rem 0;
  background: #ffffff;
}

.section-stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary), rgba(30, 2, 151, 0.9));
  color: #ffffff;
  margin-top: -1px;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: "Inter", system-ui, sans-serif;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 2, 151, 0.02), rgba(250, 1, 1, 0.02));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 2, 151, 0.12);
  border-color: var(--primary);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(250, 1, 1, 0.15), rgba(250, 1, 1, 0.08));
  border-radius: 16px;
  color: var(--accent);
  font-size: 1.75rem;
}

.service-card-modern {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(30, 2, 151, 0.15);
  border-color: var(--primary);
}

.service-card-modern:hover::before {
  transform: scaleX(1);
}

.service-icon-large {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-svg-icon {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.service-link:hover {
  color: var(--accent);
  gap: 0.75rem;
}

.specialist-features {
  margin-top: 1.5rem;
}

.check-icon {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.specialist-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.specialist-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 2, 151, 0.05), rgba(250, 1, 1, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.specialist-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(30, 2, 151, 0.15);
  border-color: var(--primary);
}

.specialist-card:hover::before {
  opacity: 1;
}

.specialist-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(250, 1, 1, 0.15), rgba(250, 1, 1, 0.08));
  border-radius: 18px;
  color: var(--accent);
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary), rgba(30, 2, 151, 0.9));
  border-radius: var(--radius);
  padding: 4rem 3rem;
  box-shadow: 0 24px 64px rgba(30, 2, 151, 0.2);
}

.btn-light {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--primary);
  font-weight: 700;
}

.btn-light:hover {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
  color: var(--primary);
}

.btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-details li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.section-why-choose {
  padding: 5rem 0;
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0.5), #ffffff);
}

.why-choose-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-choose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 2, 151, 0.12);
  border-color: var(--primary);
}

.why-choose-card:hover::before {
  transform: scaleX(1);
}

.why-choose-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(250, 1, 1, 0.15), rgba(250, 1, 1, 0.08));
  border-radius: 18px;
  color: var(--accent);
  font-size: 2rem;
  margin: 0 auto;
}

.section-home-faq {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #ffffff, rgba(250, 250, 250, 0.5));
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(2, 2, 3, 0.08);
  border-color: var(--primary);
}

.faq-category {
  margin-bottom: 3rem;
}

.accordion-button {
  font-weight: 600;
  color: var(--dark);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(30, 2, 151, 0.05);
  color: var(--primary);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 2, 151, 0.15);
  border-color: var(--primary);
}

.accordion-body {
  color: var(--muted);
  line-height: 1.7;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 0.4rem;
}

.lead { 
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 400;
}

.stat-card,
.service-card,
.solution-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.solution-card:hover,
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 1, 1, 0.15);
  border-radius: 50%;
  color: var(--accent);
}

.icon-circle i {
  color: var(--accent);
}

.feature-icon i,
.service-icon-large i,
.specialist-icon i {
  color: var(--accent);
}

.icon-circle.text-primary,
.icon-circle.text-primary i,
.bi.text-primary {
  color: var(--accent) !important;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(250, 1, 1, 1);
    color: #fff;
    font-weight: 600;
}

.divider {
  height: 1px;
  width: 100%;
  background: var(--border);
  margin: 1.5rem 0;
}

.list-check li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.list-check i {
  color: var(--accent);
  margin-top: 0.2rem;
}

footer {
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

.footer-main {
  background: linear-gradient(135deg, var(--dark), rgba(2, 2, 3, 0.95));
  color: #ffffff;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-heading {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-menu a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

/* Form */
.form-control {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 2, 151, 0.15);
  border-color: var(--primary);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.card-soft {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(2, 2, 3, 0.08);
  transition: all 0.3s ease;
}

.card-soft:hover {
  box-shadow: 0 12px 32px rgba(30, 2, 151, 0.12);
}

.text-muted { color: var(--muted) !important; }

.text-primary { color: var(--primary) !important; }

.bg-light { background-color: #ffffff !important; }

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  color: #ffffff;
}

.badge-soft {
  background-color: rgba(30, 2, 151, 0.15);
  color: var(--primary);
}

.badge-soft.rounded-pill { border-radius: 50rem; }

/* Responsive */
/* Tablet and below */
@media (max-width: 991.98px) {
  .hero { 
    min-height: 90vh; 
    padding: 2rem 0;
  }
  .hero-subpage {
    min-height: 45vh;
    padding-top: 80px;
  }
  .navbar .nav-link { 
    padding: 0.75rem 0; 
  }
  .hero h1 { 
    font-size: 2.3rem; 
    line-height: 1.2;
  }
  .hero .lead {
    font-size: 1rem;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    padding: 3rem 2rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .logo-img {
    height: 50px;
  }
  .service-svg-icon {
    width: 160px;
    height: 160px;
  }
  .display-5 {
    font-size: 2rem;
  }
}

/* Mobile landscape and below */
@media (max-width: 767.98px) {
  .specialists-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .specialist-card {
    text-align: center;
  }
  .specialist-card h4,
  .specialist-card p,
  .specialist-card ul {
    text-align: left;
  }
  .specialist-icon {
    margin: 0 auto;
  }
  .section-home-intro,
  .section-home-services,
  .section-home-specialists,
  .section-home-cta,
  .section-home-faq,
  .section-why-choose {
    padding: 3rem 0;
  }
  .section {
    padding: 3rem 0;
  }
  .section h2,
  .section h3 {
    text-align: center;
  }
  .why-choose-card {
    text-align: center;
  }
  .why-choose-card h4,
  .why-choose-card p {
    text-align: left;
  }
  .why-choose-icon {
    margin: 0 auto;
  }
  .service-svg-icon {
    width: 200px;
    height: 200px;
  }
  .service-card-modern {
    padding: 2rem;
    text-align: center;
  }
  .service-card-modern h4,
  .service-card-modern p,
  .service-card-modern .service-features {
    text-align: left;
  }
  .service-link {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .feature-card {
    padding: 1.5rem;
    text-align: center;
  }
  .feature-card h4,
  .feature-card p {
    text-align: left;
  }
  .feature-icon {
    margin: 0 auto;
  }
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
  .cta-banner .row {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner .col-lg-4 {
    text-align: center;
    margin-top: 1.5rem;
  }
  .cta-banner .d-flex {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .footer-main .row {
    text-align: center;
  }
  .footer-menu,
  .footer-contact {
    justify-content: center;
    align-items: center;
  }
  .footer-contact li {
    justify-content: center;
    text-align: center;
  }
  .card-soft {
    padding: 1.5rem;
    text-align: center;
  }
  .card-soft h4,
  .card-soft p,
  .card-soft ul {
    text-align: left;
  }
  .page-hero-content h1 {
    font-size: 1.75rem;
  }
  .page-hero-content .lead {
    font-size: 1rem;
  }
}

/* Mobile portrait */
@media (max-width: 575.98px) {
  .hero { 
    min-height: 85vh;
    padding: 1.5rem 0;
  }
  .hero-subpage {
    min-height: 50vh;
    padding-top: 80px;
    padding-bottom: 2rem;
  }
  .hero h1 { 
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  .hero-subpage h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  .hero .lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-subpage .lead {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
  }
  .hero-content {
    padding: 1rem 1rem;
  }
  .hero-subpage .hero-content {
    padding: 1.5rem 1rem;
  }
  .hero .pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    margin-bottom: 1rem;
  }
  .hero-subpage .pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.75rem;
  }
  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
  .display-5 {
    font-size: 1.75rem;
  }
  .display-4 {
    font-size: 1.5rem;
  }
  .cta-banner {
    padding: 2rem 1rem;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  .service-card-modern,
  .feature-card {
    padding: 1.5rem;
    text-align: center;
  }
  .service-card-modern h4,
  .service-card-modern p,
  .service-card-modern .service-features {
    text-align: left;
  }
  .service-svg-icon {
    width: 200px;
    height: 200px;
  }
  .service-icon-large {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .service-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.875rem;
  }
  .section-stats {
    padding: 2.5rem 0;
  }
  .section-stats .row {
    justify-content: center;
  }
  .section-stats .col-md-3,
  .section-stats .col-sm-6 {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .stat-item {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .stat-number {
    text-align: center;
  }
  .stat-label {
    text-align: center;
  }
  .footer-main {
    padding: 2.5rem 0 1.5rem;
  }
  .footer-main .row {
    text-align: center;
  }
  .footer-main .col-lg-4,
  .footer-main .col-lg-3,
  .footer-main .col-lg-2,
  .footer-main .col-md-6 {
    margin-bottom: 2rem;
    text-align: center;
  }
  .footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-align: center;
  }
  .footer-heading:first-child {
    margin-top: 0;
  }
  .footer-social {
    gap: 0.75rem;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }
  .social-link {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .footer-bottom {
    text-align: center;
  }
  .footer-bottom .col-md-6 {
    margin-bottom: 0.5rem;
    text-align: center;
  }
  .footer-bottom .text-md-end {
    text-align: center !important;
  }
  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-menu li {
    margin-bottom: 0.5rem;
  }
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-contact li {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-contact i {
    margin-right: 0;
    margin-bottom: 0.25rem;
  }
  .logo-img {
    height: 50px;
  }
  .section-eyebrow {
    font-size: 0.75rem;
  }
  .lead {
    font-size: 1rem;
  }
  .faq-item {
    padding: 1.25rem;
  }
  .accordion-button {
    font-size: 0.95rem;
    padding: 1rem;
  }
  .accordion-body {
    font-size: 0.9rem;
    padding: 1rem;
  }
  .form-control {
    font-size: 1rem;
    padding: 0.75rem;
  }
  .form-label {
    font-size: 0.9rem;
  }
  .d-grid .btn {
    width: 100%;
  }
  .d-flex.flex-wrap.gap-2,
  .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  .d-flex.flex-wrap.gap-2 .btn,
  .d-flex.flex-wrap.gap-3 .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hero-content .d-flex {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-content .btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .specialist-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  .service-features li,
  .service-details li {
    font-size: 0.875rem;
  }
  .navbar-brand {
    padding: 0.5rem 0;
  }
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }
  .d-flex.gap-3 {
    gap: 0.75rem !important;
  }
  .d-flex.gap-2 {
    gap: 0.5rem !important;
  }
  .mb-5 {
    margin-bottom: 2.5rem !important;
  }
  .mb-4 {
    margin-bottom: 2rem !important;
  }
  .g-4 {
    --bs-gutter-y: 1.5rem;
    --bs-gutter-x: 1rem;
  }
  .g-5 {
    --bs-gutter-y: 2rem;
    --bs-gutter-x: 1rem;
  }
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .list-check {
    text-align: left;
  }
  .list-check li {
    justify-content: flex-start;
  }
  .service-features {
    text-align: left;
    padding-left: 0;
  }
  .service-features li {
    text-align: left;
    justify-content: flex-start;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .hero-content .d-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-content .btn {
    width: 100%;
    max-width: 100%;
  }
  .service-card-modern {
    align-items: stretch;
  }
  .service-card-modern .service-icon-large {
    align-self: center;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .display-5 {
    font-size: 1.5rem;
  }
  .service-svg-icon {
    width: 200px;
    height: 200px;
  }
  .service-card-modern,
  .feature-card {
    padding: 1.25rem;
    text-align: center;
  }
  .feature-card h4,
  .feature-card p {
    text-align: left;
  }
  .feature-icon {
    margin: 0 auto;
  }
  .cta-banner {
    padding: 1.5rem 1rem;
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .logo-img {
    height: 45px;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }
}

/* Prevent horizontal scroll globally */
.container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Fix text overflow on mobile */
h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Improve button spacing on mobile */
@media (max-width: 575.98px) {
  .btn-group,
  .btn-group-vertical {
    width: 100%;
  }
  .btn-group .btn {
    flex: 1;
  }
}

/* Fix table responsiveness */
@media (max-width: 767.98px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
  font-size: 2rem;
}

.whatsapp-button:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-button:active {
  transform: scale(0.95);
}

@media (max-width: 575.98px) {
  .whatsapp-button {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 15px;
    font-size: 1.75rem;
  }
}
