/* =========================================
   1. Base Styles & Variables
   ========================================= */
:root {
  --primary-blue: #004ab0;
  --primary-orange: #e88b00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --font-main: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   2. Utility Classes & Buttons
   ========================================= */
.section-padding {
  padding: 80px 0;
}

.section-subtitle {
  color: var(--primary-blue);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--text-light);
  border: 2px solid var(--primary-orange);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-orange);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary-blue);
}

.btn-dark {
  background-color: var(--primary-blue);
  color: var(--text-light);
  border: 2px solid var(--primary-blue);
}

.btn-dark:hover {
  background-color: transparent;
  color: var(--primary-blue);
}

/* =========================================
   3. Header Navigation
   ========================================= */
.site-header {
  background-color: var(--text-light);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 25px;
}

.main-nav a {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-orange);
}

.main-nav .has-dropdown i {
  font-size: 0.8rem;
  margin-left: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  color: var(--primary-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* =========================================
   Light Pink Header Button & Link Styles
   ========================================= */

/* Phone Link in Light Pink */
.phone-link.phone-pink {
  color: #ec4899;
}

.phone-link.phone-pink:hover {
  color: #db2777; /* Slightly deeper pink on hover for contrast */
}

/* Free Consultation Button in Light Pink */
.btn-pink {
  background-color: #f472b6;
  color: #ffffff;
  border: 2px solid #f472b6;
}

.btn-pink:hover {
  background-color: transparent;
  color: #ec4899;
  border-color: #ec4899;
}
/* ========
   Hero Section (Owl Carousel Enabled)
   ========================================= */
.hero-section {
  position: relative;
  width: 100%;
}

/* Slider Track Height Fixes */
.hero-section .owl-stage-outer,
.hero-section .owl-stage,
.hero-section .owl-item {
  height: 100%;
}

.hero-section .item {
  height: 75vh;
  min-height: 600px;
  background-size: cover;
  /* background-position: center; */
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

/* Gradient Overlay */
.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 74, 176, 0.95) 0%,
    rgba(0, 74, 176, 0.7) 50%,
    rgba(0, 74, 176, 0.2) 100%
  );
  z-index: 1;
}

/* Left-Aligned Inner Content Wrapper */
.hero-section .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
}

.hero-content {
  max-width: 750px;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.hero-section h1 {
  font-size: 2.8rem;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
}

.hero-section p {
  font-size: 1.05rem;
  margin-bottom: 30px;
  opacity: 0.9;
  text-align: left;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 25px;
}

/* Customizing Owl Navigation Arrows */
#hero-slider .owl-nav button.owl-prev,
#hero-slider .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  font-size: 1.5rem !important;
  transition: all 0.3s ease;
}

#hero-slider .owl-nav button.owl-prev:hover,
#hero-slider .owl-nav button.owl-next:hover {
  background: var(--primary-orange) !important;
}

#hero-slider .owl-nav button.owl-prev {
  left: 30px;
}

#hero-slider .owl-nav button.owl-next {
  right: 30px;
}

/* ========= For Video ========== */

#hero-section {
  position: relative;
  width: 100%;
  height: 90vh; /* Slightly taller for cinematic breathing room */
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
  background: #0b0f19; /* Deep modern backdrop in case of load delay */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Shifts video framing slightly down so the top text content is fully visible */
  object-position: center 30%;
  z-index: 1;
}

.hero-cta-container {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

/* Cinematic Glassmorphism Action Bar with WOW Animation */
.hero-buttons-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 24px;
  border-radius: 60px;
  display: flex;
  gap: 18px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: wowEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: translateY(40px);
  opacity: 0;
}

/* Primary Button with Neon Pink Glow */
.hero-buttons-glass .hero-btn-main {
  background: linear-gradient(135deg, #ff3366 0%, #e6004c 100%) !important;
  border: none !important;
  border-radius: 40px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-buttons-glass .hero-btn-main:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 51, 102, 0.7);
}

/* Secondary Button with Smooth Hover Fill */
.hero-buttons-glass .hero-btn-sec {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 40px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-buttons-glass .hero-btn-sec:hover {
  background: #fff !important;
  color: #0b0f19 !important;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* High-End Entrance Animation */
@keyframes wowEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-buttons-glass {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    border-radius: 24px;
    padding: 15px;
    background: rgba(11, 15, 25, 0.6);
  }
}
/* ==========For Video ========= 

/* =========================================
   5. Sectors Banner
   ========================================= */
/* =========================================
   5. Sectors Auto-Moving Banner (Non-Clickable)
   ========================================= */
.sectors-banner-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.sectors-ticker-container {
  background-color: var(--text-light);
  padding: 25px 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* Optional smooth fade on left/right edges */
.sectors-ticker-container::before,
.sectors-ticker-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.sectors-ticker-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.sectors-ticker-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* Continuous Animation Track */
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  animation: scrollTicker 30s linear infinite;
  will-change: transform;
}

.sector-item {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  /* Make strictly non-clickable & non-selectable */
  pointer-events: none;
  user-select: none;
  cursor: default;
}

.sector-item i {
  color: var(--primary-orange);
  font-size: 1.5rem;
}

/* Keyframe for smooth infinite looping */
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sectors-inner {
  background-color: var(--text-light);
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.sector-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.sector-link i {
  color: var(--primary-blue);
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.sector-link:hover,
.sector-link:hover i {
  color: var(--primary-orange);
}

/* =========================================
   Sectors Ticker Multi-Color Icons
   ========================================= */

.sector-item i.icon-cyan {
  color: #06b6d4 !important;
}

.sector-item i.icon-rose {
  color: #f43f5e !important;
}

.sector-item i.icon-orange {
  color: #f97316 !important;
}

.sector-item i.icon-blue {
  color: #2563eb !important;
}

.sector-item i.icon-purple {
  color: #8b5cf6 !important;
}

.sector-item i.icon-amber {
  color: #d97706 !important;
}

.sector-item i.icon-emerald {
  color: #10b981 !important;
}

.sector-item i.icon-indigo {
  color: #6366f1 !important;
}

.sector-item i.icon-yellow {
  color: #eab308 !important;
}

.icon-purple i {
  color: #8b5cf6; /* Vibrant Purple */
}
/* =========================================
   6. About Us Section (Dual Image & Interactive Card)
   ========================================= */

/* .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


.about-image-wrap {
  position: relative;
  z-index: 2;
  padding-right: 40px;
  padding-bottom: 40px;
} */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start; /* Change from center to start so tops align cleanly */
}

/* --- Left Side: Dual Image Layout --- */
.about-image-wrap {
  position: relative;
  z-index: 2;
  /* Removed padding-bottom and padding-right which caused the misaligned offset */
  margin-top: 20px; /* Optional: adjust this to fine-tune vertical alignment with the first list item on the right */
}

/* Decorative dot pattern behind image */
.about-image-wrap .dot-pattern {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--primary-orange) 2px, transparent 2px);
  background-size: 16px 16px;
  z-index: -1;
  opacity: 0.6;
}

/* Main Big Image (Floats Top to Bottom) */
.about-image-wrap .main-img {
  width: 83%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 40px 40px 40px 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  animation: floatDownUp 5s ease-in-out infinite;
}

/* Small Overlapping Image (Floats Bottom to Top) */
.about-image-wrap .small-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: auto;
  object-fit: cover;
  border-radius: 40px 10px 40px 10px;
  border: 8px solid var(--text-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 3;
  animation: floatUpDown 5s ease-in-out infinite;
}

/* --- Right Side: Interactive Service Card --- */
.about-service-card {
  background-color: #223047; /* Deep Navy Slate */
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 15v10M15 20h10' stroke='rgba(255,255,255,0.03)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  border-radius: 20px;
  padding: 45px 40px;
  color: var(--text-light);
  box-shadow: 0 25px 50px -12px rgba(30, 41, 59, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.about-service-options {
  margin-bottom: 35px;
}

.about-service-options li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 12px;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  cursor: pointer;
}

.about-service-options li:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(8px);
}

.about-service-options li:last-child {
  margin-bottom: 0;
}

/* Icon Box Styles */
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.icon-cyan i {
  color: #06b6d4;
}
.icon-orange i {
  color: #f97316;
}
.icon-yellow i {
  color: #eab308;
}

.card-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.card-text span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.card-note {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.card-note i {
  color: #eab308;
  margin-right: 5px;
}

/* --- Alternating Floating Keyframe Animations --- */
@keyframes floatDownUp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-image-wrap {
    padding-right: 20px;
    padding-bottom: 20px;
    max-width: 500px;
    margin: 0 auto;
  }
  .about-image-wrap .small-img {
    border-width: 6px;
  }
}

@media (max-width: 768px) {
  .about-service-card {
    padding: 30px 20px;
  }
}

/* =========================================
   7. The Reality Section (Interactive Hover Card)
   ========================================= */
.reality-section {
  background-color: var(--bg-light);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.reality-row-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* --- Left Side: Interactive Hover Card --- */
.reality-hover-card {
  position: relative;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 74, 176, 0.15);
  cursor: pointer;
  margin-top: 15px;
}

/* Background Image Zoom on Hover */
.reality-hover-card .card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reality-hover-card:hover .card-bg-img {
  transform: scale(1.08);
}

/* 1. Default View Overlay */
.reality-card-default {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 74, 176, 0.95) 0%,
    rgba(0, 74, 176, 0.7) 60%,
    rgba(0, 74, 176, 0.4) 100%
  );
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-light);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.warning-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 139, 0, 0.9);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  width: fit-content;
}

.reality-card-default h2 {
  font-size: 1.8rem;
  line-height: 1.35;
  font-weight: 700;
  color: #ffffff;
  margin: auto 0 20px 0;
}

.hover-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-orange);
}

.hover-prompt i {
  animation: bounceUp 1.5s infinite;
}

/* 2. Slide-Up Revealed Content Overlay */
.reality-card-reveal {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(232, 139, 0, 0.96) 0%,
    rgba(0, 74, 176, 0.96) 100%
  );
  padding: 40px 35px;
  display: flex;
  align-items: center;
  color: var(--text-light);
  z-index: 3;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reality-hover-card:hover .reality-card-reveal {
  transform: translateY(0);
}

.reveal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff;
}

.reveal-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 15px;
}

.reveal-content p.highlight-p {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid #ffffff;
}

/* Bounce Animation for Hover Prompt Arrow */
@keyframes bounceUp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* --- Right Side Checklist --- */
.reality-checklist-content {
  background-color: var(--text-light);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.check-list-large {
  margin-bottom: 30px;
}

.check-list-large li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.check-list-large li:last-child {
  margin-bottom: 0;
}

.check-list-large li i {
  color: var(--primary-orange);
  margin-top: 3px;
  margin-right: 15px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.list-text-wrap h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 4px;
}

.list-text-wrap p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Fixes */
@media (max-width: 992px) {
  .reality-row-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reality-hover-card {
    height: 400px;
  }
  .reality-card-default h2 {
    font-size: 1.5rem;
  }
}

/* Custom Big Arrow in Hover Card */
.hover-prompt .big-arrow {
  font-size: 1.8rem; /* Scaled up arrow */
  color: var(--primary-orange);
  background: rgba(255, 255, 255, 0.15);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: bounceUp 1.5s infinite;
}
/* =========================================
   6. Our Services Section (Colorful Blocks & Full Card Hover)
   ========================================= */
.services-section {
  background-color: var(--bg-light);
}

.services-colorful-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Base Service Card */
.service-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 35px 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

/* Accent Top Border Line for each card */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: var(--card-accent, var(--primary-blue));
  transition: all 0.3s ease;
}

/* =========================================
   FULL BACKGROUND HOVER EFFECT
   ========================================= */
.service-card:hover {
  transform: translateY(-8px);
  background-color: var(
    --card-accent,
    var(--primary-blue)
  ); /* Changes background to theme color */
  border-color: var(--card-accent, var(--primary-blue));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* Text & Headings change to white on hover */
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-points li,
.service-card:hover .card-num {
  color: #ffffff !important;
  opacity: 1;
}

/* Icon Box transforms on hover */
.service-card:hover .service-icon-box {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white box */
  color: #ffffff; /* White icon */
  transform: scale(1.1) rotate(-5deg);
}

/* Dashed divider turns semi-transparent white on hover */
.service-card:hover .service-points {
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* Bullet Checkmarks turn white on hover */
.service-card:hover .service-points li i {
  color: #ffffff;
}

/* --- Card Header & Content Base Layout --- */
.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.service-icon-box {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background-color: var(--card-light-bg, #f1f5f9);
  color: var(--card-accent, var(--primary-blue));
  transition: all 0.3s ease;
}

.card-num {
  font-size: 1.1rem;
  font-weight: 800;
  opacity: 0.25;
  color: var(--card-accent, var(--text-dark));
  transition: color 0.3s ease;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.service-points {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed #e2e8f0;
  transition: border-color 0.3s ease;
}

.service-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.service-points li:last-child {
  margin-bottom: 0;
}

.service-points li i {
  color: var(--card-accent, var(--primary-orange));
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

/* =========================================
   Distinct Color Themes
   ========================================= */

/* 1. Cyan Theme */
.theme-cyan {
  --card-accent: #06b6d4;
  --card-light-bg: #ecfeff;
}

/* 2. Orange Theme */
.theme-orange {
  --card-accent: #f97316;
  --card-light-bg: #fff7ed;
}

/* 3. Emerald Theme */
.theme-emerald {
  --card-accent: #10b981;
  --card-light-bg: #ecfdf5;
}

/* 4. Purple Theme */
.theme-purple {
  --card-accent: #8b5cf6;
  --card-light-bg: #f5f3ff;
}

/* 5. Blue Theme */
.theme-blue {
  --card-accent: #2563eb;
  --card-light-bg: #eff6ff;
}

/* 6. Amber Theme */
.theme-amber {
  --card-accent: #d97706;
  --card-light-bg: #fffbeb;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .services-colorful-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-colorful-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark Navy Theme */
.how-it-works-final {
  background-color: #0f172a;
  padding: 80px 0;
  color: #ffffff;
}

/* Journey Path Layout */
.journey-path {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 60px;
  margin-bottom: 60px;
}

.journey-step {
  flex: 1;
  text-align: center;
  position: relative;
}

/* Dashed Circular Icons */
.icon-circle {
  width: 130px;
  height: 130px;
  border: 2px dashed #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #06b6d4;
  margin: 0 auto 20px auto;
}

.step-badge {
  background: #0e7490;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0 auto 10px auto;
}

/* Typography */
.journey-step h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.journey-step p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 0 10px;
}
.cta-center {
  text-align: center;
  margin-top: 40px;
}
/* Arrow Positioning */
.journey-arrow {
  margin-top: 60px;
  color: #334155; /* Matches dashed line color */
  font-size: 1.2rem;
  z-index: 1;
}

/* Hover Interaction: Change Circle Color */
.icon-circle {
  width: 130px;
  height: 130px;
  border: 2px dashed #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #06b6d4; /* Default Teal */
  margin: 0 auto 20px auto;
  transition: all 0.4s ease; /* Smooth color transition */
  background: transparent;
}

/* WOW Hover Effect */
.journey-step:hover .icon-circle {
  border-style: solid; /* Circle becomes solid border on hover */
  border-color: #e88b00; /* Orange highlight */
  color: #e88b00; /* Icon changes to orange */
  transform: scale(1.05); /* Slight grow effect */
}

/* Ensure dashed path remains background */
/* Container must be relative to anchor the SVG line */
.journey-path {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 40px;
  padding-bottom: 40px;
}

/* The Continuous SVG Path */
.journey-path::after {
  content: "";
  position: absolute;
  top: 65px; /* Aligned with the center of the circles */
  left: 12%;
  right: 12%;
  height: 60px; /* Gives room for the curve */
  pointer-events: none; /* Ensures it doesn't interfere with hovers */
  z-index: 0;
  /* SVG Path creates the flowing 'S' curve between the 4 points */
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q 150 0 300 20 T 600 20 T 900 20' stroke='%23334155' stroke-width='2' stroke-dasharray='6,6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

/* Smooth transitions for hover color changes */
.journey-step .icon-circle,
.journey-step .step-icon,
.journey-step .step-badge,
.journey-step .step-number,
.journey-step i {
  transition: all 0.3s ease;
}

/* -----------------------------------------
   HOVER MULTI-COLOR EFFECTS
   ----------------------------------------- */

/* Step 1 Hover: Cyan (#06b6d4) */
.journey-step.hover-cyan:hover .icon-circle,
.journey-step.hover-cyan:hover .step-icon {
  border-color: #f472b6 !important;
  color: #f472b6 !important;
}

.journey-step.hover-cyan:hover .step-badge,
.journey-step.hover-cyan:hover .step-number {
  background-color: #f472b6 !important;
  color: #ffffff !important;
}

.journey-step.hover-cyan:hover i {
  color: #f472b6 !important;
}

/* Step 2 Hover: Orange (#f97316) */
.journey-step.hover-orange:hover .icon-circle,
.journey-step.hover-orange:hover .step-icon {
  border-color: #f97316 !important;
  color: #f97316 !important;
}

.journey-step.hover-orange:hover .step-badge,
.journey-step.hover-orange:hover .step-number {
  background-color: #f97316 !important;
  color: #ffffff !important;
}

.journey-step.hover-orange:hover i {
  color: #f97316 !important;
}

/* Step 3 Hover: Emerald (#10b981) */
.journey-step.hover-emerald:hover .icon-circle,
.journey-step.hover-emerald:hover .step-icon {
  border-color: #10b981 !important;
  color: #10b981 !important;
}

.journey-step.hover-emerald:hover .step-badge,
.journey-step.hover-emerald:hover .step-number {
  background-color: #10b981 !important;
  color: #ffffff !important;
}

.journey-step.hover-emerald:hover i {
  color: #10b981 !important;
}

/* Step 4 Hover: Purple (#a855f7) */
.journey-step.hover-purple:hover .icon-circle,
.journey-step.hover-purple:hover .step-icon {
  border-color: #a855f7 !important;
  color: #a855f7 !important;
}

.journey-step.hover-purple:hover .step-badge,
.journey-step.hover-purple:hover .step-number {
  background-color: #a855f7 !important;
  color: #ffffff !important;
}

.journey-step.hover-purple:hover i {
  color: #a855f7 !important;
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.bento-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* WOW Hover Effect: Glow & Lift */
.bento-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(14, 116, 144, 0.15);
  border-color: var(--primary-blue);
}

.card-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.bento-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.key-areas {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
}

.key-areas strong {
  font-size: 0.75rem;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 5px;
}

.key-areas p {
  font-size: 12px;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   7. Why Choose Us Section
   ========================================= */

.why-choose {
  background-color: var(--primary-blue);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

/* Creating the dotted map-like background texture */
.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05; /* Very faint */
  background-image: radial-gradient(var(--text-light) 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: 1;
}

/* Utility to keep content above the background overlay */
.relative-z {
  position: relative;
  z-index: 2;
}

.section-header.center-text {
  text-align: center;
  margin-bottom: 50px;
}

.section-header.light-mode h2 {
  color: var(--text-light);
  font-size: 2.2rem;
  line-height: 1.2;
}

/* 4-Column Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Feature Cards */
.feature-item {
  text-align: center;
  padding: 35px 25px;
  background: rgba(255, 255, 255, 0.03); /* Slight transparent white box */
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-8px); /* Lifts the card on hover */
  background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
  color: var(--primary-orange);
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7); /* Slightly muted text for readability */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr); /* Drops to 2 rows of 2 on tablets */
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr; /* Stacks vertically on phones */
  }
  .section-header.light-mode h2 {
    font-size: 1.8rem;
  }
}

/* =========================================
   8. How It Works (Journey Section)
   ========================================= */

.how-it-works {
  background-color: var(--text-light);
  overflow: hidden;
}

.how-it-works .section-header {
  margin-bottom: 60px;
  text-align: left; /* Aligning left based on template */
}

.how-it-works h2 {
  font-size: 2.2rem;
  color: var(--primary-blue);
  line-height: 1.2;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  text-align: center;
}

/* Horizontal Connecting Dashed Line */
/* =========================================
   NEW: Alternating Curved Timeline
   ========================================= */

/* Hide curves on tablet/mobile where items stack vertically */
@media (min-width: 993px) {
  .step-item {
    position: relative;
  }

  /* The Base Curve Shape */
  .step-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 100%;
    height: 60px;
    top: 20px; /* Centers the curve on the 50px icon center */
    border: solid 2px transparent;
    border-radius: 50%;
    z-index: 1;
  }

  /* Step 1 to 2: Arch UP */
  .step-item:nth-child(1)::before {
    border-top: 2px dashed #cdd5df;
  }

  /* Step 2 to 3: Dip DOWN */
  .step-item:nth-child(2)::before {
    border-bottom: 2px dashed #cdd5df;
  }

  /* Step 3 to 4: Arch UP */
  .step-item:nth-child(3)::before {
    border-top: 2px dashed #cdd5df;
  }

  /* The Arrowheads */
  .step-item:not(:last-child)::after {
    content: "\f105"; /* FontAwesome angle-right icon */
    font-family: "FontAwesome", sans-serif;
    font-weight: 900;
    position: absolute;
    /* Mathematically positions the arrow right before the next icon's edge */
    left: calc(150% - 60px);
    color: #cdd5df;
    font-size: 22px;
    z-index: 3;
  }

  /* Adjust arrow vertical positions and rotations to match the slope of the curve */
  .step-item:nth-child(1)::after,
  .step-item:nth-child(3)::after {
    top: 43px; /* Sitting on the downward slope */
    transform: rotate(20deg);
  }

  .step-item:nth-child(2)::after {
    top: 33px; /* Sitting on the upward slope */
    transform: rotate(-20deg);
  }
}

.step-item {
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

/* Icon Wrap and Number Badge */
.step-icon-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px auto;
}

.step-number {
  position: absolute;
  top: 0;
  left: -5px;
  background-color: var(--primary-blue);
  color: var(--text-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.step-icon {
  width: 100px;
  height: 100px;
  background-color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-blue);
  /* The dashed border wrapping the icon */
  border: 2px dashed #cdd5df;
  background-clip: padding-box;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.step-item:hover .step-icon {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: scale(1.05);
}

.step-item h3 {
  font-size: 1.2rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.step-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* --- Reusable Scroll Animations --- */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation Delays */
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}

/* Responsive Grid for Journey */
@media (max-width: 992px) {
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
  .journey-grid::before {
    display: none; /* Hide the connecting line when items wrap */
  }
}

@media (max-width: 768px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   9. Sectors Visual Grid (Chevron Cards)
   ========================================= */
/* =========================================
   9. Sectors Visual Grid (Perfect Chevrons)
   ========================================= */

.sectors-visual {
  background-color: var(--bg-light);
  padding-bottom: 100px;
}

.sectors-visual .section-header {
  margin-bottom: 50px;
}

.chevron-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px; /* Fixed height container so cards can grow inside it */
  padding: 0 20px;
}

.chevron-card {
  position: relative;
  flex: 1; /* Standard width */
  height: 300px; /* Standard height */
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* STANDARD CHEVRON (Cards 02-06): Notch Left (>), Point Right (>) */
  /* We use exactly 35px for the arrow depth so it never distorts */
  clip-path: polygon(
    0% 0%,
    calc(100% - 35px) 0%,
    100% 50%,
    calc(100% - 35px) 100%,
    0% 100%,
    35px 50%
  );

  /* Pull cards left by 30px to interlock with the 35px points, leaving a perfect 5px white gap */
  margin-left: -30px;
}

/* FIRST CARD (01) EXACT SHAPE */
.chevron-card.first-card {
  /* HEXAGON: Point Left (<), Point Right (>) */
  clip-path: polygon(
    35px 0%,
    calc(100% - 35px) 0%,
    100% 50%,
    calc(100% - 35px) 100%,
    35px 100%,
    0% 50%
  );
  margin-left: 0; /* First card doesn't need to pull left */
}

/* --- THE EXPANDING HOVER EFFECT --- */
.chevron-card:hover {
  flex: 2.5; /* Expands width smoothly */
  height: 380px; /* Pops out vertically */
  z-index: 10;
  /* No need to change clip-path here! The calc() keeps the 35px arrows perfectly sharp while the center expands! */
}

/* Image zoom on hover */
.chevron-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.chevron-card:hover img {
  transform: scale(1.08);
}

/* Dark Overlay & Colors */
.chevron-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 49, 0.95) 0%,
    rgba(10, 25, 49, 0.3) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 20px;
  color: var(--text-light);
  text-align: center;
  transition: background 0.4s ease;
}

.chevron-card:hover .chevron-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 25, 49, 0.95) 0%,
    rgba(30, 80, 160, 0.5) 80%
  );
}

/* Number Badge */
.card-num {
  position: absolute;
  top: 20px;
  left: 45px;
  background-color: var(--primary-orange);
  color: var(--text-light);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.chevron-card:hover .card-num {
  background-color: #2161cc; /* Changes to blue on hover as seen in template */
}

/* Text & Icon */
.chevron-overlay h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 600;
}

.icon-arrow {
  width: 35px;
  height: 35px;
  border: 1px solid var(--text-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.chevron-card:hover .icon-arrow {
  background-color: var(--text-light);
  color: var(--primary-blue);
}

/* Responsive adjustments for mobile */
@media (max-width: 1024px) {
  .chevron-grid {
    flex-direction: column;
    height: auto;
    gap: 15px;
  }
  .chevron-card,
  .chevron-card.first-card {
    width: 100%;
    height: 150px;
    margin-left: 0;
    clip-path: none !important; /* Disables the shape on mobile for clean vertical stacking */
    border-radius: 10px;
  }
  .chevron-card:hover {
    height: 180px;
  }
  .card-num,
  .chevron-card.first-card .card-num {
    left: 20px;
  }
}

/* =========================================
   10. Testimonials Section & Cards
   ========================================= */

/* =========================================
   10. Testimonials Scrollable Row
   ========================================= */

.testimonials-section {
  background-color: var(--primary-blue, #0d6efd);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.testimonials-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Horizontal scrollable track */
.testimonials-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

/* Custom Scrollbar for sleek appearance */
.testimonials-track::-webkit-scrollbar {
  height: 6px;
}
.testimonials-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.testimonials-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
}

/* Fixed Equal-Sized Cards */
.testi-card {
  flex: 0 0 300px;
  height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  opacity: 1 !important;
  transform: none !important;
}

.testi-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testi-card .large-quote {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.2rem;
  color: var(--primary-orange, #fd7e14);
  opacity: 0.18;
}

.testi-card .stars {
  color: var(--primary-orange, #fd7e14);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  gap: 3px;
}

/* 3-line preview text clamp */
.testi-card .testi-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555555;
}

.testi-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: auto;
}

.author-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222222;
  margin: 0;
}

.read-more-trigger {
  color: var(--primary-orange, #fd7e14);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.read-more-trigger:hover {
  color: #d35400;
}

/* =========================================
   Modal Popup Styling
   ========================================= */

.testi-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px);
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 99999 !important;
}

.testi-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.testi-modal-content {
  background: #ffffff !important;
  width: 90% !important;
  max-width: 500px !important;
  padding: 35px !important;
  border-radius: 16px !important;
  position: relative !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  text-align: left;
}

.testi-modal-content .stars {
  color: var(--primary-orange, #fd7e14);
  margin-bottom: 12px;
}

.testi-modal-content p {
  color: #444444 !important;
  margin: 15px 0 20px 0 !important;
  line-height: 1.7 !important;
  font-size: 1rem !important;
}

.testi-modal-content h4 {
  color: #222222;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.testi-modal-close {
  position: absolute !important;
  top: 15px !important;
  right: 18px !important;
  background: #f1f1f1 !important;
  border: none !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  color: #333333 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.testi-modal-close:hover {
  background: #e2e2e2 !important;
}

/* =========================================
   Owl Carousel Testimonials Styling
   ========================================= */

.testimonials-section {
  background-color: var(--primary-blue, #0d6efd);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.testimonials-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Equal-Sized Clean Cards */
.testi-card {
  height: 270px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testi-card .large-quote {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.2rem;
  color: var(--primary-orange, #fd7e14);
  opacity: 0.18;
}

.testi-card .stars {
  color: var(--primary-orange, #fd7e14);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  gap: 3px;
}

/* 3-line preview text clamp */
.testi-card .testi-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555555;
}

.testi-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: auto;
}

.author-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222222;
  margin: 0;
}

.read-more-trigger {
  color: var(--primary-orange, #fd7e14);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.read-more-trigger:hover {
  color: #d35400;
}

/* Custom Owl Navigation Buttons */
.owl-carousel .owl-nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background-color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

/* Owl Dots */
.owl-carousel .owl-dots {
  margin-top: 15px;
  text-align: center;
}

.owl-carousel .owl-dots button.owl-dot span {
  background: rgba(255, 255, 255, 0.4);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.owl-carousel .owl-dots button.owl-dot.active span,
.owl-carousel .owl-dots button.owl-dot:hover span {
  background: var(--primary-orange, #fd7e14);
  transform: scale(1.3);
}

/* =========================================
   Modal Popup Styling
   ========================================= */

.testi-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px);
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 99999 !important;
}

.testi-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.testi-modal-content {
  background: #ffffff !important;
  width: 90% !important;
  max-width: 500px !important;
  padding: 35px !important;
  border-radius: 16px !important;
  position: relative !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  text-align: left;
}

.testi-modal-content .stars {
  color: var(--primary-orange, #fd7e14);
  margin-bottom: 12px;
}

.testi-modal-content p {
  color: #444444 !important;
  margin: 15px 0 20px 0 !important;
  line-height: 1.7 !important;
  font-size: 1rem !important;
}

.testi-modal-content h4 {
  color: #222222;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.testi-modal-close {
  position: absolute !important;
  top: 15px !important;
  right: 18px !important;
  background: #f1f1f1 !important;
  border: none !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  color: #333333 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.testi-modal-close:hover {
  background: #e2e2e2 !important;
}

/* =========================================
   11. FAQ Section
   ========================================= */

.faq-section {
  background-color: var(--text-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 2fr 1fr; /* Image, Accordion, CTA box */
  gap: 50px;
  align-items: flex-start;
}

/* Column 1: Image & Decor */
.faq-image-wrap {
  position: relative;
  z-index: 2;
}

.faq-image-wrap::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--primary-orange) 2px, transparent 2px);
  background-size: 14px 14px;
  z-index: -1;
}

.decor-arrows {
  position: absolute;
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
  color: var(--primary-orange);
  font-size: 2.5rem;
  background: var(--text-light);
  padding: 10px 0;
  z-index: 3;
}

.faq-image-wrap img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Column 2: Accordion */
.accordion-wrapper {
  margin-top: 25px;
}

.faq-item {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

.faq-question h4 {
  font-size: 1.05rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  color: var(--primary-orange);
  transition: transform 0.4s ease;
  font-size: 1.1rem;
}

/* Accordion Active States */
.faq-item.active {
  border-color: var(--primary-orange);
  box-shadow: 0 5px 15px rgba(232, 139, 0, 0.1);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg); /* Turns the '+' into an 'x' */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease-in-out,
    padding 0.4s ease-in-out;
  background-color: var(--bg-light);
  padding: 0 25px;
}

.faq-answer p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
  padding-bottom: 20px; /* Padding applied here so the slide animation is smooth */
}

/* Column 3: CTA Box */
.help-box {
  background-color: var(--bg-light);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #eaeaea;
}

.help-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 20px;
}

.help-box h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.help-box p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.help-box .btn {
  width: 100%;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq-image-col {
    display: none; /* Hide image on smaller screens to prioritize content */
  }
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================================
   12. Get In Touch / Contact Section
   ========================================= */
.contact-guarantee {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 32px;
}

.contact-guarantee-title {
  font-weight: 700;
  color: #92400e;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Layout Container */
.contact-page-wrapper {
  padding: 80px 0;
  background-color: #f8fafc;
}

.contact-page-wrapper .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Left Side Styling */
.contact-page-wrapper .section-subtitle {
  color: #06b6d4;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}

.contact-page-wrapper .serif-heading {
  color: #0f172a;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.contact-page-wrapper .method-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  color: #475569;
}

.contact-page-wrapper .method-item i {
  width: 50px;
  height: 50px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Right Side: Form Card */
.contact-page-wrapper .consultation-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}

.contact-page-wrapper .consultation-form h3 {
  color: #0f172a;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.contact-page-wrapper .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-page-wrapper .form-group {
  margin-bottom: 20px;
}
.contact-page-wrapper .form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  display: block;
}

.contact-page-wrapper .form-group input,
.contact-page-wrapper .form-group select,
.contact-page-wrapper .form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  color: #475569;
}

.contact-page-wrapper .btn-submit {
  background-color: #06b6d4;
  color: #ffffff;
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.contact-page-wrapper .btn-submit:hover {
  background-color: #0891b2;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-page-wrapper .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   13. Footer Section
   ========================================= */

.site-footer {
  background-color: var(--primary-blue);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* Make sure the logo is visible on dark background */
.footer-logo {
  height: 55px;
  margin-bottom: 25px;
  /* If your logo is dark text with a transparent background, this CSS filter 
       will instantly turn it completely white so it shows up on the dark footer */
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-col ul li {
  margin-bottom: 15px;
}

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

.footer-col ul a:hover {
  color: var(--primary-orange);
  transform: translateX(5px); /* Small slide effect on hover */
}

/* Social Media Icons */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-3px);
}

/* Newsletter Input */
.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
  font-family: var(--font-main);
}

.newsletter-form button {
  background-color: var(--primary-orange);
  color: var(--text-light);
  border: none;
  padding: 0 25px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
}

.newsletter-form button:hover {
  background-color: #d17d00;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--primary-orange);
}

/* Responsive Footer Adjustments */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* Switch to 2x2 grid */
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* =========================================
   NEW: Heading Golden Lines & Animations
   ========================================= */

/* 1. Golden Line Under Headings */
.about-text-col h2,
.services-header h2,
.section-header h2 {
  position: relative;
  padding-bottom: 20px;
}

.about-text-col h2::after,
.services-header h2::after,
.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 65px; /* Creates the 1/4th length look */
  height: 4px;
  background-color: var(--primary-orange);
  border-radius: 2px;
  display: none;
}

/* Center the line specifically for centered headers */
.services-header h2::after,
.section-header.center-text h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* 2. Oscillation Animation for About Image */
@keyframes floatOscillate {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.about-image-wrap img {
  animation: floatOscillate 5s ease-in-out infinite;
}

/* --- THE UPDATED HOVER EFFECT --- */
.feature-item:hover {
  transform: translateY(-8px);
  background: var(--text-light); /* Changes to solid white */
  border-color: var(--text-light);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Change text color to dark when the background turns white */
.feature-item:hover h3,
.feature-item:hover p {
  color: var(--text-dark);
}

/* The icon stays golden orange */
.feature-item:hover .feature-icon {
  color: var(--primary-orange);
}

/* Enable native smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Offset scroll padding to account for fixed/sticky headers */
section[id] {
  scroll-margin-top: 80px; /* Adjust according to header height */
}
/* Force Bootstrap Modal to behave correctly as an overlay */
/* Fix Bootstrap Modal Centering & Display */
.modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1050 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.modal.fade:not(.show) {
  display: none !important;
}

.modal.show {
  display: block !important;
}

.modal-dialog {
  position: relative !important;
  width: auto !important;
  margin: 1.75rem auto !important;
  pointer-events: none !important;
  max-width: 500px !important;
}

.modal-content {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  pointer-events: auto !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 12px !important;
  outline: 0 !important;
}
.alert-success {
  background-color: #d1e7dd !important;
  color: #0f5132 !important;
  border: 1px solid #badbcc !important;
  padding: 10px 15px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}

.alert-danger {
  background-color: #f8d7da !important;
  color: #842029 !important;
  border: 1px solid #f5c2c7 !important;
  padding: 10px 15px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}
