/* ============================================================
   KP Ridge Pvt. Ltd. — Main Stylesheet
   Color palette: Logo Red · Logo Navy · Cream · Dark
   ============================================================ */

:root {
  --color-navy:      #1A2F6E;   /* logo navy/blue */
  --color-red:       #C8232C;   /* logo red */
  --color-red-dark:  #a11c24;   /* red hover/active */
  --color-cream:     #F7F5F2;
  --color-dark:      #0E1A2B;
  --color-text:      #2D2D2D;
  --color-muted:     #6B7280;
  --color-white:     #FFFFFF;
  --color-border:    #E2DDD8;
  --section-pad:     90px 0;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  overflow-x: hidden;
  background: var(--color-white);
  color: var(--color-text);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--color-navy);
  line-height: 1.2;
}

p { font-family: "Roboto", sans-serif; }

a { text-decoration: none; }

ul { list-style: none; padding: 0; margin: 0; }

li { padding: 4px 0; }

img { max-width: 100%; }

/* ---- Utility ---- */
.text-gold  { color: var(--color-red)  !important; }
.bg-navy    { background: var(--color-navy) !important; }
.bg-cream   { background: var(--color-cream) !important; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.divider-gold {
  width: 56px;
  height: 3px;
  background: var(--color-red);
  border: none;
  margin: 18px auto;
  display: block;
}

/* ---- Navbar ---- */
.navbar {
  background: var(--color-white) !important;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s;
}

.navbar-brand img { max-width: 130px; }

.navbar .nav-link {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy) !important;
  padding: 8px 18px !important;
  transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--color-red) !important; }

.navbar .dropdown-menu {
  border: none;
  border-radius: 3px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
}

.navbar .dropdown-item {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
  padding: 10px 20px;
  transition: background 0.2s, color 0.2s;
}

.navbar .dropdown-item:hover {
  background: var(--color-cream);
  color: var(--color-red);
}

/* ---- Buttons ---- */
.btn-gold {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white) !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-gold:hover {
  background: var(--color-red-dark);
  color: var(--color-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 35, 44, 0.35);
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--color-white) !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 34px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white) !important;
}

/* Alias for backward-compat (forms) */
.btn-custom {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white) !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  min-width: 140px;
}

.btn-custom:hover {
  background: var(--color-red-dark);
  color: var(--color-white) !important;
  transform: translateY(-2px);
}

/* ---- Form Controls ---- */
.custfield {
  border: 1px solid var(--color-border) !important;
  border-radius: 2px !important;
  padding: 12px 16px !important;
  font-size: 0.88rem;
  font-family: "Roboto", sans-serif;
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custfield:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 0 3px rgba(200, 35, 44, 0.15) !important;
  outline: none;
}

.form-select {
  border: 1px solid var(--color-border) !important;
  border-radius: 2px !important;
  padding: 12px 16px !important;
  font-size: 0.88rem;
  font-family: "Roboto", sans-serif;
}

.form-select:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 0 3px rgba(200, 35, 44, 0.15) !important;
}

.form-control::placeholder,
.custfield::placeholder { color: #aaa; font-size: 0.88rem; }

/* ---- Hero ---- */
.hero-section {
  background: url("../images/kp_ridge/elevation banner 1-01.jpg") no-repeat center center / cover;
  height: 100vh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 47, 110, 0.80) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-tagline {
  display: inline-block;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-section h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.12;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Enquiry Bar ---- */
.enquiry-bar-section {
  background: var(--color-navy);
  padding: 44px 0;
}

.enquiry-bar-section h5 {
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--color-red);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 700;
  text-align: center;
}

.enquiry-bar-section .custfield {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: var(--color-white);
}

.enquiry-bar-section .custfield::placeholder { color: rgba(255, 255, 255, 0.45); }

.enquiry-bar-section .custfield:focus {
  border-color: var(--color-red) !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.11) !important;
}

.enquiry-bar-section .form-select {
  background-color: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: rgba(255, 255, 255, 0.6);
}

.enquiry-bar-section .form-select:focus {
  border-color: var(--color-red) !important;
  box-shadow: none !important;
}

.enquiry-bar-section .form-select option {
  background: var(--color-navy);
  color: var(--color-white);
}

.enquiry-bar-section .error-message { color: #f87171 !important; }

/* ---- Intro Section ---- */
.intro-section { padding: var(--section-pad); background: var(--color-cream); }

.intro-section .section-title { text-align: left; }

.intro-section p {
  font-size: 0.97rem;
  color: var(--color-muted);
  line-height: 1.85;
}

.intro-section .intro-img-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 420px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(26, 47, 110, 0.15);
}

.intro-section .intro-img-wrap img {
  width: 100%;
  height: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991px) {
  .intro-section .intro-img-wrap { min-height: 320px; }
}

/* ---- Kanchan Pharma Section (Revamped) ---- */
.kanchan-section {
  overflow: hidden;
}

.kanchan-left {
  padding: 80px 56px 80px 80px;
  background: var(--color-white);
  height: 100%;
}

.kanchan-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-red);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.kanchan-sub {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}

.kanchan-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.88;
  margin-bottom: 14px;
}

.kanchan-desc strong { color: var(--color-text); }

.kanchan-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.kanchan-pill {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
  border-radius: 2px;
  padding: 9px 18px;
  cursor: default;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}

.kanchan-pill:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

/* Right stats panel */
.kanchan-right {
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
}

.kanchan-stat-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.kanchan-stat-item {
  background: var(--color-white);
  border-radius: 3px;
  padding: 32px 28px;
  border-top: 3px solid var(--color-red);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.kanchan-stat-item:hover {
  box-shadow: 0 8px 32px rgba(26, 47, 110, 0.1);
  transform: translateY(-3px);
}

.ksi-divider { display: none; }

.ksi-num {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.ksi-num sup {
  color: var(--color-red);
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 800;
}

.ksi-label {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .kanchan-left  { padding: 60px 24px; }
  .kanchan-right { padding: 40px 24px; }
}

@media (max-width: 768px) {
  .kanchan-stat-strip { grid-template-columns: 1fr 1fr; }
  .kanchan-stat-item  { padding: 24px 18px; }
  .ksi-num            { font-size: 2.2rem; }
}

/* ---- Pan India Footprint ---- */
.footprint-section {
  padding: var(--section-pad);
  background: var(--color-white);
}

.footprint-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.footprint-heading span { color: var(--color-red); }

.india-map-wrap {
  background: var(--color-cream);
  border-radius: 4px;
  padding: 32px;
  display: inline-block;
  width: 100%;
}

.india-map-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

.footprint-body {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.9;
  margin-bottom: 32px;
}

.footprint-body strong { color: var(--color-text); }

.footprint-coverage {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.fc-pill {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 2px;
  cursor: default;
}

.fc-navy { background: var(--color-navy); color: var(--color-white); }
.fc-red  { background: var(--color-red);  color: var(--color-white); }

/* ---- Our Projects Table ---- */
.projects-table-section {
  padding: var(--section-pad);
  background: var(--color-cream);
}

.projects-table-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.projects-table-heading span { color: var(--color-red); }

.kp-projects-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26, 47, 110, 0.07);
}

.kp-projects-table thead tr {
  background: var(--color-navy);
}

.kp-projects-table thead th {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-white);
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
}

.kp-projects-table thead th:first-child { width: 72px; text-align: center; }
.kp-projects-table thead th:last-child  { text-align: center; }

.kp-projects-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background 0.18s;
}

.kp-projects-table tbody tr:last-child { border-bottom: none; }

.kp-projects-table tbody tr:hover { background: var(--color-cream); }

.kp-projects-table tbody td {
  font-size: 0.88rem;
  color: var(--color-text);
  padding: 15px 20px;
  vertical-align: middle;
}

.kp-projects-table tbody td:first-child {
  text-align: center;
  font-weight: 700;
  color: var(--color-navy);
  font-family: "Be Vietnam Pro", sans-serif;
}

.kp-projects-table tbody td:last-child {
  text-align: center;
  font-weight: 700;
  color: var(--color-navy);
  font-family: "Be Vietnam Pro", sans-serif;
  white-space: nowrap;
}

.kp-projects-table .row-highlight td:first-child { color: var(--color-navy); }

/* ---- Our Directors Section ---- */
.directors-section {
  padding: var(--section-pad);
  background: var(--color-cream);
}

.directors-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.director-card {
  background: var(--color-navy);
  border-radius: 4px;
  padding: 44px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.director-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-red);
}

.director-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(26, 47, 110, 0.25);
}

.director-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.director-name {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.director-role {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0;
}

.director-divider {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: 20px 0;
}

.director-bio {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  margin: 0;
}

.director-bio strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

/* ---- Bridge Between Legacy & Luxury ---- */
.bridge-section {
  overflow: hidden;
}

.bridge-top {
  background: var(--color-white);
  padding: 90px 0 70px;
}

.bridge-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-red);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.bridge-heading span {
  color: var(--color-navy);
}

.bridge-lead {
  font-size: 0.97rem;
  color: var(--color-muted);
  max-width: 720px;
  margin: 0 auto 22px;
  line-height: 1.85;
}

.bridge-accent-sub {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.bridge-body {
  font-size: 0.92rem;
  color: var(--color-muted);
  max-width: 680px;
  margin: 0 auto 50px;
  line-height: 1.85;
}

/* Pillars */
.bridge-pillars { margin-top: 10px; }

.bridge-pillar {
  padding: 16px 20px 0;
}

.bridge-icon-circle {
  width: 90px;
  height: 90px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 8px 28px rgba(200, 35, 44, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.bridge-pillar:hover .bridge-icon-circle {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(200, 35, 44, 0.4);
}

.bridge-pillar-title {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.bridge-pillar-desc {
  font-size: 0.86rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 240px;
  margin: 0 auto;
}

/* Bottom navy banner */
.bridge-bottom {
  background: var(--color-navy);
  padding: 52px 0;
}

.bridge-bottom-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.bridge-bottom-text strong {
  color: var(--color-white);
  font-weight: 700;
}

/* ---- KP Ridge Vision Section ---- */
.kpridge-vision-section {
  padding: var(--section-pad);
  background: var(--color-cream);
}

.kpridge-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-red);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.kpridge-sub {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.kpridge-desc {
  font-size: 0.91rem;
  color: var(--color-muted);
  line-height: 1.88;
  margin-bottom: 12px;
}

.kpridge-desc strong { color: var(--color-text); }

/* Service cards */
.kpv-service-card {
  background: var(--color-white);
  border-radius: 3px;
  padding: 36px 20px 28px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.kpv-service-card:hover {
  border-bottom-color: var(--color-red);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(26, 47, 110, 0.1);
}

.kpv-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--color-navy);
  transition: color 0.3s;
}

.kpv-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.kpv-service-card:hover .kpv-icon-wrap { color: var(--color-red); }

.kpv-service-name {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  line-height: 1.5;
  margin: 0;
}

/* ---- Stats Section ---- */
.stats-section { padding: var(--section-pad); background: var(--color-white); }

.stat-card {
  text-align: center;
  padding: 44px 28px;
  border-top: 3px solid var(--color-red);
  background: var(--color-cream);
  border-radius: 3px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26, 47, 110, 0.12);
}

.stat-number {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-suffix {
  font-size: 2.2rem;
  color: var(--color-red);
  font-weight: 700;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

/* ---- Services Section ---- */
.services-section { padding: var(--section-pad); background: var(--color-navy); }

.services-section .section-title { color: var(--color-white); }

.services-section .section-subtitle { color: rgba(255, 255, 255, 0.65); }

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.service-card:hover {
  background: rgba(200, 35, 44, 0.12);
  border-color: var(--color-red);
  transform: translateY(-5px);
}

.service-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.service-card:hover .service-icon {
  filter: sepia(1) saturate(4) hue-rotate(10deg) brightness(0.9);
}

.service-card h5 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-white);
  font-family: "Be Vietnam Pro", sans-serif;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ---- Values Section ---- */
.values-section {
  padding: var(--section-pad);
  background: var(--color-white);
}

.value-card {
  background: var(--color-white);
  border-left: 4px solid var(--color-border);
  border-radius: 0 4px 4px 0;
  padding: 32px 28px 32px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  height: 100%;
  overflow: hidden;
}

.value-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(26, 47, 110, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.value-card:hover {
  border-left-color: var(--color-red);
  box-shadow: 0 8px 40px rgba(26, 47, 110, 0.10);
  transform: translateX(4px);
}

.value-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(200, 35, 44, 0.08);
  border: 1px solid rgba(200, 35, 44, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
  margin-top: 2px;
}

.value-card:hover .value-icon-wrap {
  background: var(--color-red);
  border-color: var(--color-red);
}

.value-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: invert(16%) sepia(80%) saturate(4000%) hue-rotate(345deg) brightness(90%);
  transition: filter 0.3s;
}

.value-card:hover .value-icon { filter: brightness(0) invert(1); }

.value-text { flex: 1; }

.value-card h5 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.value-card:hover h5 { color: var(--color-red); }

.value-card p {
  font-size: 0.83rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin: 0;
}

/* ---- Projects Section — Auto-scroll Carousel ---- */
.projects-section {
  padding: var(--section-pad);
  background: var(--color-white);
}

.projects-sub-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.projects-sub-heading span { color: var(--color-red); }

.projects-carousel {
  overflow: hidden;
  position: relative;
}

/* Fade edges */
.projects-carousel::before,
.projects-carousel::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.projects-carousel::before { left: 0;  background: linear-gradient(to right, var(--color-white), transparent); }
.projects-carousel::after  { right: 0; background: linear-gradient(to left,  var(--color-white), transparent); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--color-navy);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
}
.carousel-btn:hover { background: var(--color-red); transform: translateY(-50%) scale(1.08); }
.carousel-btn-prev  { left: 14px; }
.carousel-btn-next  { right: 14px; }

@keyframes kp-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.projects-track {
  display: flex;
  gap: 20px;
  /* padding-right closes the trailing gap so -50% lands exactly on the clone boundary */
  padding-right: 20px;
  width: max-content;
  will-change: transform;
}

.projects-track.animate {
  animation: kp-scroll 28s linear infinite;
}

.projects-carousel:hover .projects-track.animate {
  animation-play-state: paused;
}

/* Individual card */
.pcard {
  flex-shrink: 0;
  width: 320px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.pcard img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pcard:hover img { transform: scale(1.05); }

.pcard-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(14, 26, 43, 0.96) 0%,
    rgba(14, 26, 43, 0.5) 50%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pcard:hover .pcard-info { opacity: 1; }

.pcard-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 6px;
  display: block;
}

.pcard-name {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.pcard-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3px;
  display: flex;
  gap: 8px;
}

.pcard-meta span {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  min-width: 36px;
}

/* Touch/mobile — always show info */
@media (hover: none) {
  .pcard-info { opacity: 1; }
}

@media (max-width: 576px) {
  .pcard { width: 260px; }
  .pcard img { height: 300px; }
}

/* ---- Team Section ---- */
.team-section { padding: var(--section-pad); background: var(--color-cream); }

.team-card {
  background: var(--color-white);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(26, 47, 110, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(26, 47, 110, 0.15);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-card-body {
  padding: 28px 24px;
  border-top: 3px solid var(--color-red);
}

.team-card-body h4 {
  font-size: 0.97rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.team-card-body .role {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 16px;
}

.team-card-body p {
  font-size: 0.87rem;
  color: var(--color-muted);
  line-height: 1.78;
  margin: 0;
}

/* ---- Blog Section ---- */
.blog-section { padding: var(--section-pad); background: var(--color-white); }

.blog-card {
  background: var(--color-white);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(26, 47, 110, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 42px rgba(26, 47, 110, 0.13);
}

.blog-img-wrap { overflow: hidden; }

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

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

.blog-card-body {
  padding: 20px 20px 24px;
  border-top: 2px solid var(--color-red);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-card-body h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.45;
  margin-bottom: 10px;
  font-family: "Be Vietnam Pro", sans-serif;
}

.blog-card-body p {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  margin-top: auto;
}

.blog-read-more:hover { gap: 12px; color: var(--color-red-dark); }

/* ---- Contact Section ---- */
.contact-section { padding: var(--section-pad); background: var(--color-cream); }

.contact-section .section-title { text-align: left; }

.contact-section iframe { border-radius: 3px; }

/* ---- Footer ---- */
footer {
  background: var(--color-dark) !important;
  padding: 72px 0 28px;
}

footer h6 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 22px;
}

footer img {
  filter: brightness(0) invert(1);
  max-width: 140px;
  margin-bottom: 20px;
  display: block;
}

footer p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.82;
  margin-bottom: 10px;
}

footer strong { color: rgba(255, 255, 255, 0.85); }

footer .nav-link {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6) !important;
  padding: 5px 0 !important;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

footer .nav-link:hover { color: var(--color-red) !important; }

footer .footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 44px 0 24px;
}

footer .footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin: 0;
}

footer a { color: rgba(255, 255, 255, 0.6); transition: color 0.2s; }
footer a:hover { color: var(--color-red) !important; }

footer .dropdown-menu {
  background: #1f2937;
  border: none;
}

footer .dropdown-item {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

footer .dropdown-item:hover {
  background: rgba(200, 35, 44, 0.15);
  color: var(--color-red);
}

/* ---- Modal ---- */
.modal-content {
  border-radius: 3px;
  border: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.modal-header { border-bottom: none; padding-bottom: 0; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  :root { --section-pad: 70px 0; }
  .hero-section h1 { font-size: 2.1rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .team-card img { height: 260px; }
  .stat-number { font-size: 3rem; }
}

@media (max-width: 576px) {
  :root { --section-pad: 56px 0; }
  .stat-number { font-size: 2.6rem; }
  .intro-section .col-lg-5 { display: none; }
}

/* ============================================================
   Blog Post Pages
   ============================================================ */

.blog-post-hero {
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  text-align: center;
}

.blog-post-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.blog-post-hero .hero-content { position: relative; z-index: 2; }

.blog-post-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.blog-post-title {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 18px;
  font-family: "Be Vietnam Pro", sans-serif;
}

.blog-post-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-post-meta span { display: flex; align-items: center; gap: 6px; }

/* Article body */
.blog-post-body {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.92;
}

.blog-post-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 40px 0 14px;
  text-transform: none;
}

.blog-post-body p { margin-bottom: 22px; }

.blog-post-body blockquote {
  border-left: 4px solid var(--color-red);
  padding: 16px 24px;
  margin: 30px 0;
  background: var(--color-cream);
  font-style: italic;
  color: var(--color-navy);
  font-weight: 500;
  border-radius: 0 3px 3px 0;
}

.blog-post-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 22px;
}

.blog-post-body ul li { padding: 4px 0; color: var(--color-muted); }

/* Sidebar */
.blog-sidebar-card {
  background: var(--color-cream);
  border-radius: 3px;
  padding: 28px;
  margin-bottom: 28px;
}

.blog-sidebar-card h5 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-red);
}

.related-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}

.related-post:last-child { border-bottom: none; }

.related-post img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.related-post-text { flex: 1; }

.related-post-text span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 4px;
}

.related-post-text p {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.35;
  margin: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  transition: color 0.2s;
}

.related-post:hover .related-post-text p { color: var(--color-red); }

/* CTA Banner */
.blog-cta-banner {
  background: var(--color-navy);
  padding: 70px 0;
  text-align: center;
}

.blog-cta-banner h3 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
  margin: 0 auto 28px;
}

/* ---- Fixed Floating Call Button ---- */
.fixed-call-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  box-shadow: 0 4px 20px rgba(200, 35, 44, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.fixed-call-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(200, 35, 44, 0.6);
}

.fixed-call-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(200, 35, 44, 0.45);
  animation: call-pulse 2s ease-out infinite;
}

@keyframes call-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.9); opacity: 0; }
}

