/* =========================================================
   LedgerPro — Bootstrap 5 Landing Page (Custom Theme)
   HTML + CSS + JS + Bootstrap
   ========================================================= */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --teal: #0d9488;
  --teal-light: #ccfbf1;
  --orange: #ea580c;
  --orange-light: #ffedd5;
  --purple: #7c3aed;
  --purple-light: #ede9fe;
  --pink: #db2777;
  --pink-light: #fce7f3;
  --green: #16a34a;
  --green-light: #dcfce7;
  --gold: #d97706;
  --cyan: #0891b2;
  --coral: #e11d48;
  --lime: #65a30d;
  --sky: #0284c7;
  --violet: #6d28d9;

  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --white: #ffffff;

  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
  --font: 'Poppins', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* Base overrides for Bootstrap */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== CUSTOM BUTTONS ========== */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
  transition: var(--transition);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  color: #fff !important;
  filter: brightness(1.05);
}

.btn-teal-custom {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
  transition: var(--transition);
}

.btn-teal-custom:hover {
  transform: translateY(-3px);
  color: #fff !important;
  filter: brightness(1.05);
}

.btn-purple-custom {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
  transition: var(--transition);
}

.btn-purple-custom:hover {
  transform: translateY(-3px);
  color: #fff !important;
  filter: brightness(1.05);
}

.btn-outline-light.rounded-pill {
  border-width: 2px;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
}

.btn-outline-light.rounded-pill:hover {
  color: var(--blue);
}

/* ========== TOP BAR ========== */
.top-bar {
  background: linear-gradient(90deg, var(--dark) 0%, #1e3a5f 50%, var(--dark-2) 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 1031;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.88);
}

.top-item i {
  color: #60a5fa;
  font-size: 0.85rem;
}

.top-item:hover {
  color: #fff;
}

.top-bar-right a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.75rem;
}

.top-bar-right a:hover {
  background: var(--blue);
  transform: translateY(-2px);
  color: #fff;
}

.top-whatsapp {
  width: auto !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 50px !important;
  background: #25d366 !important;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.78rem;
}

.top-whatsapp:hover {
  background: #1ebe57 !important;
  color: #fff;
}

/* ========== HEADER / NAVBAR ========== */
.main-header {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  z-index: 1030;
  transition: box-shadow var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow);
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-name span {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-header .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2) !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 8px;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
  color: var(--blue) !important;
}

.main-header .nav-link.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff !important;
  border-radius: 50px;
  margin-left: 0.35rem;
  padding: 0.55rem 1.25rem !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.main-header .nav-link.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
  color: #fff !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ========== HERO CAROUSEL ========== */
.hero-carousel .carousel-item {
  height: min(88vh, 720px);
  min-height: 520px;
}

.slide-bg {
  height: 100%;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(37, 99, 235, 0.55) 55%, rgba(124, 58, 237, 0.4) 100%);
}

.slide-overlay.overlay-teal {
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(13, 148, 136, 0.55) 55%, rgba(8, 145, 178, 0.4) 100%);
}

.slide-overlay.overlay-purple {
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(124, 58, 237, 0.55) 55%, rgba(219, 39, 119, 0.4) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2.5rem 0 4rem;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.slide-badge i {
  color: #fbbf24;
}

.badge-teal i {
  color: #5eead4;
}

.badge-purple i {
  color: #e9d5ff;
}

.slide-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.slide-content h1 span {
  background: linear-gradient(135deg, #60a5fa, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-content .lead {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  max-width: 540px;
  line-height: 1.7;
  font-weight: 400;
}

.carousel-control-icon-custom {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-control-prev:hover .carousel-control-icon-custom,
.carousel-control-next:hover .carousel-control-icon-custom {
  background: #fff;
  color: var(--blue);
}

.carousel-control-prev,
.carousel-control-next {
  width: 70px;
  opacity: 1;
}

.hero-carousel .carousel-indicators {
  margin-bottom: 1.25rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  opacity: 1;
  transition: var(--transition);
}

.hero-carousel .carousel-indicators .active {
  background: #fff;
  width: 32px;
  border-radius: 10px;
}

/* ========== FEATURES STRIP ========== */
.features-strip {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding-bottom: 0.5rem;
}

.features-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1rem;
  border-radius: 12px;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.feature-blue .feature-icon {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.feature-teal .feature-icon {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.feature-orange .feature-icon {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

.feature-purple .feature-icon {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.feature-item p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========== SECTION HEADERS ========== */
.section-header {
  max-width: 640px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.badge-blue {
  background: var(--blue-light);
  color: var(--blue);
}

.badge-gold {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.badge-green {
  background: var(--green-light);
  color: var(--green);
}

.badge-orange {
  background: var(--orange-light);
  color: var(--orange);
}

.badge-purple {
  background: var(--purple-light);
  color: var(--purple);
}

.badge-white {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--dark);
}

.section-header.light h2,
.section-header.light .section-desc {
  color: #fff;
}

.section-desc {
  color: var(--gray);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== BOOKKEEPING ========== */
.bookkeeping-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.85rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-blue::before {
  background: linear-gradient(90deg, var(--blue), #60a5fa);
}

.card-teal::before {
  background: linear-gradient(90deg, var(--teal), #2dd4bf);
}

.card-orange::before {
  background: linear-gradient(90deg, var(--orange), #fb923c);
}

.card-green::before {
  background: linear-gradient(90deg, var(--green), #4ade80);
}

.card-purple::before {
  background: linear-gradient(90deg, var(--purple), #a78bfa);
}

.card-pink::before {
  background: linear-gradient(90deg, var(--pink), #f472b6);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.25rem;
}

.card-blue .card-icon {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.card-teal .card-icon {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.card-orange .card-icon {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

.card-green .card-icon {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.card-purple .card-icon {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.card-pink .card-icon {
  background: linear-gradient(135deg, #db2777, #ec4899);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--dark-2);
  padding: 0.3rem 0;
}

.card-list li i {
  color: var(--green);
  font-size: 0.8rem;
}

/* ========== ACCOUNTING ========== */
.accounting-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #312e81 100%);
  position: relative;
  overflow: hidden;
}

.accounting-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 70%);
  top: -100px;
  right: -100px;
}

.accounting-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  bottom: -80px;
  left: -80px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.glass-card::before {
  display: none;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.glass-card h3 {
  color: #fff;
}

.glass-card p {
  color: rgba(255, 255, 255, 0.75);
}

.glass-card .card-icon {
  background: rgba(255, 255, 255, 0.1);
}

.icon-gold {
  background: linear-gradient(135deg, #d97706, #fbbf24) !important;
}

.icon-cyan {
  background: linear-gradient(135deg, #0891b2, #22d3ee) !important;
}

.icon-lime {
  background: linear-gradient(135deg, #65a30d, #a3e635) !important;
}

.icon-coral {
  background: linear-gradient(135deg, #e11d48, #fb7185) !important;
}

.icon-sky {
  background: linear-gradient(135deg, #0284c7, #38bdf8) !important;
}

.icon-violet {
  background: linear-gradient(135deg, #6d28d9, #a78bfa) !important;
}

.card-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

/* ========== QUALITY ========== */
.quality-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quality-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.quality-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.quality-float i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.float-1 {
  bottom: 2rem;
  left: 1.25rem;
}

.float-1 i {
  background: linear-gradient(135deg, var(--green), #4ade80);
}

.float-2 {
  top: 2rem;
  right: 1.25rem;
  animation-delay: 1.5s;
}

.float-2 i {
  background: linear-gradient(135deg, var(--orange), #fb923c);
}

.quality-float strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.quality-float span {
  font-size: 0.75rem;
  color: var(--gray);
}

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

.quality-card {
  display: flex;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--gray-light);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.quality-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  background: #fff;
}

.q-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.q-blue { border-left-color: var(--blue); }
.q-blue .q-icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.q-teal { border-left-color: var(--teal); }
.q-teal .q-icon { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.q-orange { border-left-color: var(--orange); }
.q-orange .q-icon { background: linear-gradient(135deg, #ea580c, #f97316); }
.q-purple { border-left-color: var(--purple); }
.q-purple .q-icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.q-pink { border-left-color: var(--pink); }
.q-pink .q-icon { background: linear-gradient(135deg, #db2777, #f472b6); }
.q-green { border-left-color: var(--green); }
.q-green .q-icon { background: linear-gradient(135deg, #16a34a, #4ade80); }

.quality-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.quality-card p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.55;
}

/* ========== PROCESS ========== */
.process-section {
  background: linear-gradient(180deg, #fff7ed 0%, #fef3c7 40%, #fff 100%);
}

.process-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.4rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-8px);
}

.step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.step-1 .step-num { background: linear-gradient(135deg, var(--blue), #3b82f6); }
.step-2 .step-num { background: linear-gradient(135deg, var(--teal), #14b8a6); }
.step-3 .step-num { background: linear-gradient(135deg, var(--orange), #f97316); }
.step-4 .step-num { background: linear-gradient(135deg, var(--purple), #a78bfa); }

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0.75rem auto 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

.step-1 .step-icon {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.step-2 .step-icon {
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3);
}

.step-3 .step-icon {
  background: linear-gradient(135deg, #ea580c, #fb923c);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

.step-4 .step-icon {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ========== STATS ========== */
.stats-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--pink) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
  color: #fff;
  position: relative;
  z-index: 1;
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-number::after {
  content: '+';
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: var(--transition);
}

.testimonial-card:nth-child(1),
.col-lg-4:nth-child(1) .testimonial-card {
  border-top-color: var(--blue);
}

.col-lg-4:nth-child(2) .testimonial-card {
  border-top-color: var(--teal);
}

.col-lg-4:nth-child(3) .testimonial-card {
  border-top-color: var(--purple);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card > p {
  font-size: 0.95rem;
  color: var(--dark-2);
  line-height: 1.7;
  margin-bottom: 1.4rem;
  font-style: italic;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.av-1 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.av-2 { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.av-3 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.testimonial-author strong {
  font-size: 0.95rem;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========== CTA / CONTACT ========== */
.cta-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #312e81 50%, #4c1d95 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2), transparent 70%);
  top: -200px;
  left: -100px;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.2rem;
  border-radius: 14px;
  transition: var(--transition);
  color: #fff;
}

.cta-contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(6px);
  color: #fff;
}

.cta-contact-item i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  flex-shrink: 0;
}

.cta-contact-item:nth-child(2) i {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.cta-contact-item:nth-child(3) i {
  background: linear-gradient(135deg, var(--orange), #f97316);
}

.cta-contact-item span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.75;
}

.cta-contact-item strong {
  font-size: 1rem;
}

.contact-form {
  background: #fff;
  color: var(--dark);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}

.contact-form .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-form .form-label i {
  color: var(--blue);
  font-size: 0.75rem;
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 0.8rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  background: #f8fafc;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.form-note i {
  color: var(--green);
}

.form-success {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--green);
}

.form-success i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.form-success h4 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ========== FOOTER ========== */
.main-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo .logo-name {
  color: #fff;
}

.footer-logo .logo-tagline {
  color: rgba(255, 255, 255, 0.55);
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.4rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition);
}

.fs-facebook { background: #1877f2; }
.fs-twitter { background: #000; }
.fs-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fs-linkedin { background: #0a66c2; }
.fs-youtube { background: #ff0000; }
.fs-whatsapp { background: #25d366; }

.footer-social a:hover {
  transform: translateY(-4px) scale(1.08);
  color: #fff;
}

.footer-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title i {
  color: #60a5fa;
  font-size: 0.95rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a i {
  font-size: 0.7rem;
  color: #60a5fa;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-contact-list li i {
  color: #60a5fa;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 18px;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a:hover {
  color: #fff;
}

/* ========== STICKY SOCIAL SIDEBAR ========== */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
  flex-direction: column;
  border-radius: 0 12px 12px 0;
  overflow: hidden;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.social-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  transition: var(--transition);
  position: relative;
}

.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #14171a; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.linkedin { background: #0a66c2; }
.social-btn.youtube { background: #ff0000; }
.social-btn.email { background: linear-gradient(135deg, var(--orange), #f97316); }

.social-btn:hover {
  width: 56px;
  padding-left: 4px;
  filter: brightness(1.1);
  color: #fff;
}

.social-btn::after {
  content: attr(title);
  position: absolute;
  left: 58px;
  background: var(--dark);
  color: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-weight: 500;
}

.social-btn:hover::after {
  opacity: 1;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1040;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 5.5rem;
  z-index: 1039;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ========== RESPONSIVE TWEAKS ========== */
@media (max-width: 991.98px) {
  .main-header .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: 0.75rem;
  }

  .main-header .nav-link.btn-nav {
    margin-left: 0;
    text-align: center;
    margin-top: 0.35rem;
  }

  .quality-image-wrap img {
    height: 380px;
  }
}

@media (max-width: 767.98px) {
  .hero-carousel .carousel-item,
  .slide-bg {
    min-height: 480px;
    height: auto;
  }

  .features-strip {
    margin-top: -20px;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    border-radius: 12px;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
  }

  .carousel-control-icon-custom {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .quality-image-wrap img {
    height: 280px;
  }

  .quality-float {
    padding: 0.55rem 0.75rem;
  }

  .quality-float i {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .quality-float strong {
    font-size: 0.95rem;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.7rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .back-to-top {
    right: 4.5rem;
    bottom: 1.35rem;
    width: 42px;
    height: 42px;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .slide-content .d-flex.flex-wrap {
    flex-direction: column;
  }

  .slide-content .btn {
    width: 100%;
  }
}
