@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* --- THEME VARIABLES --- */
:root {
  --color-primary: #038756;   /* Green */
  --color-secondary: #224279; /* Navy */
  --color-accent: #D8362B;    /* Red/Coral */
  --color-cyan: #09BACF;      /* Cyan */
  --color-dark: #140B1F;      /* Dark purple/black */
  --color-bg-light: #F7FAFC;  /* Off-white */
  --color-white: #ffffff;
  --color-text-dark: #2D3748;
  --color-text-muted: #718096;
  --color-border: #E2E8F0;
  
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-accent: 'Poppins', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-accent);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(3, 135, 86, 0.3);
}

.btn-primary:hover {
  background-color: #026b44;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 135, 86, 0.4);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
  padding: 15px 0;
}

.site-header.is-sticky {
  position: fixed;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  animation: slideDown 0.35s ease-out;
  padding: 10px 0 7px 0;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, var(--color-primary) 33%, var(--color-accent) 33% 66%, var(--color-secondary) 66%) 1;
}

.site-header.is-sticky .nav-link {
  color: var(--color-text-dark);
}

.site-header.is-sticky .nav-link:hover,
.site-header.is-sticky .nav-link.active {
  color: var(--color-primary);
  background-color: rgba(3, 135, 86, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition-normal);
}

.site-header.is-sticky .logo img {
  height: 42px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  background-color: var(--color-primary);
}

/* Mobile trigger */
.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  color: var(--color-white);
  cursor: pointer;
  z-index: 1001;
}

.site-header.is-sticky .mobile-nav-toggle {
  color: var(--color-text-dark);
}

/* --- HEADER RESPONSIVE (show hamburger, hide desktop nav) --- */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 38px;
  }
  .site-header.is-sticky .logo img {
    height: 34px;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right var(--transition-normal);
}

.mobile-drawer.is-active {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer .nav-list {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
}

.mobile-drawer .nav-link {
  color: var(--color-text-dark);
  width: 100%;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-drawer .nav-link:hover,
.mobile-drawer .nav-link.active {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
}

.mobile-drawer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0.1) 70%);
  z-index: 2;
}

/* Slideshow Background */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text-box {
  max-width: 650px;
}

.hero-title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title span:nth-child(1) {
  font-size: 40px;
  color: var(--color-primary);
  display: block;
}

.hero-title span:nth-child(2) {
  font-size: 60px;
  color: var(--color-accent);
  display: block;
}

.hero-title span:nth-child(3) {
  font-size: 50px;
  color: #c4dacf;
  display: block;
}

.hero-separator {
  display: flex;
  margin-bottom: 24px;
  gap: 8px;
}

.hero-separator .line-1 {
  width: 70px;
  height: 5px;
  background-color: var(--color-primary);
}

.hero-separator .line-2 {
  width: 100px;
  height: 5px;
  background-color: var(--color-accent);
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.9);
}

/* --- HERO RESPONSIVE --- */
@media (max-width: 768px) {
  .hero {
    height: 75vh;
    min-height: 480px;
  }
  .hero-title span:nth-child(1) { font-size: 26px; }
  .hero-title span:nth-child(2) { font-size: 38px; }
  .hero-title span:nth-child(3) { font-size: 32px; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 28px; }
  .hero-text-box { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero {
    height: 70vh;
    min-height: 400px;
  }
  .hero-title span:nth-child(1) { font-size: 22px; }
  .hero-title span:nth-child(2) { font-size: 30px; }
  .hero-title span:nth-child(3) { font-size: 26px; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 24px; }
  .hero-separator .line-1 { width: 50px; }
  .hero-separator .line-2 { width: 70px; }
}

/* Shape Dividers */
.shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}

.shape-divider-top {
  top: 0;
}

.shape-divider-bottom {
  bottom: 0;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.shape-divider-top svg {
  transform: rotate(180deg);
}

.shape-divider .shape-fill {
  fill: var(--color-bg-light);
}

/* --- CLIENT LOGO CAROUSEL --- */
.clients-section {
  background-color: var(--color-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .clients-section {
    padding: 40px 0;
  }
  .clients-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    width: 160px;
    height: 80px;
  }
  .carousel-track {
    gap: 30px;
  }
}

.clients-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.carousel-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
}

.carousel-track-ltr {
  animation: scrollLTR 35s linear infinite;
}

.carousel-track-rtl {
  animation: scrollLTR 35s linear infinite reverse;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  flex-shrink: 0;
  width: 220px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all var(--transition-normal);
}

.carousel-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- BRAND PILLARS SECTION --- */
.pillars-section {
  background-color: #EBF1F6; /* Light cool blue-gray background to match design */
  overflow: hidden;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 30px 60px;
  align-items: center;
}

.pillars-image-box {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: relative;
}

.pillars-header {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.pillars-body {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.pillars-img {
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply; /* Blends out the solid white background */
}

.pillars-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-secondary); /* Dark blue title */
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
}

.pillars-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-accent); /* Red accent underline */
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background-color: var(--color-secondary); /* Dark slate blue card background */
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pillar-icon-box {
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(3, 135, 86, 0.2);
}

.pillar-item:nth-child(2) .pillar-icon-box {
  background-color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(216, 54, 43, 0.2);
}

.pillar-item:nth-child(3) .pillar-icon-box {
  background-color: var(--color-cyan); /* Light cyan background so it contrasts nicely against navy background card */
  box-shadow: 0 4px 10px rgba(9, 186, 207, 0.2);
}

.pillar-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-white); /* White title text */
}

.pillar-info p {
  color: rgba(255, 255, 255, 0.8); /* Light gray description text for best contrast */
  font-size: 15px;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Fix overflow from inline-styled pillars image */
  .pillars-image-box img {
    transform: none !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .pillars-title {
    font-size: 1.6rem;
  }
  .pillar-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
  }
  .pillar-icon-box {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* --- BANNER OVERFLOW SECTION --- */
.banner-promo {
  position: relative;
  background-color: var(--bp-bg-color, var(--color-white));
  overflow: hidden;
  padding: var(--bp-padding-y, 50px) 0;
  min-height: var(--bp-min-height, auto);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Default / Right layout (content on right, text aligned right, bg on left) */
.banner-promo,
.banner-promo.banner-right {
  --bp-align-items: flex-end;
  --bp-text-align: right;
  --bp-padding-left: 0;
  --bp-padding-right: 60px;
  --bp-bg-position: top left;
  --bp-bg-transform: none;
}

/* Left layout (content on left, text aligned left, bg on right) */
.banner-promo.banner-left {
  --bp-align-items: flex-start;
  --bp-text-align: left;
  --bp-padding-left: 60px;
  --bp-padding-right: 0;
  --bp-bg-position: top right;
  --bp-bg-transform: scaleX(-1);
}

/* Center layout */
.banner-promo.banner-center {
  --bp-align-items: center;
  --bp-text-align: center;
  --bp-padding-left: 0;
  --bp-padding-right: 0;
  --bp-bg-position: center;
  --bp-bg-transform: none;
}

.banner-promo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/img/uploads/2026/01/shape-scaled.png");
  background-position: var(--bp-bg-position, top left);
  background-repeat: no-repeat;
  background-size: var(--bp-bg-size, contain);
  opacity: var(--bp-bg-opacity, 0.85);
  z-index: 1;
  transform: var(--bp-bg-transform, none);
  pointer-events: none;
}

.banner-promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: var(--bp-align-items, flex-end);
  text-align: var(--bp-text-align, right);
  padding-left: var(--bp-padding-left, 0);
  padding-right: var(--bp-padding-right, 60px);
  width: 100%;
}

.banner-promo h2 {
  font-family: var(--font-heading);
  font-size: var(--bp-h2-size, 2.2rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.banner-promo p {
  font-family: var(--font-accent);
  font-size: var(--bp-p-size, 1.7rem);
  font-weight: 300;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .banner-promo-content {
    align-items: center !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .banner-promo h2 { font-size: 1.8rem !important; }
  .banner-promo p { font-size: 1.3rem !important; }
}

/* --- SECTION WHITE (PRODUCT TABS) --- */
.section-white {
  background-color: var(--color-white);
  padding: 50px 0;
}

/* --- PRODUCT TAB LIST --- */
.tab-list {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 30px;
  overflow-x: auto;
}

.tab {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.tab:hover {
  color: var(--color-primary);
}

.tab[aria-selected="true"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

/* --- PRODUCT TAB PANELS --- */
.tab-panel {
  display: none;
  animation: tabFadeIn 0.3s ease;
}

.tab-panel[aria-hidden="false"] {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 3-COLUMN GRID --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- PRODUCT CARD (TABS VERSION) --- */
.product-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 16px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.product-card-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- BODY TEXT --- */
.body-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  line-height: 1.7;
}

/* --- BUTTON LINE --- */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  background: none;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.btn-line:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.icon-arrow {
  font-size: 1rem;
  transition: transform var(--transition-normal);
}

.btn-line:hover .icon-arrow {
  transform: translateX(4px);
}

/* --- REVERSED BANNER PROMO (bg RIGHT, content LEFT) --- */
.banner-promo-reverse {
  position: relative;
  background-color: var(--bp-bg-color, var(--color-white));
  overflow: hidden;
  padding: var(--bp-padding-y, 50px) 0;
  min-height: var(--bp-min-height, auto);
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  --bp-align-items: flex-start;
  --bp-text-align: left;
  --bp-padding-left: 60px;
  --bp-padding-right: 0;
  --bp-bg-position: top right;
  --bp-bg-transform: scaleX(-1);
}

.banner-promo-reverse .banner-promo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/img/uploads/2026/01/shape-scaled.png");
  background-position: var(--bp-bg-position, top right);
  background-repeat: no-repeat;
  background-size: var(--bp-bg-size, contain);
  opacity: var(--bp-bg-opacity, 0.85);
  z-index: 1;
  transform: var(--bp-bg-transform, scaleX(-1));
  pointer-events: none;
}

.banner-promo-reverse .banner-promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: var(--bp-align-items, flex-start);
  text-align: var(--bp-text-align, left);
  padding-left: var(--bp-padding-left, 60px);
  padding-right: var(--bp-padding-right, 0);
  width: 100%;
}

.banner-promo-reverse h2 {
  font-family: var(--font-heading);
  font-size: var(--bp-h2-size, 2.2rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.banner-promo-reverse p {
  font-family: var(--font-accent);
  font-size: var(--bp-p-size, 1.7rem);
  font-weight: 300;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

/* --- PRODUCT TABS RESPONSIVE --- */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .tab-list {
    gap: 0;
  }
  .tab {
    padding: 10px 16px;
    font-size: 0.75rem;
  }
  .banner-promo-reverse .banner-promo-content {
    align-items: center;
    text-align: center;
    padding-left: 0;
  }
  .banner-promo-reverse h2 { font-size: 1.8rem; }
  .banner-promo-reverse p { font-size: 1.3rem; }
}

/* --- VIDEO FULLWIDTH SECTION --- */
.video-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}

.video-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 34, 71, 0.45) 0%, rgba(1, 35, 22, 0.75) 100%);
  z-index: 2;
}

.video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 700px;
}

.video-content h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.video-content p {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
  .video-section {
    height: 50vh;
    min-height: 300px;
  }
  .video-content h2 { font-size: 2.2rem; }
  .video-content p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .video-section {
    height: 45vh;
    min-height: 260px;
  }
  .video-content h2 { font-size: 1.6rem; }
  .video-content p { font-size: 0.9rem; margin-bottom: 20px; }
}

/* --- ABOUT PREVIEW SECTION --- */
.about-preview-section {
  background-color: var(--color-white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto 1fr;
  gap: 30px 60px;
  align-items: center;
}

.about-preview-header {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.about-preview-body {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.about-preview-grid .about-preview-images,
.about-preview-grid .pillars-image-box {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.about-preview-header {
  display: flex;
  flex-direction: column;
}

.about-preview-header h4 {
  color: var(--color-accent);
  text-transform: uppercase;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  order: -1;
}

.about-preview-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-preview-header h2 span {
  color: var(--color-primary);
}

.about-preview-body p {
  color: var(--color-text-dark);
  margin-bottom: 20px;
  font-size: 16px;
}

.about-preview-images {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-img-1 {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 90%;
  align-self: flex-start;
}

.about-img-2 {
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  width: 80%;
  align-self: flex-end;
  margin-top: -100px;
  border: 6px solid var(--color-white);
  z-index: 2;
}

@media (max-width: 992px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-2 {
    margin-top: -40px;
  }
}

@media (max-width: 480px) {
  .about-preview-text h2 {
    font-size: 1.6rem;
  }
  .about-preview-text h4 {
    font-size: 0.85rem;
  }
  .about-img-1 {
    width: 100%;
  }
  .about-img-2 {
    width: 90%;
    margin-top: -30px;
  }
}

/* --- PRODUCT GRID SECTION --- */
.products-section {
  background-color: var(--color-bg-light);
}

.section-header {
  max-width: 650px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
}

.section-header h4 {
  color: var(--color-primary);
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  order: -1;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-img-wrapper {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.product-subtitle {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-link {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.product-link i {
  transition: transform var(--transition-fast);
}

.product-card:hover .product-link i {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-section {
  background-color: var(--color-white);
  padding-bottom: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.why-card, .feature-card {
  background-color: #EBF1F6; /* light gray/blue background */
  padding: 24px;
  border-radius: 10px;
  text-align: left;
  transition: all var(--transition-normal);
  border: 1px solid #D2D2D2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 160px;
}

.why-card:hover, .feature-card:hover {
  background-color: var(--color-white);
  border-color: var(--color-primary); /* turns green on hover */
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon, .feature-card-icon {
  font-size: 26px;
  color: var(--color-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-normal);
}

.why-card:nth-child(1) .why-icon, .feature-card:nth-child(1) .why-icon, .feature-card:nth-child(1) .feature-card-icon { color: var(--color-primary); }
.why-card:nth-child(2) .why-icon, .feature-card:nth-child(2) .why-icon, .feature-card:nth-child(2) .feature-card-icon { color: var(--color-accent); }
.why-card:nth-child(3) .why-icon, .feature-card:nth-child(3) .why-icon, .feature-card:nth-child(3) .feature-card-icon { color: var(--color-secondary); }
.why-card:nth-child(4) .why-icon, .feature-card:nth-child(4) .why-icon, .feature-card:nth-child(4) .feature-card-icon { color: var(--color-primary); }
.why-card:nth-child(5) .why-icon, .feature-card:nth-child(5) .why-icon, .feature-card:nth-child(5) .feature-card-icon { color: var(--color-accent); }

.why-card h3, .feature-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-dark);
  margin: 0;
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SERVICE CARD TABS (BOTTOM GRID) --- */
.services-section {
  background-color: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box {
  position: relative;
  background-color: #D9D9D9; /* Light gray background */
  border-radius: 14px;
  padding: 40px 30px 70px 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  color: var(--color-dark);
}

.service-box:nth-child(2) {
  background-color: #000000; /* Dark black card in the middle */
  color: var(--color-white);
}

.service-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-box:nth-child(1):hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-box:nth-child(2):hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.service-box:nth-child(3):hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--color-primary) 33%, var(--color-accent) 33% 66%, var(--color-secondary) 66%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-box:hover::before {
  opacity: 1;
}

.service-box-content {
  padding: 0;
}

.service-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-box h4 {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 500;
  font-style: normal;
  color: inherit;
  opacity: 0.8;
  margin-bottom: 16px;
  border-left: 2px solid currentColor; /* Dynamic line matching card text color */
  padding-left: 10px;
  line-height: 1.4;
}

.service-box p {
  font-size: 14px;
  color: inherit;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-arrow-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-size: 18px;
  transition: all var(--transition-normal);
  border-radius: 14px 0 0 0;
}

.service-box:nth-child(1):hover .service-arrow-btn {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.service-box:nth-child(2):hover .service-arrow-btn {
  background-color: var(--color-white);
  color: var(--color-secondary);
}

.service-box:nth-child(3):hover .service-arrow-btn {
  background-color: var(--color-white);
  color: var(--color-accent);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FOOTER SECTION --- */
.footer-cta {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("./assets/img/uploads/2026/01/shape_01.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.15;
  z-index: 1;
}

.footer-cta-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 60px;
}

.footer-cta-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-cta-button-box {
  text-align: right;
}

.footer-links-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 40px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary) 33%, var(--color-accent) 33% 66%, var(--color-secondary) 66%);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-col .logo {
  margin-bottom: 20px;
}

.footer-col .logo img {
  height: 44px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  color: var(--color-white);
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-facebook:hover { background-color: #3b5998; }
.social-instagram:hover { background-color: #e1306c; }
.social-whatsapp:hover { background-color: #25d366; }

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu-link {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-menu-link::before {
  content: '→';
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.footer-menu-link:hover {
  color: var(--color-white);
}

.footer-menu-link:hover::before {
  transform: translateX(4px);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}

.contact-item i {
  color: var(--color-primary);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  background-color: #0b0f19;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: var(--color-white);
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

.footer-divider {
  color: rgba(255,255,255,0.25);
}

@media (max-width: 992px) {
  .footer-cta-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-cta-button-box {
    text-align: center;
  }
  .footer-links-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .footer-links-grid .footer-col:nth-child(3) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-cta-text h2 {
    font-size: 1.6rem;
  }
  .footer-cta {
    padding: 50px 0 40px;
  }
}

@media (max-width: 600px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-grid .footer-col:nth-child(3) {
    grid-column: span 1;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-cta-text h2 {
    font-size: 1.4rem;
  }
}

/* --- SERVICES MOBILE ADAPTABILITY --- */
.service-icon-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.service-icon-tab {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-icon-tab.is-active,
.service-icon-tab:hover {
  border-color: var(--color-primary);
  background-color: rgba(3, 135, 86, 0.05);
  color: var(--color-primary);
}

/* --- ANIMATIONS --- */
@keyframes scrollLTR {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--scroll-width, calc(-50% - 30px))); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Scroll-triggered classes */
.reveal {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.reveal-fade-up {
  transform: translateY(40px);
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* --- PAGES SPECIFIC STYLES --- */

/* Inner Page Hero */
.inner-hero {
  height: 50vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--color-white);
  padding-top: 80px;
}

.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 2;
}

.inner-hero-content {
  position: relative;
  z-index: 3;
}

.inner-hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.inner-hero p {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .inner-hero {
    height: 40vh;
    min-height: 280px;
  }
  .inner-hero h1 { font-size: 2.5rem; }
  .inner-hero p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .inner-hero {
    height: 35vh;
    min-height: 220px;
  }
  .inner-hero h1 { font-size: 1.8rem; }
  .inner-hero p { font-size: 0.9rem; }
}

/* Privacy / Terms page hero */
.page-hero {
  padding-top: 100px !important;
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 1.8rem !important;
  }
}

/* About Page: Tab System */
.about-tabs-container {
  margin-top: 40px;
}

.about-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.about-tab-btn {
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-text-muted);
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-normal);
}

.about-tab-btn:hover {
  color: var(--color-primary);
}

.about-tab-btn.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

@media (max-width: 600px) {
  .about-tabs-nav {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .about-tab-btn {
    padding: 14px 20px;
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }
  .about-tab-btn.is-active {
    border-bottom: 2px solid var(--color-primary);
    background-color: rgba(3, 135, 86, 0.04);
  }
}

.about-tab-content {
  display: none;
}

.about-tab-content.is-active {
  display: block;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expertise-card {
  background-color: var(--color-white);
  padding: 30px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
  border-top: 4px solid transparent;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.expertise-card:nth-child(1):hover { border-top-color: var(--color-primary); }
.expertise-card:nth-child(2):hover { border-top-color: var(--color-secondary); }
.expertise-card:nth-child(3):hover { border-top-color: var(--color-accent); }
.expertise-card:nth-child(4):hover { border-top-color: var(--color-primary); }

.expertise-card .icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 20px;
}

.expertise-card:nth-child(1) .icon-box {
  background-color: rgba(3, 135, 86, 0.08);
  color: var(--color-primary);
}

.expertise-card:nth-child(2) .icon-box {
  background-color: rgba(34, 66, 121, 0.08);
  color: var(--color-secondary);
}

.expertise-card:nth-child(3) .icon-box {
  background-color: rgba(216, 54, 43, 0.08);
  color: var(--color-accent);
}

.expertise-card:nth-child(4) .icon-box {
  background-color: rgba(3, 135, 86, 0.08);
  color: var(--color-primary);
}

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.expertise-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.contact-form-box {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  padding: 45px 40px 40px 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.contact-form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--color-primary) 33%, var(--color-accent) 33% 66%, var(--color-secondary) 66%);
}

.contact-form-box h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.contact-form-box p {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-bg-light);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(3, 135, 86, 0.1);
}

.form-error {
  position: absolute;
  bottom: -18px;
  left: 4px;
  font-size: 12px;
  color: var(--color-accent);
  display: none;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background-color: #EBF1F6; /* light gray/blue background */
  border-radius: 12px;
  border: 1px solid #D2D2D2;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.info-card:hover {
  background-color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.info-icon-box {
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info-panel .info-card:nth-child(1) .info-icon-box {
  background-color: var(--color-primary);
}

.contact-info-panel .info-card:nth-child(2) .info-icon-box {
  background-color: var(--color-secondary);
}

.contact-info-panel .info-card:nth-child(3) .info-icon-box {
  background-color: var(--color-accent);
}

.contact-info-panel .info-card:nth-child(4) .info-icon-box {
  background-color: var(--color-primary);
}

.info-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-dark);
}

.info-text p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Map Section */
.map-section {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 60px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-box {
    padding: 24px;
  }
}

/* Simple Floating WhatsApp button replacing Chaty */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: var(--color-white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ====================================================
   COMPREHENSIVE RESPONSIVE FIXES
   Ensures all pages, sections, and content display
   properly on all devices: desktop, tablet, mobile    ==================================================== */

/* --- Global: Section Header on Mobile --- */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.6rem;
  }
  .section-header h4 {
    font-size: 0.85rem;
  }
}

/* --- Responsive Layout Ordering (Mobile/Tablet) --- */
@media (max-width: 992px) {
  .pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .pillars-header {
    order: 1 !important;
  }
  .pillars-image-box {
    order: 2 !important;
  }
  .pillars-body {
    order: 3 !important;
  }

  .about-preview-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .about-preview-header {
    order: 1 !important;
  }
  .about-preview-grid .about-preview-images,
  .about-preview-grid .pillars-image-box {
    order: 2 !important;
  }
  .about-preview-body {
    order: 3 !important;
  }
  
  .about-img-2 {
    margin-top: -40px;
  }
}

/* --- Product tabs section: reduce excessive bottom padding on mobile --- */
@media (max-width: 768px) {
  .product-tabs-section {
    padding-bottom: 80px !important;
  }
  .section-white {
    padding: 30px 0;
  }
  .tab-list {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tab-list::-webkit-scrollbar {
    display: none;
  }
}

/* --- Banner promo padding on mobile --- */
@media (max-width: 768px) {
  .banner-promo-reverse .banner-promo-content,
  .banner-promo .banner-promo-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-items: center !important;
    text-align: center !important;
  }
}

/* --- Service boxes: text sizing on mobile --- */
@media (max-width: 480px) {
  .service-box h3 {
    font-size: 1.2rem;
  }
  .service-box h4 {
    font-size: 0.8rem;
  }
  .service-box {
    padding: 30px 20px 60px 20px;
    min-height: 200px;
  }
}

/* --- Why Choose: title on mobile --- */
@media (max-width: 480px) {
  .why-choose-title {
    font-size: 1.4rem !important;
  }
}

/* --- Map section on mobile --- */
@media (max-width: 600px) {
  .map-section {
    height: 280px;
    margin-top: 40px;
    border-radius: 12px;
  }
}

/* --- Button sizing on small screens --- */
@media (max-width: 480px) {
  .btn {
    padding: 10px 22px;
    font-size: 14px;
  }
  .btn-line {
    padding: 8px 22px;
    font-size: 0.85rem;
  }
}

/* --- Container padding on very small screens --- */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }
}

/* --- About page: Story section inline image stack fix --- */
@media (max-width: 768px) {
  .pillars-image-box .about-img-1,
  .pillars-image-box .about-img-2 {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 15px auto !important;
    box-shadow: var(--shadow-md) !important;
    border: none !important;
    transform: none !important;
  }
}

/* --- About page: inline heading size fixes --- */
@media (max-width: 480px) {
  .pillars-text-box p[style*="font-size: 1.6rem"],
  .pillars-body p[style*="font-size: 1.6rem"] {
    font-size: 1.2rem !important;
  }
  .pillars-text-box p[style*="font-size: 1.1rem"],
  .pillars-body p[style*="font-size: 1.1rem"] {
    font-size: 0.95rem !important;
  }
}

/* --- Contact page: info cards stack on mobile --- */
@media (max-width: 480px) {
  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
}

/* --- Privacy / Terms page content overflow --- */
@media (max-width: 600px) {
  .page-content .container {
    padding: 0 16px !important;
  }
  .page-content h2 {
    font-size: 1.3rem !important;
  }
  .page-content p,
  .page-content li {
    font-size: 14px !important;
  }
}

/* --- Product card image height on mobile --- */
@media (max-width: 600px) {
  .product-card img {
    height: 180px;
  }
  .product-img-wrapper {
    height: 200px;
  }
}

/* --- Decorative background shapes scaling on mobile --- */
@media (max-width: 768px) {
  /* Banner promo decorative container height & margins override */
/* ====================================================
   COMPREHENSIVE RESPONSIVE FIXES
   Ensures all pages, sections, and content display
   properly on all devices: desktop, tablet, mobile
   ==================================================== */

/* --- Global: Section Header on Mobile --- */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.6rem;
  }
  .section-header h4 {
    font-size: 0.85rem;
  }
}

/* --- Responsive Layout Ordering (Mobile/Tablet) --- */
@media (max-width: 992px) {
  .pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .pillars-header {
    order: 1 !important;
  }
  .pillars-image-box {
    order: 2 !important;
  }
  .pillars-body {
    order: 3 !important;
  }

  .about-preview-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .about-preview-header {
    order: 1 !important;
  }
  .about-preview-grid .about-preview-images,
  .about-preview-grid .pillars-image-box {
    order: 2 !important;
  }
  .about-preview-body {
    order: 3 !important;
  }
  
  .about-img-2 {
    margin-top: -40px;
  }
}

/* --- Product tabs section: reduce excessive bottom padding on mobile --- */
@media (max-width: 768px) {
  .product-tabs-section {
    padding-bottom: 80px !important;
  }
  .section-white {
    padding: 30px 0;
  }
  .tab-list {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tab-list::-webkit-scrollbar {
    display: none;
  }
}

/* --- Banner promo padding on mobile --- */
@media (max-width: 768px) {
  .banner-promo-reverse .banner-promo-content,
  .banner-promo .banner-promo-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-items: center !important;
    text-align: center !important;
  }
}

/* --- Service boxes: text sizing on mobile --- */
@media (max-width: 480px) {
  .service-box h3 {
    font-size: 1.2rem;
  }
  .service-box h4 {
    font-size: 0.8rem;
  }
  .service-box {
    padding: 30px 20px 60px 20px;
    min-height: 200px;
  }
}

/* --- Why Choose: title on mobile --- */
@media (max-width: 480px) {
  .why-choose-title {
    font-size: 1.4rem !important;
  }
}

/* --- Map section on mobile --- */
@media (max-width: 600px) {
  .map-section {
    height: 280px;
    margin-top: 40px;
    border-radius: 12px;
  }
}

/* --- Button sizing on small screens --- */
@media (max-width: 480px) {
  .btn {
    padding: 10px 22px;
    font-size: 14px;
  }
  .btn-line {
    padding: 8px 22px;
    font-size: 0.85rem;
  }
}

/* --- Container padding on very small screens --- */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }
}

/* --- About page: Story section inline image stack fix --- */
@media (max-width: 768px) {
  .pillars-image-box .about-img-1,
  .pillars-image-box .about-img-2 {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 15px auto !important;
    box-shadow: var(--shadow-md) !important;
    border: none !important;
    transform: none !important;
  }
}

/* --- About page: inline heading size fixes --- */
@media (max-width: 480px) {
  .pillars-text-box p[style*="font-size: 1.6rem"],
  .pillars-body p[style*="font-size: 1.6rem"] {
    font-size: 1.2rem !important;
  }
  .pillars-text-box p[style*="font-size: 1.1rem"],
  .pillars-body p[style*="font-size: 1.1rem"] {
    font-size: 0.95rem !important;
  }
}

/* --- Contact page: info cards stack on mobile --- */
@media (max-width: 480px) {
  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
}

/* --- Privacy / Terms page content overflow --- */
@media (max-width: 600px) {
  .page-content .container {
    padding: 0 16px !important;
  }
  .page-content h2 {
    font-size: 1.3rem !important;
  }
  .page-content p,
  .page-content li {
    font-size: 14px !important;
  }
}

/* --- Product card image height on mobile --- */
@media (max-width: 600px) {
  .product-card img {
    height: 180px;
  }
  .product-img-wrapper {
    height: 200px;
  }
}

/* --- Decorative background shapes scaling on mobile --- */
@media (max-width: 768px) {
  /* Banner promo decorative container height & margins override */
  .banner-promo[style*="min-height: 170px"],
  .banner-promo[style*="min-height:170px"] {
    min-height: 80px !important;
    margin-top: -60px !important;
    margin-bottom: 15px !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .banner-promo-bg {
    background-size: 60% auto !important;
    opacity: 0.65 !important;
    display: block !important;
  }

  /* Product tabs bottom tricolor strap scale override */
  .product-tabs-section [style*="position:absolute"],
  .product-tabs-section [style*="position: absolute"] {
    height: 120px !important;
    bottom: 20px !important;
    opacity: 0.7 !important;
    background-size: auto 100% !important;
    display: block !important;
  }
}
