/* ============================================================
   The Primary Ladprao 101 Nursing Care - Custom Styles
   Color Scheme: Deep Teal (#0d3b38) + Green (#1f8a4c) + Gold (#d4af37)
   ============================================================ */

:root {
  --navy:       #0d3b38;
  --navy-mid:   #14564f;
  --navy-light: #1c7a6a;
  --blue:       #1f8a4c;
  --blue-light: #2e9e6b;
  --primary:    #1f8a4c;
  --accent:     #d4af37;
  --accent-2:   #2e7d32;
  --white:      #ffffff;
  --gray-light: #f3f8f5;
  --gray:       #6b7d77;
  --text:       #15302c;
  --shadow:     0 8px 30px rgba(13,59,56,0.16);
  --shadow-lg:  0 20px 60px rgba(13,59,56,0.26);
  --radius:     12px;
  --radius-lg:  20px;
  --trans:      all 0.3s ease;
}

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

body {
  font-family: 'Prompt', 'Sarabun', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

a { color: var(--blue); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 12px;
  color: var(--navy);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title.center::after { left: 50%; transform: translateX(-50%); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 48px;
}

.text-accent   { color: var(--accent) !important; }
.text-navy     { color: var(--navy)   !important; }
.bg-navy       { background-color: var(--navy) !important; }
.text-warning  { --bs-text-opacity: 1; color: #c4b5fd !important; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar a         { color: var(--accent); font-weight: 600; }
.topbar a:hover   { color: #fff; }
.topbar-phone, .topbar-line { white-space: nowrap; }

/* ===== NAVBAR (modern v2 — glass / gradient underline) ===== */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 6px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 6px 28px rgba(13,59,56,0.08),
              0 1px 0 rgba(31,138,76,0.06);
  border-bottom: 1px solid rgba(31,138,76,0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar-glow {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #1f8a4c 30%, #3b82f6 70%, transparent 100%);
  opacity: 0.6;
  pointer-events: none;
}

/* Toggler — animated 3 bars (mobile only) */
.main-navbar .navbar-expand-lg .navbar-toggler,
.main-navbar.navbar-expand-lg .navbar-toggler { display: none; }
@media (max-width: 991.98px) {
  .main-navbar.navbar-expand-lg .navbar-toggler { display: flex; }
}
.main-navbar .navbar-toggler {
  position: relative;
  border: none;
  background: linear-gradient(135deg, rgba(31,138,76,0.08), rgba(59,130,246,0.08));
  border-radius: 10px;
  padding: 10px 11px;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.main-navbar .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(31,138,76,0.25); }
.main-navbar .navbar-toggler:hover {
  background: linear-gradient(135deg, rgba(31,138,76,0.15), rgba(59,130,246,0.15));
}
.navbar-toggler-bar {
  display: block;
  width: 22px; height: 2px;
  background: #1f8a4c;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.main-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.main-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(2) { opacity: 0; }
.main-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Brand / logo */
.navbar-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  overflow: hidden;
  border-radius: 12px;
}
.navbar-brand-logo { padding: 4px 6px; }
.nav-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}
.navbar-brand:hover .nav-logo-img {
  transform: scale(1.04) rotate(-2deg);
  filter: drop-shadow(0 6px 14px rgba(31,138,76,0.32));
}
.nav-logo-shine {
  position: absolute;
  top: 0; left: -120%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(167,139,250,0.4) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.7s ease;
  z-index: 1;
}
.navbar-brand:hover .nav-logo-shine { left: 130%; }

/* Nav links */
.main-navbar .nav-link {
  position: relative;
  color: #0d3b38 !important;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.4px;
  padding: 10px 16px !important;
  border-radius: 10px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.main-navbar .nav-link i {
  font-size: 0.82rem;
  background: linear-gradient(135deg, #1f8a4c, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.main-navbar .nav-link:hover { background: rgba(31,138,76,0.06); transform: translateY(-1px); }
.main-navbar .nav-link:hover i { transform: scale(1.18) rotate(-6deg); }

/* Animated underline */
.nav-link-bar {
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, #1f8a4c, #3b82f6);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.65,0,0.35,1);
}
.main-navbar .nav-link:hover .nav-link-bar { transform: scaleX(1); }
.main-navbar .nav-link.active {
  color: #1f8a4c !important;
  background: linear-gradient(135deg, rgba(31,138,76,0.10), rgba(59,130,246,0.10));
}
.main-navbar .nav-link.active .nav-link-bar { transform: scaleX(1); }
.main-navbar .nav-link.active i {
  -webkit-text-fill-color: initial;
  color: #fde047;
  filter: drop-shadow(0 2px 4px rgba(31,138,76,0.4));
}

/* Call CTA — gradient + meta */
.btn-call {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 0 !important;
  border: none !important;
  border-radius: 50px !important;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(31,138,76,0.40);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.btn-call-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1f8a4c 0%, #3b82f6 100%);
  background-size: 200% 200%;
  z-index: -1;
  transition: background-position 0.5s ease;
}
.btn-call-content {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  color: #fff;
}
.btn-call-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: #fde047;
  position: relative;
}
.btn-call-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
  animation: btnCallRing 2s ease-out infinite;
}
@keyframes btnCallRing {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.btn-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}
.btn-call-text small {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.btn-call-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.btn-call:hover {
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 32px rgba(31,138,76,0.55);
}
.btn-call:hover .btn-call-bg { background-position: 100% 0; }
.btn-call::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-call:hover::after { left: 130%; }

/* Mobile collapsed menu */
@media (max-width: 991px) {
  .main-navbar .navbar-collapse {
    margin-top: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
    border-radius: 18px;
    border: 1px solid rgba(31,138,76,0.10);
    box-shadow: 0 16px 40px rgba(13,59,56,0.12);
  }
  .main-navbar .nav-link { padding: 12px 16px !important; font-size: 0.95rem; }
  .nav-link-bar { display: none; }
  .main-navbar .nav-link.active { background: linear-gradient(135deg,#1f8a4c,#3b82f6); color: #fff !important; }
  .main-navbar .nav-link.active i { -webkit-text-fill-color: #fde047; color: #fde047; }
  .nav-logo-img { height: 48px; }
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../img-content/14.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transform: scale(1.02);
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.06); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(13,37,80,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--accent);
  font-size: 0.82rem; font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(245,197,24,0); }
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(245,197,24,0.5);
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-size: 2rem; font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.65);
  margin-top: 4px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn-hero-primary {
  position: relative;
  background: linear-gradient(135deg, #1f8a4c 0%, #3b82f6 100%);
  background-size: 200% 200%;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 24px rgba(31,138,76,0.45);
  transition:
    transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.3s ease,
    background-position 0.5s ease;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.btn-hero-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-hero-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(31,138,76,0.6);
  background-position: 100% 0;
}
.btn-hero-primary:hover::after { left: 130%; }
.btn-hero-primary i { transition: transform 0.3s ease; }
.btn-hero-primary:hover i { transform: scale(1.1) rotate(-6deg); }
.btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero feature cards at bottom */
.hero-features {
  position: relative; z-index: 2;
  margin-top: 40px;
}
.hero-feature-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.hero-feature-card:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(245,197,24,0.2);
}
.hero-feature-card i {
  font-size: 2rem; color: var(--accent);
  margin-bottom: 10px;
}
.hero-feature-card h6 { color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.hero-feature-card p { color: #6c757d; font-size: 0.82rem; margin: 0; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
section.bg-alt { background: var(--gray-light); }

/* ===== SERVICE CARDS ===== */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  height: 100%;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  position: relative;
  overflow: hidden;
  height: 300px;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }

/* Slideshow inside service-card-img (when album has 2+ images) */
.service-card-slideshow {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.service-card-slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease, transform 0.5s ease;
}
.service-card-slideshow img.is-active { opacity: 1; }
.service-card:hover .service-card-slideshow img.is-active { transform: scale(1.08); }

/* Dot indicators */
.service-card-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
}
.service-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: width .3s ease, background .3s ease;
}
.service-card-dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: #fff;
}

.service-card-icon { display: none; }
.service-card-body {
  padding: 32px 24px 24px;
  flex: 1; display: flex; flex-direction: column;
}
.service-card-body h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.service-card-body p {
  font-size: 0.9rem; color: var(--gray);
  flex: 1; margin-bottom: 18px;
}
.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1f8a4c;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  transition: var(--trans);
  align-self: flex-start;
}
.btn-service:hover { background: var(--accent); color: var(--navy); }

/* ===== WHY US ===== */
.why-us-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.why-us-section .section-title { color: #fff; }
.why-us-section .section-title::after { background: var(--accent); }
.why-us-section .section-subtitle { color: rgba(255,255,255,0.65); }
.why-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: var(--trans);
}
.why-card:hover {
  background: rgba(167,139,250,0.10);
  border-color: rgba(167,139,250,0.40);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(31,138,76,0.25);
}
.why-card-icon {
  position: relative;
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #1f8a4c 0%, #3b82f6 100%);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 12px 28px rgba(31,138,76,0.50);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.why-card-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: linear-gradient(135deg, #d4af37, #60a5fa);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.why-card:hover .why-card-icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 16px 36px rgba(31,138,76,0.65);
}
.why-card:hover .why-card-icon::after { opacity: 0.45; }
.why-card h5 { color: #fff; font-weight: 700; margin-bottom: 10px; }
.why-card p  { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

/* ===== GALLERY PREVIEW ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(10,22,40,0);
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.gallery-item-overlay i {
  font-size: 2rem; color: #fff;
  opacity: 0; transform: scale(0.5);
  transition: var(--trans);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-item-overlay { background: rgba(10,22,40,0.6); }
.gallery-item:hover .gallery-item-overlay i { opacity: 1; transform: scale(1); }

/* ===== ARTICLE CARDS ===== */
.article-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  height: 100%;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.article-card-img {
  height: 300px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.78rem; color: var(--gray);
  margin-bottom: 10px;
}
.article-card-body h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; flex: 1;
  line-height: 1.45;
}
.article-title-link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(90deg, #1f8a4c, #3b82f6);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.3s ease, background-size 0.4s cubic-bezier(0.65,0,0.35,1);
}
.article-title-link:hover {
  color: #1f8a4c;
  background-size: 100% 2px;
}
.article-card-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 18px; }

/* "อ่านเพิ่มเติม" — solid gradient button */
.btn-read {
  position: relative;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  font-size: 0.85rem; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1f8a4c 0%, #3b82f6 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 6px 18px rgba(31,138,76,0.35);
  transition:
    transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.3s ease,
    background-position 0.5s ease;
}
.btn-read i { transition: transform 0.3s ease; }
.btn-read::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-read:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(31,138,76,0.55);
  background-position: 100% 0;
}
.btn-read:hover i { transform: translateX(4px); }
.btn-read:hover::after { left: 130%; }

/* Make whole card feel clickable */
.article-card { cursor: default; }
.article-card:hover .article-title-link { color: #1f8a4c; }

/* ===== NO RESULT ===== */
.no-result-wrap {
  text-align: center;
  padding: 48px 24px 36px;
  background: linear-gradient(135deg,#f8faff,#eef3ff);
  border-radius: 20px;
  border: 2px dashed #c7d7f5;
  margin-bottom: 40px;
}
.no-result-icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  background: linear-gradient(135deg,#e8eeff,#d6e4ff);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #1f8a4c;
}
.no-result-title { font-size: 1.2rem; color: #1e2d42; margin-bottom: 10px; font-weight: 600; }
.no-result-title strong { color: #14564f; }
.no-result-sub { color: #6b7a99; font-size: 0.9rem; margin-bottom: 22px; }
.no-result-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  border-radius: 50px; padding: 10px 24px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.no-result-btn:hover { background: #14564f; color: #fff; transform: translateY(-2px); }
.suggested-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.suggested-label span {
  font-size: 1.1rem; font-weight: 700; color: #1e2d42;
  display: flex; align-items: center;
}
.suggested-label span i { color: #3b82f6; }
.suggested-label::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(90deg,#e2e8f0,transparent);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #fff 0%, #fff1ba 100%);
  padding: 70px 0;
}
.cta-section h2 { color: var(--navy); font-weight: 900; }
.cta-section p  { color: rgba(10,22,40,0.7); }
.btn-cta-primary {
  background: var(--navy);
  color: #fff;
  font-size: 1.1rem; font-weight: 800;
  padding: 15px 36px; border-radius: 50px;
  border: none; transition: var(--trans);
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 25px rgba(10,22,40,0.3);
}
.btn-cta-primary:hover {
  background: #fff; color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(10,22,40,0.2);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; color: #fff;
  margin-bottom: 8px;
}
.page-hero-title span { color: #ffa700; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.breadcrumb-item.active { color: #1f8a4c; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===== GALLERY PAGE ===== */
.gallery-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 7px 20px;
  border: 2px solid var(--navy-light);
  color: var(--navy);
  background: transparent;
  border-radius: 50px;
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: var(--trans);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-full-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}
.gallery-full-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-full-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,22,40,0.85));
  color: #fff; font-size: 0.82rem;
  padding: 24px 12px 12px;
  opacity: 0; transition: var(--trans);
}
.gallery-full-item:hover .gallery-caption { opacity: 1; }

/* ===== SERVICES PAGE ===== */
.service-detail-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.service-detail-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}
.service-detail-body { padding: 36px; }
.service-detail-body h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 16px; }
.service-detail-body h3 { font-size: 1.1rem; color: var(--navy-mid); margin: 16px 0 8px; }
.service-detail-body ul { padding-left: 20px; color: var(--text); }
.service-detail-body ul li { margin-bottom: 8px; }
.service-icon-big {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--accent), #f09000);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--navy);
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(245,197,24,0.35);
}

/* ===== ARTICLE PAGE ===== */
.article-content h2 { font-size: 1.5rem; margin-top: 32px; margin-bottom: 12px; }
.article-content h3 { font-size: 1.2rem; margin-top: 24px; margin-bottom: 10px; color: var(--navy-mid); }
.article-content p  { margin-bottom: 16px; line-height: 1.9; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: var(--navy); }
.article-hero-img {
  width: 100%; max-height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.article-sidebar-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.article-sidebar-card h5 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.related-article {
  display: flex; gap: 12px; margin-bottom: 14px;
  text-decoration: none !important;
}
.related-article img {
  width: 70px; height: 70px;
  object-fit: cover; border-radius: 8px; flex-shrink: 0;
}
.related-article-info h6 {
  font-size: 0.85rem; font-weight: 700;
  color: var(--navy); margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--trans);
}
.related-article:hover h6 { color: var(--blue); }
.related-article-info small { font-size: 0.75rem; color: var(--gray); }

/* ===== CONTACT PAGE ===== */
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  height: 100%;
}
.contact-info-card h3 { color: #1f8a4c; margin-bottom: 8px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #1f8a4c;
}
.contact-item-text strong { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 3px; }
.contact-item-text a { color: #fff; font-size: 1rem; font-weight: 600; }
.contact-item-text a:hover { color: var(--accent); }
.contact-item-text span { color: #fff; font-size: 1rem; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { color: var(--navy); margin-bottom: 24px; }
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.form-control, .form-select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.95rem;
  transition: var(--trans);
  font-family: 'Prompt', 'Sarabun', sans-serif;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.1);
}
.btn-submit {
  background: var(--navy);
  color: #fff;
  font-weight: 700; font-size: 1rem;
  padding: 13px 36px; border-radius: 50px;
  border: none; transition: var(--trans);
  width: 100%;
}
.btn-submit:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ===== FAB Speed-Dial (modern) ===== */
.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1000;
  width: 64px;
  height: 64px;
}
.fab-toggle-input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 3;
}

/* ----- Main button ----- */
.fab-main {
  position: absolute;
  inset: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1f8a4c 0%, #3b82f6 100%);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(31,138,76,0.45),
              0 4px 12px rgba(59,130,246,0.35);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease;
  z-index: 2;
}
.fab-main:hover { transform: scale(1.06); }
.fab-toggle-input:checked ~ .fab-main {
  transform: rotate(135deg);
  background: linear-gradient(135deg, #3b82f6 0%, #1f8a4c 100%);
  box-shadow: 0 8px 24px rgba(13,59,56,0.5);
}

/* Icon swap (default ↔ close) */
.fab-icon {
  position: absolute;
  transition: transform .35s ease, opacity .25s ease;
}
.fab-icon--open  { opacity: 1; transform: rotate(0)      scale(1); }
.fab-icon--close { opacity: 0; transform: rotate(-135deg) scale(.5); }
.fab-toggle-input:checked ~ .fab-main .fab-icon--open  { opacity: 0; transform: rotate(135deg) scale(.5); }
.fab-toggle-input:checked ~ .fab-main .fab-icon--close { opacity: 1; transform: rotate(0)      scale(1); }

/* Pulsing rings (idle attention) */
.fab-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(31,138,76,0.55);
  animation: fab-ping 2.4s ease-out infinite;
  pointer-events: none;
}
.fab-ring--2 { animation-delay: 1.2s; }
.fab-toggle-input:checked ~ .fab-main .fab-ring { animation: none; opacity: 0; }
@keyframes fab-ping {
  0%   { transform: scale(1);   opacity: 0.7; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ----- Child action items ----- */
.fab-item {
  position: absolute;
  left: 7px;            /* center 50px inside 64px wrapper */
  bottom: 7px;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  transform: translateY(0) scale(.4);
  opacity: 0;
  pointer-events: none;
  transition:
    transform .42s cubic-bezier(.34,1.56,.64,1),
    opacity .25s ease,
    box-shadow .25s ease;
  transition-delay: 0s;
}
.fab-toggle-input:checked ~ .fab-item {
  transform: translateY(calc(var(--i) * -68px)) scale(1);
  opacity: 1;
  pointer-events: auto;
  transition-delay: calc(var(--i) * 60ms);
}
.fab-item:hover { transform: translateY(calc(var(--i) * -68px)) scale(1.1); }

/* Item color variants */
.fab-call     { background: linear-gradient(135deg, #10b981, #059669); }
.fab-call-alt { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.fab-line     { background: linear-gradient(135deg, #06c755, #00b900); }

/* Sliding label */
.fab-item::before {
  content: attr(data-label);
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #15302c;
  color: #fff;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.fab-item::after {
  content: "";
  position: absolute;
  right: 53px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid #15302c;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  opacity: 0;
  transition: opacity .25s ease;
}
.fab-item:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.fab-item:hover::after  { opacity: 1; }

@media (max-width: 575px) {
  .fab-stack { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .fab-main  { width: 58px; height: 58px; font-size: 1.35rem; }
  .fab-item  { width: 46px; height: 46px; left: 6px; bottom: 6px; font-size: 1.1rem; }
  .fab-toggle-input:checked ~ .fab-item { transform: translateY(calc(var(--i) * -62px)) scale(1); }
  .fab-item:hover { transform: translateY(calc(var(--i) * -62px)) scale(1.05); }
  .fab-item::before, .fab-item::after { display: none; }
}

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); }
.footer-top { padding: 60px 0 40px; }
.footer-logo {
  font-size: 1.4rem; font-weight: 900; color: #fff;
}
.footer-logo i {
  background: linear-gradient(135deg, #d4af37, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(167,139,250,0.4));
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 1rem;
  transition: var(--trans);
}
.social-links a:hover { background: var(--accent); color: var(--navy); }

/* Footer Tag Cloud */
.footer-tags { }
.footer-tags-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.footer-tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-tag-chip {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.footer-tag-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  transform: translateY(-1px);
}

.footer-title {
  position: relative;
  color: #ffffff;
  font-size: 1rem; font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(167,139,250,0.18);
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 36px; height: 2px;
  background: linear-gradient(90deg, #d4af37, #60a5fa);
  border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--trans); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.sidebar-links a { color: var(--text); }
.sidebar-links a:hover { color: var(--primary); }
/* ===== FOOTER CONTACT (fc-*) ===== */
.fc-list { display: flex; flex-direction: column; gap: 6px; }
.fc-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 12px 14px;
  transition: background 0.2s;
}
.fc-item:hover { background: rgba(255,255,255,0.07); }
.fc-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.fc-icon--phone { background: rgba(255,193,7,0.15); color: #ffc107; }
.fc-icon--line  { background: rgba(6,199,85,0.15);  color: #06c755; }
.fc-icon--fb    { background: rgba(24,119,242,0.15); color: #4f96ff; }
.fc-icon--map   { background: rgba(239,83,80,0.15);  color: #ef5350; }
.fc-icon--clock { background: rgba(156,39,176,0.15); color: #ce93d8; }
.fc-body { flex: 1; min-width: 0; }
.fc-label {
  display: block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45); text-transform: uppercase;
  margin-bottom: 5px;
}
.fc-phones { display: flex; flex-direction: column; gap: 3px; }
.fc-phone {
  display: inline-block;
  color: #fff; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none;
  transition: color 0.2s;
}
.fc-phone:hover { color: var(--accent); }
.fc-value {
  display: block;
  color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; line-height: 1.4;
  word-break: break-word;
  transition: color 0.2s;
}
a.fc-value:hover { color: var(--accent); }
.badge-24h {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.6rem; font-weight: 800;
  padding: 1px 7px; border-radius: 50px;
  margin-left: 5px; vertical-align: middle;
  letter-spacing: 0.03em;
}
/* ===== FOOTER STATS BAR ===== */
.footer-stats-bar {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
}
.footer-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.footer-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
}
.footer-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.footer-stat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-stat-dot.online {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.8);
  animation: pulse-green 1.5s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 4px rgba(34,197,94,0.6); }
  50%      { box-shadow: 0 0 10px rgba(34,197,94,1); }
}
.footer-stat-icon {
  color: var(--accent);
  font-size: 0.75rem;
}
.footer-stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
}
.footer-stat-num {
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
}
.footer-stat-unit {
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
}
@media (max-width: 480px) {
  .footer-stats-inner { justify-content: flex-start; }
  .footer-stat-item { padding: 5px 12px; font-size: 0.78rem; }
  .footer-stat-divider { height: 22px; }
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

/* ===== UTILITY ===== */
.tag-badge {
  display: inline-block;
  background: rgba(212,175,55,0.08);
  color: var(--blue);
  font-size: 0.75rem; font-weight: 600;
  padding: 3px 12px; border-radius: 50px;
  border: 1px solid rgba(212,175,55,0.2);
  transition: var(--trans);
  cursor: pointer;
}
a.tag-badge:hover {
  background: #1f8a4c;
  color: #fff;
  border-color: #1f8a4c;
  text-decoration: none;
}
.alert-success-custom {
  background: linear-gradient(135deg, #e8f5e9, #f1fff1);
  border-left: 4px solid #4caf50;
  color: #2e7d32;
  border-radius: 10px;
  padding: 16px 20px;
}
.alert-danger-custom {
  background: linear-gradient(135deg, #ffebee, #fff5f5);
  border-left: 4px solid #ef5350;
  color: #c62828;
  border-radius: 10px;
  padding: 16px 20px;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== COVER BANNER ===== */
.cover-banner-wrap {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.cover-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== HERO SWIPER (modern v2 — purple/blue) ===== */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(48px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-swiper-wrap {
  position: relative;
  overflow: hidden;
  background: #0c0a2c;
}
.heroSwiper {
  height: 86vh;
  min-height: 540px;
  max-height: 820px;
  overflow: hidden;
}
.heroSwiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

/* Animate content on initial load */
.hero-slide-badge  { animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.00s both; }
.hero-slide-title  { animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.12s both; }
.hero-slide-sub    { animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.24s both; }
.hero-slide-btns   { animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.36s both; }

/* Background + Ken Burns */
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 7s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.heroSwiper .swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

/* Overlay — purple/blue diagonal */
.hero-slide-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(12,10,44,0.94) 0%, rgba(13,59,56,0.82) 35%, rgba(31,138,76,0.45) 65%, rgba(59,130,246,0.15) 100%),
    radial-gradient(ellipse at 80% 100%, rgba(167,139,250,0.25) 0%, transparent 55%);
}

/* Animated mesh + grid + blobs (decorative) */
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 600px at 10% 10%, rgba(31,138,76,0.40), transparent 60%),
    radial-gradient(800px 500px at 90% 90%, rgba(59,130,246,0.35), transparent 55%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  animation: heroMeshShift 18s ease-in-out infinite alternate;
}
@keyframes heroMeshShift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -20px) scale(1.05); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
  pointer-events: none;
  z-index: 2;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
}
.hero-blob-1 {
  width: 460px; height: 460px;
  background: #1f8a4c;
  top: -160px; right: -120px;
  animation: heroBlobFloat 14s ease-in-out infinite;
}
.hero-blob-2 {
  width: 340px; height: 340px;
  background: #3b82f6;
  bottom: -120px; left: -80px;
  animation: heroBlobFloat 18s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 220px; height: 220px;
  background: #d4af37;
  top: 38%; left: 42%;
  opacity: 0.35;
  animation: heroBlobFloat 22s ease-in-out infinite;
}
@keyframes heroBlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}

/* Big background watermark */
.hero-watermark {
  position: absolute;
  bottom: -40px;
  right: -20px;
  z-index: 2;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.85;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Content */
.hero-slide-content {
  position: relative; z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 0 100px;
  max-width: 720px;
}

/* Eyebrow with line */
.hero-slide-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c4b5fd;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero-eyebrow-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #1f8a4c, #3b82f6);
  border-radius: 2px;
}
.hero-eyebrow-text { white-space: nowrap; }

/* Title */
.hero-slide-title {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 3px 24px rgba(0,0,0,0.55);
  letter-spacing: -1px;
}
.hero-slide-title span {
  background: linear-gradient(135deg, #d4af37 0%, #818cf8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sub */
.hero-slide-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 540px;
  border-left: 3px solid rgba(167,139,250,0.6);
  padding-left: 18px;
}

/* Buttons group */
.hero-slide-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-slide-btn {
  position: relative;
  display: inline-flex; align-items: center;
  font-weight: 800; font-size: 1rem;
  padding: 0; border: none; cursor: pointer;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 12px 32px rgba(31,138,76,0.45);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
}
.hero-btn-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1f8a4c 0%, #3b82f6 100%);
  background-size: 200% 200%;
  z-index: -1;
  transition: background-position 0.6s ease;
}
.hero-btn-content {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px;
  color: #fff;
}
.hero-slide-btn:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(31,138,76,0.65);
}
.hero-slide-btn:hover .hero-btn-bg { background-position: 100% 0; }
.hero-slide-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
.hero-slide-btn:hover::after { left: 130%; }

.hero-slide-btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero-slide-btn-line:hover {
  background: #06C755;
  border-color: #06C755;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(6,199,85,0.45);
}

/* Hero phone number */
.hero-slide-phone {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
}
.hero-slide-phone i {
  color: var(--accent);
  font-size: 0.9rem;
}
.hero-slide-phone:hover { color: var(--accent); }
.hero-slide-phone-sep {
  color: rgba(255,255,255,0.3);
  font-weight: 300; margin: 0 2px;
}

/* Counter (modern vertical) */
.hero-counter-modern {
  position: absolute;
  top: 50%; left: 36px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'Prompt', sans-serif;
}
.hero-counter-cur {
  font-size: 2.2rem; font-weight: 900; color: #fff;
  line-height: 1;
  background: linear-gradient(135deg, #d4af37, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-counter-bar {
  position: relative;
  width: 2px; height: 80px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  overflow: hidden;
}
.hero-counter-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, #d4af37, #1f8a4c);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 5500ms linear;
}
.hero-counter-total {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 1px;
}

/* Nav arrows */
.hero-nav-btn {
  position: absolute;
  bottom: 38px;
  z-index: 10;
  width: 54px; height: 54px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(167,139,250,0.35);
  backdrop-filter: blur(14px);
  border-radius: 50%;
  color: #fff; font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-nav-prev { left: 110px; }
.hero-nav-next { left: 174px; }
.hero-nav-btn:hover {
  background: linear-gradient(135deg, #1f8a4c, #3b82f6);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px rgba(31,138,76,0.5);
}

/* Play / Pause */
.hero-play-btn {
  position: absolute;
  bottom: 38px; right: 40px;
  z-index: 10;
  width: 54px; height: 54px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(167,139,250,0.35);
  backdrop-filter: blur(14px);
  border-radius: 50%;
  color: #fff; font-size: 0.95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s ease;
}
.hero-play-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(167,139,250,0.4);
  animation: heroPlayRing 2.5s ease-out infinite;
}
.hero-play-btn.paused::before { animation-play-state: paused; opacity: 0.3; }
.hero-play-btn:hover {
  background: linear-gradient(135deg, #1f8a4c, #3b82f6);
  border-color: transparent;
  transform: scale(1.1);
}
@keyframes heroPlayRing {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Vertical thumbnail strip */
.hero-thumbs {
  position: absolute;
  top: 50%; right: 32px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex; flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.hero-thumbs-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 8px;
}
.hero-thumb {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s ease;
}
.hero-thumb-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.55;
  transition: all 0.3s ease;
}
.hero-thumb-img {
  display: block;
  width: 56px; height: 38px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.18);
  filter: grayscale(0.6) brightness(0.6);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-thumb-bar {
  display: block;
  width: 3px; height: 38px;
  border-radius: 3px;
  background: rgba(255,255,255,0.18);
  transition: all 0.3s ease;
}
.hero-thumb:hover .hero-thumb-img { filter: grayscale(0) brightness(0.9); transform: scale(1.05); }
.hero-thumb:hover .hero-thumb-num { color: #fff; opacity: 1; }
.hero-thumb.active .hero-thumb-num { color: #c4b5fd; opacity: 1; transform: translateX(-4px); }
.hero-thumb.active .hero-thumb-img {
  width: 78px; height: 52px;
  filter: grayscale(0) brightness(1);
  border-color: #d4af37;
  box-shadow: 0 8px 22px rgba(31,138,76,0.55);
}
.hero-thumb.active .hero-thumb-bar {
  background: linear-gradient(180deg, #d4af37, #1f8a4c);
  box-shadow: 0 0 8px rgba(167,139,250,0.6);
  height: 52px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-text {
  font-size: 0.7rem;
  letter-spacing: 4px;
  font-weight: 700;
}
.hero-scroll-line {
  position: relative;
  width: 1.5px; height: 44px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.hero-scroll-dot {
  position: absolute;
  top: -10px; left: -2px;
  width: 5px; height: 12px;
  background: #d4af37;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(167,139,250,0.8);
  animation: heroScrollDot 2s ease-in-out infinite;
}
@keyframes heroScrollDot {
  0%   { top: -10px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 44px; opacity: 0; }
}

/* ===== ABOUT INTRO SECTION (modern v2) ===== */
.about-intro-section {
  position: relative;
  background: linear-gradient(180deg, #faf8ff 0%, #f4f1ff 100%);
  overflow: hidden;
  padding: 90px 0;
}
.about-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}
.about-bg-blob-1 {
  width: 460px; height: 460px;
  background: rgba(31,138,76,0.18);
  top: -180px; left: -120px;
}
.about-bg-blob-2 {
  width: 380px; height: 380px;
  background: rgba(59,130,246,0.18);
  bottom: -160px; right: -100px;
}
.about-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,138,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,138,76,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Label */
.about-intro-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; color: #1f8a4c;
  background: rgba(31,138,76,0.10);
  border: 1px solid rgba(31,138,76,0.18);
  padding: 8px 18px; border-radius: 999px;
  margin-bottom: 18px;
}
.about-intro-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1f8a4c;
  box-shadow: 0 0 0 0 rgba(31,138,76,0.6);
  animation: aboutLabelPulse 1.6s ease-out infinite;
}
@keyframes aboutLabelPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(31,138,76,0.55); }
  50%     { box-shadow: 0 0 0 8px rgba(31,138,76,0); }
}

/* Title */
.about-intro-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #0d3b38;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.about-intro-title-grad {
  display: block;
  margin-top: 6px;
  background: linear-gradient(135deg,#1f8a4c 0%,#3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-intro-text {
  color: #475569; line-height: 1.9; margin-bottom: 14px; font-size: 0.98rem;
}
.about-intro-text strong { color: #0d3b38; font-weight: 700; }

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0 24px;
  padding: 22px 20px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(31,138,76,0.10);
  box-shadow: 0 12px 32px rgba(13,59,56,0.06);
}
.about-stat { text-align: center; position: relative; }
.about-stat + .about-stat::before {
  content: "";
  position: absolute;
  left: -7px; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(31,138,76,0.2), transparent);
}
.about-stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg,#1f8a4c,#3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.about-stat-num small { font-size: 0.8em; }
.about-stat-label {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 6px;
  font-weight: 600;
}

/* Highlight callout */
.about-intro-highlight {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg,#1f8a4c 0%,#3b82f6 100%);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(31,138,76,0.30);
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.about-intro-highlight::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.about-intro-highlight-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: #fde047;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}
.about-intro-highlight-text { position: relative; z-index: 1; }
.about-intro-highlight-text strong {
  display: block; font-size: 1.02rem; font-weight: 800;
}
.about-intro-highlight-text span {
  display: block; font-size: 0.9rem; opacity: 0.92; margin-top: 2px;
}
.about-intro-highlight-text strong:last-child,
.about-intro-highlight-text span strong { color: #fde047; font-weight: 800; }

/* Service area */
.about-intro-area {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem;
  padding: 10px 16px;
  background: #fff;
  border: 1px dashed rgba(31,138,76,0.25);
  border-radius: 12px;
  color: #475569;
  margin-bottom: 24px;
}
.about-intro-area i { color: #1f8a4c; }
.about-intro-area span { font-weight: 600; color: #0d3b38; }
.about-intro-area em { font-style: normal; color: #1f8a4c; font-weight: 700; }

/* Buttons */
.about-intro-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-main {
  position: relative;
  display: inline-flex; align-items: center;
  font-weight: 800; font-size: 0.95rem;
  border: none; border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 26px rgba(31,138,76,0.35);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.btn-main-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#1f8a4c 0%,#3b82f6 100%);
  background-size: 200% 200%;
  z-index: -1;
  transition: background-position 0.5s ease;
}
.btn-main--alt .btn-main-bg {
  background: linear-gradient(135deg,#3b82f6 0%,#1f8a4c 100%);
}
.btn-main-content {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px;
  color: #fff;
}
.btn-main:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(31,138,76,0.55);
}
.btn-main:hover .btn-main-bg { background-position: 100% 0; }
.btn-main::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
.btn-main:hover::after { left: 130%; }

.btn-outline-main {
  display: inline-flex; align-items: center; gap: 9px;
  border: 2px solid rgba(31,138,76,0.35);
  background: rgba(255,255,255,0.6);
  color: #1f8a4c;
  font-weight: 700; font-size: 0.95rem;
  padding: 12px 26px; border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.btn-outline-main:hover {
  background: linear-gradient(135deg,#1f8a4c,#3b82f6);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31,138,76,0.4);
}
.btn-outline-main:hover i { transform: translateX(4px); }
.btn-outline-main i { transition: transform 0.3s ease; }

/* Feature cards (right column) */
.about-features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  position: relative;
}
.about-feat-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 22px 26px;
  box-shadow: 0 14px 36px rgba(13,59,56,0.08);
  border: 1px solid rgba(31,138,76,0.08);
  transition:
    transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
}
.about-feat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,#1f8a4c,#3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.about-feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(31,138,76,0.20);
  border-color: rgba(31,138,76,0.25);
}
.about-feat-card:hover::before { transform: scaleX(1); }
.about-feat-num {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: rgba(31,138,76,0.08);
  transition: color 0.35s ease;
}
.about-feat-card:hover .about-feat-num { color: rgba(31,138,76,0.18); }
.about-feat-icon {
  position: relative;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, #1f8a4c 0%, #3b82f6 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.35rem;
  margin-bottom: 16px;
  box-shadow: 0 10px 22px rgba(31,138,76,0.40);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.about-feat-card:hover .about-feat-icon {
  transform: scale(1.08) rotate(-6deg);
}
.about-feat-icon-ring {
  position: absolute;
  inset: -5px;
  border-radius: 21px;
  border: 2px solid rgba(167,139,250,0.4);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.4s ease;
}
.about-feat-card:hover .about-feat-icon-ring {
  opacity: 1;
  transform: scale(1);
}
.about-feat-card h5 {
  font-size: 1rem;
  font-weight: 800;
  color: #0d3b38;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.about-feat-card p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.65;
  position: relative; z-index: 1;
}
.about-feat-arrow {
  position: absolute;
  bottom: 20px; right: 22px;
  font-size: 0.85rem;
  color: #1f8a4c;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.about-feat-card:hover .about-feat-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 575px) {
  .about-intro-section { padding: 60px 0; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .about-stat + .about-stat::before { display: none; }
  .about-intro-highlight { flex-direction: column; text-align: center; }
  .about-features-grid { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-section { min-height: 70vh; }
  .hero-stats { gap: 20px; }
  section { padding: 60px 0; }
  .heroSwiper { height: 78vh; min-height: 480px; }
  .hero-counter-modern { left: 20px; }
  .hero-thumbs { right: 18px; gap: 10px; }
  .hero-thumbs-label { display: none; }
  .hero-thumb-img { width: 44px; height: 30px; }
  .hero-thumb.active .hero-thumb-img { width: 60px; height: 40px; }
  .hero-watermark { opacity: 0.6; }
}
@media (max-width: 767px) {
  .hero-section { min-height: 60vh; }
  .topbar .topbar-info { display: none; }
  .service-detail-img { height: 220px; }
  .contact-info-card, .contact-form-card { padding: 24px; }
  .footer-top { padding: 40px 0 24px; }
  .heroSwiper { height: 88vh; min-height: 520px; }
  .hero-slide-content { padding: 80px 0 110px; max-width: 100%; }
  .hero-slide-eyebrow { font-size: 0.7rem; letter-spacing: 2px; }
  .hero-counter-modern { left: 18px; }
  .hero-counter-cur { font-size: 1.7rem; }
  .hero-counter-bar { height: 60px; }
  .hero-thumbs { right: 14px; gap: 8px; }
  .hero-thumb-num { display: none; }
  .hero-thumb-bar { display: none; }
  .hero-thumb-img { width: 36px; height: 24px; }
  .hero-thumb.active .hero-thumb-img { width: 48px; height: 32px; }
  .hero-nav-btn { width: 44px; height: 44px; bottom: 24px; }
  .hero-nav-prev { left: 70px; }
  .hero-nav-next { left: 122px; }
  .hero-play-btn { width: 44px; height: 44px; right: 18px; bottom: 24px; }
  .hero-scroll { display: none; }
  .hero-slide-btns { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-slide-sub { padding-left: 14px; border-left-width: 2px; }
  .hero-blob-3 { display: none; }
  .hero-watermark { font-size: 8rem; opacity: 0.4; }
}

/* ===== GALLERY HOME SECTION ===== */
.gallery-home-section { padding: 80px 0; background: var(--gray-light); }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.gallery-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
/* first item spans 2 columns and 2 rows — hero photo */
.gallery-home-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-home-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: block;
  background: #15302c;
  cursor: pointer;
}
.gallery-home-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-home-item:hover img { transform: scale(1.08); }
.gallery-home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.1) 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  gap: 8px;
  padding: 16px;
  text-align: center;
}
.gallery-home-overlay i {
  font-size: 1.8rem;
  background: rgba(255,255,255,0.15);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.gallery-home-overlay span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.gallery-home-item:hover .gallery-home-overlay { opacity: 1; }

@media (max-width: 991px) {
  .gallery-home-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-home-item:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 576px) {
  .gallery-home-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-home-item:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ===== About Vision / Mission ===== */
.about-vm { display:grid; gap:14px; margin:18px 0 6px; }
.about-vm-item {
  background:var(--gray-light);
  border-left:4px solid var(--accent);
  border-radius:0 12px 12px 0;
  padding:14px 18px;
}
.about-vm-item strong { display:block; color:var(--navy); margin-bottom:4px; font-size:.98rem; }
.about-vm-item p { margin:0; color:var(--text); font-size:.92rem; line-height:1.7; }

/* ===== Service overview grid cards (homepage srv-pm-section) ===== */
.srv-grid-card {
  display:flex; flex-direction:column; align-items:flex-start;
  height:100%;
  background:#fff;
  border:1px solid #e4efe9;
  border-radius:18px;
  padding:30px 26px 26px;
  text-decoration:none;
  box-shadow:0 10px 30px rgba(13,59,56,0.06);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position:relative; overflow:hidden;
}
.srv-grid-card::before {
  content:""; position:absolute; left:0; top:0; height:4px; width:100%;
  background:linear-gradient(90deg, var(--primary), var(--accent));
  transform:scaleX(0); transform-origin:left; transition:transform .35s ease;
}
.srv-grid-card:hover { transform:translateY(-8px); box-shadow:0 22px 50px rgba(13,59,56,0.16); border-color:#bfe0d2; }
.srv-grid-card:hover::before { transform:scaleX(1); }
.srv-grid-icon {
  width:64px; height:64px; flex-shrink:0;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:16px; margin-bottom:18px;
  font-size:1.7rem; color:#fff;
  background:linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  box-shadow:0 8px 20px rgba(31,138,76,0.28);
  transition:transform .3s ease;
}
.srv-grid-card:hover .srv-grid-icon { transform:scale(1.08) rotate(-4deg); }
.srv-grid-title { font-size:1.18rem; font-weight:700; color:var(--navy); margin:0 0 8px; }
.srv-grid-desc { font-size:.92rem; color:var(--gray); line-height:1.7; margin:0 0 16px; flex:1; }
.srv-grid-link {
  display:inline-flex; align-items:center; gap:7px;
  font-weight:700; font-size:.9rem; color:var(--primary);
  margin-top:auto;
}
.srv-grid-link i { transition:transform .3s ease; }
.srv-grid-card:hover .srv-grid-link { color:var(--accent-2); }
.srv-grid-card:hover .srv-grid-link i { transform:translateX(5px); }
.srv-grid-chips {
  display:flex; flex-wrap:wrap; justify-content:center; gap:12px;
  margin-top:40px;
}
.srv-grid-chips span {
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1px solid #d9ece2; color:var(--navy);
  font-weight:600; font-size:.9rem;
  padding:10px 20px; border-radius:999px;
  box-shadow:0 6px 18px rgba(13,59,56,0.06);
}
.srv-grid-chips span i { color:var(--accent); }

/* ===== About mission bullet list ===== */
.about-vm-list { list-style:none; padding:0; margin:8px 0 0; }
.about-vm-list li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:.92rem; color:var(--text); line-height:1.65; margin-bottom:8px;
}
.about-vm-list li i {
  flex-shrink:0; margin-top:3px; font-size:.72rem; color:#fff;
  width:20px; height:20px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--primary), var(--accent-2));
}

/* ===== About intro tagline ===== */
.about-intro-tagline { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:6px 0 18px; }
.about-tagline-en {
  font-family:'Prompt',sans-serif; font-weight:700; font-style:italic;
  font-size:1.05rem; color:var(--primary);
  padding:4px 14px; border-radius:999px; background:rgba(31,138,76,0.08);
}
.about-tagline-th {
  display:inline-flex; align-items:center; gap:7px;
  font-size:.9rem; font-weight:600; color:var(--navy);
}
.about-tagline-th i { color:var(--accent); }

/* ===== About photo strip ===== */
.about-photos { max-width:1060px; margin:42px auto 0; }
.about-photo {
  display:block; position:relative; border-radius:16px; overflow:hidden;
  aspect-ratio:4/3; box-shadow:0 10px 28px rgba(13,59,56,0.10);
  border:1px solid #e4efe9;
}
.about-photo img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.about-photo:hover img { transform:scale(1.08); }
.about-photo::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to top, rgba(13,59,56,0.60), rgba(13,59,56,0.05) 55%, transparent);
}
.about-photo-cap {
  position:absolute; left:12px; right:12px; bottom:10px; z-index:2;
  color:#fff; font-size:.8rem; font-weight:600; line-height:1.45;
  text-shadow:0 1px 4px rgba(0,0,0,.45);
}
.about-photo-cap i { color:var(--accent); }
@media (max-width:575px){ .about-photo-cap { font-size:.72rem; } }
