
:root {
  --theme-primary: #1877F2;         /* Facebook Blue */
  --theme-primary-rgb: 24, 119, 242;
  --theme-primary-light: #2D88FF;
  --theme-accent: #1877F2;
  --theme-accent-light: #4293FF;
  --theme-dark: #1877F2;            /* Blue used for dark sections */
  --theme-bg-dark: #166FE5;         /* Slightly darker blue */
  --theme-text-dark: #FFFFFF;
  --charcoal: #1C1E21;
  --charcoal-2: #3A3B3C;
  --cream: #F0F2F5;                 /* Facebook light grey background */
  --cream-2: #E4E6EB;               /* Facebook secondary grey */
  --muted: #65676B;                 /* Facebook muted text */
  --text: #050505;                  /* Facebook near-black text */
  --white: #FFFFFF;
  --shadow: 0 1px 2px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Page background */


/* Topbar */
.topbar { background: #1877F2; color: #fff; }
.topbar a { color: #fff !important; }

/* Header */
header { background: #fff; border-bottom: 1px solid #E4E6EB; }
.hamburger { background: #E4E6EB; }
.hamburger span { background: #1C1E21; }

/* Nav drawer */
.nav-drawer { background: #fff; }
.nav-links li a { color: #1C1E21; }
.nav-icon { color: #1877F2; }
.nav-cta-btn { background: #1877F2; color: #fff; }
.nav-cta-btn:hover { background: #166FE5; color: #fff; }

/* Hero section */
.hero-badge {
  color: #1877F2;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
}
.trust-num { color: #fff; }
.trust-label { color: rgba(255,255,255,0.75); }
.trust-item { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* Section labels */
.section-label { background: #E7F3FF; color: #1877F2 !important; border: 1px solid #BBD6FB; }
.section-label.light { background: rgba(255,255,255,0.15); color: #fff !important; }
.section-title { color: #1C1E21; }
.section-title.light { color: #fff; }
.section-desc { color: #65676B; }
.section-desc.light { color: rgba(255,255,255,0.8); }
/* Services has light bg in FB theme — override .light variants to dark */
#services .section-label { background: rgba(255,255,255,0.15); color: #fff !important; border: 1px solid rgba(255,255,255,0.25); }
#services .section-title.light { color: #fff !important; }
#services .section-desc.light { color: rgba(255,255,255,0.8) !important; }

/* Products section */
#products { background: #F0F2F5; }
.product-card { background: #fff; border-color: #E4E6EB; }
.product-name { color: #1C1E21; }
.product-desc { color: #65676B; }
.product-tag { background: #E7F3FF; color: #1877F2; }
.product-enquire { background: #1877F2; color: #fff !important; }
.product-enquire:hover { background: #166FE5; color: #fff !important; }

/* Services (Why us / dark sections) */
.why-strip { background: #1877F2 !important; }
.glassmorphism {
  background: #fff;
  border: 1px solid #E4E6EB;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.glassmorphism .service-body h3 { color: #1877F2; }
.glassmorphism .service-num { color: rgba(24,119,242,0.35); }
.glassmorphism .service-body p { color: #65676B; }
.glassmorphism .service-cta { color: #1877F2; }
#services .service-num { color: rgba(24,119,242,0.35); }

/* Portfolio */
#portfolio { background: #fff; }
.project-card { background: #F0F2F5; }
.project-info h3 { color: #1C1E21; }
.project-info p { color: #65676B; }

/* Testimonials */
#testimonials { background: #1877F2; }
.testimonial-card { background: #fff; border: 1px solid #E4E6EB; }
.t-quote { color: #1C1E21; }
.t-name { color: #1C1E21; }
.t-loc { color: #65676B; }
.t-dot { background: rgba(255,255,255,0.4); }
.t-dot.active { background: #fff; }

/* FAQ */
#faq { background: #F0F2F5; }
.faq-item { border-bottom-color: #E4E6EB; }
.faq-q h3 { color: #1C1E21; }
.faq-a p { color: #65676B; }
.faq-toggle { color: #1877F2; border-color: #1877F2; }

/* Contact */
#contact { background: #1877F2; }
.contact-card { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.contact-card:hover { background: rgba(255,255,255,0.2); }
.contact-card-label { color: rgba(255,255,255,0.7); }
.contact-card-val { color: #fff; }
.contact-card-arrow { color: #fff; }
.contact-form-wrap { background: #fff; border: 1px solid #E4E6EB; }
.contact-form-wrap h3 { color: #1C1E21 !important; border-bottom-color: #E4E6EB !important; }
.form-group label { color: #1C1E21; }
.form-group input,
.form-group textarea,
.form-group select { background: #F0F2F5; color: #1C1E21; border-color: #E4E6EB; }
.contact-address-box { background: rgba(255,255,255,0.15) !important; border-color: rgba(255,255,255,0.25) !important; }
.contact-address-text { color: #fff !important; }
.contact-address-text strong { color: #fff !important; }
.contact-address-time { color: rgba(255,255,255,0.8) !important; }
/* Topbar location text black */
.topbar > span { color: #000 !important; }

/* Footer */
footer { background: #fff !important; color: #1C1E21 !important; border-top: 2px solid #E4E6EB; }
.footer-brand .logo-name { color: #1877F2; }
.footer-brand p { color: #65676B; }
.footer-links h4 { color: #1877F2; }
.footer-links ul li a { color: #65676B; }
.footer-links ul li a:hover { color: #1877F2; }
.footer-contact h4 { color: #1877F2; }
.footer-contact-item { color: #65676B; }
.footer-contact-item a:hover { color: #1877F2; }
.footer-bottom { border-top-color: #E4E6EB; color: #65676B; background: #F0F2F5; }
.footer-amfi { color: #1877F2; }


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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans', 'Noto Sans Devanagari', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── LANG CLASSES ─── */
.hi { display: none !important; }
.en { display: block !important; }
body.lang-hi .hi { display: block !important; }
body.lang-hi .en { display: none !important; }
span.hi { display: none !important; }
span.en { display: inline !important; }
body.lang-hi span.hi { display: inline !important; }
body.lang-hi span.en { display: none !important; }

/* ─── TOP BAR ─── */
.topbar {
  background: var(--theme-dark);
  color: var(--cream);
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  gap: 8px;
  flex-wrap: wrap;
}
.topbar a { color: var(--theme-primary); text-decoration: none; }
.topbar-contact { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar-contact span { display: flex; align-items: center; gap: 5px; }

/* ─── HEADER ─── */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(28,26,23,0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  overflow: hidden;
}
/* Green theme logo icon — image handles its own colors now */
.theme-green .logo-icon {
  box-shadow: 0 2px 8px rgba(0,230,118,0.35);
}
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--theme-dark);
  display: block;
  white-space: nowrap;
}
.logo-tagline { font-size: 0.7rem; color: var(--muted); display: block; white-space: nowrap; }

/* ─── LOGO IMAGES ─── */
.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.logo-img { display: block; object-fit: contain; flex-shrink: 0; }

/* Desktop: horizontal logo visible, vertical hidden */
.logo-desktop { height: 48px; width: auto; }
.logo-mobile  { display: none; }

/* Mobile: vertical logo visible, horizontal hidden */
@media (max-width: 768px) {
  .logo-desktop { display: none; }
  .logo-mobile  { display: block; height: 48px; width: auto; }
  .logo-tagline { display: block; } /* ensure tagline shows on mobile too */
}

/* Footer vertical logo */
.footer-logo-link { display: inline-block; margin-bottom: 14px; }
.footer-logo-img  { height: 100px; max-width: 200px; object-fit: contain; }

.header-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 899px) {
  .header-actions .theme-toggle,
  .header-actions .btn-call { display: none; }
}

/* Lang toggle */
.lang-toggle, .theme-toggle {
  display: flex;
  background: var(--cream-2);
  padding: 4px;
  border-radius: 30px;
  gap: 2px;
  border: 1px solid rgba(0,0,0,0.05);
}
.lang-btn, .theme-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--muted);
}
.lang-btn.active, .theme-btn.active {
  background: var(--theme-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--theme-primary-rgb),0.25);
}
.lang-btn:focus, .theme-btn:focus { outline: none; }

.btn-call {
  background: #1877F2;
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-call:hover { background: #166FE5; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: flex;
  width: 40px;
  height: 40px;
  background: var(--charcoal);
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: none;
}
@media (min-width: 900px) {
  .hamburger { display: none; }
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Nav Menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,26,23,0.6);
  z-index: 1100;
  backdrop-filter: blur(4px);
}
.nav-overlay.open { display: block; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 280px;
  background: var(--charcoal);
  z-index: 1200;
  padding: 24px 0;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.nav-drawer.open { right: 0; }
.nav-close {
  display: flex;
  justify-content: flex-end;
  padding: 0 20px 20px;
}
.nav-close button {
  background: var(--charcoal-2);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}
.nav-links { list-style: none; }
.nav-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.nav-links li a:hover, .nav-links li a.active {
  border-left-color: var(--theme-primary);
  background: rgba(255,255,255,0.05);
}
.active-lang { color: var(--theme-primary); }
.nav-links li a .nav-icon { font-size: 1.1rem; opacity: 0.8; }
.nav-ctas {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.nav-cta-call { background: #1877F2 !important; color: #fff !important; }
.nav-cta-wa { background: #25D366 !important; color: #fff !important; }
.nav-cta-email { background: #1877F2; color: #fff; }

/* ─── HERO ─── */
.hero {
  background: var(--theme-dark) url('assets/hero_bg_facebook_blue.png') center/cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(var(--theme-primary-rgb),0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(196,98,45,0.1) 0%, transparent 45%);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250,246,240,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,246,240,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ─── HERO SEARCH ─── */
.hero-search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 50px;
  padding: 4px 8px 4px 18px;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: box-shadow 0.2s;
}
.hero-search-box:focus-within {
  border-color: #1877F2;
  box-shadow: 0 8px 32px rgba(24,119,242,0.25);
  border-radius: 16px 16px 0 0;
}
.hero-search-icon { font-size: 1rem; flex-shrink: 0; opacity: 0.5; }
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  color: #1C1E21;
  padding: 10px 0;
  font-family: inherit;
  min-width: 0;
}
.hero-search-input::placeholder { color: #65676B; }
.hero-search-clear {
  background: #E4E6EB;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 0.7rem;
  color: #1C1E21;
  flex-shrink: 0;
  transition: background 0.2s;
}
.hero-search-clear:hover { background: #ccd0d5; }
.hero-search-results {
  display: none;
  background: #fff;
  border: 1.5px solid #1877F2;
  border-top: none;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(24,119,242,0.15);
  max-height: 340px;
  overflow-y: auto;
}
.hero-search-results.open { display: block; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #F0F2F5;
  text-decoration: none;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: #E7F3FF; }
.search-result-emoji { font-size: 1.3rem; flex-shrink: 0; width: 36px; text-align: center; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { font-size: 0.88rem; font-weight: 700; color: #1C1E21; }
.search-result-desc { font-size: 0.74rem; color: #65676B; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-product { background: #E7F3FF; color: #1877F2; }
.badge-service { background: #E6F4EA; color: #1E7E34; }
.search-no-results { padding: 20px; text-align: center; color: #65676B; font-size: 0.85rem; }
.search-wa-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: #E6F9EE;
  color: #1E7E34;
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: none;
  cursor: pointer;
  text-decoration: none;
}
.search-wa-btn:hover { background: #d4edda; }
/* ─── HERO COLUMN LAYOUT ─── */
.hero-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 20px;
  position: relative;
  z-index: 2;
  gap: 14px;
}

/* ─── HERO SEARCH WRAP (reset inline styles) ─── */
.hero-search-wrap {
  width: 100%;
  max-width: 620px;
  position: relative;
  z-index: 10;
}

.hero-inner {
  max-width: 800px;
  width: 100%;
  border-radius: 20px;
  padding: 52px 36px 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 600px) {
  .hero-inner { padding: 36px 20px 28px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--theme-primary-rgb),0.15);
  border: 1px solid rgba(var(--theme-primary-rgb),0.3);
  color: var(--theme-primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: fadeDown 0.6s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeDown 0.7s 0.1s ease both;
}
.hero h1 .accent { color: var(--white); }
.hero h1 .terra { color: var(--theme-accent); }
body:not(.theme-green):not() .hero h1 .accent { color: var(--theme-primary); }
.hero h1 .accent { color: #1877F2 !important; }
.hero h1 .terra { color: #1251B5 !important; }
.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: rgba(250,246,240,0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  text-align: center;
  animation: fadeDown 0.7s 0.2s ease both;
}
.hero-ctas, .hero-ctas.animate-line {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  animation: fadeDown 0.7s 0.3s ease both;
}
@media (max-width: 500px) {
  .hero-ctas { gap: 6px; flex-wrap: wrap; }
  .btn-primary, .btn-wa-hero { 
    padding: 12px 6px; 
    font-size: 0.75rem; 
    flex: 1;
    min-width: 0;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
  }
}
.btn-primary {
  background: var(--theme-primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb),0.3);
}
.btn-primary:hover { background: var(--theme-accent); color: var(--theme-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(var(--theme-primary-rgb),0.4); }
.btn-wa-hero {
  background: var(--green-wa);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-wa-hero:hover { filter: brightness(1.1); transform: translateY(-2px); }

.hero-trust {
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
  width: 100%;
  animation: fadeUp 0.8s 0.4s ease both;
}
.trust-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}
.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--theme-primary);
  line-height: 1;
}
.trust-label { font-size: 0.72rem; color: rgba(250,246,240,0.6); margin-top: 3px; }

/* Hero scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(250,246,240,0.4);
  font-size: 0.7rem;
  animation: float 2s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(var(--theme-primary-rgb),0.6), transparent);
}

/* ─── SECTIONS ─── */
section { padding: 72px 20px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E7F3FF;
  color: #1877F2;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid #BBD6FB;
}
.section-label.light {
  background: rgba(var(--theme-primary-rgb),0.15);
  color: var(--white) !important;
}
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--theme-dark);
  margin-bottom: 12px;
}
h2.section-title.light { color: var(--white); }
.section-desc {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.section-desc.light { color: rgba(250,246,240,0.7); }

/* ─── WHY US STRIP ─── */
.why-strip { background: var(--theme-dark) !important; padding: 60px 20px; overflow: hidden; }
.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 3vw, 16px);
}
.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(8px, 2.5vw, 12px);
  padding: clamp(16px, 4vw, 24px) clamp(8px, 2.5vw, 16px);
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.why-icon { width: clamp(38px, 10vw, 48px); height: clamp(38px, 10vw, 48px); background: linear-gradient(135deg, var(--theme-accent), var(--theme-primary)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: clamp(1.1rem, 3vw, 1.4rem); flex-shrink: 0; }
.why-card h3 { color: var(--white); font-size: clamp(0.75rem, 3.5vw, 0.95rem); font-weight: 700; margin-bottom: 4px; word-wrap: break-word; hyphens: auto; }
.why-card p { color: rgba(250,246,240,0.65); font-size: clamp(0.65rem, 3vw, 0.82rem); line-height: 1.4; }

/* ─── PRODUCTS ─── */
#products { background: var(--cream); }
.products-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 12px; 
  margin-top: 30px; 
}
@media (min-width: 600px) {
  .products-grid { 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 30px; 
  }
}
.product-card { 
  background: var(--white); 
  border-radius: 12px; 
  box-shadow: var(--shadow); 
  overflow: hidden; 
  transition: var(--transition); 
  border: 1px solid var(--cream-2); 
  min-width: 0; /* Ensure the card can shrink for 2-column mobile layout */
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img { height: 140px; background: var(--theme-dark); overflow: hidden; }
@media (min-width: 600px) { .product-img { height: 200px; } }
.product-info { padding: 12px; }
.product-name { font-weight: 700; font-size: 0.85rem; color: var(--theme-dark); margin-bottom: 3px; }
.product-desc { font-size: 0.72rem; color: var(--muted); line-height: 1.4; margin-bottom: 10px; }
.product-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(var(--theme-primary-rgb),0.1);
  color: var(--theme-accent);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.product-enquire {
  display: block;
  margin-top: 10px;
  text-align: center;
  background: var(--theme-dark);
  color: var(--white) !important;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.product-enquire:hover { background: var(--theme-accent); color: var(--theme-dark) !important; }

/* Product color strips */
.p1 { background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%); }
.p2 { background: linear-gradient(135deg, #696969 0%, #A9A9A9 100%); }
.p3 { background: linear-gradient(135deg, #2F4F4F 0%, #556B2F 100%); }
.p4 { background: linear-gradient(135deg, #4A3728 0%, #8B7355 100%); }
.p5 { background: linear-gradient(135deg, #1C3A6E 0%, #2E6DA4 100%); }
.p6 { background: linear-gradient(135deg, #8B3A3A 0%, #CD5C5C 100%); }
.p7 { background: linear-gradient(135deg, #2D4A1E 0%, #4CAF50 100%); }
.p8 { background: linear-gradient(135deg, #3D2B1F 0%, #795548 100%); }

/* ─── SERVICES ─── */
#services { background: var(--theme-dark); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}
.service-card:hover { border-color: var(--theme-primary); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(var(--theme-primary-rgb),0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.service-body h3 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.service-body p { color: rgba(250,246,240,0.6); font-size: 0.82rem; line-height: 1.65; }
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--theme-primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
}
.service-cta:hover { color: var(--theme-accent); }

/* ─── PORTFOLIO ─── */
#portfolio { background: var(--cream-2); }
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.proj.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--theme-primary);
  color: var(--theme-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(var(--theme-primary-rgb),0.25);
}
.project-info { padding: 18px; }
.project-info h3 { font-weight: 700; font-size: 1rem; color: var(--theme-dark); margin-bottom: 4px; }
.project-info p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.project-meta { display: flex; gap: 16px; }
.project-meta span { font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.project-meta strong { color: var(--theme-dark); }

/* ─── TESTIMONIALS ─── */
#testimonials { background: var(--theme-bg-dark); overflow: hidden; }
.testimonials-wrapper { position: relative; max-width: 1000px; margin: 40px auto 0; }
.testimonials-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; -ms-overflow-style: none; scrollbar-width: none; }
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 280px;
  max-width: 300px;
  scroll-snap-align: start;
  flex-shrink: 0;
}
.t-stars { color: #FFD700; font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 2px; }
.t-quote {
  font-size: 0.88rem;
  color: rgba(250,246,240,0.8);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.t-name { color: var(--white); font-weight: 600; font-size: 0.85rem; }
.t-loc { color: rgba(250,246,240,0.5); font-size: 0.72rem; }
.t-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.t-dot.active { background: var(--theme-primary); width: 20px; border-radius: 3px; }

/* ─── FAQ ─── */
#faq { background: var(--cream); }
.faq-list { max-width: 680px; }
.faq-item {
  border-bottom: 1px solid var(--cream-2);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  gap: 16px;
}
.faq-q h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.5;
  flex: 1;         /* take all available space */
  min-width: 0;    /* allow text to wrap inside its column */
  padding-top: 2px;
}
.faq-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;  /* never squish */
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  transition: var(--transition);
}
.faq-q .faq-toggle { color: var(--theme-accent); }
.faq-item.open .faq-toggle {
  background: var(--theme-accent);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { font-size: 0.85rem; color: var(--muted); line-height: 1.75; padding-bottom: 18px; }


/* ─── CONTACT ─── */
#contact { background: #1877F2; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-info h2 { color: #fff; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none;
  transition: var(--transition);
}
.contact-card:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.4); }
.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.cc-call { background: rgba(255,255,255,0.2); }
.cc-wa { background: rgba(37,211,102,0.25); }
.cc-email { background: rgba(255,255,255,0.15); }
.contact-card-text { flex: 1; }
.contact-card-label { font-size: 0.72rem; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.contact-card-val { font-size: 0.95rem; font-weight: 700; color: #fff; }
.contact-card-arrow { color: #fff; font-size: 1rem; }

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border: 1px solid #E4E6EB;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.contact-form-wrap h3 {
  color: #1C1E21 !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E4E6EB !important;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #65676B;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #F0F2F5;
  border: 1.5px solid #E4E6EB;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #1C1E21;
  font-size: 0.88rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #1877F2; background: #fff; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }
.form-group select option { background: #fff; color: #1C1E21; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--theme-accent), var(--theme-primary));
  border: none;
  border-radius: 8px;
  color: var(--theme-dark);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(var(--theme-primary-rgb),0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-submit:hover { filter: brightness(1.1); transform: translateY(-1px); }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success .success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success h4 { color: var(--white); margin-bottom: 6px; }
.form-success p { color: rgba(250,246,240,0.6); font-size: 0.85rem; }

/* ─── FLOATING WA ─── */
.float-wa { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; align-items: center; gap: 12px; }
.float-wa-label { background: var(--theme-bg-dark); color: var(--white); padding: 8px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow); animation: fadeLeft 0.5s ease both; }
.float-wa-btn { width: 60px; height: 60px; background: var(--green-wa); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; text-decoration: none; box-shadow: 0 8px 32px rgba(37,211,102,0.4); transition: var(--transition); animation: pulseWA 2s infinite; }
.float-wa-btn:hover { transform: scale(1.1); }

/* ─── GO TO TOP ─── */
.go-top-btn {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1877F2;
  color: #fff;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(24,119,242,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
}
.go-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.go-top-btn:hover {
  background: #166FE5;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(24,119,242,0.45);
}
@keyframes pulseWA { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ─── FOOTER ─── */
footer { background: var(--theme-bg-dark); color: var(--cream); padding: 80px 20px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-brand .logo-name { color: #1877F2 !important; font-size: 1.1rem; }
.footer-brand p { font-size: 0.8rem; color: #65676B !important; margin-top: 10px; line-height: 1.7; }
.footer-links h4 { color: #1877F2 !important; margin-bottom: 16px; font-size: 1rem; font-family: 'Playfair Display', serif; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: #65676B !important; text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-links ul li a:hover { color: #1877F2 !important; }
.footer-contact h4 { color: #1877F2 !important; margin-bottom: 16px; font-size: 1rem; font-family: 'Playfair Display', serif; }
.footer-contact-item { color: #65676B !important; font-size: 0.85rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact-item a { color: inherit; text-decoration: none; transition: var(--transition); }
.footer-contact-item a:hover { color: #1877F2 !important; }
.footer-bottom { border-top: 1px solid #E4E6EB; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; color: #65676B; font-size: 0.75rem; flex-wrap: wrap; gap: 10px; background: #F0F2F5; padding: 16px 0; }
.footer-amfi { color: #1877F2; font-weight: 600; }

/* ─── ANIMATIONS CONSOLIDATED ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@keyframes pulseWA { 
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 
  70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } 
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } 
}
.animate-line { display: inline-block; animation: fadeDown 0.8s ease both; }
/* --- Responsive Breakpoints (Restored) --- */
@media (min-width: 600px) {
  /* products-grid handled by auto-fit now */
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Glassmorphism Utilities (Restored) --- */
.glassmorphism {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.4);
}
.glassmorphism .service-body h3,
.glassmorphism .service-num { color: #1877F2; }
.glassmorphism .service-body p { color: #65676B; }
.glassmorphism .service-cta { color: #1877F2; font-weight: 700; }

.glassmorphism-dark {
  background: var(--theme-bg-dark);
  opacity: 0.95;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}
/* FB theme: white hero card */
.hero-inner.glassmorphism-dark {
  background: rgba(255,255,255,0.95) !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  opacity: 1 !important;
}
/* Fix all text inside the white hero card to dark */
.hero-inner .hero-badge { background: #E7F3FF; color: #1877F2 !important; border-color: #BBD6FB; }
.hero-inner h1 { color: #1C1E21 !important; }
.hero-inner h1 .accent { color: #1877F2 !important; }
.hero-inner h1 .terra { color: #166FE5 !important; }
.hero-inner .hero-sub { color: #65676B !important; }
.hero-inner .trust-num { color: #1877F2 !important; }
.hero-inner .trust-label { color: #65676B !important; }
.hero-inner .trust-item { background: rgba(24,119,242,0.06); border-color: rgba(24,119,242,0.2); }
.hero-inner .btn-primary { background: #1877F2; color: #fff !important; }
.hero-inner .btn-wa-hero { background: #25D366; color: #fff !important; }

/* --- Hero & Projects Refinements (Restored) --- */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.85) 0%, var(--theme-bg-dark) 100%);
  z-index: 0;
}

.hero {
  background-image: url('assets/hero_bg_facebook_blue.png') !important;
  background-size: cover !important;
  background-position: center !important;
}
.hero-bg-overlay {
  background: linear-gradient(135deg, rgba(24,119,242,0.55) 0%, rgba(18,90,196,0.70) 100%) !important;
}
.btn-submit { color: #ffffff !important; }

/* ─── MOBILE: Search bar ─── */
@media (max-width: 600px) {
  .hero-column { padding: 20px 12px 10px; gap: 10px; }
  .hero-search-wrap { max-width: 100%; }
  .hero-search-input { font-size: 0.8rem; }
  .search-result-item { padding: 10px 14px; gap: 8px; }
  .search-result-desc { display: none; }
  .hero-search-results { max-height: 240px; }
  .hero-search-box { padding: 4px 6px 4px 14px; }
}

.project-img {
  height: 220px;
  background: var(--theme-dark);
  overflow: hidden;
  position: relative;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img img {
  transform: scale(1.08);
}
.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1877F2;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
