/* ============================================================
   TECH SAN ENGINEERING SERVICES PTE LTD
   Master Stylesheet — Professional White Theme 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800;900&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  /* Background layers */
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-card: #ffffff;
  --bg-alt: #f2f5f7;

  /* Navy — matched to skmengpl.com */
  --navy: #131d3b;
  --navy-mid: #1a2850;
  --navy-card: #1c2b55;

  /* Brand blue */
  --blue: #1b6cf2;
  /* Kept for contrast in buttons if needed, but skmengpl uses red as primary accent */
  --blue-light: #4d94ff;
  --blue-glow: rgba(27, 108, 242, .18);
  --blue-pale: #e8f0fe;

  /* Primary Accent — Red from skmengpl.com */
  --accent: #cb4154;
  --accent-hover: #b43041;

  /* Accent red for M&E icons */
  --red: #cb4154;
  --red-soft: #fdf5f6;
  --red-soft-alt: #fef2f2;

  /* Text */
  --white: #ffffff;
  --text-dark: #171717;
  /* Dark text from skmengpl.com */
  --text: #424242;
  /* Body text from skmengpl.com */
  --muted: #555d66;
  /* Muted text from skmengpl.com */

  /* Borders */
  --border: rgba(0, 0, 0, .08);
  --border-blue: rgba(27, 108, 242, .18);

  --danger: #ef4444;
  --success: #22c55e;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, .08);
  --shadow-blue: 0 4px 24px rgba(27, 108, 242, .25);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.2;
}

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ─── Utilities ─────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 100px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-head .label::before,
.section-head .label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--blue);
  opacity: .35;
  width: 30px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.highlight {
  color: var(--blue);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .3px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(203, 65, 84, .25);
  /* Subtle red shadow */
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(203, 65, 84, .35);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .55);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-animated:hover svg {
  transform: translateX(4px);
}

/* ─── TOP BAR ───────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  z-index: 1001;
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar a svg {
  width: 15px;
  height: 15px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

.tb-highlight {
  color: #fff !important;
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 40px;
  font-weight: 600;
  transition: background 0.2s;
}

.tb-highlight:hover {
  background: var(--accent-hover);
}

@media (max-width: 800px) {
  .top-bar {
    display: none;
  }

  .navbar {
    top: 0 !important;
  }
}

/* ─── NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, .12);
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border: none;
  background: transparent;
  padding-right: 20px;
  border-right: 1px solid var(--border);
}

.navbar-logo img {
  height: 54px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transition: transform var(--transition);
}

.navbar-logo img:hover {
  transform: scale(1.04);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-links a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--blue);
  background: var(--blue-pale);
}

.navbar-links a.active {
  color: var(--blue);
  font-weight: 600;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.navbar-phone:hover {
  color: var(--blue);
}

.navbar-phone svg {
  width: 15px;
  height: 15px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(16px);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  transform: translateY(-110%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
}

.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

.mobile-menu .btn {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 60px;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1);
  transition: transform 7s ease;
  will-change: transform;
}

.hero-slide.active img {
  transform: scale(1.07);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(16, 24, 43, 0.95) 0%, rgba(16, 24, 43, 0.65) 50%, rgba(16, 24, 43, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(27, 108, 242, .22);
  border: 1px solid rgba(27, 108, 242, .45);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: #7ec8ff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.hero-tag svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(135deg, #7ec8ff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid transparent;
  width: 0;
  animation: typing 3s steps(30, end) forwards, blink-caret 0.8s step-end 6 forwards;
  animation-delay: 0.5s, 0.5s;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--accent);
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04) 2px, transparent 2px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.04) 2px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.04) 2px, transparent 2px),
    radial-gradient(circle at 70% 90%, rgba(255, 255, 255, 0.04) 2px, transparent 2px),
    radial-gradient(circle at 10% 60%, rgba(255, 255, 255, 0.04) 2px, transparent 2px);
  background-size: 150px 150px;
  animation: floatParticles 20s linear infinite;
}

@keyframes floatParticles {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255, 255, 255, .82);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Nav arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-nav:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.hero-nav.prev {
  left: 20px;
}

.hero-nav.next {
  right: 20px;
}

.hero-nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .3s, transform .3s;
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ─── STATS BAR ─────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-num span {
  color: var(--blue-light);
}

.stat-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ─── ABOUT STRIP ───────────────────────────────────────── */
.about-section {
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .12);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.badge-icon svg {
  width: 22px;
  height: 22px;
}

.badge-text strong {
  display: block;
  color: var(--text-dark);
  font-size: .95rem;
  font-weight: 700;
}

.badge-text span {
  font-size: .8rem;
  color: var(--muted);
}

.about-text .label {
  color: var(--blue);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 14px;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

/* ─── SERVICES ──────────────────────────────────────────── */
.services-section {
  background: var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(27, 108, 242, 0.15);
  border-color: var(--blue-glow);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.06);
}

.service-body {
  padding: 24px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 14px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

/* Red variant for facilities / M&E grid */
.service-icon-red {
  background: var(--red-soft);
  color: var(--red);
}

.service-icon-red svg {
  width: 26px;
  height: 26px;
}

.service-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-body p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 10px;
}

.service-link svg {
  width: 15px;
  height: 15px;
}

/* ─── GALLERY ───────────────────────────────────────────── */
.gallery-section {
  background: var(--bg);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--border-blue);
  color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(27, 108, 242, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: height 0.4s ease;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--r-lg);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.gallery-item.hide {
  display: none;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Overlay and Text Reveal */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, .8), transparent 70%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: opacity .4s ease;
  z-index: 2;
}

.gallery-overlay span {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: transform .4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

.tilt-hover {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ─── WHY CHOOSE US ─────────────────────────────────────── */
.why-section {
  background: var(--bg-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.why-card:hover {
  box-shadow: 0 8px 40px rgba(27, 108, 242, .10);
  border-color: var(--border-blue);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 18px;
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.why-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── CTA BANNER ────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f5e 50%, var(--navy-mid) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, .65);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 3px solid var(--blue);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  background: transparent;
}

.footer-brand .logo-wrap img {
  height: 60px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  filter: invert(1) brightness(1.2);
  mix-blend-mode: screen;
  transition: transform var(--transition), filter var(--transition);
}

.footer-brand .logo-wrap img:hover {
  transform: scale(1.04);
  filter: invert(1) brightness(1.4);
}

.footer-brand p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: .3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .88rem;
  color: rgba(255, 255, 255, .45);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--blue-light);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Contact column */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fc-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: rgba(27, 108, 242, .15);
  border: 1px solid rgba(27, 108, 242, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-top: 2px;
}

.fc-icon svg {
  width: 14px;
  height: 14px;
}

.fc-text {
  font-size: .83rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
}

.fc-text strong {
  display: block;
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}

.fc-text a {
  color: rgba(255, 255, 255, .45);
  transition: var(--transition);
}

.fc-text a:hover {
  color: var(--blue-light);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
}

/* ─── PAGE HERO (Inner pages) ───────────────────────────── */
.page-hero {
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, .75), rgba(10, 22, 40, .45));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  padding-top: 104px;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, .6);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, .35);
}

/* ─── SERVICES PAGE ─────────────────────────────────────── */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sfc,
.service-full-card {
  /* service full card */
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.sfc:hover,
.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, .10);
}

.sfc-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.sfc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.sfc:hover .sfc-img img,
.service-full-card:hover .sfc-img img {
  transform: scale(1.05);
}

/* sfc-header: icon + title row inside cards */
.sfc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.sfc-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.sfc-header .sfc-icon {
  margin-bottom: 0;
}

.sfc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.sfc-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sfc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.sfc-icon svg {
  width: 24px;
  height: 24px;
}

.sfc-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.sfc-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

.sfc-body ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sfc-body ul li {
  font-size: .86rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sfc-body ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ─── ABOUT PAGE ────────────────────────────────────────── */
.about-mission {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 64px 0 0;
}

.mission-card {
  padding: 32px;
  border-radius: var(--r-lg);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.mission-card svg {
  width: 36px;
  height: 36px;
  color: var(--blue);
  margin: 0 auto 16px;
}

.mission-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.mission-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── CONTACT PAGE ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.ci-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ci-card:hover {
  border-color: var(--border-blue);
  box-shadow: 0 4px 20px rgba(27, 108, 242, .08);
}

.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.ci-icon svg {
  width: 17px;
  height: 17px;
}

.ci-body h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.ci-body p,
.ci-body a {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.55;
  transition: var(--transition);
}

.ci-body a:hover {
  color: var(--blue);
}

/* Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-form-card>p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 24px;
}

.form-group:not(.form-floating) label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .3px;
  margin-bottom: 5px;
}

.form-group label .req {
  color: var(--danger);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: all var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
  /* Keep transparent for floating label trick */
}

/* Form Floating Logic */
.form-floating label {
  position: absolute;
  top: 14px;
  left: 12px;
  font-size: .92rem;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  background: var(--bg-card);
  padding: 0 4px;
  font-weight: 500;
}

.form-floating.select-floating label {
  top: -8px;
  left: 11px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
}

.form-floating input:focus+label,
.form-floating input:not(:placeholder-shown)+label,
.form-floating textarea:focus+label,
.form-floating textarea:not(:placeholder-shown)+label {
  top: -8px;
  left: 11px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 108, 242, .08);
}

.form-group input.err,
.form-group select.err,
.form-group textarea.err {
  border-color: var(--danger);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a92' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  position: absolute;
  bottom: -18px;
  left: 2px;
  font-size: .75rem;
  color: var(--danger);
}

.form-checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  margin-bottom: 20px;
}

.form-checkbox input[type=checkbox] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-checkbox label {
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(34, 197, 94, .06);
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: var(--r);
  padding: 20px;
  margin-top: 16px;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  width: 26px;
  height: 26px;
  color: var(--success);
  flex-shrink: 0;
}

.form-success strong {
  display: block;
  color: var(--text-dark);
  font-size: .95rem;
  margin-bottom: 3px;
}

.form-success p {
  font-size: .83rem;
  color: var(--muted);
  margin: 0;
}

/* Map embed */
.map-section {
  background: var(--bg-soft);
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
}

.map-embed {
  margin-top: 24px;
  border-radius: 0;
  overflow: hidden;
}

.map-embed iframe {
  display: block;
}

/* ─── WhatsApp FAB ──────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, .45);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wa-fab:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 8px 32px rgba(37, 211, 102, .6);
}

.wa-fab svg {
  width: 28px;
  height: 28px;
  color: #fff;
  display: block;
}

/* Tooltip for WA */
.wa-fab::before {
  content: 'Chat with us';
  position: absolute;
  right: 70px;
  background: var(--text-dark);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.wa-fab:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.chatbot-widget {
  position: fixed;
  bottom: 28px;
  right: 100px;
  z-index: 9999;
}

.chatbot-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(27, 108, 242, 0.4);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  animation: pulseChatbot 2s infinite;
  margin-left: auto;
}

@keyframes pulseChatbot {
  0% {
    box-shadow: 0 0 0 0 rgba(27, 108, 242, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(27, 108, 242, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(27, 108, 242, 0);
  }
}

.chatbot-button:hover {
  transform: scale(1.1);
  background: var(--navy);
  animation: none;
}

.chatbot-button svg {
  width: 26px;
  height: 26px;
}

.chatbot-panel {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 360px;
  height: calc(100vh - 120px);
  max-height: 480px;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
  z-index: 1001;
  /* Ensure panel stays above everything */
}

.chatbot-panel * {
  box-sizing: border-box;
}

.chatbot-widget.active .chatbot-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: var(--navy);
  padding: 0 20px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  height: 64px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header>div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0;
}

.chat-close {
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  transition: color 0.2s;
}

.chat-close:hover {
  color: var(--white);
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-msg.bot {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-input-area {
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-area input:focus {
  border-color: var(--blue);
}

.chat-input-area button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.chat-input-area button:hover {
  background: var(--navy);
}

.chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.chat-quick-reply {
  font-size: 0.8rem;
  background: var(--blue-pale);
  color: var(--blue);
  border: 1px solid rgba(27, 108, 242, 0.2);
  padding: 6px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: max-content;
  max-width: 100%;
}

.chat-quick-reply:hover {
  background: var(--blue);
  color: var(--white);
}

/* ─── Reveal Animation ──────────────────────────────────── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-down,
.reveal-scale,
.reveal-zoom,
.stagger-child {
  opacity: 0;
  transition: opacity .7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal,
.stagger-child {
  transform: translateY(24px);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal-up {
  transform: translateY(-20px);
}

.reveal-down {
  transform: translateY(20px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal-zoom {
  transform: scale(1.05);
}

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

.stag-1 {
  transition-delay: .08s;
}

.stag-2 {
  transition-delay: .16s;
}

.stag-3 {
  transition-delay: .24s;
}

.stag-4 {
  transition-delay: .32s;
}

.stag-5 {
  transition-delay: .40s;
}

/* ─── Keyframes ─────────────────────────────────────────── */
@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 6px var(--blue);
  }

  50% {
    box-shadow: 0 0 18px var(--blue), 0 0 30px rgba(27, 108, 242, .3);
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media(max-width:1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-wrap {
    aspect-ratio: 16/9;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-mission {
    grid-template-columns: 1fr 1fr;
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:768px) {

  .navbar-links,
  .navbar-actions .navbar-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar-actions .btn {
    display: none;
  }

  .navbar-inner {
    height: 60px;
  }

  .navbar-logo img {
    height: 44px;
  }

  .navbar-logo {
    padding-right: 0;
    border-right: none;
  }

  .mobile-menu {
    top: 60px;
  }

  .hero {
    min-height: 100vh;
    padding-top: 70px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-nav {
    display: none;
  }

  .page-hero-content {
    padding-top: 70px;
  }

  .page-hero {
    height: 260px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item {
    height: 220px;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .about-mission {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 32px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-brand .logo-wrap img {
    height: 50px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 14px 0;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .page-hero {
    height: 300px;
  }

  .section-pad {
    padding: 48px 0;
  }

  /* ── Chatbot Mobile Optimization ── */
  .chatbot-widget {
    bottom: 16px;
    right: 16px;
  }

  .chatbot-button {
    width: 52px;
    height: 52px;
  }

  .chatbot-button svg {
    width: 22px;
    height: 22px;
  }

  .chatbot-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    transform: translateY(100%);
    transform-origin: bottom center;
  }

  .chatbot-widget.active .chatbot-panel {
    transform: translateY(0);
  }

  .chat-header {
    border-radius: 0;
    height: 56px;
    padding: 0 16px;
  }

  .chat-body {
    padding: 16px;
  }

  .chat-input-area {
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .chat-input-area input {
    font-size: 16px;
  }

  .wa-fab {
    bottom: 16px;
    right: 80px;
    width: 48px;
    height: 48px;
  }

  .wa-fab svg {
    width: 24px;
    height: 24px;
  }

  .wa-fab::before {
    display: none;
  }
}

/* ── Tablet Chatbot ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .chatbot-widget {
    bottom: 20px;
    right: 20px;
  }

  .chatbot-button {
    width: 56px;
    height: 56px;
  }

  .chatbot-panel {
    width: 340px;
    max-height: 440px;
    bottom: 68px;
  }

  .wa-fab {
    bottom: 20px;
    right: 88px;
    width: 50px;
    height: 50px;
  }

  .navbar-inner {
    height: 64px;
  }

  .navbar-logo img {
    height: 48px;
  }

  .footer {
    padding: 40px 0 0;
  }
}