/* ============================================
   BH7 Engineering — Premium Portfolio Styles
   Ultra-Enhanced Edition
   ============================================ */

/* ---------- CSS Variables — Dark Mode (Default) ---------- */
:root {
  --primary: #c8a456;
  --primary-dark: #a8873e;
  --primary-light: #e2cc8a;
  --primary-glow: rgba(200, 164, 86, 0.15);
  --primary-glow-strong: rgba(200, 164, 86, 0.35);
  --dark: #080808;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #262626;
  --dark-5: #333;
  --gray: #777;
  --gray-light: #aaa;
  --white: #f0f0f0;
  --white-pure: #fff;
  --text-main: #f0f0f0;
  --text-muted: #aaa;
  --text-heading: #fff;
  --nav-link: rgba(255,255,255,0.8);
  --nav-scroll-bg: rgba(8, 8, 8, 0.92);
  --nav-mobile-bg: rgba(8, 8, 8, 0.98);
  --card-bg: linear-gradient(145deg, rgba(26,26,26,0.8), rgba(17,17,17,0.9));
  --card-border: rgba(255, 255, 255, 0.04);
  --card-border-hover: rgba(200, 164, 86, 0.15);
  --overlay-heavy: rgba(8, 8, 8, 0.92);
  --overlay-medium: rgba(8, 8, 8, 0.75);
  --overlay-light: rgba(8, 8, 8, 0.4);
  --hero-filter: brightness(0.25) saturate(1.1);
  --page-filter: brightness(0.15) saturate(0.9);
  --cta-filter: brightness(0.12) saturate(0.8);
  --logo-filter: brightness(0) invert(1);
  --grain-opacity: 0.025;
  --scrollbar-track: #080808;
  --scrollbar-thumb: #262626;
  --divider: rgba(255, 255, 255, 0.04);
  --badge-shadow: 0 10px 30px rgba(200,164,86,0.3);
  --lightbox-bg: rgba(0, 0, 0, 0.97);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 10px 40px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 15px 50px rgba(200, 164, 86, 0.15);
  --radius: 3px;
  --radius-lg: 8px;
}

/* ---------- CSS Variables — Light Mode ---------- */
[data-theme="light"] {
  --primary: #b08d3e;
  --primary-dark: #8c6f2e;
  --primary-light: #d4b565;
  --primary-glow: rgba(176, 141, 62, 0.12);
  --primary-glow-strong: rgba(176, 141, 62, 0.25);
  --dark: #ffffff;
  --dark-2: #f7f6f3;
  --dark-3: #efeeeb;
  --dark-4: #e0ddd6;
  --dark-5: #ccc9c0;
  --gray: #7a756a;
  --gray-light: #5c5850;
  --white: #1a1815;
  --white-pure: #0d0c0a;
  --text-main: #2c2a25;
  --text-muted: #6b665c;
  --text-heading: #1a1815;
  --nav-link: rgba(26, 24, 21, 0.75);
  --nav-scroll-bg: rgba(255, 255, 255, 0.92);
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --card-bg: linear-gradient(145deg, #ffffff, #f7f6f3);
  --card-border: rgba(0, 0, 0, 0.06);
  --card-border-hover: rgba(176, 141, 62, 0.25);
  --overlay-heavy: rgba(255, 255, 255, 0.88);
  --overlay-medium: rgba(255, 255, 255, 0.7);
  --overlay-light: rgba(255, 255, 255, 0.3);
  --hero-filter: brightness(0.55) saturate(1.1);
  --page-filter: brightness(0.4) saturate(0.9);
  --cta-filter: brightness(0.3) saturate(0.8);
  --logo-filter: none;
  --grain-opacity: 0.015;
  --scrollbar-track: #f7f6f3;
  --scrollbar-thumb: #d5d2cb;
  --divider: rgba(0, 0, 0, 0.06);
  --badge-shadow: 0 10px 30px rgba(176,141,62,0.25);
  --lightbox-bg: rgba(255, 255, 255, 0.97);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 10px 40px rgba(0, 0, 0, 0.06);
  --shadow-gold: 0 15px 50px rgba(176, 141, 62, 0.12);
}

/* ---------- Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  width: 100%;
}

::selection {
  background: var(--primary);
  color: var(--dark);
}

/* ---------- Skip to Content (A11y) ---------- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--dark);
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 100000;
  transition: top 0.3s ease;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
  outline: none;
}

/* ---------- Focus Visible (A11y) ---------- */
*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.btn-premium:focus-visible,
.btn-outline:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(200, 164, 86, 0.15);
}

.nav-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius);
}

/* ---------- Reduced Motion (A11y) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { animation: none; transform: scale(1); }
  .page-header .page-bg { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

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

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

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  position: relative;
  padding: 0.3rem 0;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--primary), transparent);
  flex-shrink: 0;
}

.section-label::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.4;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.5rem;
  color: var(--text-heading);
  position: relative;
}

.section-title span {
  color: var(--primary);
  font-style: italic;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-light);
  max-width: 600px;
  line-height: 1.9;
}

/* ---------- Grain Overlay ---------- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   PRELOADER — Premium Logo Animation
   ======================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

#preloader.loaded .preloader-inner {
  transform: scale(1.1);
  opacity: 0;
}

.preloader-inner {
  text-align: center;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo container */
.preloader-logo {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo img {
  width: 80px;
  height: auto;
  filter: var(--logo-filter);
  animation: logoReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Spinning ring around logo */
.preloader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--primary-dark);
  animation: spinRing 1.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.preloader-ring::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: rgba(200, 164, 86, 0.3);
  animation: spinRing 2s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
}

@keyframes spinRing {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Glow pulse behind logo */
.preloader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,86,0.2) 0%, transparent 70%);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* Loading text */
.preloader-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray);
  animation: textFade 1.5s ease-in-out infinite;
}

@keyframes textFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Progress bar under loader */
.preloader-progress {
  width: 180px;
  height: 2px;
  background: var(--dark-4);
  border-radius: 2px;
  margin: 20px auto 0;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
  border-radius: 2px;
  animation: progressFill 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes progressFill {
  0% { width: 0%; }
  20% { width: 15%; }
  50% { width: 50%; }
  80% { width: 85%; }
  100% { width: 100%; }
}

/* Floating particles in preloader */
.preloader-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.preloader-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 3s ease-in-out infinite;
}

.preloader-particle:nth-child(1) { left: 20%; top: 80%; animation-delay: 0s; }
.preloader-particle:nth-child(2) { left: 50%; top: 85%; animation-delay: 0.5s; }
.preloader-particle:nth-child(3) { left: 75%; top: 75%; animation-delay: 1s; }
.preloader-particle:nth-child(4) { left: 35%; top: 90%; animation-delay: 1.5s; }
.preloader-particle:nth-child(5) { left: 65%; top: 70%; animation-delay: 0.8s; }
.preloader-particle:nth-child(6) { left: 10%; top: 60%; animation-delay: 1.2s; }

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.8; transform: translateY(-20px) scale(1); }
  100% { opacity: 0; transform: translateY(-120px) scale(0.3); }
}

/* ========================================
   NAVBAR — Enhanced
   ======================================== */
.navbar {
  padding: 1.4rem 0;
  transition: var(--transition);
  z-index: 1000;
  background: transparent;
}

.navbar.scrolled {
  background: var(--nav-scroll-bg);
  backdrop-filter: blur(25px) saturate(1.2);
  -webkit-backdrop-filter: blur(25px) saturate(1.2);
  padding: 0.7rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--card-border);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 55px;
  width: 140px;
  object-fit: cover;
  object-position: center 42%;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-brand img {
  height: 45px;
  width: 115px;
}

.navbar-brand .brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: none;
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8) !important;
  padding: 0.5rem 1.3rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform-origin: center;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.navbar-toggler {
  border: none;
  padding: 0;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: none !important;
}

.navbar-toggler-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 1px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO — Cinematic
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  max-width: 100vw;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: var(--hero-filter);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.4) 40%, rgba(8,8,8,0.75) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(200,164,86,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200,164,86,0.04) 0%, transparent 40%);
}

/* Decorative line on hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 80px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(200,164,86,0.15) 30%, rgba(200,164,86,0.15) 70%, transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content .hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.hero-content .hero-label::before {
  content: '';
  width: 50px;
  height: 1.5px;
  background: var(--primary);
  animation: labelLine 2s ease-in-out infinite;
}

@keyframes labelLine {
  0%, 100% { width: 50px; opacity: 1; }
  50% { width: 30px; opacity: 0.5; }
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-bottom: 1.8rem;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-content h1 span {
  color: var(--primary);
  font-style: italic;
  position: relative;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0.4;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3rem;
  max-width: 520px;
  line-height: 1.9;
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 10px;
}

.hero-scroll i {
  color: var(--primary);
  font-size: 1rem;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ========================================
   BUTTONS — Luxe
   ======================================== */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  background-position: 100% 100%;
  color: var(--dark);
}

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

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

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

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

/* Glowing Beam Button — "View All" CTA */
.btn-glow {
  border-color: rgba(200,164,86,0.4);
  box-shadow:
    0 0 15px rgba(200,164,86,0.15),
    0 0 40px rgba(200,164,86,0.05);
  animation: btnBeamPulse 3s ease-in-out infinite;
}
.btn-glow::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -100%;
  width: 60%;
  height: calc(100% + 2px);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200,164,86,0.08) 25%,
    rgba(200,164,86,0.3) 50%,
    rgba(200,164,86,0.08) 75%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: beamSweep 3.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
.btn-glow:hover {
  box-shadow:
    0 0 25px rgba(200,164,86,0.35),
    0 0 60px rgba(200,164,86,0.15),
    0 4px 20px rgba(200,164,86,0.2);
  border-color: var(--primary);
}
.btn-glow:hover::after {
  animation: none;
  opacity: 0;
}
@keyframes beamSweep {
  0%, 100% { left: -100%; opacity: 0; }
  10% { opacity: 1; }
  50% { left: 120%; opacity: 1; }
  60% { opacity: 0; }
}
@keyframes btnBeamPulse {
  0%, 100% {
    box-shadow:
      0 0 15px rgba(200,164,86,0.15),
      0 0 40px rgba(200,164,86,0.05);
  }
  50% {
    box-shadow:
      0 0 20px rgba(200,164,86,0.25),
      0 0 50px rgba(200,164,86,0.1);
  }
}

/* Light theme glow button */
[data-theme="light"] .btn-glow {
  border-color: rgba(200,164,86,0.5);
  box-shadow:
    0 0 15px rgba(200,164,86,0.2),
    0 0 40px rgba(200,164,86,0.08);
}
[data-theme="light"] .btn-glow:hover {
  box-shadow:
    0 0 25px rgba(200,164,86,0.4),
    0 0 60px rgba(200,164,86,0.2),
    0 4px 20px rgba(200,164,86,0.25);
}

/* ========================================
   SECTIONS
   ======================================== */
.section-padding {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

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

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

/* Decorative section divider */
.section-dark + .section-darker::before,
.section-darker + .section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 12px rgba(200, 164, 86, 0.15);
}

/* ========================================
   ABOUT PREVIEW
   ======================================== */
.about-preview .about-image {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.about-preview .about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-preview .about-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.about-preview .about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(8,8,8,0.7), transparent);
}

/* Gold corner accent on image */
.about-preview .about-image::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
  z-index: 2;
  border-radius: 0 var(--radius-lg) 0 0;
  transition: var(--transition);
}

.about-preview .about-image:hover::before {
  width: 100px;
  height: 100px;
}

.about-preview .experience-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--dark);
  padding: 24px 30px;
  border-radius: 12px;
  box-shadow:
    0 10px 30px rgba(200,164,86,0.3),
    0 0 0 4px rgba(200,164,86,0.15);
  backdrop-filter: blur(8px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-preview .about-image:hover .experience-badge {
  transform: scale(1.05);
}

.about-preview .experience-badge .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-preview .experience-badge .text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-stats {
  display: flex;
  gap: 45px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--dark-4);
}

.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px rgba(200, 164, 86, 0.15));
}

.stat-item .stat-text {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ========================================
   SERVICE CARDS — Glass-morphism
   ======================================== */
.service-card {
  background: linear-gradient(145deg, rgba(26,26,26,0.8), rgba(17,17,17,0.9));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 50px 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, var(--primary-glow), transparent 60%);
  opacity: 0;
  transition: var(--transition-slow);
  pointer-events: none;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(200, 164, 86, 0.18);
  transform: translateY(-12px);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(200,164,86,0.06),
    0 0 0 1px rgba(200,164,86,0.06);
}

.service-card .service-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 86, 0.08);
  border: 1px solid rgba(200, 164, 86, 0.12);
  border-radius: 18px;
  margin-bottom: 28px;
  color: var(--primary);
  font-size: 1.4rem;
  transition: var(--transition-spring);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: var(--dark);
  transform: scale(1.1) rotate(8deg);
  box-shadow:
    0 8px 25px rgba(200,164,86,0.3),
    0 0 0 6px rgba(200,164,86,0.08);
  border-radius: 22px;
}

.service-card h3,
.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-heading);
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

.service-card .service-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  transition: var(--transition);
}

.service-card:hover .service-number {
  color: rgba(200, 164, 86, 0.06);
}

/* ========================================
   SWIPER OVERRIDES
   ======================================== */
.projects-swiper,
.designs-swiper {
  overflow: hidden;
  padding-bottom: 60px;
}

.projects-swiper .swiper-pagination,
.designs-swiper .swiper-pagination {
  bottom: 0 !important;
}

.projects-swiper .swiper-pagination-bullet,
.designs-swiper .swiper-pagination-bullet {
  background: var(--gray);
  opacity: 0.3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.projects-swiper .swiper-pagination-bullet-active,
.designs-swiper .swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
  width: 32px;
  height: 10px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(200, 164, 86, 0.4);
}

.projects-swiper .project-card,
.designs-swiper .project-card {
  height: 100%;
  margin-bottom: 0;
}

/* Swiper slide transition effect */
.projects-swiper .swiper-slide,
.designs-swiper .swiper-slide {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.projects-swiper .swiper-slide:not(.swiper-slide-visible),
.designs-swiper .swiper-slide:not(.swiper-slide-visible) {
  opacity: 0.4;
  transform: scale(0.97);
}

/* Projects Grid — desktop cards, mobile swiper */
.projects-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.projects-grid-container .project-card {
  display: block;
}

@media (max-width: 991px) {
  .projects-grid-container:not(.swiper) {
    grid-template-columns: 1fr;
  }
  .projects-grid-container.swiper {
    display: block;
    overflow: hidden;
    padding-bottom: 16px;
  }
}

/* ========================================
   PROJECT CARDS — Premium
   ======================================== */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.project-filters .filter-btn,
.filter-btn {
  padding: 12px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  background: transparent;
  border: 1px solid var(--dark-4);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.project-filters .filter-btn:hover,
.project-filters .filter-btn.active,
.filter-btn:hover,
.filter-btn.active {
  color: var(--dark);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(200,164,86,0.25);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 30px;
  cursor: pointer;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.6s ease,
              border-color 0.4s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(200, 164, 86, 0.35) 50%, transparent 70%);
  background-size: 300% 300%;
  background-position: 100% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease, background-position 0.8s ease;
  z-index: 3;
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(200,164,86,0.15);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.35),
    0 0 0 1px rgba(200,164,86,0.08),
    0 10px 50px rgba(200,164,86,0.06);
  transform: translateY(-10px);
}

.project-card:hover::after {
  opacity: 1;
  background-position: 0% 0%;
}

.project-card .project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

/* Very faint dark overlay on images (always visible) */
.project-card .project-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
  pointer-events: none;
  transition: background 0.5s ease;
}

.project-card:hover .project-image::before {
  background: rgba(0, 0, 0, 0.18);
}

/* Bottom gradient on hover */
.project-card .project-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.project-card:hover .project-image::after {
  opacity: 1;
}

.project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.project-card .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.95) 0%,
    rgba(8, 8, 8, 0.2) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card .project-info {
  padding: 18px 22px 22px;
  position: relative;
  border-top: 1px solid transparent;
  transition: border-top-color 0.4s ease, background 0.4s ease;
  background: transparent;
}

.project-card:hover .project-info {
  background: rgba(200, 164, 86, 0.02);
}

.project-card .project-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), transparent);
  transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-info::before {
  width: calc(100% - 48px);
}

.project-card:hover .project-info {
  border-top-color: rgba(200, 164, 86, 0.06);
}

.project-card .project-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(200,164,86,0.08);
  border-radius: 4px;
}

.project-card .project-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.project-card:hover .project-title {
  color: var(--primary-light);
}

.project-card .project-location {
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-card .project-location i {
  color: var(--primary);
  font-size: 0.72rem;
}

.project-card .view-project {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  backdrop-filter: blur(12px);
  color: var(--dark);
  border-radius: 50%;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(8px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 6px 20px rgba(200,164,86,0.35),
    0 0 0 4px rgba(200,164,86,0.12);
  z-index: 4;
}

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

.project-card .view-project:hover {
  box-shadow:
    0 8px 28px rgba(200,164,86,0.45),
    0 0 0 6px rgba(200,164,86,0.15);
}

/* Like Button */
.project-card .like-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
  padding: 0;
}
.project-card .like-btn:hover {
  background: rgba(0,0,0,0.6);
  color: #ff4757;
  transform: scale(1.1);
}
.project-card .like-btn.liked {
  color: #ff4757;
  background: rgba(255,71,87,0.15);
  border-color: rgba(255,71,87,0.3);
  animation: likePopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes likePopIn {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Swiper Navigation Arrows */
.projects-swiper .swiper-button-prev,
.projects-swiper .swiper-button-next,
.designs-swiper .swiper-button-prev,
.designs-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200,164,86,0.25);
  border-radius: 50%;
  color: var(--primary);
  transition: all 0.3s ease;
}
.projects-swiper .swiper-button-prev::after,
.projects-swiper .swiper-button-next::after,
.designs-swiper .swiper-button-prev::after,
.designs-swiper .swiper-button-next::after {
  font-size: 1rem;
  font-weight: 700;
}
.projects-swiper .swiper-button-prev:hover,
.projects-swiper .swiper-button-next:hover,
.designs-swiper .swiper-button-prev:hover,
.designs-swiper .swiper-button-next:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(200,164,86,0.4);
}
.projects-swiper .swiper-button-prev.swiper-button-disabled,
.projects-swiper .swiper-button-next.swiper-button-disabled,
.designs-swiper .swiper-button-prev.swiper-button-disabled,
.designs-swiper .swiper-button-next.swiper-button-disabled {
  opacity: 0.25;
}

/* Swiper nav arrows on mobile — smaller */
@media (max-width: 767px) {
  .projects-swiper .swiper-button-prev,
  .projects-swiper .swiper-button-next,
  .designs-swiper .swiper-button-prev,
  .designs-swiper .swiper-button-next {
    width: 34px;
    height: 34px;
    top: 45%;
  }
  .projects-swiper .swiper-button-prev::after,
  .projects-swiper .swiper-button-next::after,
  .designs-swiper .swiper-button-prev::after,
  .designs-swiper .swiper-button-next::after {
    font-size: 0.7rem;
  }
  .projects-swiper .swiper-button-prev,
  .designs-swiper .swiper-button-prev {
    left: 4px;
  }
  .projects-swiper .swiper-button-next,
  .designs-swiper .swiper-button-next {
    right: 4px;
  }
}

/* Light theme overrides */
[data-theme="light"] .project-card .like-btn {
  background: rgba(255,255,255,0.7);
  color: rgba(0,0,0,0.5);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .project-card .like-btn:hover {
  background: rgba(255,255,255,0.9);
  color: #ff4757;
}
[data-theme="light"] .project-card .like-btn.liked {
  color: #ff4757;
  background: rgba(255,71,87,0.1);
  border-color: rgba(255,71,87,0.25);
}
[data-theme="light"] .projects-swiper .swiper-button-prev,
[data-theme="light"] .projects-swiper .swiper-button-next,
[data-theme="light"] .designs-swiper .swiper-button-prev,
[data-theme="light"] .designs-swiper .swiper-button-next {
  background: rgba(255,255,255,0.8);
  border-color: rgba(200,164,86,0.3);
  color: var(--primary-dark, #b8941e);
}
[data-theme="light"] .projects-swiper .swiper-button-prev:hover,
[data-theme="light"] .projects-swiper .swiper-button-next:hover,
[data-theme="light"] .designs-swiper .swiper-button-prev:hover,
[data-theme="light"] .designs-swiper .swiper-button-next:hover {
  background: var(--primary);
  color: #fff;
}

/* ========================================
   PROJECT MODAL — Enhanced
   ======================================== */
.project-modal .modal-dialog {
  max-width: 1100px;
}

.project-modal .modal-content {
  background: var(--dark-2);
  border: 1px solid rgba(200,164,86,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.project-modal .modal-header {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  border-bottom: 1px solid rgba(200,164,86,0.1);
  padding: 28px 35px;
}

.project-modal .modal-title {
  font-size: 1.6rem;
  color: var(--text-heading);
}

.project-modal .btn-close {
  filter: invert(1);
  opacity: 0.4;
  transition: var(--transition);
}

.project-modal .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.project-modal .modal-body {
  padding: 35px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.project-gallery-grid .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.project-gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-gallery-grid .gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.project-gallery-grid .gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: var(--primary);
  font-size: 1.8rem;
  transition: var(--transition-spring);
  z-index: 2;
  text-shadow: 0 0 30px rgba(200,164,86,0.5);
}

.project-gallery-grid .gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.project-gallery-grid .gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 8, 0.5);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.project-gallery-grid .gallery-item:hover::before {
  opacity: 1;
}

/* ========================================
   TESTIMONIALS — Premium Cards
   ======================================== */
.testimonial-card {
  background: linear-gradient(145deg, var(--dark-3), var(--dark-2));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 48px 42px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light), transparent);
  transition: height 0.7s ease;
  border-radius: 0 2px 2px 0;
}

.testimonial-card:hover::before {
  height: 100%;
}

.testimonial-card:hover {
  border-color: rgba(200, 164, 86, 0.12);
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(200, 164, 86, 0.04);
}

.testimonial-card .quote-icon {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  margin-bottom: 22px;
  line-height: 1;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover .quote-icon {
  opacity: 0.4;
}

.testimonial-card p {
  font-size: 1.02rem;
  color: var(--gray-light);
  line-height: 2;
  font-style: italic;
  margin-bottom: 28px;
  font-weight: 300;
}

.testimonial-card .client-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.testimonial-card .client-role {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ========================================
   PROCESS STEPS — Connected
   ======================================== */
.process-step {
  text-align: center;
  position: relative;
  padding: 35px 20px 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), transparent);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process-step:hover {
  background: linear-gradient(145deg, rgba(200,164,86,0.04), rgba(200,164,86,0.01));
  border-color: rgba(200,164,86,0.12);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(200,164,86,0.04);
}

/* Connecting line between steps */
.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -14%;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,164,86,0.2), transparent);
  z-index: 1;
}

.process-step:last-child::after {
  display: none;
}

.process-step .step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(200,164,86,0.18), rgba(200,164,86,0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  transition: all 0.4s ease;
}

.process-step:hover .step-number {
  background: linear-gradient(135deg, rgba(200,164,86,0.4), rgba(200,164,86,0.15));
  -webkit-background-clip: text;
  background-clip: text;
}

.process-step .step-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 86, 0.06);
  border: 1px solid rgba(200,164,86,0.1);
  border-radius: 16px;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 1.3rem;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.process-step .step-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 20px;
  border: 1px dashed rgba(200,164,86,0.12);
  transition: border-color 0.4s ease;
}

@keyframes dashSpin {
  100% { transform: rotate(360deg); }
}

.process-step:hover .step-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(200,164,86,0.25);
  border-radius: 20px;
}

.process-step:hover .step-icon::after {
  border-color: rgba(200,164,86,0.25);
}

.process-step h3,
.process-step h5 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ========================================
   CTA SECTION — Dramatic
   ======================================== */
.cta-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  max-width: 100vw;
}

.cta-section .cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.15) saturate(0.8);
}

.cta-section .cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(8,8,8,0.93), rgba(8,8,8,0.75)),
    radial-gradient(ellipse at 30% 50%, rgba(200,164,86,0.08), transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(200,164,86,0.05), transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 22px;
  color: #fff;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  font-weight: 300;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-form .form-control,
.contact-form .form-select {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius);
  color: var(--text-main);
  padding: 17px 22px;
  font-size: 0.92rem;
  transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: var(--dark-3);
  border-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 0 4px rgba(200, 164, 86, 0.08), 0 0 20px rgba(200,164,86,0.05);
}

.contact-form .form-control::placeholder {
  color: var(--gray);
}

.contact-form textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.contact-form .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 10px;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--dark-3), var(--dark-2));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  transition: var(--transition);
  height: 100%;
}

.contact-info-card:hover {
  border-color: rgba(200, 164, 86, 0.15);
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.contact-info-card .info-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 86, 0.08);
  border: 1px solid rgba(200,164,86,0.12);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.15rem;
  transition: var(--transition);
}

.contact-info-card:hover .info-icon {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(200,164,86,0.25);
}

.contact-info-card h5 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--text-heading);
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Map ---------- */
.map-container {
  width: 100%;
  height: 400px;
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(1) contrast(1.2) brightness(0.55);
}

/* ========================================
   FOOTER — Refined
   ======================================== */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(200,164,86,0.08);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-brand .brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  display: block;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.85;
  max-width: 350px;
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--primary);
}

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

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.footer-links a:hover::before {
  width: 15px;
}

/* Footer contact icons */
.footer-links a > i.fas,
.footer-links a > i.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200,164,86,0.1);
  color: var(--primary);
  font-size: 0.78rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.footer-links a:hover > i.fas,
.footer-links a:hover > i.fab {
  background: var(--primary);
  color: var(--dark);
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(200,164,86,0.3);
}

/* Location pin — animated bounce */
.footer-links a > i.fa-map-marker-alt {
  background: rgba(200,164,86,0.15);
  animation: pinBounce 2.5s ease-in-out infinite;
}
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-4px); }
  30% { transform: translateY(0); }
  45% { transform: translateY(-2px); }
  60% { transform: translateY(0); }
}
.footer-links a:hover > i.fa-map-marker-alt {
  animation: none;
  transform: scale(1.15);
}

/* Light theme footer icons */
[data-theme="light"] .footer-links a > i.fas,
[data-theme="light"] .footer-links a > i.fab {
  background: rgba(200,164,86,0.08);
}
[data-theme="light"] .footer-links a:hover > i.fas,
[data-theme="light"] .footer-links a:hover > i.fab {
  background: var(--primary);
  color: #fff;
}

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

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--gray);
  transition: var(--transition-spring);
  font-size: 0.85rem;
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(200,164,86,0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 28px 0;
  margin-top: 70px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray);
  margin: 0;
  letter-spacing: 0.03em;
}

/* ========================================
   PAGE HEADER — Cinematic
   ======================================== */
.page-header {
  position: relative;
  padding: 200px 0 110px;
  overflow: hidden;
  background: var(--dark);
  max-width: 100vw;
}

.page-header .page-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.18) saturate(0.9);
  animation: pageBgZoom 15s ease-in-out infinite alternate;
}

@keyframes pageBgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.page-header .page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to bottom, rgba(8,8,8,0.6), rgba(8,8,8,0.95)),
    radial-gradient(ellipse at 30% 50%, rgba(200,164,86,0.04), transparent 50%);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-header-content .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.page-header-content .breadcrumb-item {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.page-header-content .breadcrumb-item a {
  color: var(--primary);
}

.page-header-content .breadcrumb-item.active {
  color: rgba(255,255,255,0.5);
}

.page-header-content .breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: rgba(255,255,255,0.3);
  padding: 0 10px;
}

/* ========================================
   LIGHTBOX — Immersive
   ======================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.97);
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(30px);
}

.lightbox-overlay.active {
  display: flex;
  animation: lightboxIn 0.35s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-overlay img {
  max-width: 88%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  cursor: default;
  box-shadow:
    0 30px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(200, 164, 86, 0.06);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-overlay.active img {
  animation: lightboxImgIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxImgIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 1.5rem;
  color: var(--gray);
  cursor: pointer;
  z-index: 99999;
  transition: var(--transition);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.lightbox-close:hover {
  color: var(--primary);
  background: rgba(200,164,86,0.1);
  border-color: rgba(200,164,86,0.3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--gray-light);
  cursor: pointer;
  z-index: 99999;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: var(--dark);
  box-shadow: 0 8px 30px rgba(200,164,86,0.35), 0 0 0 4px rgba(200,164,86,0.1);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

/* ========================================
   ANIMATIONS — Scroll Reveal
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }

/* ========================================
   BACK TO TOP — Enhanced
   ======================================== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--dark);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-spring);
  z-index: 999;
  box-shadow: 0 8px 25px rgba(200,164,86,0.3);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(200,164,86,0.4);
}

/* ---------- WhatsApp Button ---------- */
#whatsappBtn {
  position: fixed;
  bottom: 95px;
  right: 30px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  text-decoration: none;
  box-shadow:
    0 6px 20px rgba(37, 211, 102, 0.35),
    0 0 0 0 rgba(37, 211, 102, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 0 0 10px rgba(37, 211, 102, 0); }
}

#whatsappBtn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  animation: none;
}

#whatsappBtn:active {
  transform: translateY(-2px) scale(0.98);
}

@media (max-width: 767px) {
  #whatsappBtn {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
    bottom: 72px;
    right: 20px;
  }
}

/* ---------- Counter ---------- */
.counter {
  display: inline-block;
}

/* ========================================
   WHY CHOOSE US CARDS
   ======================================== */
.why-card {
  text-align: center;
  padding: 40px 25px 35px;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(200, 164, 86, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.why-card:hover::before {
  opacity: 1;
}

.why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.why-card:hover {
  border-color: rgba(200,164,86,0.12);
  transform: translateY(-8px);
  background: linear-gradient(145deg, rgba(200,164,86,0.04), rgba(200,164,86,0.01));
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(200, 164, 86, 0.04);
}

.why-card > i {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 86, 0.06);
  border: 1px solid rgba(200, 164, 86, 0.08);
  border-radius: 14px;
  color: var(--primary);
  margin-bottom: 20px;
  -webkit-text-fill-color: initial;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.why-card:hover > i {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(200, 164, 86, 0.3);
  border-radius: 18px;
}

.why-card h3,
.why-card h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.why-card:hover h3 {
  color: var(--primary-light);
}

.why-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ========================================
   3D Design Cards (used on 3d page)
   ======================================== */
.design-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 25px;
  cursor: pointer;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.design-card:hover {
  border-color: rgba(200, 164, 86, 0.15);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.design-card .design-image {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.design-card .design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.design-card:hover .design-image img {
  transform: scale(1.08);
}

.design-card .design-info {
  padding: 20px 25px;
}

.design-card .design-title {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 5px;
}

.design-card .design-type {
  font-size: 0.72rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.design-card .design-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 8, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.design-card:hover .design-overlay {
  opacity: 1;
}

.design-card .design-overlay i {
  font-size: 2rem;
  color: var(--primary);
}

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

/* --- Tablet --- */
@media (max-width: 991px) {
  .navbar-brand img {
    height: 50px;
    width: 125px;
  }

  .navbar.scrolled .navbar-brand img {
    height: 42px;
    width: 105px;
  }

  .navbar-collapse {
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(25px);
    padding: 25px;
    margin-top: 15px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(200,164,86,0.08);
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 1rem !important;
  }

  .section-padding {
    padding: 90px 0;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 25px;
  }

  .hero::before {
    display: none;
  }

  .process-step::after {
    display: none;
  }

  .about-preview .about-image img {
    height: 400px;
  }

  .about-preview .about-image::before {
    width: 60px;
    height: 60px;
  }

  .hero-content p {
    max-width: 100%;
  }
}

/* --- Mobile Large --- */
@media (max-width: 767px) {
  .navbar-brand img {
    height: 45px;
    width: 115px;
  }

  .navbar.scrolled .navbar-brand img {
    height: 38px;
    width: 95px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero-content .hero-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
  }

  .hero-content p {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .section-padding {
    padding: 65px 0;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
  }

  .project-filters {
    justify-content: center;
    gap: 8px;
  }

  .filter-btn,
  .project-filters .filter-btn {
    padding: 9px 20px;
    font-size: 0.68rem;
  }

  .hero-scroll {
    display: none;
  }

  .about-stats {
    justify-content: center;
    text-align: center;
  }

  .cta-section {
    padding: 80px 0;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .about-preview .about-image img {
    height: 320px;
  }

  .about-preview .about-image::before {
    width: 50px;
    height: 50px;
  }

  .stat-item .stat-number {
    font-size: 2.2rem;
  }

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

  .page-header-content h1 {
    font-size: 2.2rem;
  }

  .testimonial-card {
    padding: 35px 28px;
  }

  .testimonial-card p {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .why-card {
    padding: 35px 25px;
  }

  .contact-info-card {
    padding: 28px 22px;
  }

  .d-flex.flex-wrap.gap-3 {
    gap: 12px !important;
  }

  .btn-premium, .btn-outline {
    padding: 15px 28px;
    font-size: 0.7rem;
    width: 100%;
    justify-content: center;
  }

  .project-card .project-info {
    padding: 18px 20px;
  }

  .project-card .project-title {
    font-size: 1.05rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  /* Footer horizontal links on mobile */
  .site-footer .col-lg-2,
  .site-footer .col-lg-3 {
    margin-bottom: 0;
  }

  .site-footer .footer-title {
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  .site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
  }

  .site-footer .footer-links li {
    margin-bottom: 0;
    margin-right: 6px;
  }

  .site-footer .footer-links a,
  .site-footer .footer-links span {
    font-size: 0.82rem;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    display: inline-flex;
    white-space: nowrap;
  }

  .site-footer .footer-links a::before {
    display: none;
  }

  .site-footer .footer-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(200,164,86,0.06);
  }

  .map-container {
    height: 280px;
  }
}

/* --- Mobile Small --- */
@media (max-width: 575px) {
  .navbar-brand img {
    height: 40px;
    width: 100px;
  }

  .navbar.scrolled .navbar-brand img {
    height: 34px;
    width: 85px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .hero-label::before {
    width: 25px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
  }

  .service-card {
    padding: 30px 22px;
  }

  .service-card .service-number {
    font-size: 3.5rem;
  }

  .service-card .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
  }

  .service-card h3,
.service-card h4 {
    font-size: 1.15rem;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-modal .modal-header {
    padding: 20px 22px;
  }

  .project-modal .modal-body {
    padding: 22px;
  }

  .project-modal .modal-title {
    font-size: 1.2rem;
  }

  .process-step .step-number {
    font-size: 3rem;
  }

  .process-step .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .process-step .step-icon::after {
    inset: -4px;
  }

  .preloader-logo {
    width: 100px;
    height: 100px;
  }

  .preloader-logo img {
    width: 65px;
  }

  .preloader-ring {
    width: 100px;
    height: 100px;
  }

  .preloader-progress {
    width: 140px;
  }

  .about-preview .experience-badge {
    padding: 15px 18px;
    bottom: 20px;
    left: 20px;
  }

  .about-preview .experience-badge .number {
    font-size: 2rem;
  }

  .about-stats {
    gap: 20px;
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-overlay img {
    max-width: 95%;
    max-height: 85vh;
  }

  #backToTop {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 20px;
    font-size: 0.9rem;
  }
}

/* --- Prevent any horizontal overflow globally --- */
.container,
.container-fluid,
section,
footer,
header,
nav,
main {
  max-width: 100vw;
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 86, 0.1);
  border: 1px solid rgba(200, 164, 86, 0.15);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 15px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  transform: rotate(30deg);
}

.theme-toggle .fa-sun { display: none; }
.theme-toggle .fa-moon { display: inline-block; }

[data-theme="light"] .theme-toggle .fa-sun { display: inline-block; }
[data-theme="light"] .theme-toggle .fa-moon { display: none; }

/* ========================================
   LIGHT MODE — Complete Overrides
   ======================================== */

/* Preloader */
[data-theme="light"] #preloader {
  background: #fff;
}

[data-theme="light"] .preloader-logo img {
  filter: none;
}

[data-theme="light"] .preloader-text {
  color: var(--gray);
}

/* Navbar — mobile collapse only */
@media (max-width: 991px) {
  [data-theme="light"] .navbar-collapse {
    background: var(--nav-mobile-bg) !important;
    border-color: var(--card-border) !important;
  }

  [data-theme="light"] .navbar-collapse .nav-link {
    color: rgba(26, 24, 21, 0.75) !important;
  }

  [data-theme="light"] .navbar-collapse .nav-link:hover,
  [data-theme="light"] .navbar-collapse .nav-link.active {
    color: var(--primary) !important;
  }

  [data-theme="light"] .navbar-collapse .theme-toggle {
    color: var(--primary-dark);
    border-color: rgba(0,0,0,0.1);
  }
}

[data-theme="light"] .navbar.scrolled {
  box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}

/* Light mode: scrolled navbar has light bg, so links go dark */
[data-theme="light"] .navbar.scrolled .nav-link {
  color: rgba(26, 24, 21, 0.75) !important;
}

[data-theme="light"] .navbar.scrolled .nav-link:hover,
[data-theme="light"] .navbar.scrolled .nav-link.active {
  color: var(--primary) !important;
}

/* Light mode: scrolled navbar logo — show original (dark) */
[data-theme="light"] .navbar.scrolled .navbar-brand img {
  filter: none;
}

/* Light mode: hamburger icon dark when scrolled */
[data-theme="light"] .navbar.scrolled .navbar-toggler-icon span {
  background: var(--text-heading);
}

/* Light mode: theme toggle dark border when scrolled */
[data-theme="light"] .navbar.scrolled .theme-toggle {
  color: var(--primary-dark);
  border-color: rgba(0,0,0,0.1);
}

/* Buttons on normal sections */
[data-theme="light"] .section-padding .btn-outline,
[data-theme="light"] .site-footer .btn-outline {
  color: var(--text-heading);
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .section-padding .btn-outline:hover,
[data-theme="light"] .site-footer .btn-outline:hover {
  color: #fff;
}

[data-theme="light"] .btn-premium {
  color: #fff;
}

[data-theme="light"] .btn-premium:hover {
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
}

/* About image */
[data-theme="light"] .about-preview .about-image::after {
  background: linear-gradient(to top, rgba(255,255,255,0.6), transparent);
}

/* Section divider lines */
[data-theme="light"] .hero::before {
  background: linear-gradient(to bottom, transparent, rgba(176,141,62,0.12) 30%, rgba(176,141,62,0.12) 70%, transparent);
}

/* Service cards */
[data-theme="light"] .service-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}

[data-theme="light"] .service-card::after {
  background: radial-gradient(circle at 50% 0%, rgba(176,141,62,0.06), transparent 60%);
}

[data-theme="light"] .service-card:hover {
  border-color: var(--card-border-hover);
}

[data-theme="light"] .service-card h3,
.service-card h4 {
  color: var(--text-heading);
}

[data-theme="light"] .service-card p {
  color: var(--text-muted);
}

[data-theme="light"] .service-card .service-number {
  color: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .service-card:hover .service-number {
  color: rgba(176, 141, 62, 0.08);
}

[data-theme="light"] .service-card:hover .service-icon {
  color: #1a1815;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 30px rgba(176, 141, 62, 0.3);
}

[data-theme="light"] .service-card .service-icon {
  background: rgba(176, 141, 62, 0.08);
  border-color: rgba(176, 141, 62, 0.15);
}

/* Project cards */
[data-theme="light"] .project-card {
  background: #fff;
  border-color: var(--card-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .project-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(176, 141, 62, 0.08);
}

[data-theme="light"] .project-card .project-image::before {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .project-card:hover .project-image::before {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .project-card:hover .project-info {
  background: rgba(176, 141, 62, 0.02);
}

[data-theme="light"] .project-card .project-info::before {
  background: linear-gradient(90deg, var(--primary-glow), transparent);
}

[data-theme="light"] .project-card .project-title {
  color: var(--text-heading);
}

[data-theme="light"] .project-card:hover .project-title {
  color: var(--primary);
}

[data-theme="light"] .project-card .project-category {
  color: var(--primary);
}

[data-theme="light"] .project-card .project-location {
  color: var(--text-muted);
}

/* Project modal */
[data-theme="light"] .project-modal .modal-content {
  background: #fff;
  border-color: var(--card-border);
}

[data-theme="light"] .project-modal .modal-header {
  background: var(--dark-2);
  border-color: var(--card-border);
}

[data-theme="light"] .project-modal .modal-title {
  color: var(--text-heading);
}

[data-theme="light"] .project-modal .btn-close {
  filter: none;
  opacity: 0.6;
}

/* Gallery items */
[data-theme="light"] .project-gallery-grid .gallery-item::before {
  background: rgba(255, 255, 255, 0.5);
}

/* Testimonials */
[data-theme="light"] .testimonial-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}

[data-theme="light"] .testimonial-card:hover {
  border-color: var(--card-border-hover);
}

[data-theme="light"] .testimonial-card p {
  color: var(--text-muted);
}

[data-theme="light"] .testimonial-card .client-name {
  color: var(--text-heading);
}

/* Process steps */
[data-theme="light"] .process-step h3,
.process-step h5 {
  color: var(--text-heading);
}

[data-theme="light"] .process-step p {
  color: var(--text-muted);
}

[data-theme="light"] .process-step {
  background: linear-gradient(145deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3));
  border-color: var(--card-border);
}

[data-theme="light"] .process-step:hover {
  background: linear-gradient(145deg, rgba(176,141,62,0.04), rgba(176,141,62,0.01));
  border-color: rgba(176, 141, 62, 0.15);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

[data-theme="light"] .process-step .step-icon {
  background: rgba(176, 141, 62, 0.06);
  border-color: rgba(176, 141, 62, 0.1);
}

[data-theme="light"] .process-step .step-icon::after {
  border-color: rgba(176, 141, 62, 0.08);
}

[data-theme="light"] .process-step:hover .step-icon {
  color: #1a1815;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 30px rgba(176, 141, 62, 0.25);
}

/* CTA bg always dark */

/* CTA overlay always dark — text always white */

/* Why cards */
[data-theme="light"] .why-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(255,255,255,0.5));
  border-color: var(--card-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .why-card:hover {
  border-color: var(--card-border-hover);
  background: linear-gradient(145deg, rgba(176,141,62,0.04), rgba(176,141,62,0.01));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .why-card > i {
  background: rgba(176, 141, 62, 0.08);
  border-color: rgba(176, 141, 62, 0.12);
  color: var(--primary);
}

[data-theme="light"] .why-card:hover > i {
  color: #1a1815;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 28px rgba(176, 141, 62, 0.3);
}

[data-theme="light"] .why-card h3,
.why-card h5 {
  color: var(--text-heading);
}

[data-theme="light"] .why-card p {
  color: var(--text-muted);
}

/* Contact */
[data-theme="light"] .contact-form .form-control,
[data-theme="light"] .contact-form .form-select {
  background: #fff;
  border-color: var(--dark-4);
  color: var(--text-heading);
}

[data-theme="light"] .contact-form .form-control:focus,
[data-theme="light"] .contact-form .form-select:focus {
  background: #fff;
  color: var(--text-heading);
}

[data-theme="light"] .contact-form .form-control::placeholder {
  color: var(--gray);
}

[data-theme="light"] .contact-form .form-label {
  color: var(--text-muted);
}

[data-theme="light"] .contact-info-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}

[data-theme="light"] .contact-info-card:hover {
  border-color: var(--card-border-hover);
}

[data-theme="light"] .contact-info-card h5 {
  color: var(--text-heading);
}

[data-theme="light"] .contact-info-card p {
  color: var(--text-muted);
}

[data-theme="light"] .contact-info-card .info-icon {
  background: rgba(176, 141, 62, 0.08);
  border-color: rgba(176, 141, 62, 0.15);
}

/* Map */
[data-theme="light"] .map-container iframe {
  filter: grayscale(0.3) contrast(1) brightness(1);
}

/* Page header bg always dark */

/* Page header overlay always dark — text always white */

/* Breadcrumb always on dark bg — no override needed */

/* Footer */
[data-theme="light"] .site-footer {
  background: var(--dark-2);
  border-top-color: var(--card-border);
}

[data-theme="light"] .footer-brand p {
  color: var(--text-muted);
}

[data-theme="light"] .footer-title {
  color: var(--text-heading);
}

[data-theme="light"] .footer-links a {
  color: var(--text-muted);
}

[data-theme="light"] .footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 991px) {
  [data-theme="light"] .site-footer .footer-links a,
  [data-theme="light"] .site-footer .footer-links span {
    border-color: rgba(0,0,0,0.1);
  }

  [data-theme="light"] .site-footer .footer-links a:hover {
    border-color: var(--primary);
    background: rgba(200,164,86,0.06);
  }
}

[data-theme="light"] .footer-bottom {
  border-top-color: var(--divider);
}

[data-theme="light"] .footer-bottom p {
  color: var(--text-muted);
}

[data-theme="light"] .footer-social a {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
  color: var(--text-muted);
}

[data-theme="light"] .footer-social a:hover {
  color: #fff;
}

/* About page specific */
[data-theme="light"] .about-stats {
  border-top-color: var(--divider);
}

[data-theme="light"] .stat-item .stat-text {
  color: var(--text-muted);
}

/* Lightbox */
[data-theme="light"] .lightbox-overlay {
  background: var(--lightbox-bg);
  backdrop-filter: blur(30px);
}

[data-theme="light"] .lightbox-close {
  color: var(--text-muted);
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .lightbox-close:hover {
  color: var(--primary);
  background: rgba(176,141,62,0.1);
  border-color: rgba(176,141,62,0.3);
}

[data-theme="light"] .lightbox-nav {
  color: var(--text-muted);
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .lightbox-nav:hover {
  color: #fff;
}

/* Filter buttons */
[data-theme="light"] .filter-btn,
[data-theme="light"] .project-filters .filter-btn {
  color: var(--text-muted);
  border-color: var(--dark-4);
}

[data-theme="light"] .filter-btn:hover,
[data-theme="light"] .filter-btn.active,
[data-theme="light"] .project-filters .filter-btn:hover,
[data-theme="light"] .project-filters .filter-btn.active {
  color: #fff;
}

/* Section subtitle */
[data-theme="light"] .section-subtitle {
  color: var(--text-muted);
}

/* Hero scroll — always on dark bg */

/* About badge */
[data-theme="light"] .about-preview .experience-badge {
  box-shadow: var(--badge-shadow);
}

/* Design cards (3D page) */
[data-theme="light"] .design-card {
  background: #fff;
  border-color: var(--card-border);
}

[data-theme="light"] .design-card:hover {
  border-color: var(--card-border-hover);
}

[data-theme="light"] .design-card .design-title {
  color: var(--text-heading);
}

[data-theme="light"] .design-card .design-overlay {
  background: rgba(255, 255, 255, 0.6);
}

/* Project overlay on cards */
[data-theme="light"] .project-card .project-overlay {
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
}

/* Back to top */
[data-theme="light"] #backToTop {
  box-shadow: var(--shadow-gold);
}

/* Breadcrumb divider always on dark bg — no override needed */
