@import url('https://fonts.cdnfonts.com/css/century-gothic');

/* ============================================
   JHANVI MISHRA — ZHA-INSPIRED DESIGN SYSTEM
   ============================================ */
:root {
  --font-heading: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  --font-body: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  --black: #222222;
  --dark: #e0e0e0;
  --charcoal: #d5d5d5;
  --graphite: #b0b0b0;
  --steel: #666666;
  --silver: #888888;
  --light-gray: #dcdcdc;
  --cloud: #e8e8e8;
  --off-white: #f0f0f0;
  --white: #f8f8f8;
  --transition: all 0.3s ease;

  /* ── TEXT COLOR SYSTEM ── */
  /* Dark text — for white/gray backgrounds */
  --text-primary:    #111111;   /* Headings, titles, body on light bg */
  --text-secondary:  #555555;   /* Subheadings, descriptions */
  --text-muted:      #888888;   /* Labels, kickers, captions */

  /* Cyan gradient — for dark backgrounds */
  --cyan-start:      #29d4f6;   /* Bright cyan */
  --cyan-end:        #3cc7cd;   /* Teal cyan */
  --cyan-glow:       rgba(41, 212, 246, 0.35);

  /* Fallback solid cyan */
  --text-cyan:       #29d4f6;

  /* Light text — for dark backgrounds (non-cyan body text) */
  --text-light:      #ffffff;
  --text-light-muted: #a8ecef;  /* Soft cyan-tinted white for paragraphs on dark bg */
  --text-light-dim:  #888888;   /* Dimmed labels on dark bg */
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: #cccccc !important;
  color: var(--text-primary) !important;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================
   TEXT COLOR UTILITY CLASSES
   ============================================ */

/* ── CYAN GRADIENT TEXT — ONLY on dark backgrounds ── */
.text-cyan-gradient {
  background: linear-gradient(135deg, var(--cyan-start) 0%, var(--cyan-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text-cyan);
}

.text-cyan {
  color: var(--text-cyan) !important;
  -webkit-text-fill-color: var(--text-cyan) !important;
}

.text-cyan-glow {
  color: var(--text-cyan) !important;
  -webkit-text-fill-color: var(--text-cyan) !important;
  text-shadow: 0 0 12px var(--cyan-glow), 0 0 24px rgba(41, 212, 246, 0.15);
}

.text-light-muted {
  color: var(--text-light-muted) !important;
  -webkit-text-fill-color: var(--text-light-muted) !important;
}

/* ── DARK TEXT — ONLY on white/gray backgrounds ── */
.text-dark {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
  -webkit-text-fill-color: var(--text-secondary) !important;
}

.text-muted-util {
  color: var(--text-muted) !important;
  -webkit-text-fill-color: var(--text-muted) !important;
}

/* ── CONTEXT-AWARE THEME CLASSES ── */

/* Dark theme section (dark bg → cyan headings + white/cyan-tinted body) */
.theme-dark {
  background-color: #111111;
  color: var(--text-light);
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3 {
  background: linear-gradient(135deg, var(--cyan-start) 0%, var(--cyan-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-dark p,
.theme-dark li {
  color: var(--text-light-muted);
}

.theme-dark .section-label,
.theme-dark .kicker {
  color: var(--text-cyan);
  -webkit-text-fill-color: var(--text-cyan);
}

/* Light theme section (white/gray bg → dark headings + gray body) */
.theme-light {
  color: var(--text-primary);
}

.theme-light h1,
.theme-light h2,
.theme-light h3 {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
  background: none;
}

.theme-light p,
.theme-light li {
  color: var(--text-secondary);
}

.theme-light .section-label,
.theme-light .kicker {
  color: var(--text-muted);
}

/* ── INTERACTIVE STATES ── */
.theme-dark a,
.theme-dark .interactive-text {
  color: var(--text-light);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.theme-dark a:hover,
.theme-dark .interactive-text:hover {
  color: var(--text-cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.theme-light a:hover {
  color: var(--text-primary);
  opacity: 0.8;
}

/* Logo Image Styling */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-symbol {
  height: 40px;
  width: auto;
  transition: var(--transition);
}
.logo-text {
  height: 11px;
  width: auto;
  transition: var(--transition);
}
.navbar.scrolled .logo-symbol,
.navbar.scrolled .logo-text {
  filter: invert(1) brightness(0.2);
}
.navbar.menu-open .logo-symbol,
.navbar.menu-open .logo-text {
  filter: none !important;
}




/* ============ PAGE TRANSITION ============ */
.page-transition {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: bottom;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 28px 60px;
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navbar-bg, rgba(235, 235, 235, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 60px;
  box-shadow: 0 1px 0 rgba(42, 42, 42,0.08);
}
.navbar .logo {
  font-family: var(--font-heading);
  color: var(--white);
  transition: var(--transition);
}
.navbar.scrolled .logo { color: var(--black); }

/* ============ DESKTOP NAV ============ */
.desktop-nav {
  display: flex; gap: 32px;
  align-items: center;
}
.desktop-nav a {
  font-family: var(--font-heading);
  font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--white);
  font-weight: 600;
  transition: var(--transition);
}
.navbar.scrolled .desktop-nav a { color: var(--black); }
.desktop-nav a:hover { color: var(--silver); }

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
}

@media (min-width: 1025px) {
  .menu-toggle { display: none !important; }
}
.menu-toggle {
  display: flex; flex-direction: column; gap: 7px;
  z-index: 1001; padding: 8px;
}
.menu-toggle span {
  width: 32px; height: 2px; background: var(--white);
  transition: var(--transition);
}
.navbar.scrolled .menu-toggle span { background: var(--black); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--white) !important; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: var(--white) !important; }

/* ============ NAVBAR MENU OPEN STATE ============ */
.navbar.menu-open {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.navbar.menu-open .logo {
  color: var(--white) !important;
}

/* ============ FULLSCREEN MENU ============ */
.fullscreen-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.6s var(--ease-out);
}
.fullscreen-menu.active { opacity: 1; visibility: visible; }
.fullscreen-menu nav { text-align: center; }
.fullscreen-menu nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--white);
  padding: 10px 0;
  opacity: 0; transform: translateY(40px);
  transition: all 0.5s var(--ease-out);
}
.fullscreen-menu.active nav a {
  opacity: 1; transform: translateY(0);
}
.fullscreen-menu nav a:hover {
  color: var(--silver);
  letter-spacing: 6px;
}

/* ============ HERO ============ */
.hero {
  position: relative; height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.85);
  transform: scale(1.1);
  animation: kenBurns 20s ease infinite alternate;
}
@keyframes kenBurns {
  0% { transform: scale(1.1) translate(0, 0); }
  100% { transform: scale(1.2) translate(-2%, -1%); }
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  color: var(--white);
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800; letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}
.hero-content .subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  letter-spacing: 6px; text-transform: uppercase;
  font-weight: 400; color: var(--silver);
}

/* ============ HERO SLIDESHOW ============ */
.hero-slideshow {
  position: relative; height: 100vh; width: 100%;
  overflow: hidden; background: var(--black);
}
.slides-container {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 80px 80px 120px;
  box-sizing: border-box;
  background:
    linear-gradient(to top, rgba(100, 100, 100, 0.9), rgba(150, 150, 150, 0.4) 60%, rgba(200, 200, 200, 0.95) 100%),
    rgba(42, 42, 42, 0);
  background-position: 0 0, 40% 0;
  background-repeat: no-repeat;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.8) contrast(1.08) saturate(1.08);
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  will-change: transform, filter;
}
.slide.active .slide-bg {
  transform: scale(1);
}
.slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s, opacity 1.2s ease 0.3s;
}
.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}
.slide-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
  margin-bottom: 12px;
}
.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin: 0 0 16px;
}
.slide-location {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
}
.slide-nav {
  position: absolute;
  bottom: 80px;
  right: 80px;
  z-index: 10;
  display: flex;
  gap: 16px;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.slide-dot.active, .slide-dot:hover {
  background: var(--white);
}

@media (max-width: 768px) {
  .slide {
    padding: 60px 40px 100px;
  }
  .slide-nav {
    right: 40px;
    bottom: 60px;
  }
}

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: var(--white); z-index: 2;
}
.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.6rem; letter-spacing: 4px; text-transform: uppercase;
  font-weight: 500;
}
.scroll-line {
  width: 1px; height: 50px; background: var(--white);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.4); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============ SECTIONS ============ */
.section { padding: 120px 80px; }
.section-edge-to-edge { padding: 120px 0 0 0; width: 100%; }
.section-dark { background: var(--black); color: var(--white); }
.section-light { background: var(--concrete-light); color: var(--black); }
.section-white { background: var(--white); color: var(--black); }
.section-alt { background: var(--white); color: var(--white); }

.section-header { text-align: center; margin-bottom: 80px; }
.section-label {
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 5px;
  text-transform: uppercase; color: var(--grey-7);
  margin-bottom: 16px; display: block;
  font-weight: 500;
}
.section-dark .section-label, .section-alt .section-label {
  color: var(--silver);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase;
}
.section-line {
  width: 40px; height: 1.5px; background: var(--black);
  margin: 20px auto 0;
}
.section-dark .section-line, .section-alt .section-line, .hero .section-line { background: var(--white); }

/* ============ PHILOSOPHY INTRO ============ */
.philosophy-intro {
  padding: 120px 80px;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 60px;
  box-sizing: border-box;
}
.philosophy-intro-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.5vw, 7.2rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin: 0;
  width: 100%;
}
.philosophy-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.philosophy-intro-left h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
}
.philosophy-intro-right p {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  /* color: #14b8a6; Slate teal-green color */
}

/* ============ PROJECT GRID ============ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 1px;
  grid-auto-flow: dense;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 320px;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: var(--white);
  transition: border-color 0.5s ease;
}

/* Asymmetric Grid Spans */
.project-card.grid-item--wide {
  grid-column: span 2;
}
.project-card.grid-item--tall {
  grid-row: span 2;
}
.project-card.grid-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .project-card.grid-item--wide,
  .project-card.grid-item--tall,
  .project-card.grid-item--large {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.8s ease;
  filter: grayscale(0%) brightness(1.0);
}
.project-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 42, 42, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 2;
}
.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 4px;
  text-transform: uppercase;
  transform: scale(0.95);
  transition: transform 0.6s var(--ease-out);
}
.project-card:hover .project-overlay h3 {
  transform: scale(1);
}

.project-overlay p {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 8px;
  transform: scale(0.95);
  transition: transform 0.6s var(--ease-out) 0.05s;
}
.project-card:hover .project-overlay p {
  transform: scale(1);
}

/* ============ FILTER BUTTONS ============ */
.filter-bar {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 8px; margin-bottom: 48px;
}
.filter-btn {
  background: none; border: 1.5px solid var(--cloud);
  padding: 10px 28px;
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-secondary);
  font-weight: 600;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}

/* ============ SPLIT SECTION ============ */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.split-image {
  background-size: cover; background-position: center;
  min-height: 500px;
}
.split-content {
  display: flex; flex-direction: column;
  justify-content: center; padding: 120px 10%;
}
.split-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800; letter-spacing: 2px;
  line-height: 1.1; margin-bottom: 32px;
  text-transform: uppercase;
}
.split-content p {
  max-width: 600px;
  font-size: 0.95rem; line-height: 1.9;
  color: var(--text-secondary); margin-bottom: 20px;
}

/* ============ TIMELINE ============ */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 20px; }
.timeline::before {
  content: ''; position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 1px;
  background: var(--black);
  opacity: 0.2;
}
.timeline-item {
  display: flex; width: 100%;
  margin-bottom: 80px; position: relative;
  justify-content: flex-start;
  padding-left: 40px;
}
.timeline-dot {
  position: absolute; left: 20px; top: 8px;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: var(--black);
  z-index: 2;
}
.timeline-content {
  background: transparent;
  padding: 0; border: none;
  max-width: 600px;
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--steel);
  margin-bottom: 12px; font-weight: 600;
  display: block;
}
.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 12px; letter-spacing: 1px;
  text-transform: uppercase;
}
.timeline-content p {
  font-size: 0.9rem; color: var(--steel); line-height: 1.8;
}

/* Dark mode compatibility for timeline */
.section-dark .timeline::before { background: var(--white); }
.section-dark .timeline-dot { background: var(--white); }
.section-dark .timeline-content h3 { color: var(--white); }
.section-dark .timeline-content p { color: var(--silver); }

/* ============ EXPERTISE GRID ============ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4px;
}
.expertise-card {
  background: var(--off-white);
  padding: 48px 36px; text-align: center;
  border: 1px solid var(--cloud);
  transition: var(--transition);
}
.expertise-card:hover {
  background: var(--black);
  color: var(--white);
}
.expertise-card:hover .expertise-icon {
  border-color: var(--white);
  color: var(--white);
}
.expertise-card:hover p { color: var(--silver); }
.expertise-icon {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--black);
  border-radius: 0;
  font-size: 1.2rem; color: var(--black);
  transition: var(--transition);
}
.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.expertise-card p {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7;
  transition: var(--transition);
}

/* ============ ZHA EXPERTISE GRID & HEADER ============ */
.zha-expertise-section {
  background: #f4f4f4 !important;
  background-color: #f4f4f4 !important;
  padding: clamp(60px, 8vh, 100px) 5% !important;
  color: #111111 !important;
  font-family: 'Century Gothic', 'Montserrat', sans-serif !important;
}

.zha-expertise-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .zha-expertise-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
}

.zha-expertise-kicker {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #555555 !important;
  letter-spacing: 0.5px !important;
  display: inline-block !important;
  text-transform: uppercase !important;
  font-family: 'Century Gothic', 'Montserrat', sans-serif !important;
}

.zha-expertise-main-col {
  max-width: 980px;
}

.zha-expertise-heading {
  font-size: clamp(32px, 3.8vw, 54px) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  color: #111111 !important; /* Deep black text for maximum high visibility */
  margin: 0 0 20px 0 !important;
  letter-spacing: -0.5px !important;
  font-family: 'Century Gothic', 'Montserrat', sans-serif !important;
}

.zha-expertise-desc {
  font-size: clamp(14px, 1.2vw, 17px) !important;
  line-height: 1.65 !important;
  color: #2b2b2b !important; /* High contrast dark charcoal paragraph text */
  margin: 0 !important;
  font-weight: 400 !important;
  font-family: 'Century Gothic', 'Montserrat', sans-serif !important;
}

.zha-expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: #d5d5d5;
  border: 1px solid #d5d5d5;
  width: 100%;
}
.zha-expertise-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  text-decoration: none;
  color: #111111;
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.zha-expertise-card:hover {
  background: #f8f8f8;
}
.zha-expertise-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #eaeaea;
}
.zha-expertise-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.zha-expertise-card:hover .zha-expertise-img-wrap img {
  transform: scale(1.05);
  filter: contrast(1.06);
}
.zha-expertise-card-bar {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111111;
  border-top: 1px solid #111111;
  transition: background-color 0.3s ease;
}
.zha-expertise-card:hover .zha-expertise-card-bar {
  background: #000000;
}
.zha-expertise-card-title {
  font-size: 15px;
  font-weight: 400;
  color: #ffffff !important;
  font-family: 'Century Gothic', 'Montserrat', sans-serif;
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
}
.zha-expertise-card:hover .zha-expertise-card-title {
  color: #ffffff !important;
}
.zha-expertise-card-arrow {
  font-size: 16px;
  color: #ffffff !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.zha-expertise-card:hover .zha-expertise-card-arrow {
  color: #3cc7cd !important;
  transform: translate(3px, 0);
}

@media (max-width: 1024px) {
  .zha-expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .zha-expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ SOFTWARE SKILLS ============ */
.skills-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 12px;
  margin-top: 60px;
}
.skill-tag {
  padding: 12px 28px;
  border: 1.5px solid var(--cloud);
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-secondary);
  font-weight: 600;
  transition: var(--transition);
}
.skill-tag:hover {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}

/* ============ CLIENT LOGOS ============ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}
.client-item {
  background: var(--off-white);
  padding: 48px 32px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.client-item:hover { background: var(--black); }
.client-item span {
  font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition);
}
.client-item:hover span { color: var(--white); }

/* ============ TRAVEL GRID ============ */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 1px;
}
.travel-card {
  position: relative; overflow: hidden;
}
.travel-card.wide { grid-column: span 2; }
.travel-card.tall { grid-row: span 2; }
.travel-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.8s ease;
  filter: grayscale(0%) brightness(1.0);
}
.travel-card:hover img { transform: scale(1.06); filter: grayscale(0%) brightness(1.05); }
.travel-card .travel-overlay {
  position: absolute; inset: 0;
  background: rgba(42, 42, 42, 0.6);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 2;
}
.travel-card:hover .travel-overlay {
  opacity: 1;
}
.travel-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; color: var(--white);
  font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase;
  transform: scale(0.95);
  transition: transform 0.6s var(--ease-out);
}
.travel-card:hover h3 {
  transform: scale(1);
}
.travel-card p {
  font-family: var(--font-heading);
  font-size: 0.65rem; color: var(--silver);
  letter-spacing: 3px; text-transform: uppercase;
  margin-top: 8px;
  transform: scale(0.95);
  transition: transform 0.6s var(--ease-out) 0.05s;
}
.travel-card:hover p {
  transform: scale(1);
}

/* ============ ABOUT SPLIT ============ */
.about-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}
.about-image {
  background-size: cover; background-position: center top;
}
.about-content {
  display: flex; flex-direction: column;
  justify-content: center; padding: 120px 10%;
  background: var(--concrete-light);
  color: var(--black);
}
.about-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; letter-spacing: 4px;
  line-height: 1.1; margin-bottom: 32px;
  text-transform: uppercase;
}
.about-content p {
  max-width: 600px;
  font-size: 0.95rem; line-height: 1.9;
  color: var(--steel); margin-bottom: 20px;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; max-width: 1100px; margin: 0 auto;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem; font-weight: 700;
  margin-bottom: 32px; letter-spacing: 1px;
}
.contact-detail { margin-bottom: 28px; }
.contact-detail label {
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--silver);
  display: block; margin-bottom: 6px; font-weight: 600;
}
.contact-detail a, .contact-detail p {
  font-size: 1rem; color: var(--black);
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 16px 0;
  border: none; border-bottom: 1.5px solid var(--cloud);
  background: transparent; font-family: var(--font-body);
  font-size: 0.9rem; margin-bottom: 28px;
  color: var(--black); outline: none;
  transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--black);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder, .contact-form textarea::placeholder {
  font-family: var(--font-heading);
  color: var(--silver); font-size: 0.7rem;
  letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; padding: 16px 48px;
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 4px;
  text-transform: uppercase; font-weight: 700;
  border: 1.5px solid var(--black);
  color: var(--black); background: transparent;
  transition: var(--transition);
}
.btn:hover { background: var(--black); color: var(--white); }
.btn-light { border-color: var(--white); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--black); }
.btn-filled { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-filled:hover { background: var(--graphite); }

/* ============ FOOTER ============ */
.footer {
  background: var(--black); color: var(--text-light-muted);
  padding: 80px 80px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.85rem; line-height: 1.8; color: var(--steel);
}
.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 20px; font-weight: 700;
}
.footer a {
  display: block; font-size: 0.85rem;
  color: var(--steel); padding: 4px 0;
}
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--graphite);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 0.7rem; color: var(--steel);
  letter-spacing: 1px;
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0; transform: translateY(60px);
  transition: all 1s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ============ COUNTRIES LIST ============ */
.countries-list {
  display: flex; flex-wrap: wrap;
  gap: 8px; margin-top: 24px;
}
.country-tag {
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid rgba(235, 235, 235,0.25);
  color: rgba(235, 235, 235,0.7);
  transition: var(--transition);
}
.country-tag:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section { padding: 80px 40px; }
  .navbar { padding: 20px 30px; }
  .split-section, .about-hero { grid-template-columns: 1fr; }
  .split-content, .about-content { padding: 60px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .travel-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 52px; padding-right: 0;
  }
  .timeline-dot { left: 20px; }
  .philosophy-intro { padding: 100px 40px; gap: 40px; }
  .philosophy-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding: 60px 40px 30px; }

}

@media (max-width: 768px) {
  .section { padding: 60px 24px; }
  .navbar { padding: 16px 24px; }
  .philosophy-intro { padding: 80px 24px; gap: 30px; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .travel-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .travel-card.wide { grid-column: span 1; }
  .expertise-grid { grid-template-columns: 1fr; }
  .footer { padding: 60px 24px 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-content h1 { letter-spacing: 3px; }
  .split-image { min-height: 300px; }
}

/* ============ PROJECT LIST VIEW & DYNAMIC ACCENTS ============ */
.projects-list-container {
  display: none;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 40px;
  box-sizing: border-box;
  overflow-x: auto;
}
.projects-list-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.projects-list-row {
  border-bottom: 1px solid rgba(42, 42, 42, 0.08);
  transition: background 0.3s var(--ease);
  cursor: pointer;
}
.projects-list-row:hover {
  background: rgba(42, 42, 42, 0.02);
}
.section-dark .projects-list-row {
  border-bottom: 1px solid rgba(235, 235, 235, 0.08);
}
.section-dark .projects-list-row:hover {
  background: rgba(235, 235, 235, 0.03);
}

.projects-list-cell {
  padding: 24px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: inherit;
}
.projects-list-cell.project-title-cell {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.projects-list-header-cell {
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-7);
  border-bottom: 2px solid var(--grey-5);
}
.section-dark .projects-list-header-cell {
  color: var(--silver);
  border-bottom: 2px solid var(--grey-8);
}

/* Floating Tooltip/Thumbnail for List View */
.list-hover-thumbnail {
  position: fixed;
  width: 280px;
  height: 175px;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(15px, -50%) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(42, 42, 42, 0.25);
  border: 1px solid rgba(235, 235, 235, 0.1);
  background: var(--white);
}
.list-hover-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Toggle Visibility Classes */
.projects-view-wrapper.show-list .projects-grid {
  display: none !important;
}
.projects-view-wrapper.show-list .projects-list-container {
  display: block !important;
}

/* Grid/List Toggle Switch UI */
.view-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 30px;
}
.view-switch-btn {
  background: none;
  border: 1px solid var(--grey-4);
  color: var(--grey-7);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition);
}
.section-dark .view-switch-btn {
  border-color: var(--grey-8);
  color: var(--silver);
}
.view-switch-btn.active, .view-switch-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.section-dark .view-switch-btn.active, .section-dark .view-switch-btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* ============ USER PALETTE PAGE STYLING ============ */







/* Make sections transparent on colored pages so body background shows through */
body[class^="page-"] .section-light,
body[class*=" page-"] .section-light,
body[class^="page-"] .section-white,
body[class*=" page-"] .section-white {
  background: transparent !important;
  color: var(--black) !important;
}

/* Ensure text elements on colored pages are dark and high-contrast, EXCEPT inside dark sections */
body[class^="page-"] :not(.zha-expertise-section):not(.section-dark):not(.hero-slideshow) > h1,
body[class^="page-"] :not(.zha-expertise-section):not(.section-dark):not(.hero-slideshow) > h2,
body[class^="page-"] :not(.zha-expertise-section):not(.section-dark):not(.hero-slideshow) > h3 {
  color: var(--black);
}

/* Page border elements alignment */
body[class^="page-"] .section-line {
  background: var(--black) !important;
}

/* Navigation items when page has dark text */
body[class^="page-"] .navbar:not(.scrolled) .desktop-nav a {
  color: var(--black);
}
body[class^="page-"] .navbar:not(.scrolled) .logo {
  color: var(--black);
}
body[class^="page-"] .navbar:not(.scrolled) .logo-symbol,
body[class^="page-"] .navbar:not(.scrolled) .logo-text {
  filter: invert(1) brightness(0.2);
}
body[class^="page-"] .menu-toggle span {
  background: var(--black);
}

/* Footer text visibility overrides on colored pages */
body[class^="page-"] .footer h4, body[class*=" page-"] .footer h4 { color: var(--white) !important; }
body[class^="page-"] .footer a, body[class*=" page-"] .footer a { color: var(--silver) !important; }
body[class^="page-"] .footer p, body[class*=" page-"] .footer p { color: var(--silver) !important; }
body[class^="page-"] .footer-bottom span, body[class*=" page-"] .footer-bottom span { color: var(--steel) !important; }

/* Hide logo text on mobile to avoid overflow and maintain high-end layout */
@media (max-width: 768px) {
  .logo-text {
    display: none !important;
  }
}

/* ============ CURSOR STYLES ============ */
body {
  cursor: auto !important;
}

a, button, input, textarea, select, label, .menu-toggle, .zha-project-card, .zha-filter-btn, .hero-arrow-btn, .slide-dot, .mega-menu-sub-link {
  cursor: pointer !important;
}

/* ============ GSAP ANIMATION CLASSES ============ */
.gsap-reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ==========================================================================
   ZHA PHILOSOPHY / SUB-HERO TEXT SECTION (GLOBAL SHARED DESIGN & ANIMATION)
   ========================================================================== */
body section.zha-philosophy-section,
main section.zha-philosophy-section,
section.zha-philosophy-section,
.zha-philosophy-section {
  padding: clamp(70px, 10vh, 120px) clamp(24px, 5vw, 80px) !important;
  background-color: #0a0a0a !important; /* DEEP LUXURY BLACK */
  background: #0a0a0a !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  position: relative !important;
  z-index: 5 !important;
}

#cm-main section.zha-philosophy-section .zha-section-label,
#hp-main section.zha-philosophy-section .zha-section-label,
#ow-main section.zha-philosophy-section .zha-section-label,
#fh-main section.zha-philosophy-section .zha-section-label,
#sd-main section.zha-philosophy-section .zha-section-label,
#rs-main section.zha-philosophy-section .zha-section-label,
#rv-main section.zha-philosophy-section .zha-section-label,
body section.zha-philosophy-section .zha-section-label,
main section.zha-philosophy-section .zha-section-label,
.zha-philosophy-section .zha-section-label {
  color: #88989a !important;
  -webkit-text-fill-color: #88989a !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 3.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
  display: block !important;
}

.zha-philosophy-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.3fr !important;
  gap: clamp(40px, 6vw, 100px) !important;
  align-items: start !important;
}

#cm-main section.zha-philosophy-section h2,
#hp-main section.zha-philosophy-section h2,
#ow-main section.zha-philosophy-section h2,
#fh-main section.zha-philosophy-section h2,
#sd-main section.zha-philosophy-section h2,
#rs-main section.zha-philosophy-section h2,
#rv-main section.zha-philosophy-section h2,
body section.zha-philosophy-section h2,
main section.zha-philosophy-section h2,
.zha-philosophy-left h2 {
  font-family: 'Century Gothic', 'Montserrat', 'Inter', sans-serif !important;
  font-size: clamp(26px, 3.4vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 18px !important;
  background: none !important;
}

#cm-main section.zha-philosophy-section .zha-philosophy-left p,
#hp-main section.zha-philosophy-section .zha-philosophy-left p,
#ow-main section.zha-philosophy-section .zha-philosophy-left p,
#fh-main section.zha-philosophy-section .zha-philosophy-left p,
#sd-main section.zha-philosophy-section .zha-philosophy-left p,
#rs-main section.zha-philosophy-section .zha-philosophy-left p,
#rv-main section.zha-philosophy-section .zha-philosophy-left p,
body section.zha-philosophy-section .zha-philosophy-left p,
main section.zha-philosophy-section .zha-philosophy-left p,
.zha-philosophy-left p {
  font-size: 13px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #a8ecef !important;
  -webkit-text-fill-color: #a8ecef !important;
  line-height: 1.8 !important;
}

#cm-main section.zha-philosophy-section .zha-scroll-text,
#hp-main section.zha-philosophy-section .zha-scroll-text,
#ow-main section.zha-philosophy-section .zha-scroll-text,
#fh-main section.zha-philosophy-section .zha-scroll-text,
#sd-main section.zha-philosophy-section .zha-scroll-text,
#rs-main section.zha-philosophy-section .zha-scroll-text,
#rv-main section.zha-philosophy-section .zha-scroll-text,
body section.zha-philosophy-section .zha-scroll-text,
main section.zha-philosophy-section .zha-scroll-text,
.zha-scroll-text {
  font-family: 'Century Gothic', 'Montserrat', 'Inter', -apple-system, sans-serif !important;
  font-size: clamp(20px, 2.3vw, 32px) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #2b3e40 !important;
  -webkit-text-fill-color: #2b3e40 !important;
  transition: all 0.4s ease !important;
  margin: 0 !important;
}

#cm-main section.zha-philosophy-section .zha-word,
#hp-main section.zha-philosophy-section .zha-word,
#ow-main section.zha-philosophy-section .zha-word,
#fh-main section.zha-philosophy-section .zha-word,
#sd-main section.zha-philosophy-section .zha-word,
#rs-main section.zha-philosophy-section .zha-word,
#rv-main section.zha-philosophy-section .zha-word,
body section.zha-philosophy-section .zha-word,
main section.zha-philosophy-section .zha-word,
.zha-philosophy-section .zha-word {
  display: inline !important;
  color: #2b3e40 !important;
  -webkit-text-fill-color: #2b3e40 !important;
  transition: color 0.35s ease, -webkit-text-fill-color 0.35s ease, text-shadow 0.35s ease !important;
}

#cm-main section.zha-philosophy-section .zha-word.highlighted,
#hp-main section.zha-philosophy-section .zha-word.highlighted,
#ow-main section.zha-philosophy-section .zha-word.highlighted,
#fh-main section.zha-philosophy-section .zha-word.highlighted,
#sd-main section.zha-philosophy-section .zha-word.highlighted,
#rs-main section.zha-philosophy-section .zha-word.highlighted,
#rv-main section.zha-philosophy-section .zha-word.highlighted,
body section.zha-philosophy-section .zha-word.highlighted,
main section.zha-philosophy-section .zha-word.highlighted,
.zha-philosophy-section .zha-word.highlighted {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 1 !important;
  background-image: linear-gradient(90deg, #0f5070 0%, #197d66 55%, #687d79 100%) !important;
  background-size: 100vw 100vh !important;
  background-attachment: fixed !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  text-shadow: none !important;
}

@media (max-width: 900px) {
  .zha-philosophy-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
