/* --- GLOBAL VARIABLES --- */
/* ============================================================== */
/*                 MASTER SPACING & VARIABLES                     */
/* ============================================================== */
:root {
  /* Premium App Palette */
  --brand-primary: #6a4cff;
  --brand-primary-dark: #4625be;
  --brand-light: #f6f4ff;
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;

  /* MANAGE SECTION SPACING HERE */
  --section-gap-main: 20px;
  --section-gap-large: 40px;
  --body-font: 'Sora', system-ui, -apple-system, sans-serif;
}

/* Master Classes for Spacing */
.section-divider {
  margin-top: var(--section-gap-main) !important;
  margin-bottom: var(--section-gap-main) !important;
}

.section-gap-bottom {
  margin-bottom: var(--section-gap-large) !important;
}
.section-gap-top {
  margin-top: var(--section-gap-large) !important;
}
/* ============================================================== */

/* --- BASE STYLES --- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
html {
  scroll-behavior: smooth;
  font-size: 14.5px; /* Scale down slightly since Sora is wider/larger than Inter */
}
body {
  font-family: var(--body-font);
  background-color: var(--bg-white);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

.hero-wrap {
  margin-top: 80px; /* Offset for fixed mobile navbar */
}

@media (min-width: 768px) {
  .hero-wrap {
    margin-top: 125px; /* Offset for fixed desktop navbar */
  }
}

/* --- UTILITIES --- */
.text-brand-primary {
  color: var(--brand-primary) !important;
}

.bg-brand-primary {
  background-color: var(--brand-primary) !important;
}

.cursor-pointer {
  cursor: pointer;
}

.z-ind-2 {
  z-index: 2;
}

/* Custom Fonts */
.body-font-bold {
  font-weight: 700;
}
.body-font-semibold {
  font-weight: 600;
}
.body-font-medium {
  font-weight: 500;
}
.body-font-light {
  font-weight: 300;
}

/* Custom Sizes */
.fs-esm {
  font-size: 0.8rem;
}
.fs-eesm {
  font-size: 0.65rem;
}
.lh-esm {
  line-height: 1.2;
}
.lh-sm {
  line-height: 1.4;
}

/* Custom Border Radius */
.rounded-brand-sm {
  border-radius: 12px;
}
.rounded-brand {
  border-radius: 16px;
}

/* --- HERO SECTION --- */
.hero-wrap {
  position: relative;
}

.hero-search {
  font-size: 14px;
}

.search-icon-para {
  cursor: pointer;
}

.search-wrap-desk input {
  font-size: 14px;
}

/* --- HERO SERVICES GRID --- */
.hero-services-section {
  padding-bottom: 2rem;
}

.hero-services-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  justify-content: flex-start;
  overflow-x: auto;
  -ms-overflow-style: none; 
  scrollbar-width: none; 
  padding-top: 40px; /* for shadow clipping */
}
.hero-services-grid::-webkit-scrollbar { 
  display: none; 
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-color: #F4F4F4;
  border-radius: 12px;
  padding: 12px 5px;
  cursor: pointer;
  flex: 0 0 auto;
  width: 90px;
  transition: transform 0.2s ease-in-out;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-card img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 11px;
  margin: 0;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
}

/* Desktop sizing */
@media (min-width: 768px) {
  .hero-services-grid {
    justify-content: center;
  }
  .service-card {
    width: 120px;
    padding: 20px 10px;
  }
  .service-card img {
    width: 60px;
    height: 60px;
  }
  .service-card p {
    font-size: 13px;
  }
}

/* --- SERVICE DETAIL SECTION (AC REPAIR) --- */
.letter-spacing-plus {
  letter-spacing: 0.5px;
}

.hide-scrollbar::-webkit-scrollbar { 
  display: none; 
}
.hide-scrollbar { 
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}

.service-tab {
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid #dee2e6;
  padding: 6px 16px;
  border-radius: 20px;
  color: #6c757d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background-color: white;
}

.premium-pill {
  background-color: #ffffff;
  color: #6c757d;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.premium-pill:hover {
  background-color: #f6f4ff;
  color: var(--brand-primary);
  border-color: #e2d9f3;
}

.premium-pill.active-pill {
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 4px 12px rgba(106, 76, 255, 0.25);
}

/* --- PROCEDURE CARDS (How It Works) --- */
.procedure-card {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0 !important;
}
.procedure-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(106, 76, 255, 0.08) !important;
  border-color: #d1d5db !important;
}
.procedure-card .icon-box {
  transition: all 0.3s ease;
}
.procedure-card:hover .icon-box {
  background-color: var(--brand-primary) !important;
  color: #fff !important;
  transform: scale(1.1);
}

.service-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem !important;
  background-color: #ffffff;
  margin-bottom: 1rem !important;
  transition: all 0.3s ease;
}

.service-item-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border-color: #d1d5db;
}

@media (min-width: 768px) {
  .category-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
  }
  .service-item-card {
    margin-bottom: 0 !important;
  }
}

.service-badge {
  background-color: #fdf6d8;
  color: #856404;
  font-weight: 600;
  font-size: 10px;
  padding: 5px 10px;
}

.service-img-box {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.add-btn-custom {
  color: var(--brand-primary);
  font-weight: 700;
  border-color: #e2d9f3;
  border-radius: 8px;
  font-size: 14px;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 25px;
  z-index: 10;
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  -ms-overflow-style: none; 
  scrollbar-width: none; 
  padding-bottom: 15px; /* for shadow clipping */
  scroll-snap-type: x mandatory; /* Perfect slide snapping */
}
.testimonials-slider::-webkit-scrollbar { 
  display: none; 
}
.testimonial-card {
  flex: 0 0 auto;
  width: 85vw;
  max-width: 350px;
  transition: transform 0.3s ease;
  scroll-snap-align: center; /* Stop perfectly at each card */
}
.testimonial-card:hover {
  transform: translateY(-3px);
}

/* --- CTA BANNER --- */
.cta-banner {
  background: linear-gradient(135deg, #5b39e5 0%, #4625be 100%);
  border: none;
  box-shadow: 0 10px 30px rgba(91, 57, 229, 0.25) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.cta-banner::before {
  content: '\f095'; /* Phone icon outline in background */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -20px;
  top: -20px;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.04);
  transform: rotate(-15deg);
  z-index: 1;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(40px);
  top: -50px;
  left: -50px;
  border-radius: 50%;
  z-index: 1;
}
.cta-button {
  background: #ffffff;
  color: #4625be !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  padding: 8px 24px 8px 8px !important; /* Asymmetric padding because of the icon circle */
  font-size: 16px;
  font-weight: 700;
  animation: pulse-shadow 2s infinite;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
  animation: none; /* Stop pulsing on hover */
  background: var(--brand-primary) !important;
  color: #ffffff !important;
}
.icon-pulse-circle {
  transition: all 0.3s ease;
}
.cta-button:hover .icon-pulse-circle {
  transform: scale(1.1) rotate(15deg);
  background: rgba(255, 255, 255, 0.2) !important;
}
.cta-button:hover .icon-pulse-circle i {
  color: #ffffff !important;
}

@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --- FEATURE CARDS (WHY CHOOSE US) --- */
.feature-card {
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-color: #e2e8f0;
  transform: translateY(-2px);
}
.feature-icon-box {
  width: 55px;
  height: 55px;
  border-radius: 50%; /* Circle looks more app-like */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background-color: #f6f4ff;
  color: var(--brand-primary);
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon-box {
  background-color: var(--brand-primary);
  color: #ffffff;
  transform: scale(1.05);
}

/* --- ABOUT BANNER IMAGE --- */
.about-banner-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .about-banner-img {
    height: 350px;
  }
}

/* --- FAQ ACCORDION --- */
.faq-accordion .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 16px !important;
  background-color: #ffffff;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-accordion .accordion-item:hover {
  border-color: rgba(70, 37, 190, 0.3);
  box-shadow: 0 8px 20px rgba(70, 37, 190, 0.05);
}
.faq-accordion .accordion-button {
  font-weight: 600;
  color: #0f172a;
  background-color: transparent;
  padding: 1rem 1.25rem;
  box-shadow: none !important;
  font-size: 0.95rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  background-color: #fbfbfe;
  border-bottom: 1px dashed #e2e8f0;
}
.faq-accordion .accordion-body {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.7;
  background-color: #fbfbfe;
}

/* --- UTILITIES --- */
.text-inherit {
  color: inherit !important;
}
.hover-primary:hover {
  color: var(--brand-primary) !important;
  transition: color 0.2s ease;
}

/* --- FORM PLACEHOLDERS --- */
::placeholder {
  font-size: 0.8rem !important;
  opacity: 0.8;
}
.form-control::placeholder {
  font-size: 0.8rem !important;
}
