@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@400;600;700;800&family=DM+Mono:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --bg: #020408;
  --bg2: #060c14;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.07);
  --accent: #00e5ff;
  --accent2: #0066ff;
  --accent-glow: rgba(0, 229, 255, 0.15);
  --text: #e8edf5;
  --muted: #6b7a8d;
  --display: 'Bebas Neue', cursive;
  --heading: 'Syne', sans-serif;
  --body: 'Syne', sans-serif;
  --mono: 'DM Mono', monospace;
}

/* Import custom font
@font-face {
  font-family: 'Quantum';
  src: url('/fonts/quantum.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */


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

html {
  scroll-behavior: smooth;
}

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

/* ── STARFIELD ───────────────────────── */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ── NAV ─────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
}

.nav-logo-text {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a,
.nav-links>li>button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.nav-links .chevron {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

.nav-links li:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #0a1018;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 200px;
  padding: 6px 6px 6px 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(-6px);
}

.nav-links li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-family: var(--heading);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.15s;
  letter-spacing: 0.04em;
}

.dropdown a:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

.nav-cta {
  padding: 8px 18px !important;
  background: var(--accent) !important;
  color: #020408 !important;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  margin-left: 8px;
  transition: box-shadow 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  transform: translateY(-1px) !important;
}

/* Mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(6, 12, 20, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 5% 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

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

.mobile-menu a,
.mobile-menu .mobile-section-title {
  display: block;
  padding: 10px 12px;
  font-family: var(--heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.05em;
  transition: all 0.15s;
}

.mobile-menu a:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

.mobile-menu .mobile-section-title {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-top: 8px;
  padding-bottom: 4px;
}

.mobile-menu .mobile-sub {
  padding-left: 24px;
  font-size: 0.8rem;
}

/* ── LAYOUT ──────────────────────────── */
.page-wrap {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 100px 0;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/planets/planet_1.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.18) saturate(0.6);
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 102, 255, 0.08) 0%, transparent 70%),
    linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 5%;
  max-width: 900px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero h1 {
  text-align: center;
  width: 100%;
  font-family: 'Oxanium', sans-serif, var(--display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Oxanium', sans-serif, var(--display);
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  margin: 24px auto 0;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #020408;
  font-family: var(--heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}

.hero-scroll span {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 1.8s infinite;
}

@keyframes scrollAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ── STATS ───────────────────────────── */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 24px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--display);
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
}

/* ── CLIENTS / TRUSTED BY SECTION ── */
.clients-section {
  padding: 60px 0;
  /* background: var(--surface); */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients-title {
  text-align: center;
  margin-bottom: 48px;
}

.clients-title .section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.clients-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.clients-track {
  display: flex;
  gap: 40px;
  animation: slideLeft 30s linear infinite;
  width: fit-content;
  padding: 10px 0;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  flex-shrink: 0;
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 16px;
  transition: all 0.3s ease;
}

.client-logo:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.3);
  transition: filter 0.3s ease;
}

.client-logo:hover img {
  filter: brightness(1) grayscale(0);
}

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

/* Responsive */
@media (max-width: 768px) {
  .client-logo {
    width: 110px;
    height: 65px;
    padding: 12px;
  }
  .clients-track {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .client-logo {
    width: 90px;
    height: 55px;
    padding: 10px;
  }
  .clients-track {
    gap: 20px;
  }
}

/* ── SECTION HEADERS ─────────────────── */
.section-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}

/* ── ABOUT ───────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  border-radius: 4px;
  filter: brightness(0.85) saturate(0.9);
}

.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--accent);
  border-radius: 4px;
  opacity: 0.2;
  z-index: -1;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  padding: 8px 16px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 30px;
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: 0.05em;
  background: rgba(0, 229, 255, 0.04);
  transition: all 0.2s;
}

.pill:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--accent);
}

/* ── SERVICES ────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 56px;
}

.service-card {
  background: var(--bg);
  padding: 36px 28px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

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

.service-card:hover {
  background: var(--surface);
}

.service-icon {
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.service-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── PROJECTS ────────────────────────── */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: none;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
}

.filter-tab:hover,
.filter-tab.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.4s;
  filter: brightness(0.7) saturate(0.8);
}

.project-card:hover img {
  transform: scale(1.07);
  filter: brightness(0.5) saturate(0.6);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.project-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.project-card h3 {
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.project-card p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── TEAM ────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.team-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-4px);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.team-card:hover .team-card-img {
  filter: grayscale(0%);
}

.team-card-body {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.team-card h3 {
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.team-role {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 4px;
}

.team-quote {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.55;
  font-style: italic;
}

/* ── TESTIMONIALS ────────────────────── */
.testimonials-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-slider {
  max-width: 680px;
  margin: 56px auto 0;
  text-align: center;
  position: relative;
}

.testimonial-slide {
  display: none;
}

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

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 229, 255, 0.3);
  margin: 0 auto 20px;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
  align-items: center;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.testimonial-name {
  font-family: var(--heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.t-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.t-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.t-dots {
  display: flex;
  gap: 6px;
}

.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.t-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

/* ── CONTACT ─────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-detail-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.contact-detail-text strong {
  display: block;
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  margin-bottom: 2px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
}

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

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

.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea{
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

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

/* ── CUSTOM SELECT DROPDOWN ── */
.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.custom-select-trigger:hover {
  border-color: rgba(0, 229, 255, 0.4);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--accent);
}

.custom-select-value {
  flex: 1;
}

.custom-select-arrow {
  color: var(--muted);
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-top: 8px;
  z-index: 100;
  display: none;
  max-height: 240px;
  overflow-y: auto;
}

.custom-select.open .custom-select-options {
  display: block;
}

.custom-select-option {
  padding: 10px 14px;
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}

.custom-select-option:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent);
}

.custom-select-option.selected {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent);
}

/* Scrollbar styling */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ── FOOTER ──────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

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

.footer-brand img {
  height: 28px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
}

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

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

.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 4px;
}

.newsletter-form input {
  flex: 1;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--body);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 9px 14px;
  background: var(--accent);
  color: #020408;
  border: none;
  border-radius: 0 4px 4px 0;
  font-size: 0.8rem;
  font-family: var(--heading);
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: box-shadow 0.2s;
}

.newsletter-form button:hover {
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
}

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

.footer-bottom p {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

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

.footer-bottom-links a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ── ANIMATIONS ──────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s, transform 0.7s;
}

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

/* ── INNER PAGES ─────────────────────── */
.page-hero {
  padding: 130px 0 70px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.page-hero p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin-top: 16px;
  line-height: 1.7;
}

.prose {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}

.prose h2,
.prose h3 {
  font-family: var(--heading);
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 12px;
}

.prose h2 {
  font-size: 1.3rem;
}

.prose h3 {
  font-size: 1.05rem;
}

.prose ul {
  padding-left: 20px;
}

.prose li {
  margin-bottom: 6px;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

/* ── PUBLICATION CARDS ───────────────── */
.pub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.pub-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  filter: brightness(0.8);
}

.pub-card-body {
  padding: 28px;
}

.pub-card-body h2 {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.pub-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── INTERNSHIP ──────────────────────── */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(0, 229, 255, 0.03);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #020408;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* ── RECOGNITION ─────────────────────── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 40px;
}

.media-item {
  background: var(--bg);
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: all 0.15s;
  text-align: center;
}

.media-item:hover {
  background: var(--surface);
  color: var(--accent);
}

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .projects-masonry {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .pub-card {
    grid-template-columns: 1fr;
  }

  .pub-card-img {
    max-height: 220px;
  }

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

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

  .nav-hamburger {
    display: flex;
  }

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

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

  .projects-masonry {
    grid-template-columns: 1fr;
  }

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

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

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

/* ── UTILITIES ───────────────────────── */
.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--muted);
}

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

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-12 {
  margin-top: 48px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.flex {
  display: flex;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

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

.w-full {
  width: 100%;
}

.hidden {
  display: none;
}

.scan-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.15;
  animation: scan 8s linear infinite;
  z-index: 200;
  pointer-events: none;
}

@keyframes scan {
  from {
    top: 0;
  }

  to {
    top: 100vh;
  }
}

/* Paper slider styles */
.paper-slide {
  display: block;
  visibility: hidden; 
  height: 0; 
  overflow: hidden;
  opacity: 0;
  transition: opacity 2.5s ease;
}

.paper-slide.active {
  visibility: visible;
  height: auto;
  opacity: 1;
}
