/* ==========================================
   AURAL LANDING PAGE - DESIGN SYSTEM & LAYOUT
   ========================================== */

/* --- Fonts & Base --- */
@import url('https://fonts.googleapis.com/css2?family=Fragment+Mono&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --bg-color: #000000;
  --bg-card: #121212;
  --bg-card-hover: #1a1a1a;
  --accent-color: #0066ff;
  --accent-glow: rgba(0, 102, 255, 0.15);
  --text-main: #ffffff;
  --text-muted: #8f8f8f;
  --text-dark: #000000;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Fonts */
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'Fragment Mono', monospace;

  /* Layout */
  --container-width: 1300px;
  --header-height: 80px;
  --sticky-top: 120px;

  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: clip;
}

body {
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ==========================================
   INTERACTIVE BACKGROUNDS & DYNAMIC DECORATIONS
   ========================================== */

.bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-blue {
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  top: 10%;
  left: -100px;
}

.blob-cream {
  width: 350px;
  height: 350px;
  background: #fffbda;
  top: 40%;
  right: -50px;
  animation-delay: -5s;
}

.blob-purple {
  width: 500px;
  height: 500px;
  background: #8e2de2;
  bottom: 10%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, 80px) scale(1.1);
  }

  100% {
    transform: translate(-30px, -50px) scale(0.95);
  }
}



/* ==========================================
   STICKY HEADER & NAVIGATION
   ========================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo span {
  color: var(--accent-color);
}

.nav-links-pills {
  display: flex;
  gap: 12px;
  list-style: none;
}

.nav-pill {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border-radius: 100px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.nav-pill:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-pill.active {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

.header-cta-pill {
  background-color: #000000;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 6px 6px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.header-cta-pill:hover {
  background-color: #111111;
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

.cta-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.header-cta-pill:hover .cta-arrow-circle {
  transform: rotate(-45deg);
}

.mobile-contact-link {
  display: none;
}
/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   HERO SECTION (COVER PHOTO & LAYOUT)
   ========================================== */

.hero {
  height: 100vh;
  min-height: 750px;
  position: relative;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 !important;
  overflow: hidden;
}

.hero-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 70px;
  z-index: 2;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s forwards 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-year {
  font-family: var(--font-mono);
  color: var(--text-main);
  font-size: 13px;
  letter-spacing: 1px;
}

.hero-brand-title {
  font-size: clamp(60px, 11vw, 130px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -4px;
  color: var(--text-main);
  text-transform: none;
  /* Keep original casing */
  margin: 0;
}

.hero-logo-img {
  width: 200%;
  max-width: 200%;
  height: auto;
}

.circled-r {
  background-color: #ffffff;
  color: #0a0a0a;
  border-radius: 50%;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  vertical-align: super;
  margin-left: 15px;
  line-height: 1;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  padding-left: 20px;
  margin-bottom: 10px;
  justify-self: end;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s forwards 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Luther Cooper Card */
.lead-card {
  background-color: #ffffff;
  color: #000000;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  gap: 15px;
  width: 290px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  align-items: center;
  transition: var(--transition-smooth);
}

.lead-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.lead-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.lead-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.lead-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lead-name {
  font-size: 16px;
  font-weight: 800;
  color: #000000;
}

.lead-role {
  font-size: 12px;
  color: #666666;
  font-weight: 500;
}

.lead-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eeeeee;
  padding-top: 8px;
}

.lead-link {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  transition: var(--transition-fast);
}

.lead-link:hover {
  color: var(--accent-color);
}

.lead-arrow {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

.hero-sub-headline {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  max-width: 320px;
}

/* Bottom Ticker Bar in Hero */
.hero-ticker-bar {
  width: 100%;
  height: 60px;
  background-color: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 2;
}

.hero-ticker-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-ticker-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6vw;
}

.hero-ticker-content span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
}

.hero-ticker-content span.plus {
  color: var(--accent-color);
  font-weight: 700;
}

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

/* ==========================================
   INFINITE SCROLLING MARQUEES
   ========================================== */

.marquee-sec {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.marquee-wrap {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 120px;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 120px;
  animation: scrollMarquee 30s linear infinite;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  gap: 15px;
}

.marquee-item img {
  height: 35px;
  opacity: 0.4;
  filter: grayscale(1) invert(1);
  transition: var(--transition-fast);
}

.marquee-item img:hover {
  opacity: 0.9;
  filter: grayscale(0) invert(0);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 120px));
  }
}

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

  100% {
    transform: translateX(0%);
  }
}

/* Huge Accent Text Marquee */
.text-marquee-sec {
  background-color: var(--accent-color);
  color: var(--text-main);
  padding: 40px 0;
  overflow: hidden;
}

.text-marquee-content {
  display: flex;
  gap: 30px;
  animation: scrollMarqueeRight 20s linear infinite;
}

.text-marquee-item {
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: -1px;
}

.text-marquee-item span {
  opacity: 0.4;
  -webkit-text-stroke: 1px #fff;
  color: transparent;
}

/* ==========================================
   ABOUT US SECTION (DARK TECH & GAMING DESIGN)
   ========================================== */

.about-sec {
  background-color: #070709;
  color: #ffffff;
  padding: 120px 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.about-bg-webgl,
.hero-bg-webgl {
  position: absolute;
  top: 0;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  height: 100% !important;
  z-index: 1;
  pointer-events: none;
}

.about-bg-webgl *,
.hero-bg-webgl * {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

.about-bg-webgl canvas,
.hero-bg-webgl canvas {
  display: block !important;
  object-fit: cover !important;
}

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

.projects-sec {
  background-color: #000000;
  position: relative;
  /* Glowing tech grid background from previous about-sec */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.about-top-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: start;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.about-side-image-wrap {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
}

/* Cybernetic scanline overlay on image for gaming/tech vibe */
.about-side-image-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

.about-side-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-side-image-wrap:hover img {
  transform: scale(1.05);
}

.about-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-heading {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.about-description {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 35px;
}

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

/* Stats Pill Cards - Cyber Gaming Mode */
.stat-pill-card {
  background-color: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 35px;
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
  position: relative;
}

.stat-pill-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-color);
  box-shadow: 0 20px 45px rgba(0, 102, 255, 0.12);
}

/* Cyber HUD corner decorations inside cards */
.stat-pill-card::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.1);
  border-left: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.stat-pill-card:hover::before {
  border-color: var(--accent-color);
  width: 14px;
  height: 14px;
}

.stat-pill-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  letter-spacing: 0.5px;
  font-family: var(--font-sans);
}

.stat-pill-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.stat-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  margin-bottom: 12px;
}

.stat-pill-number-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}

.stat-pill-num {
  font-size: 64px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -2px;
  font-family: var(--font-mono);
  /* Monospace digital hud look */
}

.stat-pill-unit {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services-sec {
  background-color: var(--bg-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-color);
  box-shadow: 0 20px 45px rgba(0, 102, 255, 0.12);
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 102, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================
   PROJECTS SECTION (WITH 3D TILT CARDS)
   ========================================== */

.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.sec-subtitle {
  font-family: var(--font-mono);
  color: var(--accent-color);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.sec-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1.5px;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 280px;
}



.project-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  background-color: var(--bg-card);
  /* Solid background for overlaps */
  border: 1px solid var(--border-color);
  padding: 30px;
  position: sticky;
  top: var(--sticky-top);

  /* Initial values for variables */
  --scroll-scale: 1;
  --scroll-translate: 0px;
  --scroll-brightness: 1;
  --hover-scale-multiplier: 1;

  transform: scale(calc(var(--scroll-scale) * var(--hover-scale-multiplier))) translateY(var(--scroll-translate));
  filter: brightness(var(--scroll-brightness));
  will-change: transform, filter;

  /* Smooth transition for scroll scaling/dimming and hover highlights */
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.15s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.project-card:hover {
  --hover-scale-multiplier: 1.01;
  /* Soft scale up on hover */
  border-color: var(--border-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.projects-grid .project-card:nth-child(1) {
  z-index: 1;
}

.projects-grid .project-card:nth-child(2) {
  z-index: 2;
}

.projects-grid .project-card:nth-child(3) {
  z-index: 3;
}

.projects-grid .project-card:nth-child(4) {
  z-index: 4;
}

.project-img-container {
  grid-row: 1;
  grid-column: 1 / span 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* Matches Framer card aspect ratio */
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.project-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-title {
  grid-row: 2;
  grid-column: 1;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  transition: var(--transition-fast);
  margin: 0;
  align-self: center;
}

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

.project-tags {
  grid-row: 2;
  grid-column: 2;
  display: flex;
  gap: 10px;
  margin: 0;
  align-self: center;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-color);
  border: 1px solid rgba(0, 102, 255, 0.2);
  background-color: rgba(0, 102, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* ==========================================
   SERVICES SECTION (STICKY + SCROLL LAYOUT)
   ========================================== */

.services-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.services-left {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--border-hover);
  background-color: rgba(255, 255, 255, 0.03);
  transform: translateY(-5px);
}

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

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent-color);
  font-weight: 600;
}

.service-title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.service-tags-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.service-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 30px;
}

.service-image-box {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-image-box {
  opacity: 1;
}

.service-card:hover .service-image-box img {
  transform: scale(1.05);
}

/* ==========================================
   TESTIMONIALS SECTION (SLIDER)
   ========================================== */

.testimonials-slider-box {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-slide {
  display: none;
  animation: fadeSlideIn 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 30px;
}

.testimonial-star {
  color: #ffc107;
  font-size: 20px;
}

.testimonial-quote {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-author-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.testimonial-author-name {
  font-size: 18px;
  font-weight: 700;
}

.testimonial-author-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  gap: 15px;
  position: absolute;
  bottom: 60px;
  right: 60px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background-color: var(--text-main);
  color: var(--text-dark);
  border-color: var(--text-main);
  transform: scale(1.05);
}

/* ==========================================
   TEAM SECTION
   ========================================== */

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

.team-card {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 16px;
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: var(--border-hover);
  background-color: rgba(255, 255, 255, 0.03);
  transform: translateY(-5px);
}

.team-img-box {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.team-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8);
  transition: var(--transition-smooth);
}

.team-card:hover .team-img-box img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-join-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.02);
}

.team-join-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-join-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 25px;
  max-width: 200px;
}

/* ==========================================
   PROCESS TIMELINE SECTION
   ========================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

.process-step-card {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px;
  position: relative;
  transition: var(--transition-smooth);
}

.process-step-card:hover {
  border-color: var(--accent-color);
  background-color: rgba(0, 102, 255, 0.01);
  transform: translateY(-5px);
}

.process-step-num-box {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--text-main);
  font-size: 14px;
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}

.process-step-card:hover .process-step-num-box {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.process-step-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.process-step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.process-step-timeline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-color);
  text-transform: uppercase;
}

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing-switch-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 50px;
}

.pricing-switch-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.pricing-switch-label.active {
  color: var(--text-main);
}

.pricing-toggle-wrap {
  width: 60px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pricing-toggle-wrap:hover {
  border-color: var(--border-hover);
}

.pricing-toggle-handle {
  width: 24px;
  height: 24px;
  background-color: var(--text-main);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: var(--transition-smooth);
}

.pricing-toggle-wrap.yearly .pricing-toggle-handle {
  left: 31px;
  background-color: var(--accent-color);
}

.pricing-cards-container {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 50px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.05);
  transform: translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: 30px;
  right: -30px;
  background-color: var(--accent-color);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 30px;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.pricing-card-title {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.price-box {
  margin-bottom: 30px;
}

.price-value {
  font-size: 64px;
  font-weight: 800;
  color: var(--text-main);
  display: inline-block;
  line-height: 1;
}

.price-period {
  font-size: 16px;
  color: var(--text-muted);
  display: inline-block;
  margin-left: 5px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
  text-align: left;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}

.pricing-feature svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.pricing-card .btn-primary {
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
}

.pricing-trial-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================
   FAQ SECTION (ACCORDION)
   ========================================== */

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.faq-left {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.faq-left-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 40px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.01);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-hover);
  background-color: rgba(255, 255, 255, 0.02);
}

.faq-item.active {
  border-color: var(--accent-color);
  background-color: rgba(0, 102, 255, 0.01);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.faq-question-btn span {
  padding-right: 20px;
}

.faq-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item:hover .faq-icon-wrap {
  border-color: var(--text-main);
}

.faq-item.active .faq-icon-wrap {
  transform: rotate(45deg);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-main);
}

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding: 0 30px 30px 30px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

.contact-left {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.form-input {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px var(--accent-glow);
}

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

.contact-form .btn-primary {
  width: fit-content;
  align-self: flex-start;
  padding: 16px 44px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1px;
}

.contact-info-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-fast);
}

a.contact-info-value:hover {
  color: var(--accent-color);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */

footer {
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-color);
  background-color: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

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

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-main);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ==========================================
   BLOG CARDS SECTION
   ========================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  text-decoration: none;
  background-color: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.blog-img-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

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

.blog-card-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-color);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  font-weight: 700;
}

.blog-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================
   BLOG POST LAYOUT
   ========================================== */

.blog-main {
  padding-top: calc(var(--header-height) + 40px);
  min-height: 100vh;
}

.blog-hero-img-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 50px auto;
  height: 60vh;
  min-height: 400px;
  padding: 0 40px;
}

.blog-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.blog-content-container {
  max-width: 900px;
  margin: 0 auto;
}

.blog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-meta-item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.blog-meta-value {
  color: var(--text-main);
  font-weight: 700;
  margin-left: 5px;
}

.blog-separator {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 60px;
}

.blog-body-text {
  max-width: 760px;
  margin: 0 auto 100px auto;
}

.blog-body-text p {
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  font-weight: 400;
}

/* ==========================================
   EVENT MODAL (FORUM STYLE)
   ========================================== */

.event-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.event-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.event-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.event-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-modal.active .event-modal-content {
  transform: translateY(0) scale(1);
}

.event-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.event-modal-close:hover {
  background: var(--accent-color);
}

.event-modal-banner {
  width: 100%;
  height: 250px;
  position: relative;
}

.event-modal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-modal-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.event-modal-body {
  padding: 30px 40px 40px;
}

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

.forum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.forum-tag {
  background-color: rgba(0, 102, 255, 0.15);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 1px;
}

.forum-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.forum-post {
  display: flex;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 16px;
}

.forum-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 80px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

.author-info {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.author-role {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.forum-content {
  flex: 1;
}

.forum-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   ========================================== */

@media (max-width: 1200px) {
  :root {
    --container-width: 960px;
  }

  .about-grid,
  .services-wrap,
  .faq-layout,
  .contact-layout {
    gap: 50px;
  }

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

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

@media (max-width: 991px) {
  :root {
    --container-width: 720px;
  }

  section {
    padding: 80px 0;
  }

  .about-top-row,
  .services-wrap,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-left,
  .faq-left {
    position: relative;
    top: 0;
  }

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

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

  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  :root {
    --container-width: 100%;
    --sticky-top: 90px;
  }

  .container {
    padding: 0 24px;
  }

  /* Mobile Portfolio Stacking overrides */
  .project-card {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }

  .project-img-container {
    grid-column: 1;
    aspect-ratio: 16 / 10;
  }

  .project-title {
    grid-row: 2;
    grid-column: 1;
  }

  .project-tags {
    grid-row: 3;
    grid-column: 1;
    align-self: flex-start;
  }

  section {
    padding: 60px 0;
  }

  /* Mobile Header Navigation */
  .mobile-toggle {
    display: flex;
  }

  .nav-links-pills {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: var(--transition-smooth);
    z-index: 999;
    padding: 0;
  }

  .nav-links-pills.active {
    left: 0;
  }

  .nav-links-pills li {
    width: 80%;
    text-align: center;
  }

  .nav-pill {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
  }

  .mobile-contact-link {
    display: block;
  }
  header .header-cta-pill {
    display: none;
  }

  /* Mobile Hero Styling */
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 20vh) !important;
    padding-bottom: 40px !important;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 40px;
  }

  .hero-left {
    gap: 15px;
    align-items: center;
    width: 100%;
  }

  .hero-brand-title {
    font-size: clamp(50px, 14vw, 85px);
    letter-spacing: -3px;
    width: 100%;
    text-align: center;
  }

  .hero-logo-img {
    width: 70%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }

  .circled-r {
    width: 32px;
    height: 32px;
    font-size: 18px;
    margin-left: 8px;
    border-width: 2px;
  }

  .hero-right {
    padding-left: 0;
    gap: 30px;
    align-items: flex-start;
    justify-self: start;
  }

  .lead-card {
    width: 100%;
    max-width: 320px;
  }

  .hero-sub-headline {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-ticker-content {
    gap: 3vw;
  }

  .hero-ticker-content span {
    font-size: 9px;
  }

  .about-stats-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonials-slider-box {
    padding: 40px 24px;
  }

  .slider-controls {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 30px;
    justify-content: flex-end;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .contact-left {
    padding: 30px 20px;
  }

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

  .footer-brand-col {
    grid-column: span 1;
  }

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