/*
  CAREN HOME-4 REPLICA FOR NIKKISO-AYSHA
  Primary Color: #BF00FF (Purple)
  Theme: Light / Corporate White
  Version: 5.0 — Professional White Theme
*/

/* =======================================
   CSS VARIABLES
======================================= */
:root {
  --primary: #BF00FF;
  --primary-rgb: 191, 0, 255;
  --primary-hover: #9900CC;
  --primary-light: rgba(191, 0, 255, 0.08);
  --primary-glow: rgba(191, 0, 255, 0.12);
  --primary-glow-strong: rgba(191, 0, 255, 0.25);
  --dark: #1A1A2E;
  --dark-2: #12121F;
  --dark-3: #0D0D1A;
  --dark-4: #222240;
  --white: #ffffff;
  --light: #F7F7FB;
  --light-2: #F0EDF5;
  --light-3: #E8E5EF;
  --gray: #6B6B80;
  --gray-light: #999;
  --gray-dark: #4A4A5A;
  --text: #555566;
  --text-dark: #1A1A2E;
  --heading: #1A1A2E;
  --border: #E5E5EE;
  --border-light: #EEEEF5;
  --border-purple: #E0D6F0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
  --shadow-hover: 0 20px 40px rgba(0,0,0,0.12);
  --radius: 0px;
  --radius-sm: 0px;
  --radius-lg: 0px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Funnel Display', sans-serif;
  --font-body: 'Inter', sans-serif;
  --gradient-primary: linear-gradient(135deg, #BF00FF 0%, #7B00CC 100%);
  --gradient-dark: linear-gradient(180deg, rgba(13,13,26,0.7) 0%, rgba(13,13,26,0.9) 100%);
  --card-bg: #ffffff;
  --section-bg: #ffffff;
  --section-alt-bg: #F7F7FB;
}

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

html {
  scroll-behavior: smooth;
  /* Scale the whole site down ~10% — shrinks all rem-based sizing proportionally */
  font-size: 90%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =======================================
   CONTAINER
======================================= */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 900px;
}

/* =======================================
   HEADER
======================================= */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.header--scrolled {
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header--scrolled .header__logo-text {
  color: var(--heading);
}

.header--scrolled .nav__link {
  color: var(--heading);
}

.header--scrolled .nav__link:hover,
.header--scrolled .nav__link--active {
  color: var(--primary);
}

.header--scrolled .nav__phone a {
  color: var(--heading);
}

.header--scrolled .nav__phone {
  border-left-color: var(--border);
}

.header--scrolled .nav__toggle span {
  background-color: var(--heading);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.header__logo-text span {
  color: var(--primary);
}

/* =======================================
   NAVIGATION
======================================= */
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__list {
  display: flex;
  gap: 5px;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 12px;
  position: relative;
  color: var(--white);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.nav__phone i {
  font-size: 1.3rem;
  color: var(--primary);
}

.nav__phone small {
  font-size: 0.7rem;
  color: var(--gray-light);
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

.nav__phone a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  white-space: nowrap;
}

.nav__cta {
  margin-left: 10px;
  padding: 13px 26px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Progressive header slimming — hide secondary items before nav gets cramped */
@media (max-width: 1300px) {
  .nav .nav__phone {
    display: none;
  }
}

@media (max-width: 1120px) {
  .nav .nav__cta {
    display: none;
  }
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav__toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--white);
  transition: 0.3s;
  display: block;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* =======================================
   BUTTONS (Caren Style)
======================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--dark);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--heading);
  border: 2px solid var(--primary);
}

.btn--outline::before {
  background-color: var(--primary);
}

.btn--outline:hover {
  color: var(--white);
}

.btn--dark {
  background-color: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
}

.btn--dark::before {
  background-color: var(--primary);
}

.btn--white {
  background-color: var(--white);
  color: var(--dark);
}

.btn--white::before {
  background-color: var(--primary);
}

.btn--white:hover {
  color: var(--white);
}

.btn--large {
  padding: 18px 45px;
  font-size: 1rem;
}

.btn--sm {
  padding: 10px 25px;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* =======================================
   HERO SECTION (Stays Dark)
======================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--dark);
  overflow: hidden;
  perspective: 1400px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.12);
}

@media (prefers-reduced-motion: reduce) {
  .hero__decoration { animation: none !important; transform: none !important; }
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(13,13,26,0.78) 0%, rgba(13,13,26,0.40) 45%, rgba(13,13,26,0.08) 100%),
    linear-gradient(0deg, rgba(13,13,26,0.68) 0%, rgba(13,13,26,0) 55%);
}

.hero__container {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 60px;
  transform-style: preserve-3d;
}

.hero__content {
  max-width: 750px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* push key elements forward in 3D space for subtle depth on tilt */
.hero__content .hero__eyebrow { transform: translateZ(30px); }
.hero__content .hero__title   { transform: translateZ(55px); }
.hero__content .hero__text    { transform: translateZ(30px); }
.hero__content .hero__actions { transform: translateZ(45px); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 25px;
}

.hero__eyebrow::before {
  content: '';
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.hero__title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.18;
  color: var(--white);
}

.hero__title span {
  color: var(--primary);
}

.hero__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 550px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero__actions .btn--outline {
  color: var(--white);
}

/* Hero decorative elements */
.hero__decoration {
  position: absolute;
  z-index: 2;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__decoration--circle {
  width: 400px;
  height: 400px;
  border: 1px solid rgba(191, 0, 255, 0.18);
  border-radius: 50%;
  right: -100px;
  bottom: -100px;
  animation: heroSpin 40s linear infinite;
}

.hero__decoration--circle2 {
  width: 250px;
  height: 250px;
  border: 1px dashed rgba(191, 0, 255, 0.15);
  border-radius: 50%;
  right: 50px;
  top: 20%;
  animation: heroSpin 28s linear infinite reverse;
}

/* soft radial glow behind content */
.hero__decoration--glow {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  left: -180px;
  top: 10%;
  background: radial-gradient(circle, rgba(191,0,255,0.22) 0%, rgba(191,0,255,0) 70%);
  filter: blur(20px);
  animation: heroGlowPulse 9s ease-in-out infinite;
}

@keyframes heroSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.9;  transform: scale(1.12); }
}


.hero__stats-float {
  position: absolute;
  bottom: 60px;
  right: 60px;
  z-index: 10;
  display: flex;
  gap: 40px;
  perspective: 800px;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__stat {
  text-align: center;
  padding: 25px;
  background: rgba(13,13,26,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
  transform: translateZ(0);
}

.hero__stat:hover {
  transform: translateY(-8px) rotateX(6deg) rotateY(-6deg);
  border-color: rgba(191,0,255,0.45);
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 5px;
}

/* =======================================
   MARQUEE / TICKER
======================================= */
.marquee {
  background-color: var(--section-alt-bg);
  padding: 25px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee__track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 30px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.marquee__item span.dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  flex-shrink: 0;
  transform: rotate(45deg);
}

.marquee__item svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* =======================================
   SECTION DEFAULTS
======================================= */
.section {
  padding: 100px 0;
  position: relative;
  background-color: var(--section-bg);
}

.section--dark {
  background-color: var(--section-alt-bg);
}

.section--darker {
  background-color: var(--light-2);
}

.section--light {
  background-color: var(--light);
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-header--center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.section-header__eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.section-header--center .section-header__eyebrow::after {
  content: '';
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.section-header__title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 20px;
  color: var(--heading);
  line-height: 1.2;
}

.section-header__description {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 600px;
}

.section-header--center .section-header__description {
  margin: 0 auto;
}

/* =======================================
   ABOUT SECTION
======================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__images {
  position: relative;
  padding: 30px;
}

.about__img-main {
  position: relative;
  overflow: hidden;
}

.about__img-main img {
  width: 90%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about__img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border: 8px solid var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__img-secondary img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary);
  color: var(--white);
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  box-shadow: 0 10px 30px var(--primary-glow-strong);
}

.about__badge-number {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
}

.about__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 1px;
}

.about__content .section-header {
  margin-bottom: 25px;
}

.about__text {
  color: var(--text);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 35px;
}

.about__check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--heading);
}

.about__check-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* =======================================
   SERVICES (Icon Box Style)
======================================= */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 45px 35px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: right;
}

.service-box:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-box:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow-strong);
  box-shadow: var(--shadow-hover);
}

.service-box__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  background-color: var(--primary-light);
  transition: var(--transition);
}

.service-box:hover .service-box__icon {
  background-color: var(--primary);
}

.service-box__icon i {
  font-size: 2.2rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-box:hover .service-box__icon i {
  color: var(--white);
}

.service-box__icon svg {
  width: 40px;
  height: 40px;
  fill: var(--primary);
  transition: var(--transition);
}

.service-box:hover .service-box__icon svg {
  fill: var(--white);
}

.service-box__title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--heading);
}

.service-box__text {
  color: var(--text);
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-box__link {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-box__link i {
  transition: transform 0.3s ease;
}

.service-box__link:hover {
  color: var(--primary-hover);
}

.service-box__link:hover i {
  transform: translateX(5px);
}

/* Service Cards (with images) */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow-strong);
  box-shadow: var(--shadow-hover);
}

.service-card__image {
  overflow: hidden;
  height: 250px;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.08);
}

.service-card__content {
  padding: 30px;
}

.service-card__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--heading);
}

.service-card__text {
  color: var(--text);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card__link {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card__link:hover {
  color: var(--primary-hover);
}

.service-card__link:hover i {
  transform: translateX(5px);
}

.service-card__link i {
  transition: transform 0.3s ease;
}

/* =======================================
   WHY CHOOSE US / FEATURES
======================================= */
.why-choose {
  position: relative;
  overflow: hidden;
}

.why-choose__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.why-choose__image {
  position: relative;
  overflow: hidden;
}

.why-choose__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-choose__content {
  background-color: var(--section-alt-bg);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-choose__features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why-choose__feature {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  transition: var(--transition);
}

.why-choose__feature:hover {
  border-color: var(--primary-glow-strong);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.why-choose__feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-choose__feature:hover .why-choose__feature-icon {
  background-color: var(--primary);
}

.why-choose__feature-icon i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-choose__feature:hover .why-choose__feature-icon i {
  color: var(--white);
}

.why-choose__feature h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--heading);
}

.why-choose__feature p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Why-us grid (about page) */
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why-us__item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-us__item:hover {
  border-color: var(--primary-glow-strong);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.why-us__icon {
  width: 65px;
  height: 65px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-us__item:hover .why-us__icon {
  background-color: var(--primary);
  color: var(--white);
}

.why-us__item-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--heading);
}

.why-us__item-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.why-us__image {
  position: relative;
}

.why-us__image img {
  width: 100%;
  object-fit: cover;
}

.why-us__image::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  z-index: -1;
}

/* =======================================
   PROJECTS (Portfolio Style)
======================================= */
/* Filter tabs */
.projects__filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.projects__filter-btn {
  padding: 10px 25px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.projects__filter-btn:hover,
.projects__filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

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

.project-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 13, 26, 0.9) 100%);
  transition: var(--transition);
}

.project-item:hover .project-item__overlay {
  background: linear-gradient(180deg, rgba(191, 0, 255, 0.2) 0%, rgba(13, 13, 26, 0.95) 100%);
}

.project-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  transform: translateY(10px);
  transition: var(--transition);
}

.project-item:hover .project-item__content {
  transform: translateY(0);
}

.project-item__cat {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.project-item__title {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0;
  font-weight: 600;
}

/* Project Cards (for projects page) */
.project-card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(transparent, rgba(13, 13, 26, 0.95));
  transition: var(--transition);
}

.project-card__location {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-card__title {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

.project-card__link {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
}

.project-card:hover .project-card__link {
  opacity: 1;
  transform: translateY(0);
}

.project-card__link:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* =======================================
   CTA BANNER (Stays Dark)
======================================= */
.cta {
  padding: 120px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13,13,26,0.6) 0%, rgba(13,13,26,0.5) 100%);
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.cta__eyebrow::before,
.cta__eyebrow::after {
  content: '';
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.cta__title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  max-width: 800px;
  margin: 0 auto 15px;
  color: var(--white);
  line-height: 1.2;
}

.cta__phone {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cta__phone i {
  font-size: 1.3rem;
}

.cta__text {
  color: rgba(255,255,255,0.6);
  max-width: 650px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cta__actions .btn--outline {
  color: var(--white);
}

/* =======================================
   TESTIMONIALS (Carousel)
======================================= */
.testimonials {
  position: relative;
  overflow: hidden;
  background-color: var(--section-alt-bg);
}

.testimonials__slider {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonials__slide {
  min-width: 100%;
  padding: 0 15px;
  display: flex;
  justify-content: center;
}

.testimonial-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 45px 40px;
  max-width: 800px;
  width: 100%;
  position: relative;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__quote-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 20px;
  line-height: 1;
}

.testimonial-card__text {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-card__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-card__stars i {
  color: #FFD700;
  font-size: 1rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-card__avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-card__info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--heading);
}

.testimonial-card__info p {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Dots */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 35px;
}

.testimonials__dot {
  width: 12px;
  height: 12px;
  background-color: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonials__dot.active {
  background-color: var(--primary);
  width: 30px;
}

/* =======================================
   TEAM SECTION
======================================= */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
  padding: 40px 25px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.team-card:hover::after {
  transform: scaleX(1);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow-strong);
  box-shadow: var(--shadow-hover);
}

.team-card__avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  overflow: hidden;
  position: relative;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__avatar-initials {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.team-card__name {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--heading);
}

.team-card__role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.team-card__social {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-card__social a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.85rem;
  transition: var(--transition);
}

.team-card__social a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* =======================================
   CLIENTS / PARTNERS LOGO STRIP
======================================= */
.clients {
  padding: 60px 0;
  background-color: var(--section-alt-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients__track {
  display: flex;
  animation: clientsScroll 25s linear infinite;
  width: max-content;
}

.clients__logos {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-shrink: 0;
  padding: 0 30px;
}

.clients__logo {
  height: 50px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  transition: var(--transition);
  flex-shrink: 0;
}

.clients__logo:hover {
  opacity: 1;
  filter: none;
}

/* Text-based client logos */
.clients__logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading);
  opacity: 0.25;
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: 1px;
}

.clients__logo-text:hover {
  opacity: 1;
  color: var(--primary);
}

@keyframes clientsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =======================================
   STATS / COUNTERS (Purple band)
======================================= */
.stats {
  padding: 80px 0;
  background-color: var(--primary);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.stats::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stats__item {
  position: relative;
}

.stats__item + .stats__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
}

.stats__icon {
  margin-bottom: 10px;
}

.stats__icon i {
  font-size: 2rem;
  color: var(--white);
  opacity: 0.8;
}

.stats__value {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
}

.stats__label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.stats__description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

/* =======================================
   CERTIFICATIONS
======================================= */
.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cert-card {
  background-color: var(--card-bg);
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow-strong);
  box-shadow: var(--shadow-hover);
}

.cert-card--image {
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.cert-card__img {
  width: 100%;
  overflow: hidden;
  background: #f8f8f8;
}

.cert-card__img img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.4s ease;
}

.cert-card--image:hover .cert-card__img img {
  transform: scale(1.05);
}

.cert-card__body {
  padding: 22px 24px 28px;
}

.cert-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.cert-card__body p {
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.7;
}

.cert-card__icon {
  margin-bottom: 20px;
}

.cert-card__icon i {
  font-size: 2.8rem;
  color: var(--primary);
}

.cert-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--heading);
}

.cert-card p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =======================================
   PROCESS STEPS
======================================= */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
  opacity: 0.3;
}

/* 6-step variant — balanced 3×2 layout with card styling */
.process__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.process__grid--3col::before {
  display: none;
}

.process__grid--3col .process-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 45px 30px 40px;
  transition: var(--transition);
}

.process__grid--3col .process-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow-strong);
  box-shadow: var(--shadow-hover);
}

.process-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.process-card__number {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  border: 2px solid var(--border);
  position: relative;
  z-index: 1;
  background-color: var(--white);
  transition: var(--transition);
}

.process-card:hover .process-card__number {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.process-card__title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--heading);
}

.process-card__text {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =======================================
   CONTACT SECTION
======================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__group input,
.contact-form__group textarea,
.contact-form__group select {
  width: 100%;
  padding: 16px 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
  color: var(--gray);
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.contact-form__group textarea {
  resize: vertical;
  min-height: 150px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
}

/* Contact Info Cards */
.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-info-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary-glow-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-info-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-info-card:hover .contact-info-card__icon {
  background-color: var(--primary);
}

.contact-info-card__icon i {
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.contact-info-card:hover .contact-info-card__icon i {
  color: var(--white);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--heading);
}

.contact-info-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-info-card a {
  color: var(--text);
}

.contact-info-card a:hover {
  color: var(--primary);
}

/* =======================================
   PAGE BANNER (Stays Dark)
======================================= */
.page-banner {
  position: relative;
  padding: 200px 0 120px;
  text-align: center;
  background-color: var(--dark);
  overflow: hidden;
}

.page-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-banner__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13,13,26,0.3) 0%, rgba(26,26,46,0.6) 100%);
}

.page-banner__content {
  position: relative;
  z-index: 10;
}

.page-banner__title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-banner__breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.page-banner__breadcrumb a {
  color: var(--primary);
}

.page-banner__breadcrumb a:hover {
  color: var(--white);
}

.page-banner__breadcrumb .dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  display: inline-block;
}

/* =======================================
   FAQ SECTION
======================================= */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq__item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item[open] {
  border-color: var(--primary-glow-strong);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
  list-style: none;
  transition: var(--transition);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--primary);
}

.faq__question i {
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq__item[open] .faq__question i {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 25px 20px;
  color: var(--text);
  line-height: 1.8;
}

.faq__image {
  position: relative;
}

.faq__image img {
  width: 100%;
  object-fit: cover;
}

/* =======================================
   SERVICES INTRO (Services Page)
======================================= */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-intro__image {
  position: relative;
  overflow: hidden;
}

.services-intro__image img {
  width: 100%;
  object-fit: cover;
}

.services-intro__image::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  z-index: -1;
}

/* =======================================
   ORGANIZATION CHART
======================================= */
.orgchart {
  overflow-x: auto;
  padding: 20px 0;
}

.orgchart__tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 1000px;
}

.orgchart__node {
  background-color: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 18px 30px;
  text-align: center;
  min-width: 220px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.orgchart__node--director {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(191, 0, 255, 0.12);
}

.orgchart__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading);
  margin-bottom: 5px;
}

.orgchart__role {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
}

.orgchart__connector {
  width: 2px;
  height: 30px;
  background: var(--primary);
  margin: 0 auto;
}

.orgchart__directors-row {
  display: flex;
  width: 80%;
  margin: 0 auto;
}

.orgchart__director-branch {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 12px 0;
  position: relative;
}

.orgchart__director-branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  opacity: 0.5;
}

.orgchart__director-branch:first-child::before {
  left: 50%;
}

.orgchart__director-branch:last-child::before {
  right: 50%;
}

.orgchart__director-branch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 25px;
  background: var(--primary);
  opacity: 0.5;
}

.orgchart__depts-connector {
  width: 2px;
  height: 35px;
  background: var(--primary);
  margin: 0 auto;
}

.orgchart__departments {
  display: flex;
  width: 100%;
}

.orgchart__dept {
  flex: 1;
  min-width: 0;
  padding: 22px 7px 0;
  position: relative;
}

.orgchart__dept::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  opacity: 0.35;
}

.orgchart__dept:first-child::before {
  left: 50%;
}

.orgchart__dept:last-child::before {
  right: 50%;
}

.orgchart__dept::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 22px;
  background: var(--primary);
  opacity: 0.35;
}

.orgchart__dept-header {
  background-color: var(--section-alt-bg);
  border: 2px solid rgba(191, 0, 255, 0.2);
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  margin-bottom: 12px;
}

.orgchart__dept-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.orgchart__dept-name {
  font-size: 0.85rem;
  color: var(--heading);
  font-weight: 600;
}

.orgchart__dept-role {
  font-size: 0.75rem;
  color: var(--text);
  margin-top: 3px;
  display: block;
}

.orgchart__subtitle {
  font-size: 0.7rem;
  color: var(--text);
  display: block;
}

.orgchart__staff {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.orgchart__staff-connector {
  width: 2px;
  height: 8px;
  background-color: var(--primary);
  margin: 0 auto;
  opacity: 0.3;
  border-radius: 0;
}

.orgchart__staff-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  transition: var(--transition);
}

.orgchart__staff-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(191, 0, 255, 0.1);
}

.orgchart__staff-name {
  font-size: 0.8rem;
  color: var(--heading);
  font-weight: 500;
}

.orgchart__staff-role {
  font-size: 0.7rem;
  color: var(--primary);
  margin-top: 2px;
}

.orgchart__zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.orgchart__zone {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.orgchart__zone-label {
  display: block;
  background-color: var(--primary);
  color: var(--white);
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 4px;
}

/* =======================================
   FOOTER (Stays Dark)
======================================= */
.footer {
  background-color: var(--dark);
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__main {
  padding: 80px 0 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer .header__logo-text {
  color: var(--white);
}

.footer__brand-company {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__brand-description {
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__social a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer__title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.footer__links a::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  margin-right: 12px;
  flex-shrink: 0;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer__subscribe-text {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer__subscribe-form {
  display: flex;
}

.footer__subscribe-form input {
  flex-grow: 1;
  padding: 14px 18px;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.footer__subscribe-form input:focus {
  border-color: var(--primary);
}

.footer__subscribe-form button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 25px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.footer__subscribe-form button:hover {
  background-color: var(--primary-hover);
}

.footer__bottom {
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: rgba(255,255,255,0.5);
}

.footer__copyright a {
  color: var(--primary);
}

.footer__bottom-links {
  display: flex;
  gap: 25px;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer__bottom-links a:hover {
  color: var(--primary);
}

/* =======================================
   BACK TO TOP
======================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
}

/* =======================================
   MOBILE OVERLAY
======================================= */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =======================================
   LIGHTBOX
======================================= */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =======================================
   SCROLL REVEAL ANIMATION
======================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.5s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================
   UTILITY CLASSES
======================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =======================================
   RESPONSIVE
======================================= */
@media (max-width: 1200px) {
  .hero__stats-float {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .why-choose__content {
    padding: 60px 40px;
  }
}

@media (max-width: 991px) {
  .header__inner {
    height: 75px;
  }

  /* Flatten hero 3D depth on small screens — perspective projection
     shifts/scales content and breaks layout on phones */
  .hero {
    perspective: none;
  }

  .hero__container,
  .hero__content {
    transform-style: flat;
  }

  .hero__content .hero__eyebrow,
  .hero__content .hero__title,
  .hero__content .hero__text,
  .hero__content .hero__actions {
    transform: none;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    transition: 0.4s ease;
    z-index: 999;
    border-left: 1px solid var(--border);
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  }

  .nav__list.active {
    right: 0;
  }

  .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: block;
    width: 100%;
    color: var(--heading);
  }

  .nav__link::after {
    display: none;
  }

  .nav__phone,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .header--scrolled .nav__toggle.active span {
    background-color: var(--heading);
  }

  /* Layout adjustments */
  .hero__title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .about__grid,
  .why-us__grid,
  .services-intro,
  .faq__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose__grid {
    grid-template-columns: 1fr;
  }

  .why-choose__image {
    height: 350px;
  }

  .why-choose__content {
    padding: 50px 30px;
  }

  .services-container,
  .services__grid,
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certs__grid,
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item + .stats__item::before {
    display: none;
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid::before {
    display: none;
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__img-secondary {
    display: none;
  }

  .about__images {
    padding: 0;
    margin-bottom: 20px;
  }

  .about__img-main img {
    width: 100%;
  }

  .about__badge {
    top: auto;
    bottom: -20px;
    left: auto;
    right: 20px;
    width: 110px;
    height: 110px;
  }

  .about__badge-number {
    font-size: 1.8rem;
  }

  .section-header__title {
    font-size: 1.8rem;
  }

  .page-banner {
    padding: 160px 0 80px;
  }

  .page-banner__title {
    font-size: 2.2rem;
  }

  .contact-info__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .why-us__image::before,
  .services-intro__image::before {
    display: none;
  }

  .orgchart__departments {
    flex-wrap: wrap;
  }

  .orgchart__dept {
    flex: 0 0 50%;
    min-width: 0;
  }

  .orgchart__dept::before,
  .orgchart__dept::after {
    display: none;
  }

  .marquee__item {
    font-size: 1rem;
    padding: 0 20px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: 85vh;
    perspective: none;
  }

  .hero__content {
    text-align: center;
    max-width: 100%;
  }

  /* drop 3D depth + floating orbs on small screens to keep layout clean */
  .hero__content .hero__eyebrow,
  .hero__content .hero__title,
  .hero__content .hero__text,
  .hero__content .hero__actions { transform: none; }

  .hero__decoration--circle2 { display: none; }

  .hero__decoration--glow {
    width: 360px;
    height: 360px;
    left: -140px;
  }

  .hero__eyebrow::before {
    display: none;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .services-container,
  .services__grid,
  .projects__grid,
  .certs__grid,
  .stats__grid,
  .process__grid,
  .team__grid {
    grid-template-columns: 1fr;
  }

  .section-header__title {
    font-size: 1.5rem;
  }

  .section-header__eyebrow {
    font-size: 0.75rem;
  }

  .cta__title {
    font-size: 1.5rem;
  }

  .cta__phone {
    font-size: 1.2rem;
  }

  .page-banner {
    padding: 140px 0 60px;
  }

  .page-banner__title {
    font-size: 1.8rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom-links {
    justify-content: center;
  }

  .about__checklist {
    grid-template-columns: 1fr;
  }

  .orgchart__tree {
    min-width: 100%;
  }

  .orgchart__dept {
    flex: 0 0 100%;
    padding-top: 10px;
  }

  .orgchart__dept::before,
  .orgchart__dept::after {
    display: none;
  }

  .orgchart__directors-row {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .orgchart__director-branch {
    padding-top: 0;
  }

  .orgchart__director-branch::before,
  .orgchart__director-branch::after {
    display: none;
  }

  .orgchart__zones {
    grid-template-columns: 1fr;
  }

  .projects__filters {
    gap: 5px;
  }

  .projects__filter-btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-card__text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.85rem;
  }

  .btn--large {
    padding: 15px 30px;
  }
}

/* ==========================================================================
   BLOG — listing grid + article (single post) styles
   ========================================================================== */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--border-purple);
}
.blog-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover .blog-card__image img { transform: scale(1.06); }
.blog-card__tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  padding: 6px 12px;
}
.blog-card__content { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 14px;
}
.blog-card__meta i { color: var(--primary); margin-right: 5px; }
.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--heading);
  margin-bottom: 12px;
}
.blog-card__title a { color: inherit; text-decoration: none; transition: color 0.3s; }
.blog-card__title a:hover { color: var(--primary); }
.blog-card__excerpt { color: var(--text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.blog-card__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.blog-card__link i { transition: transform 0.3s; }
.blog-card__link:hover i { transform: translateX(5px); }

/* Article (single post) */
.article { padding: 70px 0 90px; }
.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  align-items: start;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.article__meta i { color: var(--primary); margin-right: 6px; }
.article__lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 30px;
}
.article__body { font-size: 1.02rem; line-height: 1.85; color: var(--text); }
.article__body h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--heading);
  margin: 44px 0 18px;
  line-height: 1.3;
}
.article__body h3 {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--heading);
  margin: 30px 0 14px;
}
.article__body p { margin-bottom: 20px; }
.article__body a { color: var(--primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.article__body ul, .article__body ol { margin: 0 0 22px 22px; }
.article__body li { margin-bottom: 10px; }
.article__body img { width: 100%; height: auto; margin: 10px 0; display: block; }
.article__body strong { color: var(--text-dark); }
.article__figure { margin: 32px 0; }
.article__figure figcaption {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
  font-style: italic;
  text-align: center;
}
.article__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0;
}
.article__gallery figure { margin: 0; }
.article__gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.article__callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  margin: 32px 0;
}
.article__callout p:last-child { margin-bottom: 0; }
.article__keytakeaways {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 30px 34px;
  margin: 36px 0;
}
.article__keytakeaways h2 { margin-top: 0 !important; font-size: 1.3rem !important; }
.article__tags { margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.article__tags a {
  font-size: 0.8rem;
  color: var(--gray-dark);
  background: var(--light-2);
  padding: 7px 14px;
  text-decoration: none;
  transition: var(--transition);
}
.article__tags a:hover { background: var(--primary); color: #fff; }

/* Article sidebar */
.article-sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 30px; }
.sidebar-widget { background: var(--card-bg); border: 1px solid var(--border); padding: 26px; }
.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget__list { list-style: none; padding: 0; margin: 0; }
.sidebar-widget__list li { margin-bottom: 12px; }
.sidebar-widget__list a {
  color: var(--text); text-decoration: none; font-size: 0.92rem; display: flex; gap: 10px; transition: color 0.3s; line-height: 1.5;
}
.sidebar-widget__list a i { color: var(--primary); margin-top: 3px; }
.sidebar-widget__list a:hover { color: var(--primary); }
.sidebar-widget--cta { background: var(--gradient-primary); color: #fff; text-align: center; }
.sidebar-widget--cta .sidebar-widget__title { color: #fff; border-color: rgba(255,255,255,0.25); }
.sidebar-widget--cta p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 18px; opacity: 0.95; }

/* Related posts */
.related-posts { border-top: 1px solid var(--border); }

@media (max-width: 992px) {
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .article__layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
}
@media (max-width: 600px) {
  .blog__grid { grid-template-columns: 1fr; }
  .article__gallery { grid-template-columns: 1fr; }
  .article__body h2 { font-size: 1.45rem; }
}
