/* ============================================================
   WRC ENERGY – Custom Styles
   Base Font: Anuphan | Colors: #045597 (blue) #259e2a (green)
   ============================================================ */

:root {
  /* ── Colors ── */
  --primary-blue:   #045597;
  --primary-green:  #259e2a;
  --nav-blue-grad:  #295393;
  --text-dark:      #2c2c2c;
  --text-gray:      #5e5e5e;
  --bg-light:       #EEF7FF;
  --white:          #ffffff;
  --dark-blue:      #034377;
  --font-main:      'Anuphan', sans-serif;
  
  /* ── Font Sizes ── */
  --fs-15:          15px;
  --fs-16:          16px;
  --fs-18:          18px;
  --fs-20:          20px;
  --fs-24:          24px;
  --fs-26:          26px;
  --fs-32:          32px;
  --fs-36:          36px;
  --fs-40:          40px;
  --fs-48:          48px;
  --fs-64:          64px;
  
  /* ── Line Heights ── */
  --lh-1-0:         1;
  --lh-1-25:        1.25;
  --lh-1-3:         1.3;
  --lh-1-4:         1.4;
  --lh-1-45:        1.45;
  --lh-1-5:         1.5;
  --lh-1-65:        1.65;
  --lh-1-7:         1.7;
  --lh-1-8:         1.8;
  
  /* ── Spacing ── */
  --sp-4:           4px;
  --sp-8:           8px;
  --sp-12:          12px;
  --sp-16:          16px;
  --sp-20:          20px;
  --sp-24:          24px;
  --sp-28:          28px;
  --sp-32:          32px;
  --sp-36:          36px;
  --sp-40:          40px;
  --sp-48:          48px;
  --sp-60:          60px;
  --sp-80:          80px;
}

/* ── Global ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* prevent any element from causing horizontal scroll */
}

/* ── Utility Classes ── */
.text-primary-blue { color: var(--primary-blue) !important; }
.text-primary-green { color: var(--primary-green) !important; }

/* Base Button Style */
.btn-base {
  font-family: var(--font-main);
  border: none;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s, transform 0.15s;
  display: inline-block;
  white-space: nowrap;
  cursor: pointer;
}

.btn-base:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* Button Variants */
.btn-blue {
  font-size: var(--fs-16);
  font-weight: 500;
  padding: 10px 22px;
  background: linear-gradient(135deg, #295393, #0a6ec7);
  color: var(--white) !important;
}

.btn-green {
  font-size: var(--fs-16);
  font-weight: 500;
  padding: 10px 22px;
  background: linear-gradient(135deg, #259e2a, #1a7a1e);
  color: var(--white) !important;
}

.btn-lg {
  font-size: var(--fs-24);
  font-weight: 400;
  padding: 14px 30px;
}

.btn-lg-white {
  background: var(--white);
  color: var(--primary-green) !important;
}

.btn-lg-white:hover {
  background: #eaf7eb;
}

.btn-lg-light {
  background: #eef7ff;
  color: var(--primary-green) !important;
}

.btn-lg-light:hover {
  background: #d6edff;
}

.btn-blue-lg {
  background: linear-gradient(to bottom, #295393, #1d49a7);
  color: var(--white) !important;
}

.btn-dark-grad {
  background: linear-gradient(to bottom, #2c2c2c, #295393);
  color: var(--white) !important;
}

/* Title Utility Classes */
.title-main {
  font-size: var(--fs-48);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: var(--lh-1-3);
}

.title-sub {
  font-size: var(--fs-24);
  font-weight: 600;
  color: var(--primary-green);
  line-height: var(--lh-1-3);
}

.title-section {
  font-size: var(--fs-32);
  font-weight: 600;
  color: var(--primary-blue);
  line-height: var(--lh-1-3);
}

.title-section-lg {
  font-size: var(--fs-36);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: var(--lh-1-4);
}

.title-section-xl {
  font-size: var(--fs-40);
  font-weight: 400;
  color: var(--white);
  line-height: var(--lh-1-45);
}

.title-hero {
  font-size: var(--fs-48);
  font-weight: 600;
  color: var(--white);
  line-height: var(--lh-1-25);
}

/* Text Utility Classes */
.text-body {
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: var(--lh-1-8);
  color: var(--text-dark);
}

.text-desc {
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: var(--lh-1-7);
  margin: 0;
}

.text-label {
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--text-dark);
  line-height: var(--lh-1-3);
}

.text-small {
  font-size: var(--fs-15);
  font-weight: 400;
  line-height: var(--lh-1-5);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.wrc-navbar {
  background-color: var(--white);
  padding-top: 0;
  padding-bottom: 0;
  height: 114px;
  position: sticky;
  top: 0;
  z-index: 10009999;
  box-shadow: 0 2px 12px rgba(4, 85, 151, 0.08);
  transition: height 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.wrc-navbar.scrolled {
  height: 80px;
  box-shadow: 0 4px 20px rgba(4, 85, 151, 0.15);
}

.wrc-navbar.scrolled .navbar-logo {
  height: 52px;
}

.wrc-navbar .container-xl {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 72px;
  width: auto;
}

/* Nav links */
.wrc-navbar .navbar-nav .nav-link {
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-gray);
  padding: 0 var(--sp-8);
  white-space: nowrap;
  transition: color 0.2s;
}

.wrc-navbar .navbar-nav .nav-link.active,
.wrc-navbar .navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* Real submenu icon in menu label */
.wrc-navbar .navbar-nav .dropdown > .nav-link.dropdown-toggle::after {
  display: none;
}

.wrc-navbar .navbar-nav .submenu-indicator {
  margin-left: 6px;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
  opacity: 0.9;
}

/* Active underline indicator */
.wrc-navbar .navbar-nav .nav-link.active {
  font-weight: 600;
  position: relative;
}

.wrc-navbar .navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* Desktop dropdown: open on hover/focus while keeping parent link clickable */
@media (min-width: 1200px) {
  .wrc-navbar .navbar-nav .dropdown:hover > .dropdown-menu,
  .wrc-navbar .navbar-nav .dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 1199.98px) {
  .wrc-navbar .navbar-nav .dropdown-menu {
    display: block;
    position: static;
    float: none;
    border: 0;
    box-shadow: none;
    padding-left: 12px;
  }
}

/* CTA Buttons */
.btn-wrc-blue {
  font-size: var(--fs-16);
  font-weight: 500;
  padding: 10px 22px;
  background: linear-gradient(135deg, #295393, #0a6ec7);
  color: var(--white) !important;
  border: none;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-wrc-blue:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-wrc-green {
  font-size: var(--fs-16);
  font-weight: 500;
  padding: 10px 22px;
  background: linear-gradient(135deg, #259e2a, #1a7a1e);
  color: var(--white) !important;
  border: none;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-wrc-green:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn {
    border-radius: 100px;
}

/* ============================================================
   WELCOME MODAL
   ============================================================ */
.wrc-welcome-modal .modal-dialog {
  max-width: 760px;
  width: calc(100% - 32px);
}

.wrc-welcome-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: 20px;
  background: #f3f4f6;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.wrc-welcome-modal .modal-body {
  padding: 56px 34px 52px;
}

.wrc-welcome-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wrc-welcome-close:hover {
  opacity: 0.88;
  transform: scale(1.04);
}

.wrc-welcome-logo {
  width: min(360px, 76%);
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

.wrc-welcome-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
  margin: 0 0 18px;
}

.wrc-welcome-subtitle {
  font-size: clamp(20px, 2vw, 48px);
  font-weight: 500;
  color: #2f2f2f;
  line-height: 1.35;
  margin: 0 0 34px;
}

.wrc-welcome-cta {
  background: linear-gradient(135deg, #295393, #1d49a7);
  color: var(--white) !important;
  border: 0;
  border-radius: 100px;
  font-size: clamp(22px, 2.3vw, 40px);
  font-weight: 500;
  line-height: 1;
  padding: 16px 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  transition: opacity 0.2s, transform 0.15s;
}

.wrc-welcome-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .wrc-welcome-modal .modal-body {
    padding: 46px 18px 38px;
  }

  .wrc-welcome-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .wrc-welcome-cta {
    min-width: 210px;
    padding: 13px 28px;
  }
}

/* ---- Video BG Hero ---- */
.hero-video-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Always cover the section regardless of aspect ratio */
  width: 100vw;
  height: 56.25vw;  /* 16:9 based on viewport width */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 based on viewport height */
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-section {
  width: 100%;
  aspect-ratio: 22 / 9;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-slide-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  display: block;
  pointer-events: none;
}

.swiper-slide:has(.hero-slide-link-overlay) {
  cursor: pointer;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 20, 40, 0.45) 0%,
    rgba(2, 20, 40, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 20px;
  max-width: 900px;
}

.hero-sub {
  font-size: var(--fs-24);
  font-weight: 400;
  margin-bottom: var(--sp-12);
  opacity: 0.92;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: var(--fs-48);
  font-weight: 600;
  line-height: var(--lh-1-25);
  margin-bottom: var(--sp-24);
}

.hero-desc {
  font-size: var(--fs-32);
  font-weight: 400;
  margin-bottom: var(--sp-32);
  opacity: 0.95;
}

.btn {
    border-radius: 100px;
}

.btn-hero-cta {
  background: var(--white);
  color: var(--primary-green) !important;
  font-size: var(--fs-24);
  font-weight: 400;
  font-family: var(--font-main);
  padding: 14px 36px;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-hero-cta:hover {
  background: #eaf7eb;
  transform: translateY(-2px);
}

/* Arrows */
.swiper-button-prev.hero-prev,
.swiper-button-next.hero-next {
  width: 45px;
  height: 45px;
  background: transparent;
  border: none;
}

.swiper-button-prev.hero-prev::after,
.swiper-button-next.hero-next::after {
  display: none;
}

.arrow-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: background 0.2s;
  cursor: pointer;
}

.arrow-circle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Pagination Dots */
.hero-pagination {
  bottom: 28px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 23px;
  height: 23px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border-radius: 50%;
  margin: 0 6px;
  transition: background 0.2s, transform 0.2s;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--white);
  transform: scale(1.15);
}

/* ============================================================
   CLIENT LOGOS STRIP
   ============================================================ */
.client-logos-section {
  background: var(--white);
  border-bottom: 1px solid #e8f0f8;
}

.client-logos-label {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-green);
}

.logo-circle {
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: #e8f0f8;
  border: 1px dashed #b0c8e0;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.logo-circle:hover {
  border-color: var(--primary-blue);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--white);
  padding: 80px 0;
}

.about-title {
  font-size: var(--fs-48);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--sp-12);
}

.about-tagline {
  font-size: var(--fs-24);
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: var(--sp-20);
}

.about-desc {
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-dark);
  line-height: var(--lh-1-8);
}

/* Stats */
.stats-block { }

.stat-card {
  padding: 8px 0;
}

.stat-sector {
  font-size: var(--fs-24);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--sp-4);
}

.stat-number {
  font-size: var(--fs-64);
  font-weight: 600;
  color: #fff;
  line-height: var(--lh-1-0);
  margin-bottom: var(--sp-4);
  overflow-wrap: break-word;
  word-break: break-all;
}

.stat-unit {
  font-size: var(--fs-16);
  font-weight: 400;
  color: #fff;
  margin: 0;
}

.front-block .stat-sector {
  color: var(--dark-blue);
}

.front-block .stat-number {
  color: var(--primary-green);
}

.front-block .stat-unit {
  color: var(--text-gray);
}

/* Stat card variant: white text on colored backgrounds */
.stat-icon {
  font-size: var(--fs-32);
  color: var(--white);
  margin-bottom: var(--sp-12);
}

.stat-label {
  font-family: var(--font-main);
  font-size: var(--fs-24);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-1-3);
}

.stats-divider {
  border-color: #d0dde8;
  opacity: 1;
}

/* ============================================================
   SERVICES OVERVIEW
   ============================================================ */
.services-section {
  padding-top: 60px;
  background: var(--white);
}

.section-title-center {
  font-size: var(--fs-32);
  font-weight: 600;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: var(--sp-40);
}

.section-sub-center {
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-dark);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--sp-12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 460px;
  overflow: hidden;
  gap: 24px;
  justify-content: center;
}

.services-grid.service-residential-grid {
  grid-template-columns: repeat(3, 1fr);
  height: 620px;
  gap: 48px;
}

.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.4s ease;
  border-radius: 16px;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 85, 151, 0.82) 0%,
    rgba(4, 85, 151, 0.25) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
  transition: background 0.3s;
}

.service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  color: var(--white);
  z-index: 2;
}

.service-title {
  font-size: var(--fs-20);
  font-weight: 600;
  margin-bottom: var(--sp-8);
  line-height: var(--lh-1-3);
}

.service-desc {
  font-size: var(--fs-16);
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
  line-height: var(--lh-1-5);
}

/* Service CTA Row */
.services-cta-row {
  padding: 40px 0 60px;
  background: var(--white);
}

.btn-service-outline {
  font-size: var(--fs-24);
  font-weight: 400;
  font-family: var(--font-main);
  color: var(--white) !important;
  background: linear-gradient(to bottom, #295393, #1d49a7);
  border: none;
  padding: 14px 30px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-service-outline:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-service-green {
  font-size: var(--fs-24);
  font-weight: 400;
  font-family: var(--font-main);
  color: var(--white) !important;
  background: var(--primary-green);
  border: none;
  padding: 14px 30px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-service-green:hover {
  opacity: 0.88;
  background-color: var(--primary-green);
  transform: translateY(-2px);
}

.btn-service-dark {
  font-size: var(--fs-24);
  font-weight: 400;
  font-family: var(--font-main);
  color: var(--white) !important;
  background: linear-gradient(to bottom, #2c2c2c, #295393);
  border: none;
  padding: 14px 30px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-service-dark:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ============================================================
   CALCULATOR SECTION
   ============================================================ */
.calculator-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  min-height: 492px;
  display: flex;
  align-items: center;
}

.calculator-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 0;
}

.calc-title {
  font-size: var(--fs-48);
  font-weight: 700;
  color: var(--white);
  line-height: var(--lh-1-3);
  margin-bottom: var(--sp-16);
}

.calc-divider {
  width: 100px;
  height: 1px;
  background: var(--white);
  margin: var(--sp-16) auto var(--sp-20);
  border-radius: 2px;
}

.calc-divider.color-green {
  background: var(--primary-green);
  margin: 32px 0;
}

.calc-desc {
  font-size: var(--fs-20);
  font-weight: 400;
  color: var(--white);
  opacity: 0.92;
  margin-bottom: var(--sp-36);
  line-height: var(--lh-1-7);
}

.btn-calc-cta {
  background: #eef7ff;
  color: var(--primary-green) !important;
  font-size: var(--fs-24);
  font-weight: 400;
  font-family: var(--font-main);
  padding: 14px 40px;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-calc-cta:hover {
  background: #d6edff;
  transform: translateY(-2px);
}

/* ============================================================
   WHY WRC – 4P
   ============================================================ */
.why-section {
  overflow: hidden;
}

.why-two-col {
  display: flex;
  align-items: stretch;
  min-height: 800px;
}

/* ── LEFT column: light bg + content ────────────────────── */
.why-left {
  flex: 0 0 50%;
  background: var(--white);
  display: flex;
  align-items: center;
}

.why-left-inner {
  width: 100%;
  padding: 80px 60px 80px 120px;
}

.why-title {
  font-size: var(--fs-32);
  font-weight: 600;
  color: var(--primary-blue);
  line-height: var(--lh-1-3);
  margin-bottom: 0;
}

.fourp-item {
  padding-right: var(--sp-24);
  margin-bottom: var(--sp-24);
}

.fourp-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-green);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-32);
  font-size: 22px;
  color: var(--primary-blue);
}

.fourp-title {
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--sp-8);
  line-height: var(--lh-1-3);
}

.fourp-desc {
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-dark);
  line-height: var(--lh-1-65);
  margin: 0;
}

/* ── RIGHT column: photo + overlay text ───────────────── */
.why-right {
  flex: 0 0 50%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.why-right img {
	width: 100%;
}

.why-right-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg-light) 0%,
    rgba(248, 252, 255, 0) 25%,
    rgba(248, 252, 255, 0) 75%,
    var(--bg-light) 100%
  );
}

.why-right-content {
  position: relative;
  z-index: 1;
  padding: 60px 48px;
}

.why-badge {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  font-size: var(--fs-32);
  font-weight: 600;
  padding: var(--sp-8) var(--sp-28);
  border-radius: 100px;
  margin-bottom: var(--sp-28);
}

.why-quote {
  font-size: var(--fs-40);
  font-weight: 600;
  color: var(--primary-blue);
  line-height: var(--lh-1-3);
  margin: 0;
  font-style: normal;
}

/* ============================================================
   PROJECT SECTIONS (Commercial & Residential)
   ============================================================ */
.project-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.20) 0%,
    rgba(0, 0, 0, 0.60) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 0;
}

.residential-section .project-overlay {
  background: rgba(16,16,16,0.6);
  width: 50%;
  right: 0;
  left: auto;
}

.residential-section .project-content-padding {
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-title {
  font-size: var(--fs-48);
  font-weight: 700;
  line-height: var(--lh-1-25);
  margin-bottom: var(--sp-12);
}

.project-divider {
  width: 50px;
  height: 3px;
  background: var(--white);
  margin: auto;
  margin-bottom: var(--sp-20);
  border-radius: 2px;
}

.project-desc {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh-1-7);
  margin-bottom: var(--sp-32);
  opacity: 0.95;
}

.btn-project-more {
  font-size: var(--fs-20);
  font-weight: 400;
  font-family: var(--font-main);
  color: var(--primary-green) !important;
  background: var(--white);
  border: none;
  padding: 12px 48px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-project-more:hover {
  background: #eaf7eb;
  transform: translateY(-2px);
}

/* Project Reference Cards */
.project-refs {
  position: relative;
  z-index: 2;
  padding: 48px 0 0;
}

.project-ref-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.project-ref-card:hover img {
  transition: 0.3s;
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}


.project-ref-card img {
  transition: 0.3s;
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.project-ref-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 14px 18px;
  font-size: var(--fs-15);
  font-weight: 400;
  line-height: var(--lh-1-5);
}

.project-ref-caption p { margin: 0; }

/* ============================================================
   LICENSE SERVICE
   ============================================================ */
.license-section {
  background: var(--white);
  padding: 80px 0;
}

.license-title {
  font-size: var(--fs-26);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--sp-20);
}

.license-desc {
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-dark);
  line-height: var(--lh-1-8);
}

.license-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
}

.license-img-wrap img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.blog-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(4, 85, 151, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(4, 85, 151, 0.14);
}

.blog-img-wrap {
  overflow: hidden;
  height: 280px;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.blog-card:hover .blog-img {
  transform: scale(1.04);
}

.blog-body {
  padding: var(--sp-24);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--sp-12);
  line-height: var(--lh-1-4);
}

.blog-excerpt {
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-gray);
  line-height: var(--lh-1-7);
  flex: 1;
  margin-bottom: var(--sp-16);
}

.blog-read-more {
  font-size: var(--fs-15);
  font-weight: 400;
  color: var(--text-gray);
  border: 1px solid var(--text-gray);
  border-radius: 100px;
  padding: 4px 16px;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  margin-left: auto;
}

.blog-read-more:hover {
  color: var(--primary-blue);
}

.btn-blog-more {
  font-size: var(--fs-18);
  font-weight: 400;
  font-family: var(--font-main);
  color: var(--text-gray) !important;
  background: transparent;
  border: 1.5px solid var(--text-gray);
  padding: 10px 48px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-blog-more:hover {
  color: var(--primary-blue) !important;
  border-color: var(--primary-blue);
}

/* ============================================================
   NEWS CARDS (use same styles as blog cards)
   ============================================================ */
.news-clean-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(4, 85, 151, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.news-clean-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(4, 85, 151, 0.14);
}

.news-clean-img-wrap {
  overflow: hidden;
  height: 280px;
}

.news-clean-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.news-clean-card:hover .news-clean-img {
  transform: scale(1.04);
}

.news-clean-body {
  padding: var(--sp-24);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-clean-title {
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--sp-12);
  line-height: var(--lh-1-4);
}

.news-clean-excerpt {
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-gray);
  line-height: var(--lh-1-7);
  flex: 1;
  margin-bottom: var(--sp-16);
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-featured-section {
  padding: 72px 0 28px;
  background: var(--bg-light);
}

.news-featured-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(4, 85, 151, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-featured-img-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.news-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-featured-body {
  padding: 30px 32px;
}

.news-meta-tag {
  display: inline-block;
  background: rgba(37, 158, 42, 0.12);
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.news-featured-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.3;
  margin-bottom: 14px;
}

.news-featured-excerpt {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 18px;
}

.news-read-link {
  color: var(--primary-blue);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.news-read-link:hover {
  color: #0a6ec7;
}

.news-side-panel {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(4, 85, 151, 0.10);
  padding: 26px 24px;
  height: 100%;
}

.news-side-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 18px;
}

.news-side-item {
  display: block;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #e5eef7;
}

.news-side-item:last-child {
  border-bottom: none;
}

.news-side-item-date {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-green);
  margin-bottom: 6px;
}

.news-side-item-title {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dark);
  transition: color 0.2s;
}

.news-side-item:hover .news-side-item-title {
  color: var(--primary-blue);
}

.news-grid-section {
  padding: 28px 0 80px;
  background: var(--bg-light);
}

.news-article-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(4, 85, 151, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(4, 85, 151, 0.14);
}

.news-article-img-wrap {
  height: 220px;
  overflow: hidden;
}

.news-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-article-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-article-date {
  font-size: 13px;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.news-article-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-article-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 18px;
  flex: 1;
}

.news-pagination-wrap {
  margin-top: 44px;
}

.news-pagination-wrap .page-link {
  color: var(--primary-blue);
  border-color: #d5e2ef;
}

.news-pagination-wrap .page-item.active .page-link {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

.news-pagination-wrap .page-item.disabled .page-link {
  color: #95a6b7;
}

/* .news-clean-section uses .blog-section - see BLOG / ARTICLES section above */

.news-clean-img-wrap {
  height: 236px;
  overflow: hidden;
}

.news-clean-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-clean-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-clean-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-clean-excerpt {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-gray);
  margin-bottom: 14px;
  flex: 1;
}

.news-clean-body .blog-read-more {
  font-size: 12px;
  border-color: #c8cfda;
  color: #8a96a8;
  padding: 3px 12px;
}

.news-clean-body .blog-read-more:hover {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* ============================================================
   CONTACT PAGE (Standalone)
   ============================================================ */
.contact-page-main {
  padding: 72px 0 80px;
  background: #ffffff;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: start;
}

.contact-page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.contact-page-sub {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-gray);
  max-width: 720px;
  margin: 0 auto;
}

.contact-form-panel .form-label {
  color: var(--primary-blue);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form-panel .wrc-input {
  height: 42px;
  border-radius: 6px;
  font-size: 14px;
  padding: 8px 12px;
}

.contact-form-panel .form-check-label {
  font-size: 13px;
  color: #456;
}

.contact-form-panel .btn-contact-submit {
  font-size: 16px;
  min-width: 170px;
  padding: 10px 24px;
}

.contact-info-card,
.contact-branch-card {
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 14px;
  padding: 24px 22px;
}

.contact-info-card h3,
.contact-branch-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-info-tag {
  font-size: 13px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.contact-info-list i {
  margin-top: 4px;
  width: 14px;
}

.contact-mini-map,
.contact-large-map {
  overflow: hidden;
  border-radius: 8px;
}

.contact-mini-map iframe,
.contact-large-map iframe {
  width: 100%;
  border: 0;
  display: block;
}

.contact-mini-map iframe {
  height: 320px;
}

.contact-branch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}

.contact-large-map iframe {
  height: 334px;
}

.contact-action-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 80px;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 152px;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
}

.contact-action-btn:hover {
  color: var(--white);
  opacity: 0.9;
}

.contact-action-blue {
  background: linear-gradient(135deg, #295393, #1d49a7);
}

.contact-action-green {
  background: linear-gradient(135deg, #2aac34, #238f2a);
}

.contact-action-dark {
  background: linear-gradient(135deg, #3b3f47, #222832);
}

/* ============================================================
   SERVICES COMMERCIAL INTRO SECTION (after hero)
   ============================================================ */
.svc-commercial-intro-section {
  background: #f3f5f7;
}

.svc-commercial-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.svc-commercial-intro-left {
  background: var(--primary-blue);
  color: var(--white);
  min-height: 560px;
  display: flex;
  align-items: center;
}

.svc-commercial-intro-left-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 74px;
}

.svc-commercial-intro-left h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 22px;
}

.svc-commercial-intro-left p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.95);
}

.svc-commercial-intro-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 560px;
}

.svc-commercial-intro-card {
  position: relative;
  overflow: hidden;
}

.svc-commercial-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-commercial-intro-overlay {
  background: #1f5d93;
}

.svc-commercial-intro-fade-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.svc-commercial-intro-overlay-green {
  background: #29b33e;
}

.svc-commercial-intro-overlay-blue {
  background: #0e548a;
}

/* ============================================================
   SERVICES COMMERCIAL DETAIL PAGE
   ============================================================ */
.svc-commercial-detail-section {
  background: #f3f5f7;
  padding: 64px 0 72px;
}

.svc-commercial-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}

.svc-commercial-image-wrap {
  border-radius: 10px;
  overflow: hidden;
}

.svc-commercial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 460px;
}

.svc-commercial-content {
  font-size: 15px;
  line-height: 1.7;
  color: #5f6874;
}

.svc-commercial-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 16px 0 4px;
}

.svc-commercial-list {
  padding-left: 18px;
  margin: 14px 0 10px;
}

.svc-commercial-list li {
  margin-bottom: 6px;
}

.svc-commercial-feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.svc-commercial-feature-item {
  text-align: center;
}

.svc-commercial-feature-icon {
  font-size: 38px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.svc-commercial-feature-item h5 {
  font-size: 16px;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 6px;
}

.svc-commercial-feature-item p {
  margin: 0;
  font-size: 13px;
  color: #6f7783;
  line-height: 1.6;
}

.svc-commercial-bottom-title {
  color: var(--primary-blue);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
}

.svc-commercial-showcase-section {
  background: #03255f;
  padding: 18px 0 24px;
  overflow: hidden;
}

.svc-commercial-showcase-title {
  color: var(--white);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin: 16px 0 32px;
}

.svc-commercial-showcase-swiper {
  padding: 0 18px;
}

.svc-commercial-showcase-slide {
  opacity: 0.9;
}

.svc-commercial-showcase-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  height: 440px;
}

.svc-commercial-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-commercial-showcase-caption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  margin: 10px 2px 0;
}

.svc-commercial-showcase-prev,
.svc-commercial-showcase-next {
  color: rgba(255, 255, 255, 0.9);
  width: 42px;
  height: 42px;
}

.svc-commercial-showcase-prev::after,
.svc-commercial-showcase-next::after {
  font-size: 34px;
  font-weight: 700;
}

.svc-commercial-dual-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 70px 0 72px;
}

.svc-commercial-dual-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 27, 58, 0.58);
}

.svc-commercial-dual-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1440px;
  margin: 0 auto;
}

.svc-commercial-dual-swiper {
  border-radius: 10px;
  overflow: hidden;
}

.svc-commercial-dual-slide {
  position: relative;
  height: 420px;
}

.svc-commercial-dual-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.svc-commercial-dual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(8, 19, 34, 0.78), rgba(8, 19, 34, 0.66));
  color: var(--white);
  padding: 18px 20px 20px;
}

.svc-commercial-dual-caption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.svc-commercial-dual-caption-title {
  font-weight: 700;
  margin-bottom: 2px !important;
}

.svc-commercial-dual-prev,
.svc-commercial-dual-next {
  color: rgba(255, 255, 255, 0.95);
  width: 44px;
  height: 44px;
}

.svc-commercial-dual-prev::after,
.svc-commercial-dual-next::after {
  font-size: 34px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .svc-commercial-intro-grid {
    grid-template-columns: 1fr;
  }

  .svc-commercial-intro-left {
    min-height: auto;
  }

  .svc-commercial-intro-left-inner {
    padding: 56px 34px;
  }

  .svc-commercial-intro-left h2 {
    font-size: 40px;
  }

  .svc-commercial-intro-left p {
    font-size: 17px;
  }

  .svc-commercial-intro-right {
    min-height: 420px;
  }

  .svc-commercial-main-grid {
    grid-template-columns: 1fr;
  }

  .svc-commercial-feature-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .svc-commercial-image {
    min-height: 360px;
  }

  .svc-commercial-showcase-img-wrap {
    height: 360px;
  }

  .svc-commercial-showcase-caption {
    font-size: 18px;
  }

  .svc-commercial-dual-row {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 760px;
  }

  .svc-commercial-dual-slide {
    height: 340px;
  }
}

@media (max-width: 767.98px) {
  .svc-commercial-intro-left-inner {
    padding: 44px 20px;
  }

  .svc-commercial-intro-left h2 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .svc-commercial-intro-left p {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .svc-commercial-intro-right {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
  }

  .svc-commercial-detail-section {
    padding: 48px 0 54px;
  }

  .svc-commercial-feature-row {
    grid-template-columns: 1fr;
  }

  .svc-commercial-content h4 {
    font-size: 20px;
  }

  .svc-commercial-image {
    min-height: 280px;
  }

  .svc-commercial-showcase-section {
    padding: 16px 0 20px;
  }

  .svc-commercial-showcase-title {
    font-size: 22px;
  }

  .svc-commercial-showcase-swiper {
    padding: 0 10px;
  }

  .svc-commercial-showcase-img-wrap {
    height: 260px;
  }

  .svc-commercial-showcase-caption {
    font-size: 15px;
    margin-top: 8px;
  }

  .svc-commercial-showcase-prev,
  .svc-commercial-showcase-next {
    width: 34px;
    height: 34px;
  }

  .svc-commercial-showcase-prev::after,
  .svc-commercial-showcase-next::after {
    font-size: 24px;
  }

  .svc-commercial-dual-section {
    padding: 44px 0 48px;
  }

  .svc-commercial-dual-row {
    gap: 14px;
  }

  .svc-commercial-dual-slide {
    height: 250px;
  }

  .svc-commercial-dual-caption {
    padding: 12px 14px 14px;
  }

  .svc-commercial-dual-caption p {
    font-size: 12px;
  }

  .svc-commercial-dual-prev,
  .svc-commercial-dual-next {
    width: 34px;
    height: 34px;
  }

  .svc-commercial-dual-prev::after,
  .svc-commercial-dual-next::after {
    font-size: 24px;
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  min-height: 800px;
  display: flex;
  align-items: center;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  z-index: 0;
}

.contact-box .form-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
}

.contact-box {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 128px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.20);
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.contact-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 8px;
  line-height: 1.7;
}

.wrc-input {
  font-family: var(--font-main);
  font-size: 16px;
  border: 1.5px solid #c8d8e8;
  border-radius: 10px;
  padding: 12px 16px;
  height: 65px;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wrc-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(4, 85, 151, 0.12);
  outline: none;
}

.wpcf7-radio {
  border: none;
}

.ex-select br {
  display: none;
}

.ex-select p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ex-select .form-check-input {
  width: 20px;
  height: 20px;
  border: 1px solid #666;
}

.form-check-input:checked {
  background-color: var(--primary-blue);
}

.btn-contact-submit {
  background: linear-gradient(to bottom, #295393, #1d49a7);
  color: var(--white) !important;
  font-size: 24px;
  font-weight: 400;
  font-family: var(--font-main);
  padding: 14px 40px;
  border-radius: 100px;
  border: none;
  min-width: 236px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-contact-submit:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.tt-light {
    font-weight: 700;
    color: var(--primary-green);
}

.label-required {
    color: red;
}

/* Contact Form 7 compatibility in contact section */
.contact-box .wpcf7 form p {
  margin-bottom: 0;
}

.contact-box .wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.contact-box .wpcf7 .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.contact-box .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  margin: 0;
}

.contact-box .wpcf7 .form-check-label br {
  display: none;
}

.contact-box .wpcf7 .btn-contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.wrc-footer {
  background: var(--primary-blue);
  padding: 60px 0 30px;
  color: var(--white);
}

.footer-logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-company-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.88;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.78;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.20);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-sub-links {
  list-style: none;
  padding-left: 14px;
  margin: 6px 0 0;
}

.footer-sub-links li { margin-bottom: 4px; }

.footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.footer-address p { margin-bottom: 2px; }

.footer-address a {
  color: #fff;
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 20px;
}

/* ============================================================
   SERVICES PAGE – Hero
   ============================================================ */
.svc-hero {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ============================================================
   PRODUCTS PAGE – Bento Grid
   ============================================================ */
.products-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 420px);
}

/* shared cell base */
.bento-cell {
  position: relative;
  overflow: hidden;
}

/* image cells */
.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.bento-cell:hover .bento-img {
  transform: scale(1.04);
}

/* content cells (colored) */
.bento-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  height: 100%;
}

.bento-blue  { background: var(--primary-blue); }
.bento-green { background: var(--primary-green); }

.bento-icon {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0.95;
}

.bento-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.bento-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  margin: 0;
}

.section-product img {
  width: 100%;
}

.wpcf7-spinner {
	display: block;
}

/* responsive */
@media (max-width: 991.98px) {
  .products-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 360px);
  }
}

@media (max-width: 575.98px) {
  .products-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-cell { height: 320px; }
  .bento-content { padding: 36px 28px; height: auto; }
  .bento-icon { font-size: 32px; margin-bottom: 16px; }
  .bento-title { font-size: 18px; }
}

.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(22, 22, 22, 0.6);
  z-index: 1;
}

.svc-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  max-width: 1440px;
}

.svc-hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.svc-hero-sub {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SINGLE NEWS v2 (single-news-2.html)
   ============================================================ */

.article-cover-v2 {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.article-cover-v2-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
}

.article-cover-v2-inner {
  position: relative;
  z-index: 2;
}

.article-cover-v2-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.35;
  margin: 0;
  max-width: 680px;
}

.sn2-body {
  background: #fff;
  padding: 48px 0 80px;
}

.sn2-featured-img-wrap {
  margin-bottom: 36px;
}

.sn2-featured-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.sn2-intro {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.6;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e8f2;
}

.sn2-content {
  font-size: 15px;
  line-height: 1.9;
  color: #3a3a3a;
}

.sn2-content p {
  margin-bottom: 18px;
}

.sn2-content h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 32px 0 10px;
}

.sn2-content ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.sn2-content ul li {
  margin-bottom: 6px;
}

@media (max-width: 767.98px) {
  .article-cover-v2 { height: auto; min-height: 240px; padding: 40px 0; }
  .article-cover-v2-title { font-size: 24px; }
  .sn2-featured-img { height: 260px; }
  .sn2-intro { font-size: 16px; }
}

/* ============================================================
   SINGLE NEWS / ARTICLE PAGE
   ============================================================ */

/* ── Cover ── */
.article-cover {
  position: relative;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.article-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.92) 45%,
    rgba(255, 255, 255, 0.60) 75%,
    rgba(255, 255, 255, 0.20) 100%
  );
  z-index: 1;
}

.article-cover-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
  padding-top: 40px;
  max-width: 680px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7b8d;
  margin-bottom: 14px;
}

.article-breadcrumb a {
  color: #6b7b8d;
  text-decoration: none;
  transition: color 0.2s;
}

.article-breadcrumb a:hover {
  color: var(--primary-blue);
}

.article-breadcrumb i {
  font-size: 10px;
  opacity: 0.5;
}

.article-cover-tag {
  display: inline-block;
  background: var(--primary-green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.article-cover-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.35;
  margin-bottom: 18px;
  max-width: 640px;
}

.article-cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #6b7b8d;
}

.article-cover-meta i {
  color: #aab4bf;
}

/* ── Layout ── */
.article-layout {
  background: #f4f6f9;
  padding: 56px 0 80px;
}

/* ── Featured Image ── */
.article-featured-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(4, 55, 120, 0.10);
}

.article-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── Intro highlight ── */
.article-intro {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 2px solid #dde6f0;
}

/* ── WYSIWYG Content ── */
.article-wysiwyg {
  font-size: 16px;
  line-height: 1.9;
  color: #3a3a3a;
}

.article-wysiwyg p {
  margin-bottom: 20px;
}

.article-wysiwyg h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--primary-green);
  line-height: 1.35;
}

.article-wysiwyg h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 28px 0 12px;
}

.article-wysiwyg h4 {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin: 24px 0 10px;
}

.article-wysiwyg ul,
.article-wysiwyg ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-wysiwyg ul li,
.article-wysiwyg ol li {
  margin-bottom: 8px;
}

.article-wysiwyg a {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-wysiwyg a:hover {
  color: #0a6ec7;
}

.article-wysiwyg strong {
  font-weight: 600;
  color: #1a1a1a;
}

.article-wysiwyg img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 8px auto 16px;
}

.article-wysiwyg table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}

.article-wysiwyg table th,
.article-wysiwyg table td {
  border: 1px solid #d0dae8;
  padding: 10px 14px;
  text-align: left;
}

.article-wysiwyg table th {
  background: var(--primary-blue);
  color: #fff;
  font-weight: 600;
}

.article-wysiwyg table tr:nth-child(even) td {
  background: #f0f5fb;
}

/* ── Figure caption ── */
.article-figure {
  margin: 32px 0;
}

.article-figure img {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}

.article-figure figcaption {
  font-size: 13px;
  color: #888;
  text-align: center;
}

/* ── Blockquote ── */
.article-blockquote {
  border-left: 4px solid var(--primary-blue);
  background: #eef4fb;
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  font-style: italic;
  color: #2c4a6e;
  line-height: 1.7;
}

/* ── Tags ── */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 24px;
  padding-top: 28px;
  border-top: 1px solid #dde6f0;
}

.article-tag {
  background: #eef4fb;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  padding: 5px 14px;
  border: 1px solid #c8dcf0;
}

/* ── Share ── */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-share-label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-right: 4px;
}

.article-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.article-share-btn:hover {
  background: var(--primary-green);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Sidebar ── */
.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-sidebar-box {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(4, 55, 120, 0.08);
}

.article-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef4fb;
}

.article-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-related-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.article-related-thumb {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.article-related-text {
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
  line-height: 1.5;
  transition: color 0.2s;
}

.article-related-item:hover .article-related-text {
  color: var(--primary-blue);
}

.article-sidebar-cta {
  background: var(--primary-blue);
  border-radius: 12px;
  padding: 28px 24px;
  color: #fff;
}

.article-sidebar-cta h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.article-sidebar-cta p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .article-cover-title { font-size: 26px; }
  .article-featured-img { height: 300px; }
}

@media (max-width: 575.98px) {
  .article-cover { min-height: 240px; }
  .article-cover-overlay { background: rgba(255,255,255,0.92); }
  .article-cover-title { font-size: 20px; }
  .article-cover-meta { gap: 12px; font-size: 13px; }
  .article-intro { font-size: 16px; }
  .article-wysiwyg { font-size: 15px; }
  .article-wysiwyg h2 { font-size: 19px; }
  .article-featured-img { height: 220px; }
}

/* ============================================================
   O&M Benefits – full-width background with 4 icon columns
   ============================================================ */
.om-benefits {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 100px 0;
}

.om-benefits-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 38, 0.72);
  z-index: 1;
}

.om-benefit-item {
  padding: 64px 40px;
  text-align: center;
  color: #fff;
}

.om-benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.om-benefit-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 2px 2px 5px black;
}

.om-benefit-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.80);
  margin: 0;
  text-shadow: 2px 2px 5px black;
}

@media (max-width: 767.98px) {
  .om-benefit-item {
    padding: 40px 24px;
    border-right: none;
  }

  .om-benefit-icon {
    font-size: 38px;
  }
}

/* O&M right panel: 3-box layout (2-col grid, right item spans 2 rows) */
.om-intro-right {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

/* Tall right box: placed at column 2, spanning both rows */
.om-intro-right-tall {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* ============================================================
   O&M PAGE – Intro Section Overrides
   ============================================================ */
.om-intro-list {
  padding-left: 20px;
  margin: 14px 0 18px;
  color: rgba(255, 255, 255, 0.95);
}

.om-intro-list li {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.om-intro-list strong {
  font-weight: 600;
  color: #fff;
}

/* Green card inside the 2×2 grid */
.om-service-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.om-service-card-inner {
  text-align: center;
  padding: 32px 24px;
  color: #fff;
}

.om-service-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.om-service-label {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 10px;
}

.om-service-years {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
}

/* ============================================================
   BANK PAGE – Partner Bank Section
   ============================================================ */
.bank-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.bank-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(240, 246, 255, 0.78);
  z-index: 1;
}

/* Left col: logo + text */
.bank-logo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-left: 20px;
}

.bank-logo-img {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.bank-desc {
  font-size: 15px;
  font-weight: 400;
  color: #3a3a3a;
  line-height: 1.9;
  margin: 0;
}

/* Right col: table */
.bank-table-wrap {
  width: 100%;
}

.bank-rate-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(4, 55, 120, 0.13);
}

/* Header */
.bank-rate-table thead tr:first-child {
  background: #1a4480;
}

.bank-rate-table thead tr:last-child {
  background: #1a4480;
}

.bank-th-down {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 16px 24px;
  text-align: left;
  vertical-align: middle;
  border-right: 1px solid rgba(255,255,255,0.15);
  width: 100px;
}

.bank-th-rate-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 14px 16px 6px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.bank-th-period {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding: 6px 16px 14px;
  text-align: center;
}

/* Body */
.bank-rate-table tbody tr {
  background: #fff;
  border-bottom: 1px solid #dde6f0;
}

.bank-rate-table tbody tr:last-child {
  border-bottom: none;
}

.bank-td-down {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  padding: 16px 24px;
  border-right: 1px solid #dde6f0;
}

.bank-rate-table tbody td {
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

@media (max-width: 767.98px) {
  .bank-logo-col {
    align-items: center;
    text-align: center;
    padding-left: 0;
  }

  .bank-table-wrap {
    overflow-x: auto;
  }

  .bank-rate-table {
    min-width: 480px;
  }
}

/* ============================================================
   SMARTDESIGN – Intro Split Section
   ============================================================ */
.sd-intro {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sd-intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #ffffff 42%,
    rgba(255, 255, 255, 0.75) 60%,
    rgba(255, 255, 255, 0) 78%
  );
  z-index: 1;
}

.sd-intro-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 0;
}

.sd-intro-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
  line-height: 1.4;
}

.sd-intro-body {
  font-size: 16px;
  font-weight: 400;
  color: #2c2c2c;
  margin-bottom: 16px;
}

.intro-white .sd-intro-title,
.intro-white .sd-intro-body {
  color: #fff;
}

.sd-intro-body strong {
  font-weight: 600;
  color: #1a1a1a;
}

@media (max-width: 991.98px) {
  .sd-intro {
    background-position: 70% center;
    min-height: 420px;
  }
  .sd-intro-overlay {
    background: linear-gradient(
      to right,
      #ffffff 55%,
      rgba(255, 255, 255, 0.7) 75%,
      rgba(255, 255, 255, 0) 90%
    );
  }
  .sd-intro-content {
    padding: 60px 40px;
  }
}

@media (max-width: 575.98px) {
  .sd-intro {
    min-height: auto;
  }
  .sd-intro-overlay {
    background: rgba(255, 255, 255, 0.90);
  }
  .sd-intro-content {
    padding: 16px;
  }
  .sd-intro-title {
    font-size: 20px;
  }
  .sd-intro-body {
    font-size: 14px;
  }
}

/* ============================================================
   SERVICES PAGE – Cards
   ============================================================ */
.svc-cards-section {
  padding: 72px 0 80px;
  background: var(--bg-light);
}

.svc-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(4, 85, 151, 0.10);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(4, 85, 151, 0.18);
}

.svc-card-img-wrap {
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}

.svc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.svc-card:hover .svc-card-img {
  transform: scale(1.05);
}

.svc-card-body {
  background: var(--primary-blue);
  padding: 22px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.svc-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.svc-card-btn-wrap {
  text-align: right;
}

.btn-svc-more {
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-main);
  color: var(--white) !important;
  background: var(--primary-green);
  border: none;
  border-radius: 100px;
  padding: 6px 20px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-svc-more:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ============================================================
   PROJECTS PAGE – Filter Gallery
   ============================================================ */

/* Filter tab bar */
.project-filter-section {
  padding: 60px 0 40px;
}

.project-filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 48px;
}

.project-filter-tab {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-gray);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 6px 0 10px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.project-filter-tab:hover {
  color: var(--primary-blue);
}

.project-filter-tab.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
  font-weight: 700;
}

/* Project grid */
.project-gallery-section {
  padding-bottom: 96px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Project card */
.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.project-card:hover .project-card-img {
  transform: scale(1.05);
}

.project-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.28) 60%, transparent 100%);
  color: var(--white);
}

.project-card-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 4px;
}

.project-card-kw {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2px;
}

.project-card-location {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* hidden state for filtered-out cards */
.project-card.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 991.98px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .project-filter-tabs { gap: 0 28px; }
  .project-filter-tab  { font-size: 14px; }
}

@media (max-width: 575.98px) {
  .project-filter-section { padding: 40px 0 28px; }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-filter-tabs {
    gap: 12px 20px;
    justify-content: flex-start;
  }
}

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

/* ── Large (≤ 1199px) – below xl breakpoint (hamburger active) */
@media (max-width: 1199.98px) {
  .wrc-navbar { height: auto; padding: 12px 0; }
  .wrc-navbar.scrolled { height: auto; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .service-card { min-height: 400px; }

  .hero-title  { font-size: 24px; }
  .hero-desc   { font-size: 16px; }

  .stat-number { font-size: 52px; }

  .calc-title  { font-size: 36px; }

  .project-title { font-size: 36px; }
  .project-desc  { font-size: 18px; }

  .contact-box { padding: 48px 64px; }
}

/* ── Medium (≤ 991px) ─────────────────────────────────────── */
@media (max-width: 991.98px) {
  .why-two-col { flex-direction: column; }
  .why-left,
  .why-right   { flex: none; width: 100%; }
  .why-left-inner { padding: 60px 32px; }
  .why-right   { min-height: 420px; }
  .why-right-content { padding: 40px 32px; }
  .why-badge   { font-size: 22px; }
  .why-quote   { font-size: 28px; }

  .contact-box { padding: 40px 40px; }

  .btn-service-outline,
  .btn-service-green,
  .btn-service-dark { font-size: 18px; padding: 12px 22px; }

  .calc-desc   { font-size: 18px; }

  .news-featured-title { font-size: 26px; }
  .news-side-title { font-size: 20px; }
  .news-featured-img-wrap { height: 300px; }

  .news-clean-title { font-size: 22px; }

  .contact-page-grid,
  .contact-branch-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-title {
    font-size: 36px;
  }

  .contact-large-map iframe {
    min-height: 334px;
  }
}

/* ── Tablet (≤ 767px) ─────────────────────────────────────── */
@media (max-width: 767.98px) {
  .navbar-logo { height: 52px; }
	.btn-hero-cta {
		font-size: 14px;
		padding: 8px 16px;
	}
  .hero-sub     { font-size: 16px; }
  .hero-title   { font-size: 20px; margin-bottom: 6px; }
  .hero-desc    { font-size: 16px; margin-bottom: 10px; }
  .hero-pagination { bottom: 16px !important; }
  .hero-pagination .swiper-pagination-bullet { width: 16px; height: 16px; }

  .client-logos-label { font-size: 22px; }
  .logo-circle  { width: 80px; height: 80px; }

  .about-title   { font-size: 34px; }
  .about-tagline { font-size: 18px; }
  .stat-number   { font-size: 44px; }
  .stat-sector   { font-size: 18px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card  { min-height: 320px; }

  .btn-service-outline,
  .btn-service-green,
  .btn-service-dark { font-size: 15px; padding: 10px 18px; }

  .btn-wrc-blue,
  .btn-wrc-green { font-size: 15px; padding: 8px 16px; }

  .calc-title  { font-size: 26px; }
  .calc-desc   { font-size: 15px; }
  .btn-calc-cta { font-size: 18px; padding: 12px 28px; }

  .why-left-inner { padding: 48px 24px; }
  .why-title   { font-size: 24px; }
  .why-quote   { font-size: 22px; }

  .residential-section .project-content-padding {
    height: auto;
    min-height: 400px;
    overflow: hidden; /* clip Bootstrap row negative margins */
  }

  .project-title { font-size: 26px; }
  .project-desc  { font-size: 15px; }

  .contact-box   { padding: 28px 24px; }
  .contact-box .form-label { font-size: 16px; }
  .contact-title { font-size: 28px; }
  .btn-contact-submit { font-size: 18px; padding: 12px 28px; min-width: auto; }

  .svc-hero        { height: 320px; }
  .svc-hero-title  { font-size: 28px; }
  .svc-hero-sub    { font-size: 15px; }
  .svc-card-img-wrap { height: 180px; }

  .news-featured-section { padding-top: 56px; }
  .news-featured-body { padding: 22px 20px; }
  .news-featured-title { font-size: 22px; }
  .news-featured-img-wrap { height: 240px; }
  .news-article-title { font-size: 18px; }

  .blog-section { padding: 60px 0 70px; }
  .blog-img-wrap { height: 220px; }
  .blog-title { font-size: 20px; }

  .contact-page-main {
    padding: 52px 0 60px;
  }

  .contact-page-title {
    font-size: 28px;
  }

  .contact-info-card h3,
  .contact-branch-card h3 {
    font-size: 28px;
  }
}

/* ── Mobile (≤ 575px) ─────────────────────────────────────── */
@media (max-width: 575.98px) {
  .hero-sub     { font-size: 14px; }
  .hero-title   { font-size: 20px; margin-bottom: 6px; }
  .hero-desc    { font-size: 14px; }
  .btn-hero-cta { font-size: 15px; padding: 10px 22px; }

  .client-logos-label { font-size: 18px; }
  .logo-circle  { width: 62px; height: 62px; }

  .about-title  { font-size: 28px; }
  .about-tagline { font-size: 16px; }
  .stat-number  { font-size: 38px; }
  .stat-sector  { font-size: 15px; }

  .section-title-center { font-size: 22px; }
  .section-sub-center   { font-size: 14px; }

  .calc-title  { font-size: 22px; }

  .contact-box  { padding: 24px 16px; }
  .contact-title { font-size: 24px; }
  .contact-sub  { font-size: 14px; }

  .btn-wrc-blue,
  .btn-wrc-green { font-size: 14px; padding: 8px 14px; }

  .navbar-cta { flex-direction: column; width: 100%; }
  .navbar-cta .btn { width: 100%; text-align: center; }

  .wrc-navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }

  .svc-hero        { height: 280px; }
  .svc-hero-title  { font-size: 22px; }
  .svc-hero-sub    { font-size: 14px; }

  .news-side-panel { padding: 20px 18px; }
  .news-side-item-title { font-size: 15px; }
  .news-article-img-wrap { height: 200px; }
  .news-pagination-wrap { margin-top: 32px; }

  .blog-section { padding: 48px 0 58px; }
  .blog-img-wrap { height: 200px; }
  .blog-title { font-size: 18px; }

  .contact-page-title {
    font-size: 24px;
  }

  .contact-form-panel .btn-contact-submit {
    width: 100%;
    min-width: 0;
  }

  .contact-action-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ────────────────────────────────────────────────────────────────────────────
   RESIDENTIAL SERVICE PAGE – Hero & Benefits Sections
   ──────────────────────────────────────────────────────────────────────────── */

/* ── Hero Section (Image + Overlay Content) ────────────────── */
.res-hero-section {
  background-color: var(--white);
}

.res-hero-section .row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.res-hero-section .col-lg-6 {
  flex: 0 0 calc(50% - 1rem) !important;
  max-width: none !important;
  gap: 2rem;
}

.res-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.1;
  margin-bottom: 24px;
}

.res-hero-banner {
  background: linear-gradient(135deg, #1a7a1e 0%, #259e2a 100%);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 24px;
}

.res-hero-desc {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Stats Grid 2x2 */
.res-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.res-hero-stat {
  text-align: left;
}

.res-hero-stat-label {
  font-size: 24px;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0;
}

.res-hero-stat-value {
  font-size: 52px;
  font-weight: 600;
  color: var(--primary-green);
  margin: 0;
}

.res-hero-stat-unit {
  font-size: 15px;
  color: var(--text-gray);
  margin: 6px 0 0 0;
}

.section-select {
  padding-bottom: 60px;
}

/* ── Benefits Section ──────────────────────────────────────── */
.res-benefits-section {
  padding: 80px 0;
  background-color: var(--white);
}

.res-benefits-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 40px;
  line-height: 1.3;
}

.res-benefits-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.res-benefit-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.res-benefit-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0 0 12px 0;
}

.res-benefit-text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

.res-benefits-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ── Phase Checker Section ─────────────────────────────────── */
.res-phase-section {
  padding-bottom: 60px;
  background-color: var(--white);
}

.res-phase-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.3;
  margin-bottom: 12px;
}

.res-phase-subtitle {
  font-size: 15px;
  color: var(--text-gray);
  margin: 0;
}

.res-phase-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.res-phase-card {
  background-color: #f4f8fc;
  border-radius: 16px;
  padding: 24px;
  padding-bottom: 0;
  overflow: hidden;
}

.res-phase-badge {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  padding: 8px 28px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: 160px;
}

.res-phase-wire-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.res-phase-img-wrap {
  width: 100%;
}

.res-phase-img {
  width: 100%;
  height: auto;
  display: block;
}

.res-phase-img-placeholder {
  width: 100%;
  height: 180px;
  align-items: center;
  justify-content: center;
  background-color: #eaf2fb;
  border-radius: 8px;
}

@media (max-width: 767.98px) {
  .res-phase-cards {
    grid-template-columns: 1fr;
  }

  .res-phase-title {
    font-size: 26px;
  }
}


@media (max-width: 991.98px) {
  .res-hero-title {
    font-size: 48px;
  }

  .res-hero-banner {
    font-size: 16px;
    padding: 10px 20px;
  }

  .res-hero-desc {
    font-size: 15px;
  }

  .res-hero-stats {
    gap: 24px 32px;
  }

  .res-hero-stat-value {
    font-size: 40px;
  }

  .res-benefits-section {
    padding: 60px 0;
  }

  .res-benefits-title {
    font-size: 36px;
    margin-bottom: 32px;
  }

  .res-benefit-subtitle {
    font-size: 17px;
  }

  .res-benefit-text {
    font-size: 15px;
  }
}

/* ── Mobile (≤ 767px) ──────────────────────────────────────── */
@media (max-width: 767.98px) {
  .res-hero-section .row {
    flex-direction: column-reverse;
    min-height: auto !important;
  }

  .res-hero-section .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .res-hero-section .col-lg-6:first-child img {
    max-height: 300px;
  }

  .res-hero-title {
    font-size: 32px;
  }

  .res-hero-banner {
    font-size: 16px;
    padding: 10px 16px;
  }

  .res-hero-desc {
    font-size: 14px;
  }

  .res-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    margin-top: 32px;
  }

  .res-hero-stat-value {
    font-size: 36px;
  }

  .res-hero-stat-label {
    font-size: 14px;
  }

  .res-hero-stat-unit {
    font-size: 14px;
  }

  .res-benefits-section {
    padding: 48px 0;
  }

  .res-benefits-title {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .res-benefit-subtitle {
    font-size: 16px;
  }

  .res-benefit-text {
    font-size: 14px;
  }

  .res-benefits-content {
    gap: 24px;
  }

  .res-benefit-item {
    padding-bottom: 20px;
  }
}

/* ── Small Mobile (≤ 575px) ────────────────────────────────── */
@media (max-width: 575.98px) {
  .res-hero-title {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .res-hero-banner {
    font-size: 15px;
    padding: 8px 14px;
    margin-bottom: 16px;
  }

  .res-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-top: 24px;
  }

  .res-hero-stat-value {
    font-size: 32px;
  }

  .res-hero-stat-label {
    font-size: 13px;
  }

  .res-hero-stat-unit {
    font-size: 13px;
  }

  .res-benefits-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .res-benefit-subtitle {
    font-size: 15px;
  }

  .res-benefit-text {
    font-size: 13px;
  }
}

/* ============================================================
   SCROLL ANIMATION – fadeInUp
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@media (prefers-reduced-motion: no-preference) {
  /* ── Initial hidden state ── */
  .title-main,
  .title-sub,
  .title-section,
  .title-section-lg,
  .title-section-xl,
  .title-hero,
  .hero-title,
  .about-title,
  .section-title-center,
  .service-title,
  .calc-title,
  .why-title,
  .fourp-title,
  .project-title,
  .license-title,
  .blog-title,
  .news-clean-title,
  .news-featured-title,
  .news-side-title,
  .news-side-item-title,
  .news-article-title,
  .contact-page-title,
  .svc-commercial-bottom-title,
  .svc-commercial-showcase-title,
  .svc-commercial-dual-caption-title,
  .contact-title,
  .footer-col-title,
  .bento-title,
  .svc-hero-title,
  .article-cover-v2-title,
  .article-cover-title,
  .article-sidebar-title,
  .om-benefit-title,
  .bank-th-rate-title,
  .sd-intro-title,
  .svc-card-title,
  .res-hero-title,
  .res-benefits-title,
  .res-benefit-subtitle,
  .res-phase-title,
  .res-phase-subtitle,
  .blog-card {
    opacity: 0;
    transform: translateY(30px);
  }

  /* ── Animate in when JS adds .is-visible ── */
  .title-main.is-visible,
  .title-sub.is-visible,
  .title-section.is-visible,
  .title-section-lg.is-visible,
  .title-section-xl.is-visible,
  .title-hero.is-visible,
  .hero-title.is-visible,
  .about-title.is-visible,
  .section-title-center.is-visible,
  .service-title.is-visible,
  .calc-title.is-visible,
  .why-title.is-visible,
  .fourp-title.is-visible,
  .project-title.is-visible,
  .license-title.is-visible,
  .blog-title.is-visible,
  .news-clean-title.is-visible,
  .news-featured-title.is-visible,
  .news-side-title.is-visible,
  .news-side-item-title.is-visible,
  .news-article-title.is-visible,
  .contact-page-title.is-visible,
  .svc-commercial-bottom-title.is-visible,
  .svc-commercial-showcase-title.is-visible,
  .svc-commercial-dual-caption-title.is-visible,
  .contact-title.is-visible,
  .footer-col-title.is-visible,
  .bento-title.is-visible,
  .svc-hero-title.is-visible,
  .article-cover-v2-title.is-visible,
  .article-cover-title.is-visible,
  .article-sidebar-title.is-visible,
  .om-benefit-title.is-visible,
  .bank-th-rate-title.is-visible,
  .sd-intro-title.is-visible,
  .svc-card-title.is-visible,
  .res-hero-title.is-visible,
  .res-benefits-title.is-visible,
  .res-benefit-subtitle.is-visible,
  .res-phase-title.is-visible,
  .res-phase-subtitle.is-visible,
  .blog-card.is-visible {
    animation: fadeInUp 1s ease forwards;
  }
}

/* ==========================================================================
   BANK PAGE v2 – New Financing Page Design
   ========================================================================== */

/* ── Intro Section ────────────────────────────────────────────────────────── */
.bank2-intro-section {
  background: #fff;
  padding: 60px 0;
  background-size: cover;
  background-position: top center;
}

.bank2-intro-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 14px;
  line-height: 1.4;
}

.bank2-intro-desc {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 0;
}

/* ── Bank Logo Circles Row ────────────────────────────────────────────────── */
.bank2-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.bank2-logo-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bank2-logo-circle-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e8edf2;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: transform .2s;
}

.bank2-logo-circle-img:hover {
  transform: scale(1.08);
}

.bank2-logo-name {
  font-size: 0.72rem;
  color: #666;
  text-align: center;
}

/* ── Banner Image (full-width) ────────────────────────────────────────────── */
.bank2-banner-wrap {
  width: 100%;
  line-height: 0;
}

.bank2-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── Rate Section ─────────────────────────────────────────────────────────── */
.bank2-rate-section {
  background: #f8fafc;
  padding: 56px 0 60px;
}

/* ── Left: Logo + Description ─────────────────────────────────────────────── */
.bank2-logo-desc-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.bank2-section-logo-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e0e7ef;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  background: #fff;
  flex-shrink: 0;
}

.bank2-section-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bank2-section-desc {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  font-weight: 500;
}

.bank2-section-desc p {
  margin-bottom: 0.5em;
  color: var(--primary-blue);
  font-size: 20px;
  font-weight: bold;
}

/* ── Rate Table ───────────────────────────────────────────────────────────── */
.bank2-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.09);
}

.bank2-rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
  min-width: 480px;
}

.bank2-th-detail {
  background: var(--primary-blue);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  padding: 12px 14px;
  border-right: 1px solid #000;
  white-space: nowrap;
}

.bank2-th-group {
  text-align: center;
  vertical-align: middle;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 14px;
  line-height: 1.4;
}

.bank2-th-collateral {
  background: var(--primary-blue);
  color: var(--white);
  border-right: 1px solid #000;
}

.bank2-th-clean {
  background: var(--primary-blue);
  color: var(--white);
}

.bank2-th-clean-sub {
  font-weight: 500;
  font-size: 0.78rem;
  display: block;
}

.bank2-th-sub {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 10px;
  white-space: nowrap;
}

.bank2-th-sub-collateral {
  background: var(--primary-blue);
  color: var(--white);
  border-top: 1px solid #000;
}

.bank2-th-sub-collateral:last-of-type {
  border-right: 1px solid #000;
}

.bank2-th-sub-clean {
  background: var(--primary-blue);
  color: var(--white);
  border-top: 1px solid #000;
}

.bank2-rate-table tbody tr {
  border-bottom: 1px solid #000;
  transition: background .15s;
}

.bank2-rate-table tbody tr:last-child {
  border-bottom: none;
}

.bank2-rate-table tbody tr:hover {
  background: #f0f6ff;
}

.bank2-rate-table tbody td {
  padding: 11px 14px;
  text-align: center;
  color: #374151;
  vertical-align: middle;
  border: 1px solid #000;
}

.bank2-td-label {
  font-weight: 600;
  color: #1a3a5c;
  text-align: left !important;
  background: #f8fafc;
  white-space: nowrap;
  border-right: 1px solid #000;
}

.bank2-td-span {
  color: #555;
}

.sd-mobile-image {
	display: none;
}

.sd-mobile-image img {
	width: 100%;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .bank2-logos-row {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .bank2-intro-section {
    padding: 40px 0 32px;
  }

  .bank2-intro-title {
    font-size: 1.2rem;
  }

  .bank2-rate-section {
    padding: 36px 0 40px;
  }

  .bank2-logo-circle-img {
    width: 56px;
    height: 56px;
  }

  .bank2-section-logo-wrap {
    width: 70px;
    height: 70px;
  }
	
	.wrc-welcome-title {
	  font-size: 26px;
	}
	
	.services-grid.service-residential-grid {
		grid-template-columns: repeat(1, 1fr);
		height: auto;
		gap: 16px;
	}
	
	.svc-commercial-dual-swiper {
		margin-bottom: 16px;
	}
	
	.ss-section {
		background-size: 0;
		padding: 16px 0
	}
	
	.sd-mobile-image {
		display: block;
	}
	
	.ss-section.intro-white {
		background-color: var(--primary-blue);
	}
	
	.sd-intro img {
		max-width: 100%;
	}
	
	.ss-section.intro-white .sd-intro-body,
	.ss-section.intro-white .sd-intro-title{
		color: #000;
	}
	
}
