@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap");

/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   Theme System (data-theme="light" | default dark)
   All --bg-*, --border-*, --nav-*, --footer-*, --scrollbar-*,
   --mobile-menu-*, --btn-neutral-* switch with theme for a
   consistent light/dark experience.
   =========================== */
:root {
  /* Colors - Exact Figma Colors (Dark mode default) */
  --primary-orange: #ff5500;
  --primary-orange-rgb: 255, 85, 0;
  /* Hero/CTA background PNG - filter applied on image */
  --hero-bg-image: url("images/hero-bg-png.png");
  --hero-hue-rotate: 0deg;
  --dark-bg: #000000;
  --dark-card: #0d0d0d;
  --card-border: #1a1a1a;
  --text-white: #ffffff;
  --text-gray: #999999;
  --text-dim: #666666;

  /* Theme-aware (same as dark by default) */
  --bg-page: #000000;
  --bg-card: #050505;
  --bg-card-alt: #0d0d0d;
  --bg-nav: rgba(0, 0, 0, 0.98);
  --bg-nav-scroll: rgba(10, 10, 10, 0.98);
  --border-subtle: #222;
  --border-medium: #333;
  --btn-neutral-bg: #111;
  --btn-neutral-bg-hover: #201f1f;
  --nav-border: rgba(255, 255, 255, 0.05);
  --footer-border: rgba(255, 255, 255, 0.05);
  --footer-bottom-border: rgba(255, 255, 255, 0.2);
  --scrollbar-track: #000000;
  --mobile-menu-bg: rgba(10, 10, 10, 0.98);
  --mobile-menu-hover: #161514;
  --nav-shadow-scrolled: var(--shadow-md);

  /* Typography */
  --font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --container-max: 1320px;
  --section-padding: 80px 0;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Transitions */
  --transition: all 0.3s ease;

  /* Shadows (Dark mode default) */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.5);

  --shadow-orange: 0 4px 15px rgba(var(--primary-orange-rgb), 0.2);
  --shadow-orange-lg: 0 10px 20px rgba(var(--primary-orange-rgb), 0.3);
}

/* ===========================
     Light Mode Theme
     =========================== */
[data-theme="light"] {
  --dark-bg: #f5f5f5;
  --dark-card: #ffffff;
  --card-border: #e5e5e5;
  --text-white: #1a1a1a;
  --text-gray: #555555;
  --text-dim: #666666;

  --bg-page: #f5f5f5;
  --bg-card: #ffffff;
  --bg-card-alt: #fafafa;
  --bg-nav: #ffffff;
  --bg-nav-scroll: #ffffff;
  --nav-shadow-scrolled: var(--shadow-sm);
  --border-subtle: #e5e5e5;
  --border-medium: #ddd;
  --btn-neutral-bg: #e8e8e8;
  --btn-neutral-bg-hover: #ddd;
  --nav-border: rgba(0, 0, 0, 0.08);
  --footer-border: rgba(0, 0, 0, 0.08);
  --footer-bottom-border: rgba(0, 0, 0, 0.15);
  --scrollbar-track: #f0f0f0;
  --mobile-menu-bg: #ffffff;
  --mobile-menu-hover: #f5f5f5;

  /* Shadows (Subtle for light mode) */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.06);

  --shadow-orange: 0 2px 8px rgba(var(--primary-orange-rgb), 0.1);
  --shadow-orange-lg: 0 4px 12px rgba(var(--primary-orange-rgb), 0.15);
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
}

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

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

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

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  padding: 14px 0;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: var(--bg-nav-scroll);
  box-shadow: var(--nav-shadow-scrolled);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: filter 0.3s ease;
}

/* Light mode: navbar logo dark for contrast */
[data-theme="light"] .navbar .logo img {
  filter: brightness(0);
}

.logo-text {
  font-size: 14px;
  letter-spacing: 2px;
}

/* Theme Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--btn-neutral-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.theme-toggle:hover {
  background: var(--btn-neutral-bg-hover);
  border-color: var(--border-medium);
}

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

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

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

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

[data-theme="light"] .theme-toggle {
  background: #fff;
  border: 1px solid var(--border-medium);
  color: #1a1a1a;
  box-shadow: none;
}

[data-theme="light"] .theme-toggle:hover {
  background: #f0f0f0;
  border-color: #999;
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-gray);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text-white);
}

.nav-links li.mobile-only-link {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text-white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   Buttons - Exact Figma Style
   =========================== */
.btn-primary {
  background: var(--primary-orange);
  /* color: var(--text-white); */
  color: #ffffff;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--primary-orange);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--btn-neutral-bg-hover);
  color: var(--text-white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  box-shadow: -3px 5px 4px 0px rgba(0, 0, 0, 0.15) inset;
  font-weight: 600;
  font-size: 13px;
}

.btn-secondary:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .btn-secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid var(--border-medium);
  box-shadow: none;
}

[data-theme="light"] .btn-secondary:hover {
  background: #f0f0f0;
  border-color: #999;
  color: #1a1a1a;
}

.btn-dark {
  background: var(--dark-bg);
  color: var(--text-white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
}

.btn-dark:hover {
  background: var(--border-medium);
}

/* Buttons on orange sections stay dark for contrast in light mode */
[data-theme="light"] .performance-section .btn-dark,
[data-theme="light"] .cta-banner .btn-dark-solid {
  background: #1a1a1a;
  color: #fff;
}

[data-theme="light"] .performance-section .btn-dark:hover,
[data-theme="light"] .cta-banner .btn-dark-solid:hover {
  background: #333;
}

/* Keep text white on orange sections in light mode for contrast */
[data-theme="light"] .performance-section,
[data-theme="light"] .performance-section .section-title-large,
[data-theme="light"] .performance-section .rating-score {
  color: #ffffff;
}

[data-theme="light"] .performance-section .section-description,
[data-theme="light"] .performance-section .rating-desc {
  color: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .cta-banner,
[data-theme="light"] .cta-banner .cta-title {
  color: #ffffff;
}

/* ===========================
   Light mode: Projects & Project Details pages
   =========================== */
[data-theme="light"] .projects-hero::before {
  background: linear-gradient(to bottom,
      rgba(245, 245, 245, 0.3),
      rgba(245, 245, 245, 0.85));
}

[data-theme="light"] .blogs-hero::before {
  background: linear-gradient(to bottom,
      rgba(245, 245, 245, 0.3),
      rgba(245, 245, 245, 0.85));
}

[data-theme="light"] .blogs-list-section {
  background: var(--dark-bg);
}

[data-theme="light"] .projects-list-section {
  background: var(--bg-page);
}

[data-theme="light"] .list-header .section-title-large,
[data-theme="light"] .project-title,
[data-theme="light"] .content-block h2,
[data-theme="light"] .related-header h2 {
  color: var(--text-white);
}

[data-theme="light"] .projects-grid-empty p {
  color: var(--text-gray);
}

[data-theme="light"] .project-details-hero {
  position: relative;
}

[data-theme="light"] .project-details-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(245, 245, 245, 0.5),
      rgba(245, 245, 245, 0.92));
  pointer-events: none;
}

[data-theme="light"] .project-details-hero .project-hero-container {
  position: relative;
  z-index: 1;
}

.btn-text {
  background: transparent;
  color: var(--text-white);
  font-weight: 500;
  font-size: 13px;
  padding: 0;
}

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

/* ===========================
   Hero Section - Exact Match
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: top;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  z-index: 0;
}

.hero-text {
  max-width: 680px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
  /* above .hero::before */
  padding-top: 50px;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-title {
  font-size: 73px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  font-family: "Bricolage Grotesque", sans-serif;
  text-transform: capitalize;
}

.hero-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  max-width: 700px;
}

.hero-image img {
  width: 100%;
  /* filter: drop-shadow(0 20px 40px rgba(var(--primary-orange-rgb), 0.2)); */
}

/* ===========================
   Hero Types & Animations
   =========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}

.hero-type-image-only,
.hero-type-video-only {
  min-height: 85vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
}

/* Hide background pattern for full media types */
.hero-type-image-only::before,
.hero-type-image-only::after,
.hero-type-video-only::before,
.hero-type-video-only::after {
  display: none !important;
}

.hero-type-image-only,
.hero-type-video-only {
  background: var(--bg-page);
}

.hero-type-image-only .container,
.hero-type-video-only .container {
  width: 100%;
}

.hero-full-media {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  background: #000;
  transition: transform 0.5s ease;
}

.hero-full-media:hover {
  transform: scale(1.01);
}

.media-landscape,
.media-landscape-video {
  width: 100%;
  max-height: 75vh;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-type-image-with-text .hero-content {
  animation: fadeIn 1s ease-out;
}

@media (max-width: 991px) {

  .hero-type-image-only,
  .hero-type-video-only {
    min-height: 60vh !important;
    padding: 100px 0 40px;
  }

  .media-landscape,
  .media-landscape-video {
    max-height: 50vh;
  }
}

/* ===========================
   Performance Section - Orange
   =========================== */
.performance-section {
  background: var(--primary-orange);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.performance-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    /* Bottom curved lines */
    radial-gradient(ellipse 1000px 300px at 50% 110%,
      transparent 40%,
      rgba(255, 255, 255, 0.08) 40.3%,
      transparent 40.6%),
    radial-gradient(ellipse 950px 280px at 48% 108%,
      transparent 40%,
      rgba(255, 255, 255, 0.06) 40.3%,
      transparent 40.6%),
    radial-gradient(ellipse 900px 260px at 46% 106%,
      transparent 40%,
      rgba(255, 255, 255, 0.05) 40.3%,
      transparent 40.6%),
    radial-gradient(ellipse 850px 240px at 44% 104%,
      transparent 40%,
      rgba(255, 255, 255, 0.04) 40.3%,
      transparent 40.6%);
  pointer-events: none;
}

.performance-section::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent);
  border-radius: 50%;
}

.performance-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title-large {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.section-description {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.95;
}

.rating-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: -15px;
  border: 3px solid var(--primary-orange);
}

.avatar-group img:first-child {
  margin-left: 0;
}

.rating-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  min-width: max-content;
}

.rating-info .stars {
  display: flex;
  margin-bottom: 2px;
  font-size: 14px;
}

.rating-text-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.rating-score {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.rating-desc {
  font-size: 13px;
  color: var(--text-white);
  font-weight: 400;
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 40px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-white);
}

.section-title {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-gray);
  max-width: 650px;
}

/* ===========================
   Featured Projects - Exact Style
   =========================== */
/* ===========================
   Featured Projects - Updated Design
   =========================== */
.featured-projects {
  padding: var(--section-padding);
  background: var(--bg-page);
}

/* Header Styles */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.header-left {
  max-width: 600px;
}

.title-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.orange-slash {
  width: 15px;
  height: 35px;
  background: var(--primary-orange);
  transform: skew(-20deg);
  display: block;
  border-radius: 4px;
}

.title-wrapper h2 {
  font-size: 41px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  padding-top: 15px;
}

.section-subtitle-text {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-left: 0;
}

.btn-dark-outline {
  background: var(--btn-neutral-bg);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-dark-outline:hover {
  border-color: var(--text-gray);
  background: var(--btn-neutral-bg-hover);
}

/* Swiper container - Featured Projects */
.featured-projects-swiper {
  overflow: hidden;
  margin-bottom: 0;
}

.featured-projects-swiper .swiper-wrapper {
  align-items: stretch;
}

.featured-projects-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* Swiper container - Featured Blogs */
.featured-blogs-swiper {
  overflow: hidden;
  margin-bottom: 0;
}

.featured-blogs-swiper .swiper-wrapper {
  align-items: stretch;
}

.featured-blogs-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* Grid & Cards (used inside swiper slides) */

/* Grid & Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--border-medium);
}

.project-image {
  height: 300px;
  width: 100%;
  padding: 24px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.project-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-info p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-meta {
  margin-bottom: 24px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.location-icon {
  font-size: 14px;
  color: var(--text-dim);
}

.location {
  font-size: 12px;
  color: var(--text-dim);
}

.tag-dark {
  background: var(--btn-neutral-bg);
  color: var(--text-gray);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  display: inline-block;
  border: 1px solid var(--border-medium);
}

.btn-card-action {
  width: 100%;
  background: var(--primary-orange);
  color: white;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-align: center;
  margin-top: auto;
}

.btn-card-action:hover {
  background: var(--primary-orange);
}

/* Pagination */
.projects-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  margin-top: 32px;
}

.page-counter {
  color: var(--text-gray);
  font-family: monospace;
  font-size: 16px;
  font-weight: 500;
}

.pagination-arrows {
  display: flex;
  gap: 12px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-neutral-bg);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-size: 16px;
}

.arrow-btn:hover {
  background: var(--border-subtle);
  border-color: var(--border-medium);
}

/* ===========================
   Services Section
   =========================== */
.services-section {
  padding: var(--section-padding);
  background: var(--bg-page);
}

.section-title-main {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.orange-icon {
  color: var(--primary-orange);
  font-size: 36px;
  margin-left: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 48px;
}

.services-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  justify-content: center;
}

.tab-btn {
  background: var(--btn-neutral-bg);
  color: var(--text-gray);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--primary-orange);
  color: var(--text-white);
  border-color: var(--primary-orange);
}

.tab-btn:hover {
  background: var(--btn-neutral-bg-hover);
  color: var(--text-white);
}

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

.service-card {
  background: var(--dark-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-orange-rgb), 0.3);
}

.service-image {
  height: 340px;
  overflow: hidden;
  padding: 24px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.service-info {
  padding: 24px;
}

.service-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-info p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.learn-more {
  color: var(--text-white);
  font-weight: 500;
  font-size: 13px;
}

.learn-more:hover {
  color: var(--primary-orange);
}

/* ===========================
   Testimonials Section - Exact Style
   =========================== */
/* ===========================
   Testimonials Section - Updated Design
   =========================== */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--bg-page);
}

.testimonials-header-center {
  text-align: center;
  margin-bottom: 80px;
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.orange-flower-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.orange-flower-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}

.orange-diamond {
  width: 24px;
  height: 24px;
  display: inline-block;
}

.section-subtitle-center {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 32px;
}

.rating-container-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Reuse existing avatar-group and rating styles but center them */
.rating-container-center .avatar-group {
  justify-content: center;
}

.rating-container-center .rating-info {
  align-items: flex-start;
  text-align: left;
}

/* Grid & Cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-medium);
}

.testimonial-image-col {
  flex-shrink: 0;
}

.testimonial-image-col img {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  object-fit: cover;
}

.testimonial-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-quote {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-white);
  margin-bottom: 16px;
}

.testimonial-author-meta {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===========================
   Blog Section - Updated Design
   =========================== */
.blog-section {
  padding: var(--section-padding);
  background: var(--bg-page);
}

.orange-flower {
  width: 30px;
  height: 30px;
  background: transparent;
  display: inline-block;
  position: relative;
  /* Creating a 4-petal flower shape */
}

.orange-flower::before,
.orange-flower::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-orange);
  border-radius: 50%;
}

.orange-flower::before {
  transform: scale(0.6);
}

.orange-flower::after {
  /* Using box-shadow to create petals */
  background: transparent;
  box-shadow:
    10px 10px 0 var(--primary-orange),
    -10px 10px 0 var(--primary-orange),
    10px -10px 0 var(--primary-orange),
    -10px -10px 0 var(--primary-orange);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin-top: -5px;
  margin-left: -5px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-medium);
}

.blog-image {
  height: 300px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

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

.blog-card:hover .blog-image img {
  transform: scale(1.05);
  /* Subtle zoom on hover */
}

.blog-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-content .tag-dark {
  align-self: flex-start;
  margin-bottom: 16px;
}

.blog-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
}

.blog-date {
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-link-underlined {
  color: var(--text-white);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.blog-link-underlined:hover {
  text-decoration-color: var(--primary-orange);
  color: var(--text-white);
}

/* ===========================
   FAQ Section - Updated Design
   =========================== */
.contact-faq {
  padding: 80px 0;
  background: var(--dark-bg);
}

.faq-section {
  padding: var(--section-padding);
  background: var(--bg-page);
}

.orange-abstract {
  width: 30px;
  height: 30px;
  background: transparent;
  display: inline-block;
  position: relative;
}

.orange-abstract::before,
.orange-abstract::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--primary-orange);
}

.orange-abstract::before {
  width: 20px;
  height: 20px;
  top: 5px;
  left: 0;
  z-index: 2;
}

.orange-abstract::after {
  width: 14px;
  height: 14px;
  top: 0;
  left: 14px;
  opacity: 0.7;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 40px;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--border-medium);
}

.faq-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.4;
}

.faq-card-text {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===========================
   CTA Section - Updated Design
   =========================== */
.cta-section {
  padding: var(--section-padding);
  background: var(--bg-page);
}

.cta-banner {
  background: var(--primary-orange);
  border-radius: var(--radius-lg);
  padding: 100px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.cta-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 32px;
}

.btn-dark-solid {
  background: var(--btn-neutral-bg);
  color: var(--text-white);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-dark-solid:hover {
  background: var(--border-subtle);
  transform: translateY(-2px);
}

/* Abstract Wireframe Patterns */
.cta-pattern-left,
.cta-pattern-right {
  position: absolute;
  box-sizing: border-box;
  display: block;
  background-image: url('/website_files/assets/images/svgs/cta_pattent.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex: none;
  flex-grow: 0;
}

.cta-pattern-left {
  width: 38.88rem;
  height: 38.99rem;
  left: -25.56rem;
  top: calc(50% - 38.99rem/2 - 17.975rem);
  opacity: 0.5;
  transform: rotate(253.5deg);
  order: 0;
  z-index: 0;
}

.cta-pattern-right {
  width: 34.27rem;
  height: 34.364rem;
  right: -12.541rem;
  top: calc(50% - 34.364rem/2 + 5.344rem);
  opacity: 0.7;
  transform: rotate(72.76deg);
  order: 1;
  z-index: 1;
}


/* ===========================
   Footer - Exact Figma Style
   =========================== */
.footer {
  background: var(--bg-page);
  padding: 80px 0 30px;
  border-top: 1px solid var(--footer-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.footer-logo .logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-orange);
  letter-spacing: 1px;
}

.footer-logo .logo-subtitle {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.footer-newsletter {
  display: flex;
  align-items: center;
  background: var(--btn-neutral-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px;
  max-width: 280px;
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 12px;
  color: var(--text-white);
  font-size: 13px;
}

.footer-newsletter input::placeholder {
  color: var(--text-dim);
}

.footer-newsletter input:focus {
  outline: none;
}

.newsletter-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 18px;
  padding: 8px 12px;
  cursor: pointer;
  transition: var(--transition);
}

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

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--text-dim);
  font-size: 13px;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--text-white);
}

.footer-column p.footer-contact-email,
.footer-column p.footer-address,
.footer-column p.footer-phones {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.footer-column p.footer-contact-email a,
.footer-column p.footer-phones a {
  color: var(--text-dim);
  transition: var(--transition);
}

.footer-column p.footer-contact-email a:hover,
.footer-column p.footer-phones a:hover {
  color: var(--text-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px dotted var(--footer-bottom-border);
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 13px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-neutral-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

/* ===========================
   Carousel Indicators
   =========================== */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.indicator {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--primary-orange);
  width: 48px;
}

/* ===========================
   Premium Responsive Design
   =========================== */

/* Large Tablets & Small Desktops (1200px and below) */
@media (max-width: 1200px) {
  .container {
    padding: 0 32px;
  }

  .hero-title {
    font-size: 48px;
  }

  .section-title-large {
    font-size: 38px;
  }

  .title-wrapper h2 {
    font-size: 36px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

/* Tablets (968px and below) */
@media (max-width: 968px) {
  .container {
    padding: 0 24px;
  }

  /* Navigation - Mobile Menu Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--mobile-menu-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    margin: 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-gray);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--mobile-menu-hover);
    border-radius: 8px;
    color: var(--primary-orange);
    transform: translateX(4px);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-content .btn-primary,
  .nav-content .btn-secondary:not(.btn-locale-nav) {
    display: none;
  }

  .nav-content .btn-locale-nav {
    display: flex;
    padding: 8px 16px;
    font-size: 12px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-links li.mobile-only-link {
    display: block;
    width: 100%;
  }

  /* Overlay for mobile menu */
  .nav-links.active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 280px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  [data-theme="light"] .nav-links.active::before {
    background: rgba(255, 255, 255, 0.6);
  }

  /* Ensure navbar stays solid white on mobile in light mode */
  [data-theme="light"] .navbar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Hero Section */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .hero-text {
    padding: 60px 0;
    max-width: 100%;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 12px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    flex: 1;
    text-align: center;
  }

  /* Performance Section */
  .performance-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .rating-container {
    justify-content: center;
  }

  /* Section Headers */
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .section-title-large {
    font-size: 32px;
  }

  .title-wrapper h2 {
    font-size: 32px;
  }

  /* Grids */
  .projects-grid,
  .service-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-image-col {
    margin-bottom: 20px;
  }

  /* CTA Section */
  .cta-banner {
    padding: 60px 24px;
  }

  .cta-title {
    font-size: 32px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1.2fr repeat(5, 1fr);
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-newsletter {
    max-width: 100%;
  }
}

/* Mobile Landscape & Large Phones (768px and below) */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    width: 260px;
    padding: 90px 24px 24px;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 10px;
  }

  .section-title-large {
    font-size: 28px;
  }

  .title-wrapper h2 {
    font-size: 28px;
  }

  .stat-card {
    padding: 24px 20px;
  }

  .stat-number {
    font-size: 32px;
  }

  .cta-title {
    font-size: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .projects-grid,
  .service-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile Portrait (640px and below) - Exact Design Match */
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    width: 100%;
    right: -100%;
    padding: 80px 20px 20px;
  }

  .nav-links.active::before {
    right: 0;
  }

  /* ===== HERO SECTION - Screenshot 1 ===== */
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image {
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 28px;
  }

  .hero-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn-primary {
    flex: 1;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }

  .hero-buttons .btn-secondary {
    flex: 1;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }

  /* ===== PERFORMANCE SECTION - Screenshot 2 ===== */
  .performance-section {
    padding: 60px 0;
    background: var(--primary-orange);
  }

  .performance-content {
    text-align: center;
  }

  .section-title-large {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
  }

  .section-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-white);
    margin-bottom: 28px;
    opacity: 0.95;
  }

  .btn-dark {
    background: var(--btn-neutral-bg);
    color: var(--text-white);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
    display: inline-block;
  }

  .rating-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    justify-content: center;
  }

  .avatar-group {
    display: flex;
    justify-content: center;
  }

  .avatar-group img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
    margin-left: -12px;
  }

  .avatar-group img:first-child {
    margin-left: 0;
  }

  .rating-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .rating-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .rating-score {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
  }

  .rating-desc {
    font-size: 13px;
    color: var(--text-white);
    opacity: 0.9;
  }

  /* ===== FEATURED PROJECTS - Screenshot 3 ===== */
  .projects-header {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  .title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .title-wrapper h2 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
  }

  .orange-slash {
    width: 24px;
    height: 24px;
    background: var(--primary-orange);
    transform: rotate(45deg);
    border-radius: 4px;
  }

  .section-subtitle-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
  }

  .btn-dark-outline {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
  }

  .project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
  }

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

  .project-info {
    padding: 24px;
  }

  .project-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
  }

  .project-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 20px;
  }

  .project-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .location {
    font-size: 13px;
    color: var(--text-gray);
  }

  .tag-dark {
    display: inline-block;
    padding: 6px 12px;
    background: var(--btn-neutral-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-white);
    font-weight: 500;
  }

  .btn-card-action {
    width: 100%;
    background: var(--primary-orange);
    color: var(--text-white);
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
  }

  .projects-pagination {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }

  /* ===== SERVICES SECTION - Screenshot 4 ===== */
  .section-header-center {
    text-align: left;
    margin-bottom: 32px;
  }

  .section-title-main {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
  }

  .services-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 32px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .services-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .tab-btn {
    padding: 10px 20px;
    background: var(--btn-neutral-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
  }

  .tab-btn.active {
    background: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    padding: 0;
  }

  .service-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
  }

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

  .service-info {
    padding: 24px;
  }

  .service-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
  }

  .service-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 16px;
  }

  .learn-more {
    font-size: 13px;
    color: var(--text-white);
    text-decoration: underline;
    font-weight: 500;
  }

  /* ===== TESTIMONIALS SECTION - Screenshot 5 ===== */
  .testimonials-header-center {
    text-align: left;
    padding: 0;
    margin-bottom: 32px;
  }

  .title-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .auth-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
  }

  .orange-diamond {
    width: 20px;
    height: 20px;
  }

  .section-subtitle-center {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 24px;
  }

  .rating-container-center {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-image-col {
    margin-bottom: 20px;
  }

  .testimonial-image-col img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
  }

  .testimonial-content-col {
    width: 100%;
  }

  .testimonial-quote {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-white);
    margin-bottom: 16px;
    font-weight: 400;
  }

  .testimonial-author-meta {
    font-size: 13px;
    color: var(--text-gray);
    font-style: italic;
  }

  /* ===== BLOG SECTION ===== */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-card {
    padding: 0;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
  }

  .blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

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

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 12px;
    line-height: 1.3;
  }

  .blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .blog-date {
    font-size: 12px;
    color: var(--text-gray);
  }

  .blog-link-underlined {
    font-size: 13px;
    color: var(--text-white);
    text-decoration: underline;
  }

  /* ===== FAQ SECTION ===== */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-card {
    padding: 24px 20px;
  }

  .faq-card-title {
    font-size: 16px;
  }

  /* ===== CTA SECTION ===== */
  .cta-banner {
    padding: 48px 24px;
    border-radius: 16px;
  }

  .cta-title {
    font-size: 26px;
    margin-bottom: 24px;
    line-height: 1.2;
  }

  /* ===== FOOTER ===== */
  .footer {
    padding: 60px 0 24px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    margin-bottom: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-logo {
    align-items: flex-start;
  }

  .footer-newsletter {
    max-width: 100%;
  }

  .footer-column h4 {
    font-size: 13px;
    margin-bottom: 16px;
  }

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

  .footer-column ul li a {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Small Mobile (480px and below) - Ultra Compact */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Hero Section */
  .hero {
    padding: 90px 0 50px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-description {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    padding: 14px 20px;
  }

  /* Performance Section */
  .performance-section {
    padding: 50px 0;
  }

  .section-title-large {
    font-size: 26px;
  }

  .section-description {
    font-size: 13px;
  }

  .btn-dark {
    padding: 12px 28px;
    font-size: 13px;
  }

  .avatar-group img {
    width: 44px;
    height: 44px;
  }

  /* Projects Section */
  .title-wrapper h2 {
    font-size: 26px;
  }

  .project-image {
    height: 240px;
  }

  .project-info {
    padding: 20px;
  }

  .project-info h3 {
    font-size: 18px;
  }

  /* Services Section */
  .section-title-main {
    font-size: 26px;
  }

  .service-image {
    height: 240px;
  }

  .service-info {
    padding: 20px;
  }

  .service-info h3 {
    font-size: 18px;
  }

  /* Testimonials Section */
  .auth-title {
    font-size: 26px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-image-col img {
    width: 56px;
    height: 56px;
  }

  .testimonial-quote {
    font-size: 14px;
  }

  /* CTA Section */
  .cta-banner {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 24px;
  }

  /* Navigation */
  .nav-links a {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ===========================
   Smooth Scrolling & Effects
   =========================== */
html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--primary-orange);
  color: var(--text-white);
}

::-webkit-scrollbar {
  width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */

/* About Hero Section */
.about-hero {
  position: relative;
  min-height: 60vh;
  padding: 140px 0 0;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: top;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  z-index: 0;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero-content {
  margin-bottom: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-hero-title {
  font-size: 73px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: -1.5px;
  font-family: "Bricolage Grotesque", sans-serif;
  text-transform: capitalize;
}

.about-hero-description {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 750px;
  margin: 0;
}

/* About Content Section */
.about-content-section {
  background: var(--dark-bg);
  padding: 80px 0;
}

.about-images-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  margin-bottom: 80px;
}

.about-image-large,
.about-image-small {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.about-image-large img,
.about-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Story & Values */
.story-values-section {
  margin-top: 60px;
}

.story-values-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.story-title-column {
  position: sticky;
  top: 140px;
}

.section-title-large-story {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--text-white);
}

.story-content-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.story-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

/* Quote Box */
.quote-box {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 16px 0;
}

.quote-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 8px;
  background-color: #1e1d1c;
}

.quote-logo img {
  width: 100%;
  height: auto;
}

.quote-content {
  flex: 1;
}

.quote-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 150%;
  margin-bottom: 12px;
}

.quote-author {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-gray);
  margin: 0;
}

/* Values List */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.value-list-item {
  padding-left: 20px;
  position: relative;
}

.value-list-item::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1.2;
}

.value-list-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.value-list-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* Capabilities Section */
.capabilities-section {
  background: var(--dark-bg);
  padding: 80px 0;
}

.capabilities-section.section-title-large {
  display: flex;
}

.section-header-with-icon {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-with-icon .section-title-large {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.section-header-with-icon p {
  max-width: 676px;
}

.section-subtitle-center {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.stat-box {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  transition: var(--transition);
}

.stat-box:hover {
  border-color: rgba(var(--primary-orange-rgb), 0.3);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: var(--text-gray);
  font-weight: 400;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.capability-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.capability-card:hover {
  border-color: rgba(var(--primary-orange-rgb), 0.3);
  transform: translateY(-4px);
}

.capability-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.capability-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* Certifications Section */
.certifications-section {
  background: var(--dark-bg);
  padding: 80px 0;
}

.certifications-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
  text-align: center;
  margin: 16px 0 12px;
}

.certifications-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.certifications-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.certification-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.certification-item:hover {
  border-color: rgba(var(--primary-orange-rgb), 0.3);
}

.cert-preview {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--dark-card);
}

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

.cert-details {
  flex: 1;
}

.cert-item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.cert-item-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

.cert-actions {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.cert-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-orange);
  text-decoration: none;
  transition: var(--transition);
}

.cert-link:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

/* Why ICF Section */
.why-icf-section {
  background: var(--dark-bg);
  padding: 80px 0;
}

.why-icf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.icf-benefit-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.icf-benefit-card:hover {
  border-color: rgba(var(--primary-orange-rgb), 0.3);
  transform: translateY(-4px);
}

.benefit-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.benefit-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Product Portfolio Section */
.product-portfolio-section {
  background: var(--dark-bg);
  padding: 80px 0;
}

.portfolio-pagination {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.product-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.product-card:hover {
  border-color: rgba(var(--primary-orange-rgb), 0.3);
  transform: translateY(-4px);
}

.product-image {
  height: 280px;
  overflow: hidden;
  padding: 24px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.product-info p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ===========================
   ABOUT PAGE RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 120px 0 0px;
  }

  .about-hero-content {
    flex-wrap: wrap;
    padding: 20px 0 66px;
  }

  .about-hero-title {
    font-size: 56px;
    margin-bottom: 32px;
  }

  .about-images-grid {
    grid-template-columns: 1fr;
  }

  .story-values-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-title-column {
    position: static;
  }

  .section-title-large-story {
    font-size: 42px;
  }

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

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

  .certification-item {
    align-items: center;
  }

  .cert-preview {
    width: 150px;
    height: 150px;
  }

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

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

@media (max-width: 768px) {
  .about-hero {
    min-height: 50vh;
    padding: 100px 0 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-hero-title {
    font-size: 42px;
  }

  .about-hero-description {
    font-size: 14px;
  }

  .section-title-large-story {
    font-size: 36px;
  }

  .quote-box {
    flex-direction: column;
    padding: 20px;
  }

  .quote-logo {
    width: 50px;
    height: 50px;
  }

  .stat-number {
    font-size: 40px;
  }

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

  .certification-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .cert-preview {
    width: 100%;
    height: 140px;
  }

  .cert-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .about-content-section,
  .capabilities-section,
  .certifications-section,
  .why-icf-section,
  .product-portfolio-section {
    padding: 60px 0;
  }

  .section-header-with-icon .section-title-large {
    font-size: 36px;
  }
}

/* Tablet Portfolio Carousel */
@media (min-width: 768px) and (max-width: 1024px) {
  .product-portfolio-section .product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .product-portfolio-section .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-portfolio-section .product-card {
    min-width: calc(100% - 40px);
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  .portfolio-pagination {
    display: flex !important;
  }
}


/* ===========================
   Projects Page Specific Styles
   =========================== */

/* Projects Hero */
.projects-hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 500px;
}

.projects-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: top;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  z-index: 0;
}

.projects-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.8)
    ); */
  z-index: 1;
  pointer-events: none;
}

.hero-search-container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: -40px;
  /* Overlap with next section */
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.hero-search-container img {
  width: 100%;
  max-width: 1312px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ===========================
     Products Hero - Unified Creative Design
     hero-bg = atmospheric layer | main_image = focal card
     =========================== */
.products-hero-unified {
  position: relative;
  padding: 140px 0 60px;
  overflow: visible;
}

.products-hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: top;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  z-index: 0;
}

.products-hero-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.85) 100%); */
  z-index: 1;
  pointer-events: none;
}

.products-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.products-hero-focal-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-bottom: -40px;
  overflow: visible;
}

.products-hero-header {
  text-align: center;
  max-width: 700px;
}

.products-hero-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.products-hero-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Focal card: main_image with shadow + subtle glow */
.products-hero-focal {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow-xl),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 60px rgba(255, 255, 255, 0.04);
}

.products-hero-focal-img {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* Same overlay positioning as projects page */
.products-hero-search {
  bottom: 0;
  transform: translate(-50%, 50%);
  width: calc(100% - 48px);
  max-width: 900px;
  z-index: 5;
}

.search-bar {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-lg);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 10;
  width: 100%;
  max-width: 1100px;
}

.search-input-group {
  flex: 1;
}

.search-input-group i {
  color: var(--text-dim);
}

.search-input-group input {
  background: var(--bg-page);
  width: 100%;
  border-radius: 8px;
  padding: 16px 24px;
  border: none;
  color: var(--text-white);
  font-size: 14px;
  outline: none;
}

.title-with-icon#projects {
  justify-content: flex-start;
  align-items: center;
}

.title-with-icon#projects h1 {
  margin-bottom: 0;
}

.filter-group {
  display: flex;
  gap: 20px;
  padding: 0 20px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-gray);
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.filter-item i:first-child {
  color: var(--text-dim);
}

.filter-item span {
  font-weight: 500;
}

.filter-item .fa-chevron-down {
  font-size: 10px;
  color: var(--text-dim);
}

.btn-search {
  background: var(--primary-orange);
  color: white;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.btn-search:hover {
  background: var(--primary-orange);
}

/* Dropdown (Basic) */
.filter-item.active .dropdown-content {
  display: block;
}

@media (hover: hover) {
  .filter-item:hover .dropdown-content {
    display: block;
  }
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-card);
  min-width: 160px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  border-radius: var(--radius-sm);
  margin-top: 15px;
  border: 1px solid var(--border-medium);
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.dropdown-content a {
  color: var(--text-gray);
  padding: 12px 16px;
  display: block;
  font-size: 13px;
}

.dropdown-content a:hover {
  background: var(--border-subtle);
  color: var(--text-white);
}

/* Projects List Section */
.projects-list-section {
  padding: 120px 0 80px;
  background: var(--dark-bg);
}

.list-header {
  margin-bottom: 60px;
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.orange-pen-icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-orange-rgb), 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 18px;
}

.list-header .section-subtitle-text {
  max-width: 600px;
  margin-left: 0;
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.btn-load-more {
  background: var(--btn-neutral-bg);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  padding: 14px 40px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.btn-load-more:hover {
  background: var(--btn-neutral-bg-hover);
  border-color: var(--border-medium);
}

/* CTA Support Section */
.cta-support-section {
  padding: 80px 0;
}

.cta-support-banner {
  background: var(--primary-orange);
  border-radius: 20px;
  padding: 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-support-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.cta-support-title {
  color: white;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 40px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.btn-contact-black {
  background: var(--dark-card);
  color: var(--text-white);
  padding: 14px 40px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
}

.btn-contact-black:hover {
  background: var(--btn-neutral-bg-hover);
}

.cta-support-pattern {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: url("images/svgs/cta-pattern.svg") no-repeat right center;
  background-size: contain;
  opacity: 0.2;
}

/* Responsive Projects Page */
@media (max-width: 1024px) {
  .search-bar {
    flex-wrap: wrap;
    justify-content: center;
    bottom: -10%;
  }

  .search-input-group {
    border-right: none;
    width: 100%;
  }

  .filter-group {
    width: 100%;
    justify-content: space-between;
    padding: 10px 20px;
  }

  .btn-search {
    width: 100%;
  }

  .projects-list-section {
    padding: 280px 0 80px;
  }

  .products-page .projects-list-section {
    padding-top: 60px;
  }

  .cta-support-banner {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .cta-support-title {
    font-size: 32px;
  }

  .cta-support-pattern {
    width: 100%;
    height: 50%;
    bottom: 0;
    top: auto;
  }
}

@media (max-width: 768px) {
  .projects-hero {
    min-height: 40vh;
    padding-top: 120px;
  }

  .filter-group {
    flex-direction: column;
    gap: 15px;
  }

  .filter-item {
    justify-content: space-between;
  }

  .search-bar {
    bottom: -40%;
  }

  /* Products page: list section doesn't need extra padding (no overlap) */
  .products-page .projects-list-section {
    padding-top: 60px;
  }

  /* Products hero unified - responsive */
  .products-hero-unified {
    padding: 120px 0 40px;
  }

  .products-hero-content {
    gap: 32px;
    padding: 0 16px;
  }

  .products-hero-title {
    font-size: 32px;
  }

  .products-hero-subtitle {
    font-size: 14px;
  }

  .products-hero-focal-img {
    min-height: 220px;
    max-height: 300px;
  }
}

/* ===========================
     Blogs Page Styles
     =========================== */
.blogs-hero {
  position: relative;
  padding: 140px 0 60px;
  background: none;
  background-size: cover;
  background-position: top;
  /* Remove z-index from .blogs-hero so it doesn't go above ::before or content */
}

.blogs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Make background go behind all content */
  background: var(--hero-bg-image);
  background-size: cover;
  background-position: top;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  pointer-events: none;
}

.blogs-hero>* {
  position: relative;
  z-index: 1;
}

.blogs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.8));
}

.blogs-hero .container {
  position: relative;
  z-index: 2;
}

.blogs-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.blogs-hero-content {
  flex: 1;
  min-width: 280px;
}

.blogs-hero-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.blogs-hero-description {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 600px;
  margin: 0;
}

.blogs-search-bar {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  min-width: 420px;
  flex-wrap: wrap;
}

.blogs-search-bar .search-input-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blogs-search-bar .search-input-group i {
  color: var(--text-dim);
  font-size: 14px;
}

.blogs-search-bar .search-input-group input {
  background: var(--bg-page);
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.blogs-search-bar .search-input-group input::placeholder {
  color: var(--text-dim);
}

.blogs-search-bar .search-input-group input:focus {
  border-color: var(--border-medium);
}

.blogs-search-bar .filter-group {
  padding: 0;
  border-left: 1px solid var(--border-subtle);
  padding-left: 20px;
}

.blogs-search-bar .filter-item {
  min-width: 140px;
}

.blogs-list-section {
  padding: 80px 0 80px;
  background: var(--dark-bg);
}

.blogs-list-section .blog-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blogs-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.blogs-pagination nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.blogs-pagination a,
.blogs-pagination span {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 14px;
}

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

.blogs-pagination span.relative.inline-flex {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

@media (max-width: 992px) {
  .blogs-hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .blogs-search-bar {
    min-width: 100%;
  }

  .blogs-search-bar .filter-group {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 16px;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  .blogs-hero-title {
    font-size: 36px;
  }

  .blogs-hero-description {
    font-size: 14px;
  }

  .blogs-search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .blogs-search-bar .search-input-group {
    min-width: 100%;
  }

  .blogs-search-bar .filter-group {
    margin-top: 0;
    padding-top: 12px;
  }
}

/* ===========================
     Project Details Page
     =========================== */
.project-details-hero {
  position: relative;
  padding: 140px 0 60px;
  background: none;
  background-size: cover;
  background-position: top;
  z-index: 1;
}

.project-details-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-bg-image);
  background-size: cover;
  background-position: top;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  pointer-events: none;
}

.project-details-hero>* {
  position: relative;
  z-index: 1;
}

.project-hero-container {
  padding-top: 20px;
}

.btn-back-projects {
  display: inline-block;
  margin: 40px 0;
  padding: 12px 24px;
  background: var(--btn-neutral-bg);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}

.btn-back-projects:hover {
  background: var(--btn-neutral-bg-hover);
  border-color: var(--text-gray);
}

.project-hero-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.project-hero-text {
  flex: 1;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-gray);
}

.project-details-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--primary-orange);
  margin-bottom: 24px;
  font-weight: 500;
}

.project-details-hero .breadcrumb span {
  color: var(--text-gray);
}

.project-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 900px;
}

.project-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.project-hero-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 32px;
}

.project-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-main-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 600px;
  border: 1px solid var(--card-border);
}

.project-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project/Product Content Section - ensure visibility */
.project-content {
  padding: 60px 0 80px;
  background: var(--bg-page);
}

/* Content Layout */
.project-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  padding: 80px 0;
}

.project-main-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.content-block h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-block p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Product details - available specs buttons */
.available-specs-buttons .spec-badge {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-white);
  background: transparent;
}

/* Product details - material composition list */
.material-composition-list {
  list-style: disc;
  padding-left: 24px;
}

.material-composition-item {
  margin-bottom: 16px;
  color: var(--text-gray);
}

.material-composition-item .material-desc {
  color: var(--text-gray);
  font-weight: 400;
}

/* Product details - performance benefits tags */
.performance-benefits-tags .performance-tag {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--bg-card-alt);
}

/* Product details - applications list */
.applications-list {
  list-style: none;
  padding: 0;
}

.applications-item {
  margin-bottom: 12px;
  padding-left: 0;
  color: var(--text-gray);
}

.applications-check {
  color: var(--primary-orange);
}

/* Related products - category badge & date */
.product-category-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-orange);
  margin-bottom: 8px;
}

.product-date {
  font-size: 13px;
  color: var(--text-gray);
}

.block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.block-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.block-image img {
  width: 100%;
  height: auto;
}

.block-images-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.block-images-row#first {
  grid-template-columns: 2fr 1fr;
}

.block-images-row .block-image {
  height: 280px;
}

.block-images-row .block-image img {
  height: 100%;
  object-fit: cover;
}

.wide-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--card-border);
}

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

.content-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.content-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-gray);
  font-size: 14px;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--text-white);
  border-radius: 50%;
}

/* Sidebar */
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-white);
}

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

.info-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.4;
}

.info-list .label {
  color: var(--text-gray);
  font-size: 15px;
  text-transform: none;
  letter-spacing: normal;
}

.info-list .value {
  color: var(--text-white);
  font-size: 15px;
  font-weight: 400;
}

/* Share Card */
.share-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}

.share-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
}

.share-links {
  display: flex;
  gap: 24px;
}

.share-links a {
  color: var(--text-gray);
  font-size: 20px;
  transition: var(--transition);
}

.share-links a:hover {
  color: var(--text-white);
}

/* CTA Section */
.sidebar-cta {
  margin-top: 0;
}

.sidebar-cta h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
}

.btn-orange-full {
  width: 100%;
  background: var(--primary-orange);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-orange);
}

.btn-orange-full:hover {
  background: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-lg);
}

/* Related Projects Section */
.related-projects {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.related-header h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-header h2 i {
  color: var(--primary-orange);
  font-size: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .project-content-grid {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .project-details-hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .project-hero-container {
    padding-top: 20px;
  }

  .btn-back-projects {
    margin: 30px 0;
  }

  .project-hero-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 30px;
  }

  .project-hero-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .project-hero-actions .btn-dark-outline {
    width: auto;
    flex: 0 1 auto;
  }

  .project-title {
    font-size: 32px;
  }

  .project-main-image {
    height: 350px;
  }

  .block-grid,
  .block-images-row {
    grid-template-columns: 1fr;
  }

  .block-images-row#first {
    grid-template-columns: 1fr;
  }

  .block-images-row .block-image {
    height: 200px;
  }
}

/* FAQ Section */
.contact-faq {
  padding: 80px 0;
  background: var(--dark-bg);
}

.faq-header {
  margin-bottom: 60px;
}

.faq-header h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 16px;
}

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

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-orange);
  transform: translateY(-4px);
}

.faq-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.faq-item ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.faq-item li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-white);
  font-size: 16px;
}

.read-more-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  width: 100%;
}

.read-more-link:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .faq-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .faq-header h2 {
    font-size: 28px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-item {
    padding: 24px;
  }

  .contact-hero {
    padding: 120px 0 40px;
  }

  .contact-hero h1 {
    font-size: 50px;
  }

  .contact-hero p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .faq-item h3 {
    font-size: 18px;
  }

  .contact-hero h1 {
    font-size: 32px;
  }
}

/* ===========================
   Contact Page Styles
   =========================== */

/* Contact Hero */
.contact-hero {
  position: relative;
  padding: 140px 0 60px;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: top;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  z-index: 0;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  max-width: 800px;
}

.contact-hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 70px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 32px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.contact-hero p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 700px;
}

/* ===========================
     Contact Page V2 Styles
     =========================== */

.contact-section-v2 {
  padding: 80px 0 100px;
  background-color: var(--bg-page);
  color: var(--text-white);
}

.contact-wrapper-v2 {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 80px;
  align-items: start;
}

/* Left side */
.contact-info-v2 {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-title-v2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
}

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

.contact-pill {
  background: var(--btn-neutral-bg);
  border: 1px solid var(--card-border);
  padding: 16px 24px;
  border-radius: 12px;
  color: var(--text-gray);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
  min-width: 200px;
}

.contact-pill:hover {
  background: var(--btn-neutral-bg-hover);
  color: var(--text-white);
  border-color: var(--border-medium);
}

.address-v2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-label {
  color: var(--text-white);
  font-weight: 500;
  margin-bottom: 4px;
}

.address-v2 p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
}

.btn-directions-v2 {
  background: var(--btn-neutral-bg);
  border: 1px solid var(--card-border);
  padding: 12px 24px;
  border-radius: 8px;
  color: #4a90e2;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.btn-directions-v2:hover {
  background: var(--btn-neutral-bg-hover);
  border-color: var(--border-medium);
}

.social-icons-v2 {
  display: flex;
  gap: 16px;
}

.social-box {
  width: 48px;
  height: 48px;
  background: var(--btn-neutral-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-box:hover {
  background: var(--btn-neutral-bg-hover);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-3px);
}

/* Right side form */
.contact-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-header-v2 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-title-v2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-container-v2 {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.input-group-v2 {
  position: relative;
  flex: 1;
}

.input-group-v2.flex-1 {
  flex: 1;
}

.input-group-v2.flex-2 {
  flex: 2;
}

.input-group-v2.flex-3 {
  flex: 3;
}

.input-group-v2.full-width {
  width: 100%;
}

.input-group-v2 i.icon-v2 {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 18px;
}

.textarea-group i.icon-v2 {
  top: 25px;
  transform: none;
}

.input-group-v2 input,
.input-group-v2 select,
.input-group-v2 textarea {
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 20px 18px 55px;
  color: var(--text-white);
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.input-group-v2.no-icon input,
.input-group-v2.no-icon select {
  padding-left: 20px;
}

.input-group-v2 input:focus,
.input-group-v2 select:focus,
.input-group-v2 textarea:focus {
  border-color: var(--border-medium);
  background: var(--bg-card);
}

.input-group-v2 select {
  appearance: none;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.country-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-page);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 20px;
  height: 100%;
  cursor: pointer;
}

.flag-icon {
  width: 24px;
  height: auto;
  border-radius: 2px;
}

.form-footer-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.terms-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.terms-v2 input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-orange);
  cursor: pointer;
}

.terms-v2 label {
  font-size: 14px;
  color: var(--text-dim);
}

.terms-v2 a {
  color: var(--text-gray);
  text-decoration: underline;
}

.btn-send-v2 {
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-send-v2:hover {
  background: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-lg);
}

.btn-send-v2 i {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 1100px) {
  .contact-wrapper-v2 {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* Tablet Specific Layout Enhancements */
  @media (min-width: 769px) {
    #main-contact-form .form-row:nth-child(1) {
      flex-wrap: wrap;
    }

    #main-contact-form .form-row:nth-child(1) .input-group-v2:nth-child(1) {
      order: 1;
      flex: 1 1 calc(50% - 10px);
    }

    #main-contact-form .form-row:nth-child(1) .input-group-v2:nth-child(3) {
      order: 2;
      flex: 1 1 calc(50% - 10px);
    }

    /* Wrap the nested group in tablet */
    #main-contact-form .form-row:nth-child(1) .form-row-group {
      order: 3;
      flex: 1 1 100%;
      display: flex;
      gap: 16px;
    }

    #main-contact-form .form-row:nth-child(1) .form-row-group .input-group-v2:nth-child(1) {
      flex: 0 0 100px;
    }

    #main-contact-form .form-row:nth-child(1) .form-row-group .input-group-v2:nth-child(2) {
      flex: 1;
    }

    #main-contact-form .form-row:nth-child(2) .input-group-v2 {
      flex: 1 1 calc(50% - 10px);
    }
  }
}

.form-row-group {
  display: flex;
  gap: 16px;
  flex: 3;
  /* Matches combined flex of its children or desired ratio */
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-footer-v2 {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

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

  .form-row-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }

  .form-row-group .input-group-v2:first-child {
    flex: 0 0 90px;
  }

  .form-row-group .input-group-v2:last-child {
    flex: 1;
  }
}

/* Custom Select with SVG Support */
.custom-select-v2 {
  position: relative;
  width: 100%;
}

.select-trigger-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-page);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 58px;
}

.select-trigger-v2:hover {
  border-color: var(--border-medium);
  background: var(--bg-card);
}

.select-options-v2 {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card-alt);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  display: none;
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

.custom-select-v2.active .select-options-v2 {
  display: block;
}

.custom-select-v2.active .select-trigger-v2 i {
  transform: rotate(180deg);
}

.select-option-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.select-option-v2:last-child {
  border-bottom: none;
}

.select-option-v2:hover {
  background: rgba(255, 87, 34, 0.1);
  color: var(--primary-orange);
}

.select-option-v2.active {
  background: rgba(255, 87, 34, 0.05);
  color: var(--primary-orange);
}

.select-option-v2 span {
  font-size: 14px;
}

.select-option-v2 .flag-icon {
  width: 22px;
  height: auto;
  border-radius: 2px;
}

.select-trigger-v2 .flag-icon {
  width: 22px;
  height: auto;
  border-radius: 2px;
}

/* ===========================
     Resources Page Styles
     =========================== */

/* Resources Hero */
.resources-hero {
  position: relative;
  padding: 140px 0 60px;
  background: none;
  background-size: cover;
  background-position: top;
  z-index: 1;
}

.resources-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("images/hero-bg-png.png");
  background-size: cover;
  background-position: top;
  filter: hue-rotate(var(--hero-hue-rotate, 0deg));
  pointer-events: none;
}

.resources-hero>* {
  position: relative;
  z-index: 1;
}

.resources-hero-content {
  max-width: 800px;
  z-index: 100;
}

.resources-hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.resources-hero p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 700px;
}

/* Videos Section */
.videos-section {
  padding: 80px 0;
  background: var(--dark-bg);
  border-top: 1px solid var(--border-subtle);
}

.videos-header {
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.video-header-icon {
  width: 32px;
  height: 32px;
}

.videos-header h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--text-white);
  text-align: center;
  margin: 0;
  letter-spacing: -1px;
}

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

.video-card {
  background: var(--bg-page);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition);
}

.video-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
}

.video-preview {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 30px;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
}

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

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

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 40px;
  background: var(--dark-card);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.video-play-btn:hover {
  background: var(--btn-neutral-bg-hover);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-info {
  padding: 0;
}

.video-info h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.video-info p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Resources CTA */
.resources-cta {
  padding: 80px 0;
  background: var(--dark-bg);
  border-top: 1px solid var(--border-subtle);
}

.resources-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.resources-cta h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 32px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.resources-cta .btn-primary {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.resources-cta .btn-primary:hover {
  background: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-lg);
}

/* Update Footer Copyright */
.footer-bottom p {
  color: var(--text-dim);
  font-size: 13px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-card {
    gap: 24px;
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .resources-hero {
    padding: 120px 0 40px;
  }

  .resources-hero h1 {
    font-size: 36px;
  }

  .resources-hero p {
    font-size: 14px;
  }

  .videos-section,
  .resources-cta {
    padding: 60px 0;
  }

  .resource-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .resource-content h3 {
    font-size: 20px;
  }

  .videos-header h2 {
    font-size: 28px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .resources-cta h2 {
    font-size: 28px;
  }

  .video-info h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .resources-hero h1 {
    font-size: 32px;
  }

  .video-card {
    padding: 20px;
  }

  .video-info h3 {
    font-size: 18px;
  }
}

/* ===========================
     Blog Page Styles
     =========================== */

#blog li {
  margin: 0 0 16px 16px;
}

.core-thicknesses {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}

@media (max-width: 768px) {
  .core-thicknesses {
    gap: 12px;
  }

  .core-thicknesses .btn-dark-outline {
    flex: 1 1 calc(50% - 6px);
    padding: 12px 10px;
    font-size: 13px;
    text-align: center;
    border-radius: 8px;
    white-space: nowrap;
  }
}

.projects-grid-blog {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .projects-grid-blog {
    grid-template-columns: 1fr;
  }
}

/* ===========================
     Performance Benefits Section
     =========================== */
.performance-benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 48px;
}

/* Contextual override for buttons in this grid */
.performance-benefits-grid .btn-dark-outline {
  padding: 16px 24px;
  border-radius: 12px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .performance-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .performance-benefits-grid .btn-dark-outline {
    padding: 14px 10px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    border-radius: 10px;
  }

  /* Target the 3rd button to span 2 columns */
  .performance-benefits-grid .btn-dark-outline:nth-child(3) {
    grid-column: span 2;
  }
}

/* ===========================
   Resource Preview Modal (lightbox-style)
   =========================== */
.resource-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: resourcePreviewFadeIn 0.25s ease;
}

.resource-preview-modal[hidden] {
  display: none !important;
}

@keyframes resourcePreviewFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.resource-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.resource-preview-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 48px);
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  animation: resourcePreviewSlideIn 0.3s ease;
}

@keyframes resourcePreviewSlideIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.resource-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.resource-preview-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  line-height: 1.3;
  padding-inline-end: 40px;
}

.resource-preview-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-neutral-bg);
  color: var(--text-gray);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.resource-preview-close:hover {
  background: var(--btn-neutral-bg-hover);
  color: var(--text-white);
}

.resource-preview-body {
  flex: 1;
  min-height: 200px;
  max-height: calc(100vh - 160px);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.resource-preview-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure only one slot is visible - [hidden] must hide the slot */
.resource-preview-content[hidden],
.resource-preview-body .resource-preview-content[hidden] {
  display: none !important;
}

.resource-preview-image-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 220px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.resource-preview-pdf-wrap {
  width: 100%;
  height: 100%;
  min-height: 60vh;
}

.resource-preview-iframe {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
}

.resource-preview-download-card {
  text-align: center;
  padding: 48px 32px;
  max-width: 360px;
  background: var(--bg-card-alt);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg);
}

.resource-preview-download-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 16px;
}

.resource-preview-download-text {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.resource-preview-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--primary-orange);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.resource-preview-download-btn:hover {
  background: var(--primary-orange);
  color: #fff;
}

.cert-link-preview {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--primary-orange);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.cert-link-preview:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}