/* ============================================
    — Home Page Styles
   Dark theme + gold accent (exact design match)
   ============================================ */

:root,
[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-2: #111114;
  --bg-3: #16161a;
  --bg-card: #1a1a1f;
  --bg-card-hover: #222228;
  --gold: #e5a025;
  --gold-hover: #f0b040;
  --gold-dim: rgba(229, 160, 37, 0.15);
  --white: #ffffff;
  --text: #e8e8ea;
  --text-muted: #a0a0a8;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(229, 160, 37, 0.35);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 80px;
  --font: "Montserrat", sans-serif;
  --font-display: "Montserrat", sans-serif;
  --container: 1280px;
  --page-pad: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(4.5rem, 8vw, 7.5rem);
  --gap-sm: 1rem;
  --gap-md: 1.5rem;
  --gap-lg: 2.5rem;
  --gap-xl: 3.5rem;
  --transition: 0.3s ease;
  --header-bg: rgba(10, 10, 11, 0.55);
  --header-bg-scroll: rgba(10, 10, 11, 0.95);
  --footer-bg: #070708;
  --glass-bg: rgba(12, 12, 14, 0.4);
  --glass-border: rgba(255, 255, 255, 0.12);
  --input-bg: #0a0a0b;
  --nav-mobile-bg: rgba(10, 10, 11, 0.98);
  --client-logo: rgba(255, 255, 255, 0.45);
  --hero-slider-bg: #0a0a0b;
  --heading: #ffffff;
  --menu-line: #ffffff;
}

[data-theme="light"] {
  --bg: #f4f5f7;
  --bg-2: #ffffff;
  --bg-3: #eef0f3;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fb;
  --gold: #d4921a;
  --gold-hover: #e5a025;
  --gold-dim: rgba(212, 146, 26, 0.12);
  --white: #ffffff;
  --text: #2c3038;
  --text-muted: #6b7280;
  --border: rgba(15, 23, 42, 0.1);
  --border-gold: rgba(212, 146, 26, 0.4);
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --header-bg: rgba(255, 255, 255, 0.82);
  --header-bg-scroll: rgba(255, 255, 255, 0.96);
  --footer-bg: #111318;
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(15, 23, 42, 0.1);
  --input-bg: #f4f5f7;
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --client-logo: rgba(44, 48, 56, 0.55);
  --hero-slider-bg: #0a0a0b;
  --heading: #12151c;
  --menu-line: #12151c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: background-color 0.35s ease, color 0.35s ease;
  width: 100%;
  max-width: 100%;
  position: relative;
}

main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.15;
  font-weight: 600;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  min-width: 0;
}

.section {
  padding-block: var(--section-y);
  overflow: hidden;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.eyebrow {
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow {
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin-bottom: 16px;
}

h3 {
  font-family: var(--font);
  font-weight: 600;
}

.section-head.center {
  text-align: center;
}

.section-head.between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-md);
  flex-wrap: wrap;
}

.center-btn {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

/* Buttons — premium, solid & clear */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(229, 160, 37, 0.35);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(229, 160, 37, 0.45);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: rgba(0, 0, 0, 0.2);
  color: var(--gold);
  border-color: var(--gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(229, 160, 37, 0.3);
}

.btn-block {
  width: 100%;
}

.hero-btns .btn {
  min-width: 168px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.header.scrolled {
  background: var(--header-bg-scroll);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--gap-md);
  min-width: 0;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(240px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.footer-brand .logo-img {
  height: 48px;
  max-width: 220px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .nav-link i {
  font-size: 0.65rem;
  margin-left: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dropdown-menu a:hover {
  color: var(--gold);
  background: var(--gold-dim);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--border-gold);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(229, 160, 37, 0.18);
}

.theme-toggle i {
  position: absolute;
  font-size: 1rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-icon-moon {
  opacity: 0;
  transform: scale(0.5) rotate(-40deg);
}

[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: scale(0.5) rotate(40deg);
}

[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: #3b4252;
}

[data-theme="light"] .theme-toggle {
  color: #3b4252;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.header-phone i {
  color: var(--gold);
}

.header-actions .btn {
  padding: 11px 18px;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--menu-line);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-slider-bg);
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.25) 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.35) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
}

.hero-left {
  flex: 1;
  min-width: 0;
  max-width: 580px;
}

.hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 580px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-left h1 span,
.hero-rotate {
  color: var(--gold);
  font-style: normal;
}

.hero-rotate {
  display: inline-grid;
  vertical-align: bottom;
  text-align: left;
  min-width: 11ch;
}

.hero-rotate-word {
  grid-area: 1 / 1;
  color: var(--gold);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  white-space: nowrap;
  pointer-events: none;
}

.hero-rotate-word.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-rotate-word.is-exit {
  opacity: 0;
  transform: translateY(-16px);
}

.hero-desc {
  color: rgba(232, 232, 234, 0.88);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero text entrance */
.hero-anim {
  opacity: 0;
  transform: translateY(36px);
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stats {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(18, 18, 22, 0.28) 40%,
    rgba(10, 10, 12, 0.42) 100%
  );
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 10px 0;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  width: max-content;
  max-width: 100%;
  flex-shrink: 0;
  align-self: flex-start;
  margin: clamp(0.5rem, 2vh, 1.5rem) 14px 18px 18px;
  transform: translateY(-12px);
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.hero-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  min-width: 0;
  transition: background 0.3s ease;
}

.stat-item:hover {
  background: rgba(229, 160, 37, 0.06);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-item i {
  width: 2.55rem;
  height: 2.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  background: linear-gradient(145deg, rgba(229, 160, 37, 0.22), rgba(229, 160, 37, 0.08));
  border: 1px solid rgba(229, 160, 37, 0.35);
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(229, 160, 37, 0.12);
}

.stat-item > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.stat-item strong,
.stats-bar-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat-item span {
  font-size: 0.66rem;
  font-weight: 500;
  color: rgba(220, 220, 228, 0.72);
  display: block;
  white-space: nowrap;
  line-height: 1.35;
  margin-top: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.counter {
  font-variant-numeric: tabular-nums;
}

.hero-dots {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding-inline: var(--page-pad);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 10px;
}

/* ========== STATS BAR ========== */
.stats-bar {
  position: relative;
  z-index: 5;
  margin-top: clamp(-3.55rem, -5vw, -4.25rem);
  background: transparent;
  border: none;
  padding-block: 0;
  padding-bottom: clamp(0.5rem, 2vw, 1.25rem);
}

.stats-bar .container {
  max-width: 980px;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(18, 18, 22, 0.35) 45%,
    rgba(10, 10, 12, 0.48) 100%
  );
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 0.35rem;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.stats-bar-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.stats-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-width: 0;
  padding: 1.15rem 0.85rem;
  position: relative;
  transition: background 0.3s ease;
  border-radius: 14px;
}

.stats-bar-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.14),
    transparent
  );
}

.stats-bar-item:hover {
  background: rgba(229, 160, 37, 0.07);
}

.stats-bar-item i {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(229, 160, 37, 0.22), rgba(229, 160, 37, 0.07));
  border: 1px solid rgba(229, 160, 37, 0.35);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(229, 160, 37, 0.12);
}

.stats-bar-item > div {
  min-width: 0;
}

.stats-bar-item strong {
  font-size: 1.35rem;
  background: linear-gradient(180deg, #fff 30%, #e5a025 160%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stats-bar-item span {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(220, 220, 228, 0.7);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ========== ABOUT ========== */
.about {
  background:
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(229, 160, 37, 0.06), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-content h2 {
  max-width: 16ch;
}

.about-lead {
  color: var(--text) !important;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 14px !important;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 52ch;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.about-feature:hover {
  border-color: rgba(229, 160, 37, 0.4);
  background: rgba(229, 160, 37, 0.06);
  transform: translateY(-2px);
}

.about-feature i {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--gold);
  font-size: 0.95rem;
  background: rgba(229, 160, 37, 0.12);
  border: 1px solid rgba(229, 160, 37, 0.28);
}

.about-feature strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.about-feature span {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-visual {
  position: relative;
  z-index: 1;
}

.about-image {
  position: relative;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
}

.about-image img {
  width: 100%;
  height: auto;
  min-height: 360px;
  max-height: 360px;
  object-fit: cover;
  object-position: center right;
  display: block;
  border-radius: 0;
  border: none;
}

.about-glow {
  position: absolute;
  width: 55%;
  height: 55%;
  right: -8%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(229, 160, 37, 0.22), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

/* ========== SERVICES ========== */
.services {
  background: var(--bg-2);
}

.service-card,
.blog-card,
.project-card,
.about-feature,
.stats-bar-item {
  max-width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 0 18px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.service-icon {
  position: relative;
  width: 100%;
  height: 150px;
  margin: 0 0 14px;
  overflow: hidden;
}

.service-icon-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
}

.service-icon img {
  padding: 10px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.service-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.service-ring-path {
  stroke: #e5a025;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 22 78;
  animation: serviceLineMove 2.6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(229, 160, 37, 0.75));
}

.service-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 42%,
    rgba(229, 160, 37, 0.3) 50%,
    rgba(255, 255, 255, 0.05) 58%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-16deg);
  animation: serviceBeam 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover .service-icon img {
  transform: scale(1.05);
}

.service-card:hover .service-ring-path {
  animation-duration: 1.3s;
  stroke: #f0b040;
}

.service-card:nth-child(2) .service-ring-path {
  animation-delay: -0.5s;
}

.service-card:nth-child(3) .service-ring-path {
  animation-delay: -1s;
}

.service-card:nth-child(4) .service-ring-path {
  animation-delay: -1.5s;
}

.service-card:nth-child(5) .service-ring-path {
  animation-delay: -2s;
}

.service-card:nth-child(2) .service-shine {
  animation-delay: 0.5s;
}

.service-card:nth-child(3) .service-shine {
  animation-delay: 1s;
}

.service-card:nth-child(4) .service-shine {
  animation-delay: 1.5s;
}

.service-card:nth-child(5) .service-shine {
  animation-delay: 2s;
}

@keyframes serviceLineMove {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes serviceBeam {
  0%,
  35% {
    transform: translateX(-140%) skewX(-16deg);
    opacity: 0;
  }
  42% {
    opacity: 1;
  }
  68% {
    transform: translateX(320%) skewX(-16deg);
    opacity: 1;
  }
  75%,
  100% {
    transform: translateX(320%) skewX(-16deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-ring-path,
  .service-shine {
    animation: none;
  }
}

.service-card h3 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.3;
  padding-inline: 12px;
}

.service-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.55;
  padding-inline: 12px;
}

.service-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all var(--transition);
}

.service-arrow:hover {
  background: var(--gold);
  color: #111;
}

/* ========== PROJECTS ========== */
.projects {
  background: var(--bg);
}

.projects-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.projects-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 16px;
  flex: 1;
  min-width: 0;
}

.projects-track::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

.project-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  margin-bottom: 14px;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.06);
}

.project-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.project-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-card p span {
  color: var(--gold);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.carousel-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ========== GALLERY ========== */
.gallery {
  background: var(--bg-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--gold);
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ========== BLOG ========== */
.blog {
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  min-width: 0;
}

.blog-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.15;
  font-size: 0.7rem;
  font-weight: 600;
}

.blog-date strong {
  display: block;
  font-size: 1.15rem;
  color: #111;
}

.blog-body {
  padding: 24px;
}

.blog-body h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.blog-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.read-more {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.read-more:hover {
  gap: 12px;
}

/* ========== WHY US ========== */
.why-us {
  background: var(--bg-2);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.why-content p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.why-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color var(--transition);
}

.why-feature:hover {
  border-color: var(--border-gold);
}

.why-feature i {
  color: var(--gold);
  font-size: 1.2rem;
  width: 28px;
  text-align: center;
}

.why-feature span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.82);
}

.testimonials-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.testimonial-slider {
  position: relative;
  margin-top: 36px;
}

.testimonial-slide {
  display: none;
  background: rgba(26, 26, 31, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  backdrop-filter: blur(10px);
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.quote-text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.client-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.client-info strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.client-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.tdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.tdot.active {
  background: var(--gold);
  width: 26px;
  border-radius: 10px;
}

/* ========== CLIENTS ========== */
.clients {
  background: var(--bg);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 40px;
}

.client-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--client-logo);
  padding: 16px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-transform: uppercase;
}

.client-logo:hover {
  color: var(--heading);
  border-color: var(--border-gold);
}

/* ========== ENQUIRY ========== */
.enquiry {
  background: var(--bg-2);
}

.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
}

.enquiry-info > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-list {
  margin-bottom: 28px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-list i {
  color: var(--gold);
  width: 18px;
  margin-top: 4px;
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.enquiry-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--heading);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 0;
}

.enquiry-form textarea {
  margin-bottom: 20px;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--gold);
}

.enquiry-form select option {
  background: var(--bg-card);
  color: var(--heading);
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--footer-bg);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 18px 0 22px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--gold);
  width: 16px;
  margin-top: 3px;
}

.footer-news p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form .btn {
  padding: 12px 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ========== LIGHTBOX & MODAL ========== */
.lightbox,
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden],
.modal[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(90vw, 100%);
  max-height: 85vh;
  border-radius: var(--radius);
  width: auto;
  height: auto;
}

.lightbox-close,
.modal-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--nav-mobile-bg);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
    align-items: stretch;
    z-index: 999;
  }

  .nav.open .nav-link {
    padding: 14px 12px;
  }

  .nav.open .nav-link.active::after {
    display: none;
  }

  .nav.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-phone span {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .hero-left {
    max-width: none;
  }

  /* Same stats exist in .stats-bar — hide hero copy on tablet/mobile */
  .hero-stats {
    display: none !important;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    flex: 0 0 calc(50% - 10px);
  }

  .header-actions .btn-primary {
    padding: 10px 14px;
    font-size: 0.78rem;
  }

  .header-actions .btn-primary i {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    height: clamp(260px, 56.25vw, 70vh);
    padding: 0;
  }

  .hero-video {
    object-fit: cover;
    object-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      transparent 45%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }

  .section {
    padding-block: clamp(3rem, 6vw, 4rem);
  }

  .stats-bar {
    margin-top: -2.25rem;
  }

  .stats-bar .container {
    max-width: 100%;
  }

  .stats-bar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0.45rem;
  }

  .stats-bar-item:not(:last-child)::after {
    display: none;
  }

  .stats-bar-item:last-child {
    grid-column: 1 / -1;
  }

  .about-grid,
  .why-grid,
  .enquiry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gap-lg);
  }

  .about-image img,
  .why-image img {
    height: auto;
    min-height: 280px;
    max-height: 420px;
    width: 100%;
  }

  .about-image,
  .about-visual {
    overflow: hidden;
    max-width: 100%;
  }

  .about-glow {
    right: 0;
    bottom: 0;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  .about-content h2 {
    max-width: none;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-md);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
    height: 240px;
  }

  .gallery-item {
    height: 170px;
  }

  .project-card {
    flex: 0 0 min(280px, 72%);
    min-width: 0;
  }

  .projects-wrap {
    gap: 8px;
  }

  .carousel-btn {
    display: none;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .clients-row {
    gap: 10px 12px;
  }

  .client-logo {
    font-size: 0.8rem;
    padding: 10px 14px;
  }

  .section-head.between {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-head.between .btn {
    align-self: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .why-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 0.875rem;
    --header-h: 64px;
  }

  .section {
    padding-block: 2.75rem;
    overflow-x: hidden;
  }

  .header {
    height: var(--header-h);
  }

  .header-inner {
    gap: 8px;
  }

  .logo-img {
    height: 36px;
    max-width: min(140px, 42vw);
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .header-phone {
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 50%;
    background: rgba(229, 160, 37, 0.12);
    border: 1px solid rgba(229, 160, 37, 0.3);
  }

  .hero {
    min-height: 0;
    height: clamp(220px, 56.25vw, 62vh);
    padding: 0;
    overflow: hidden;
  }

  .hero-content {
    gap: 18px;
    max-width: 100%;
  }

  .hero-left {
    max-width: 100%;
    width: 100%;
  }

  .hero-left h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    max-width: 100%;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
  }

  .hero-rotate {
    display: inline-grid;
    min-width: 0;
    max-width: 100%;
  }

  .hero-rotate-word {
    white-space: normal;
  }

  .hero-desc {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    min-width: 0;
    padding: 13px 18px;
  }

  .stats-bar {
    margin-top: -1.75rem;
    padding-bottom: 0.5rem;
    overflow: hidden;
  }

  .stats-bar .container,
  .stats-bar-grid {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .stats-bar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 0.3rem;
    border-radius: 14px;
  }

  .stats-bar-item {
    justify-content: flex-start;
    padding: 0.7rem 0.55rem;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
  }

  .stats-bar-item:last-child {
    grid-column: 1 / -1;
  }

  .stats-bar-item i {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .stats-bar-item strong {
    font-size: 1rem;
  }

  .stats-bar-item span {
    white-space: normal;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
    margin-inline: 0;
    gap: 14px;
  }

  .service-card {
    padding: 0 0 16px;
    width: 100%;
    max-width: 100%;
  }

  .service-icon {
    height: 160px;
  }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .blog-img {
    height: 190px;
  }

  .blog-body {
    padding: 16px;
  }

  .blog-body h3 {
    font-size: 1rem;
  }

  .about-features,
  .why-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-actions {
    flex-direction: column;
  }

  .about-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .about-image {
    overflow: hidden;
    max-width: 100%;
  }

  .about-image img {
    min-height: 240px;
    max-height: 340px;
    object-position: center;
  }

  .about-glow {
    display: none;
  }

  .project-card {
    flex: 0 0 min(240px, 75vw);
  }

  .project-img {
    height: 170px;
  }

  .carousel-btn {
    display: none;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .gallery-item.large,
  .gallery-item {
    grid-column: span 1;
    height: 200px;
  }

  .enquiry-form {
    padding: 18px 14px;
    max-width: 100%;
  }

  .enquiry-form input,
  .enquiry-form select,
  .enquiry-form textarea {
    width: 100%;
    max-width: 100%;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .testimonial-slide {
    padding: 22px 16px;
  }

  .quote-text {
    font-size: 0.95rem;
  }

  .client-logo {
    flex: 1 1 calc(50% - 10px);
    max-width: 100%;
    text-align: center;
    font-size: 0.72rem;
    padding: 12px 8px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }

  .whatsapp-float {
    bottom: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .center-btn .btn,
  .section-head.between .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 0;
    height: min(100svh, 100vh);
    padding: 0;
  }

  .hero-left h1 {
    font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 32px;
    max-width: 132px;
  }

  .hero-left h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 16px;
    font-size: 0.8rem;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .stats-bar-item,
  .service-card,
  .blog-card {
    width: 100%;
  }
}

/* ========== LIGHT MODE OVERRIDES ========== */
[data-theme="light"] .logo-img {
  background: #12151c;
  padding: 6px 10px;
  border-radius: 10px;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #12151c;
}

[data-theme="light"] .dropdown-menu {
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .dropdown-menu a {
  color: #4b5563;
}

[data-theme="light"] .header-phone {
  color: #374151;
}

[data-theme="light"] .stat-item strong,
[data-theme="light"] .stats-bar-item strong {
  color: #12151c;
}

[data-theme="light"] .stat-item span,
[data-theme="light"] .stats-bar-item span {
  color: #6b7280;
}

[data-theme="light"] .hero-stats,
[data-theme="light"] .stats-bar-grid {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .stats-bar-item strong {
  background: none;
  -webkit-text-fill-color: #12151c;
  color: #12151c;
}

[data-theme="light"] .about-feature,
[data-theme="light"] .why-feature,
[data-theme="light"] .service-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .enquiry-form {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .about-feature strong,
[data-theme="light"] .why-feature span,
[data-theme="light"] .service-card h3,
[data-theme="light"] .blog-body h3,
[data-theme="light"] .project-card h3 {
  color: #12151c;
}

[data-theme="light"] .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .btn-outline-gold {
  background: rgba(212, 146, 26, 0.08);
}

[data-theme="light"] .footer,
[data-theme="light"] .footer h4,
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-col ul a,
[data-theme="light"] .footer-contact li,
[data-theme="light"] .footer-news p,
[data-theme="light"] .footer-bottom p,
[data-theme="light"] .footer-legal,
[data-theme="light"] .footer-legal a {
  color: #d1d5db;
}

[data-theme="light"] .footer h4 {
  color: #ffffff;
}

[data-theme="light"] .newsletter-form input {
  background: #1a1d24;
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

[data-theme="light"] .testimonials-inner h2,
[data-theme="light"] .quote-text,
[data-theme="light"] .client-info strong {
  color: #ffffff;
}

[data-theme="light"] .testimonial-slide {
  background: rgba(18, 18, 22, 0.82);
}

[data-theme="light"] .social-links a {
  color: #d1d5db;
  border-color: rgba(255, 255, 255, 0.15);
}
