@media (max-width: 600px) {
  .mobile-menu {
    padding-right: 16px;
    padding-left: 16px;
  }
  .mobile-menu-inner {
    padding-right: 4px;
    padding-left: 4px;
  }
}
/* ==========================================
   ECOSTRUCTIVE — Main Stylesheet
   Modern Engineering & Consultancy Website
   ========================================== */

/* ── CSS Variables ── */
:root {
  /* Primary Colors */
  --primary: #ff8800;
  --primary-light: #ffb347;
  --primary-dark: #cc7000;
  --primary-50: #fff7ed;
  --primary-100: #ffe0b2;
  --primary-200: #ffd699;

  /* Secondary / Accent */
  --accent: #ffb347;
  --accent-light: #ffd699;
  --accent-dark: #cc7000;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Misc */
  --white: #ffffff;
  --black: #000000;
  --bg: #ffffff;
  --bg-alt: #f8fafb;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --border: #e5e7eb;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Font */
  --font: "Inter", -apple-system, sans-serif;
  --font-display: "Oswald", Impact, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section ── */
.section {
  padding: 100px 0;
}

/* ── Section Headers ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff8800;
  margin-bottom: 16px;
}

.section-label.center {
  justify-content: center;
}

.label-line {
  width: 32px;
  height: 2px;
  background: #ff8800;
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title.center {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn i {
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--white);
  color: #fff;
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

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

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

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

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-inner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader span {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 6px;
  font-weight: 500;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.35s var(--ease);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-light);
}

.navbar.scrolled .logo-icon {
  color: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff !important;
  transition: color 0.3s;
  line-height: 1.1;
  letter-spacing: -0.5px;
  /* highlight removed */
}

.navbar.scrolled .logo-name {
  color: #111 !important;
  text-shadow: none;
}
/* Logo image switch on scroll */
.logo-img-scrolled {
  display: none;
}
.navbar.scrolled .logo-img-default {
  display: none !important;
}
.navbar.scrolled .logo-img-scrolled {
  display: block !important;
}

.logo-sub {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
}

.navbar.scrolled .logo-sub {
  color: var(--text-light);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar.scrolled .nav-link {
  color: var(--gray-600);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--primary);
}

.navbar.scrolled .nav-link::after {
  background: var(--primary);
}

.nav-cta {
  padding: 10px 24px;
  font-size: 13px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.navbar.scrolled .hamburger span {
  background: var(--gray-800);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--gray-900);
  z-index: 999;
  transition: right 0.45s var(--ease);
  padding: 100px 40px 40px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease);
}

.mobile-link:hover {
  color: var(--white);
  padding-left: 12px;
}

.mobile-cta {
  margin-top: 24px;
  text-align: center;
  justify-content: center;
}

/* Mobile menu overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

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

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&h=1080&fit=crop")
    center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgb(41 22 0 / 92%) 0%,
    rgb(41 41 41 / 75%) 100%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(20, 184, 166, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(245, 158, 11, 0.1) 0%,
      transparent 50%
    );
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--primary-200);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  /* highlight removed */
}
/* Make section-title visible on scroll (navbar scrolled) */
.navbar.scrolled .section-title,
.navbar.scrolled .section-title.center {
  color: #cc7000 !important;
  text-shadow: none;
}

.text-gradient {
  color: #ff8800 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  width: fit-content;
  max-width: 100%;
}

.hero-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
}

.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
}

.hero-stat-plus {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-light);
}

.hero-stat-label {
  width: 100%;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.hero-scroll a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.3;
  }
}

/* ── ABOUT ── */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
  overflow: hidden;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.about-img-main:hover img {
  transform: scale(1.03);
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 4px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  right: 40px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.4);
}

.exp-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
}

.exp-text {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.3;
}

.about-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.about-feature h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ── SERVICES ── */
.services {
  background: var(--bg-alt);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

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

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

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all 0.35s var(--ease);
}

.service-card:hover .service-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.service-card-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 48px;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  font-family: var(--font-display);
  transition: color 0.35s var(--ease);
}

.service-card:hover .service-card-number {
  color: var(--primary-50);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-points {
  margin-bottom: 20px;
}

.service-points li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s var(--ease);
}

.service-link:hover {
  gap: 10px;
}

.service-link i {
  font-size: 12px;
}

/* ── STATS BANNER ── */
.stats-banner {
  background: linear-gradient(135deg, #a7a7a7 0%, #bb5a14 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(20, 184, 166, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(245, 158, 11, 0.1) 0%,
      transparent 50%
    );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-icon {
  font-size: 28px;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-light);
  display: inline;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

/* ── PROJECTS ── */
.projects {
  background: var(--bg);
}

/* Filter Buttons */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.project-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

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

.project-category {
  padding: 4px 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.project-service-tag {
  padding: 4px 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.project-info {
  padding: 20px 22px;
}

.project-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.project-info p {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-info p i {
  color: var(--primary);
  font-size: 12px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.project-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--white);
}

.tag.tag-uc {
  background: #e67e22;
}

.tag.tag-sv {
  background: #2980b9;
}

.tag.tag-cs {
  background: #8e44ad;
}

/* ── CTA BANNER ── */
.cta-banner {
  background:
    linear-gradient(135deg, #a7a7a7 0%, #bb5a14 100%),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1920&h=600&fit=crop")
      center / cover;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── TEAM ── */
.team {
  background: var(--bg-alt);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.team-img {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-social {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: all 0.35s var(--ease);
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.team-social a {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease);
}

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

.team-info {
  padding: 20px 22px;
  text-align: center;
}

.team-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.team-info p {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

/* ── FAQ ── */
.faq {
  background: var(--bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: flex-start;
}

.faq-left p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: color 0.3s var(--ease);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-question i {
  font-size: 14px;
  color: var(--gray-400);
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── CONTACT ── */
.contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.contact-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ── FOOTER ── */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.65);
}

.footer-top {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  color: var(--primary-light);
}

.footer-logo .logo-name {
  color: var(--white);
}

.footer-logo .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.3s var(--ease);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px !important;
}

.footer-contact i {
  color: var(--primary-light);
  font-size: 14px;
  margin-top: 4px;
}

.footer-contact span {
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.4);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(15, 118, 110, 0.5);
}

/* ── AOS Animations ── */
/* Only hide elements when JS is confirmed working */
body.aos-ready [data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: var(--ease);
}

body.aos-ready [data-aos].aos-animate {
  opacity: 1;
}

body.aos-ready [data-aos="fade-up"] {
  transform: translateY(30px);
}

body.aos-ready [data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

body.aos-ready [data-aos="fade-down"] {
  transform: translateY(-30px);
}

body.aos-ready [data-aos="fade-down"].aos-animate {
  transform: translateY(0);
}

body.aos-ready [data-aos="fade-right"] {
  transform: translateX(-30px);
}

body.aos-ready [data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

body.aos-ready [data-aos="fade-left"] {
  transform: translateX(30px);
}

body.aos-ready [data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

body.aos-ready [data-aos="zoom-in"] {
  transform: scale(0.9);
}

body.aos-ready [data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* Delay variants — delays now handled by JS setTimeout for reliability */

/* ── Selection ── */
::selection {
  background: var(--primary-200);
  color: var(--primary-dark);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}
