/* ============================================================
   S&G TEXTILE INSPECTION SERVICE — style.css v4
   Mobile-first. All gradients hard-coded hex values.
   Tested: 320px / 375px / 390px / 414px / 768px / 1024px / 1440px
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  color: #1E293B;
  background: #F8FAFC;
  overflow-x: hidden;
  line-height: 1.65;
  min-width: 320px;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; padding: 0; margin: 0; }

/* ── Animations ── */
@keyframes fadeInUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes floatBg  { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(14px); } }
@keyframes spin     { to { transform:rotate(360deg); } }

/* ── Page SPA switching ── */
.page-section        { display: none; }
.page-section.active { display: block; animation: fadeInUp .35s ease-out; }

/* ── Shared ── */
.section-pad   { padding: 72px 0; }
.bg-white      { background: #fff; }
.bg-light-blue { background: linear-gradient(135deg,rgba(37,99,235,.04),rgba(20,184,166,.04)); }

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg,rgba(37,99,235,.1),rgba(20,184,166,.1));
  color: #14B8A6;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 50px;
  border: 1px solid rgba(20,184,166,.25);
}
.section-title {
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
}
.section-text { color: #64748B; font-size: .95rem; line-height: 1.8; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNavbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15,23,42,.08);
  transition: box-shadow .3s;
}

/* The nav is already display:flex via Bootstrap — we just need wrap */
#mainNavbar .navbar-collapse {
  /* When collapsed, it drops below as a block row */
}

/* Container: allow flex row for brand + toggler */
#mainNavbar .container {
  padding-left: 1rem;
  padding-right: 1rem;
  flex-wrap: wrap !important;    /* lets collapse drop to next row */
  align-items: center;
}

/* Ensure the nav itself wraps too */
#mainNavbar {
  flex-wrap: wrap !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  text-decoration: none;
  padding: .55rem 0;
}
.logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-text    { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name    { font-size: .9rem; font-weight: 800; color: #0F172A; white-space: nowrap; }
.brand-tagline { font-size: .57rem; font-weight: 600; color: #14B8A6; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }

/* Toggler button */
.navbar-toggler {
  border: 1.5px solid rgba(15,23,42,.18) !important;
  border-radius: 8px;
  padding: .3rem .55rem;
  background: transparent;
  flex-shrink: 0;
  margin-left: auto;    /* push to right */
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(20,184,166,.25) !important; outline: none; }
.navbar-toggler-icon {
  width: 1.3em;
  height: 1.3em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Call Now button */
.btn-call-now {
  background: linear-gradient(135deg,#2563EB,#14B8A6);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: .48rem 1.2rem;
  font-weight: 600;
  font-size: .86rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  transition: transform .22s, box-shadow .22s;
  text-decoration: none;
}
.btn-call-now:hover { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(37,99,235,.32); color: #fff !important; }

/* Nav links */
.nav-link {
  font-weight: 500;
  color: #1E293B !important;
  padding: .45rem .85rem !important;
  border-radius: 6px;
  position: relative;
  transition: color .22s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: .85rem; right: .85rem;
  height: 2px;
  background: #14B8A6;
  transform: scaleX(0);
  transition: transform .22s;
  border-radius: 2px;
}
.nav-link:hover        { color: #14B8A6 !important; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active-nav   { color: #14B8A6 !important; font-weight: 700; }
.nav-link.active-nav::after { transform: scaleX(1); }

/* ── Mobile: collapse menu below brand row ── */
@media (max-width: 991px) {
  .logo-image    { height: 52px; }
  .brand-tagline { display: none; }

  /* Collapse opens as a BLOCK below the brand+toggler row — not inline */
  #navbarMenu {
    width: 100%;          /* full width under the navbar */
    background: #fff;
    border-top: 1px solid #E2E8F0;
    padding: .6rem 1rem 1rem;
    /* Bootstrap handles show/hide — we just style the open state */
  }
  /* Stack nav items vertically */
  #navbarMenu .navbar-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    margin: 0 !important;
  }
  #navbarMenu .nav-link {
    padding: .7rem .4rem !important;
    border-bottom: 1px solid #f0f4f8;
    border-radius: 0 !important;
    font-size: .95rem;
    color: #1E293B !important;
  }
  #navbarMenu .nav-link:last-of-type { border-bottom: none; }
  /* Remove desktop underline effect */
  #navbarMenu .nav-link::after { display: none !important; }

  /* Call Now: full width, teal gradient */
  .btn-call-now {
    display: flex !important;
    margin-top: .85rem;
    width: 100%;
    justify-content: center;
    padding: .7rem 1.2rem;
  }
}

/* ── Small phones ── */
@media (max-width: 575px) {
  #mainNavbar .container { padding-left: .85rem; padding-right: .85rem; }
  .logo-image { height: 46px; }
  #navbarMenu { padding-left: .85rem; padding-right: .85rem; }
}
@media (max-width: 400px) {
  .brand-text { display: none; }
  .logo-image { height: 42px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #0F172A;
  background-image: linear-gradient(135deg,#0F172A 0%,#1a2a4a 55%,#0d2137 100%);
  overflow: hidden;
  /* desktop: generous padding */
  padding: 90px 0 80px;
  min-height: 82vh;
}
/* decorative blobs */
.hero-section::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(20,184,166,.14) 0%,transparent 70%);
  top: -90px; right: -70px;
  animation: floatBg 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(37,99,235,.10) 0%,transparent 70%);
  bottom: 30px; left: 4%;
  animation: floatBg 10s ease-in-out infinite reverse;
  pointer-events: none;
}
/* Fix: z-index for both container types */
.hero-section .container,
.hero-section .container-xl { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(20,184,166,.15);
  border: 1px solid rgba(20,184,166,.35);
  color: #5eead4;
  font-size: .73rem;
  font-weight: 600;
  padding: .32rem .9rem;
  border-radius: 50px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.hero-title {
  font-size: clamp(1.65rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-title .text-accent { color: #14B8A6; }
.hero-sub {
  font-size: clamp(.88rem, 2.2vw, 1.05rem);
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* ============================================================
   CTA BUTTONS
   ============================================================ */
.btn-cta-primary,
.btn-cta-outline,
.btn-cta-whatsapp,
.btn-cta-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 50px;
  padding: .78rem 1.9rem;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: transform .22s, box-shadow .22s, background .22s, color .22s;
  text-decoration: none;
  touch-action: manipulation;
  min-height: 46px;
  white-space: nowrap;
  line-height: 1;
}
.btn-cta-primary {
  background: linear-gradient(135deg,#14B8A6,#06a393);
  color: #fff !important;
  border: none;
}
.btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(20,184,166,.4); color: #fff !important; }

/* OUTLINE — transparent bg, white border always visible on dark hero */
.btn-cta-outline {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,.8);
}
.btn-cta-outline:hover { background: #fff; color: #0F172A !important; border-color: #fff; }

.btn-cta-whatsapp {
  background: #25D366;
  color: #fff !important;
  border: none;
}
.btn-cta-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(37,211,102,.38); color: #fff !important; }

.btn-cta-outline-light {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-cta-outline-light:hover { background: #fff; color: #0F172A !important; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-section {
  background-color: #0F172A;
  background-image: linear-gradient(135deg,#0F172A,#1a2a4a);
  padding: 0;
}
.stat-box {
  padding: 2.2rem 1rem;
  text-align: center;
  /* desktop: vertical dividers */
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-box:last-child { border-right: none; }
.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #14B8A6;
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-lbl {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ============================================================
   ABOUT CARDS (2×2 grid in about intro)
   ============================================================ */
.about-card {
  background: linear-gradient(135deg,#2563EB,#14B8A6);
  color: #fff;
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.about-card.accent-card { background: linear-gradient(135deg,#14B8A6,#06a393); }
.about-card i   { font-size: 1.8rem; margin-bottom: .5rem; display: block; }
.about-card p   { font-size: .82rem; font-weight: 600; margin: 0; line-height: 1.3; }
.about-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15,23,42,.18); }

.about-img-placeholder {
  background: linear-gradient(135deg,#2563EB,#14B8A6);
  border-radius: 14px;
  padding: 2.5rem 1.5rem;
  color: #fff;
  text-align: center;
}
.about-img-placeholder i       { font-size: 3.5rem; opacity: .85; margin-bottom: 1rem; display: block; }
.about-img-placeholder p       { font-size: 1rem; font-weight: 600; margin-bottom: .7rem; }
.about-img-placeholder address { font-style: normal; font-size: .86rem; opacity: .82; line-height: 1.6; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(15,23,42,.13); border-color: #14B8A6; }
.feature-card i   { font-size: 2.2rem; color: #14B8A6; margin-bottom: 1rem; display: block; }
.feature-card h3  { font-size: 1rem; font-weight: 700; color: #0F172A; margin-bottom: .5rem; }
.feature-card p   { font-size: .87rem; color: #64748B; line-height: 1.7; margin: 0; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;
  padding: 1rem .6rem;
}
/* Step content wrapper used in mobile horizontal layout */
.process-step-content { flex: 1; min-width: 0; }

/* Desktop: vertical stacking inside each step */
.step-num {
  font-size: .67rem;
  font-weight: 800;
  color: #14B8A6;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.step-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg,#2563EB,#14B8A6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .65rem;
  box-shadow: 0 4px 14px rgba(37,99,235,.26);
}
.step-icon i  { font-size: 1.2rem; color: #fff; }
.process-step h4 { font-size: .86rem; font-weight: 700; color: #0F172A; margin-bottom: .3rem; }
.process-step p  { font-size: .76rem; color: #64748B; line-height: 1.5; margin: 0; }
.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  color: #14B8A6;
  font-size: .95rem;
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-left: 5px solid #14B8A6;
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  height: 100%;
  transition: box-shadow .25s;
}
.testimonial-card:hover { box-shadow: 0 10px 28px rgba(15,23,42,.11); }
.stars      { color: #f59e0b; margin-bottom: .65rem; font-size: .95rem; letter-spacing: 2px; }
.quote-icon { font-size: 1.8rem; color: #2563EB; opacity: .2; margin-bottom: .5rem; }
.testimonial-card p { font-size: .88rem; color: #1E293B; font-style: italic; line-height: 1.75; margin-bottom: 1rem; }
.testi-author strong { display: block; font-size: .87rem; color: #0F172A; font-weight: 700; }
.testi-author span   { font-size: .77rem; color: #64748B; }

/* ============================================================
   CTA DARK SECTIONS
   ============================================================ */
.cta-section {
  background-color: #0F172A;
  background-image: linear-gradient(135deg,#0F172A 0%,#1a2a4a 100%);
  color: #fff;
  padding: 72px 0;
}
.cta-section h2 { font-size: clamp(1.35rem, 3.5vw, 2rem); font-weight: 800; margin-bottom: .85rem; color: #fff; }
.cta-section p  { font-size: .95rem; color: rgba(255,255,255,.8); margin-bottom: 1.8rem; max-width: 510px; margin-left: auto; margin-right: auto; }
.cta-buttons    { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ============================================================
   PAGE MINI HERO
   ============================================================ */
.page-hero-mini {
  background-color: #0F172A;
  background-image: linear-gradient(135deg,#0F172A,#1a2a4a);
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero-mini h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: .4rem; color: #fff; }
.page-hero-mini p  { color: rgba(255,255,255,.76); font-size: .95rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.mini-stat {
  background: linear-gradient(135deg,rgba(37,99,235,.06),rgba(20,184,166,.06));
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: .85rem;
  text-align: center;
}
.mini-stat span { font-size: 1.45rem; font-weight: 800; color: #14B8A6; display: block; }
.mini-stat p    { font-size: .76rem; color: #64748B; margin: 0; }

.mv-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.8rem;
  height: 100%;
}
.mv-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg,#2563EB,#14B8A6);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.mv-icon.accent { background: linear-gradient(135deg,#14B8A6,#06a393); }
.mv-icon i  { font-size: 1.3rem; color: #fff; }
.mv-card h3 { font-size: 1.05rem; font-weight: 700; color: #0F172A; margin-bottom: .7rem; }
.mv-card ul { padding-left: 1.1rem; color: #64748B; font-size: .87rem; line-height: 2; margin: 0; list-style: disc; }
.mv-card p  { color: #64748B; font-size: .88rem; line-height: 1.8; margin: 0; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-7px); box-shadow: 0 14px 40px rgba(15,23,42,.15); border-color: #14B8A6; }

/* Image wrap — holds the real photo. Falls back to gradient+icon if image missing */
.service-image-wrap {
  height: 180px;
  width: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg,#2563EB,#14B8A6); /* fallback shows while/if img fails */
}
.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.service-card:hover .service-image-wrap img { transform: scale(1.06); }

/* Fallback icon shown only if the <img> fails to load (onerror toggles this) */
.service-image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#2563EB,#14B8A6);
}
.service-image-wrap.img-failed .service-image-fallback { display: flex; }
.service-image-wrap.img-failed img { display: none; }
.service-image-fallback i { font-size: 2.8rem; color: rgba(255,255,255,.9); }

.service-body     { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.service-body h3  { font-size: 1.02rem; font-weight: 700; color: #0F172A; margin-bottom: .45rem; }
.service-body p   { font-size: .84rem; color: #64748B; margin-bottom: .8rem; line-height: 1.7; }
.service-body ul  { margin: 0; margin-top: auto; }
.service-body li  { font-size: .82rem; color: #1E293B; padding: .28rem 0; display: flex; align-items: flex-start; gap: .42rem; border-bottom: 1px solid #f1f5f9; }
.service-body li:last-child { border-bottom: none; }
.service-body li::before { content: '✓'; color: #14B8A6; font-weight: 800; flex-shrink: 0; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.filter-btn {
  padding: .38rem 1rem;
  border: 2px solid #E2E8F0;
  background: #fff;
  color: #1E293B;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: .8rem;
  transition: all .22s;
  touch-action: manipulation;
}
.filter-btn:hover,
.filter-btn.active { border-color: #14B8A6; background: #14B8A6; color: #fff; }

.gallery-col  { display: flex; }
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg,#2563EB,#14B8A6);
  cursor: pointer;
  text-decoration: none;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }

.gallery-item.img-fallback {
  display: flex; align-items: center; justify-content: center;
  min-height: 150px; aspect-ratio: auto;
}
.gallery-item.img-fallback::after {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 2.5rem;
  color: rgba(255,255,255,.65);
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top,rgba(15,23,42,.88),transparent);
  color: #fff;
  font-size: .74rem; font-weight: 600;
  padding: 1.1rem .7rem .55rem;
  transform: translateY(100%);
  transition: transform .26s;
}
.gallery-hover {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .26s;
}
.gallery-hover i { font-size: 1.7rem; color: #14B8A6; }
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-item:hover .gallery-hover   { opacity: 1; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.accordion-item {
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  overflow: hidden;
  margin-bottom: .65rem;
  transition: border-color .22s, box-shadow .22s;
}
.accordion-item:hover { border-color: #14B8A6 !important; box-shadow: 0 4px 14px rgba(20,184,166,.1); }
.accordion-button {
  font-weight: 600; font-size: .93rem;
  color: #0F172A;
  background: #fff;
  padding: 1.1rem 1.3rem;
  box-shadow: none !important;
  border-radius: 10px !important;
  line-height: 1.4;
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg,rgba(37,99,235,.05),rgba(20,184,166,.05));
  color: #14B8A6;
}
.accordion-button::after {
  background-image: none !important;
  content: '';
  width: 15px; height: 15px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .22s;
  flex-shrink: 0;
}
.accordion-button:not(.collapsed)::after { transform: rotate(135deg); }
.accordion-body { padding: .85rem 1.3rem 1.2rem; color: #64748B; font-size: .88rem; line-height: 1.8; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: .85rem; }
.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg,#2563EB,#14B8A6);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .95rem;
}
.contact-info-item > div { display: flex; flex-direction: column; min-width: 0; }
.contact-info-item strong { font-size: .73rem; color: #64748B; text-transform: uppercase; letter-spacing: .55px; margin-bottom: .1rem; }
.contact-info-item a,
.contact-info-item span  { color: #1E293B; font-size: .88rem; font-weight: 500; line-height: 1.5; word-break: break-word; }
.contact-info-item a:hover { color: #14B8A6; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(15,23,42,.07);
}
.contact-form-wrap h3 { font-size: 1.15rem; font-weight: 700; color: #0F172A; margin-bottom: 1.2rem; }

.form-label { font-weight: 600; font-size: .84rem; color: #0F172A; margin-bottom: .28rem; display: block; }
.form-control,
.form-select {
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: .62rem .95rem;
  font-size: .88rem;
  transition: border-color .22s, box-shadow .22s;
  color: #1E293B;
  width: 100%;
  background-color: #fff;
}
.form-control:focus,
.form-select:focus {
  border-color: #14B8A6;
  box-shadow: 0 0 0 3px rgba(20,184,166,.11);
  outline: none;
}

.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  background: linear-gradient(135deg,#2563EB,#14B8A6);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .82rem 2rem;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  width: 100%;
  transition: transform .22s, box-shadow .22s;
  touch-action: manipulation;
  min-height: 48px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,.32); }
.btn-submit:disabled { opacity: .68; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.form-success-msg {
  background: linear-gradient(135deg,rgba(20,184,166,.07),rgba(37,99,235,.07));
  border: 1px solid #14B8A6;
  border-radius: 10px;
  padding: 1.6rem;
  text-align: center;
  margin-top: 1rem;
}
.form-success-msg i  { font-size: 2.2rem; color: #14B8A6; margin-bottom: .65rem; display: block; }
.form-success-msg h4 { font-weight: 700; color: #0F172A; margin-bottom: .3rem; font-size: 1.05rem; }
.form-success-msg p  { color: #64748B; font-size: .86rem; margin: 0; }

.form-error-msg {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px;
  padding: .8rem 1rem;
  font-size: .86rem;
  color: #b91c1c;
  display: flex; align-items: flex-start; gap: .6rem; line-height: 1.6;
}
.form-error-msg i  { flex-shrink: 0; margin-top: .15rem; }
.form-error-msg a  { color: #14B8A6; font-weight: 600; }
.form-error-msg a:hover { text-decoration: underline; }

.fa-spin { animation: spin .8s linear infinite; }

.map-wrap { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 28px rgba(15,23,42,.11); }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background-color: #0F172A;
  color: #fff;
  padding: 3rem 0 1.2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .9rem;
}
.footer-logo  { height: 50px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
.footer-brand-text     { display: flex; flex-direction: column; line-height: 1.2; }
.footer-brand-name     { font-size: .98rem; font-weight: 800; color: #fff; }
.footer-brand-tagline  { font-size: .68rem; font-weight: 600; color: #14B8A6; letter-spacing: .4px; text-transform: uppercase; }
.footer-desc  { color: rgba(255,255,255,.6); font-size: .84rem; line-height: 1.75; }

footer h5 {
  color: #14B8A6;
  font-weight: 700; font-size: .86rem;
  text-transform: uppercase; letter-spacing: .55px;
  margin-bottom: 1rem; margin-top: 0;
}
.footer-links        { list-style: none; padding: 0; margin: 0; }
.footer-links li     { margin-bottom: .5rem; }
.footer-links a      { color: rgba(255,255,255,.6); font-size: .84rem; display: flex; align-items: center; gap: .5rem; transition: color .2s, padding-left .18s; }
.footer-links a:hover{ color: #14B8A6; padding-left: 3px; }
.footer-links i      { font-size: .6rem; color: #14B8A6; flex-shrink: 0; }

.footer-contact     { list-style: none; padding: 0; margin: 0; }
.footer-contact li  { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .65rem; color: rgba(255,255,255,.6); font-size: .84rem; line-height: 1.55; }
.footer-contact i   { color: #14B8A6; flex-shrink: 0; margin-top: .17rem; }
.footer-contact a   { color: rgba(255,255,255,.6); }
.footer-contact a:hover { color: #14B8A6; }

.footer-social { display: flex; gap: .65rem; flex-wrap: wrap; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .92rem;
  transition: background .22s, color .22s, transform .22s;
  touch-action: manipulation;
}
.footer-social a:hover { background: #14B8A6; border-color: #14B8A6; color: #fff; transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
  margin-top: 1.6rem;
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: .78rem;
  line-height: 1.6;
}
.footer-visitor-count {
  font-size: .74rem;
  color: rgba(255,255,255,.35);
}
.footer-visitor-count i {
  color: #14B8A6;
  margin-right: .25rem;
}
#visitCount {
  color: #14B8A6;
  font-weight: 700;
}
.footer-powered { font-size: .76rem; color: rgba(255,255,255,.35); margin: .2rem 0 0; }
.footer-powered a { color: #14B8A6; font-weight: 600; }
.footer-powered a:hover { color: #5eead4; }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 998; /* below navbar (1050) but above content */
  width: 54px; height: 54px;
  background: linear-gradient(135deg,#25D366,#1fac54);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.55rem;
  box-shadow: 0 5px 18px rgba(37,211,102,.4);
  transition: transform .28s, box-shadow .28s;
  text-decoration: none;
  touch-action: manipulation;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 9px 26px rgba(37,211,102,.55); color: #fff; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── 1200px: large desktop padding ── */
@media (max-width: 1199px) {
  .section-pad { padding: 65px 0; }
}

/* ── 991px: tablet landscape ── */
@media (max-width: 991px) {
  .section-pad       { padding: 55px 0; }
  .cta-section       { padding: 58px 0; }
  .hero-section      { padding: 65px 0 58px; min-height: auto; }
  .process-step      { max-width: 165px; }
  .service-image-wrap { height: 155px; }
  .map-wrap iframe   { height: 350px; }
}

/* ── 767px: tablet portrait / large phone ── */
@media (max-width: 767px) {
  .section-pad  { padding: 46px 0; }
  .cta-section  { padding: 48px 0; }

  /* hero */
  .hero-section { padding: 52px 0 48px; min-height: auto; }
  .hero-sub     { max-width: 100%; }
  /* stack hero buttons, each full width */
  .hero-buttons { flex-direction: column; }
  .hero-buttons > * { width: 100%; }

  /* stats: 2×2 on mobile — remove side dividers, add bottom */
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 1.4rem .8rem;
  }
  .stat-box:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.07); }
  .stat-box:nth-child(3),
  .stat-box:nth-child(4)    { border-bottom: none; }

  /* process: vertical flow with icon+text side by side */
  .process-grid  { flex-direction: column; align-items: center; }
  .process-step  { max-width: 340px; width: 100%; padding: .85rem 1.2rem; display: flex; gap: 1rem; text-align: left; align-items: flex-start; flex: none; }
  .process-step-content { flex: 1; min-width: 0; }
  .process-step-content .step-num { margin-bottom: .15rem; }
  .step-icon  { flex-shrink: 0; margin: 0; width: 48px; height: 48px; }
  .step-icon i { font-size: 1.1rem; }
  .process-arrow { padding: 0; transform: rotate(90deg); margin: -.4rem auto; display: flex; }

  /* testimonials */
  .testimonial-card { padding: 1.4rem 1.2rem; }

  /* cta buttons stack */
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons > * { width: 100%; }

  /* contact */
  .contact-form-wrap { padding: 1.5rem 1.1rem; }
  .map-wrap iframe   { height: 270px; }

  /* page hero */
  .page-hero-mini { padding: 44px 0 36px; }

  /* footer: add spacing between stacked columns */
  footer          { padding: 2.4rem 0 1rem; }
  footer .col-12,
  footer .col-6,
  footer .col-sm-6 { margin-bottom: 1.5rem; }
  footer .col-12:last-child,
  footer .col-6:last-child,
  footer .col-sm-6:last-child { margin-bottom: 0; }
}

/* ── 575px: phones ── */
@media (max-width: 575px) {
  .section-pad { padding: 38px 0; }
  .cta-section { padding: 42px 0; }

  /* Container side padding so content never touches screen edge */
  .container,
  .container-xl { padding-left: .85rem !important; padding-right: .85rem !important; }

  /* hero */
  .hero-section { padding: 44px 0 40px; }
  .hero-badge   { font-size: .68rem; padding: .28rem .75rem; }

  /* all CTA buttons consistent sizing */
  .btn-cta-primary,
  .btn-cta-outline,
  .btn-cta-whatsapp,
  .btn-cta-outline-light { padding: .7rem 1.4rem; font-size: .87rem; }

  /* section titles */
  .section-title { font-size: 1.42rem; }

  /* feature cards — full width (col-12) override */
  .feature-card { padding: 1.5rem 1.1rem; }
  .feature-card i { font-size: 1.9rem; }

  /* service icon wrap smaller */
  .service-image-wrap { height: 140px; }
  .service-image-fallback i { font-size: 2.3rem; }

  /* gallery filters wrap nicely */
  .filter-btn { padding: .34rem .85rem; font-size: .78rem; }

  /* gallery: keep 2-col (col-6) — aspect-ratio handles height */
  /* No override needed — Bootstrap col-6 stays */

  /* contact */
  .contact-form-wrap { padding: 1.2rem .95rem; }
  .contact-form-wrap h3 { font-size: 1rem; }
  .ci-icon { width: 38px; height: 38px; font-size: .88rem; }

  /* about img */
  .about-img-placeholder { padding: 2rem 1.2rem; }
  .about-img-placeholder i { font-size: 3rem; }

  /* mini-stat */
  .mini-stat span { font-size: 1.3rem; }
  .mini-stat p    { font-size: .73rem; }

  /* about cards */
  .about-card { padding: 1.1rem .85rem; }
  .about-card i { font-size: 1.65rem; }
  .about-card p { font-size: .77rem; }

  /* accordion */
  .accordion-button { padding: .85rem 1rem; font-size: .87rem; }
  .accordion-body   { padding: .75rem 1rem 1rem; font-size: .84rem; }

  /* page hero */
  .page-hero-mini { padding: 38px 0 30px; }

  /* map */
  .map-wrap iframe { height: 240px; }

  /* footer */
  .footer-logo { height: 44px; }
  footer h5    { margin-top: .5rem; }

  /* whatsapp FAB */
  .whatsapp-fab { width: 48px; height: 48px; font-size: 1.4rem; bottom: 1rem; right: 1rem; }
}

/* ── 480px: small phones ── */
@media (max-width: 480px) {
  .hero-section  { padding: 38px 0 34px; }
  .section-pad   { padding: 32px 0; }
  .cta-section   { padding: 36px 0; }

  .stat-box  { padding: 1.2rem .6rem; }
  .stat-lbl  { font-size: .71rem; }

  .process-step { padding: .75rem 1rem; }

  /* cta buttons: full width already, just reduce font a touch */
  .cta-buttons > * { font-size: .85rem; padding: .68rem 1.2rem; }
}

/* ── 380px: very small phones (iPhone SE, Galaxy A) ── */
@media (max-width: 380px) {
  .container,
  .container-xl { padding-left: .7rem !important; padding-right: .7rem !important; }

  .hero-section  { padding: 34px 0 30px; }
  .section-pad   { padding: 28px 0; }
  .hero-title    { font-size: 1.42rem; }
  .section-title { font-size: 1.28rem; }

  .btn-cta-primary,
  .btn-cta-outline,
  .btn-cta-whatsapp,
  .btn-cta-outline-light { padding: .65rem 1.1rem; font-size: .83rem; }

  .feature-card { padding: 1.3rem .9rem; }
  .feature-card h3 { font-size: .92rem; }

  .service-image-wrap { height: 125px; }

  .contact-form-wrap { padding: 1rem .8rem; }
  .form-control,
  .form-select  { padding: .55rem .8rem; font-size: .84rem; }

  .accordion-button { padding: .75rem .85rem; font-size: .84rem; }

  .whatsapp-fab { width: 44px; height: 44px; font-size: 1.28rem; bottom: .8rem; right: .8rem; }

  /* gallery: 1 col on very tiny screens */
  .gallery-col { width: 100%; }
}
