/* ─── CSS Variables ──────────────────────────────── */
:root {
  --cyan: #29C5E6;
  --cyan-dim: rgba(41, 197, 230, 0.15);
  --cyan-glow: rgba(41, 197, 230, 0.4);
  --dark: #0d0d0d;
  --dark-card: #161616;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --white: #ffffff;
  --text-muted: #aaaaaa;
  --nav-height: 76px;
}

/* ─── Base ───────────────────────────────────────── */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--dark);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.04em;
}

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  border-left: 4px solid var(--cyan);
  padding-left: 12px;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
}

.cyan-underline {
  display: inline-block;
  position: relative;
}
.cyan-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 4px;
  background: var(--cyan);
}

.btn-cyan {
  background: var(--cyan);
  color: #0d0d0d;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  padding: 0.65rem 1.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-cyan:hover {
  background: #fff;
  color: #0d0d0d;
  box-shadow: 0 0 18px var(--cyan-glow);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 2px solid var(--cyan);
  padding: 0.6rem 1.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-outline-cyan:hover {
  background: var(--cyan);
  color: #0d0d0d;
  box-shadow: 0 0 18px var(--cyan-glow);
}

/* ─── Navbar ─────────────────────────────────────── */
#mainNav {
  background: rgba(13, 13, 13, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  padding: 0.6rem 0;
}
#mainNav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(41, 197, 230, 0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

#mainNav .navbar-brand img {
  height: 90px;
  width: auto;
  min-width: 180px;
  object-fit: contain;
}

#mainNav .nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8) !important;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  position: relative;
}
#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--cyan) !important;
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
  width: 70%;
}

/* On mobile the links are full-width, so the centred underline looks wrong.
   Replace it with a left-edge cyan bar instead. */
@media (max-width: 991px) {
  #mainNav .nav-link::after { display: none; }
  #mainNav .nav-link {
    border-left: 3px solid transparent;
    padding-left: 0.85rem;
    transition: color 0.2s, border-color 0.2s;
  }
  #mainNav .nav-link:hover,
  #mainNav .nav-link.active {
    border-left-color: var(--cyan);
  }
}

.navbar-toggler {
  border-color: rgba(41,197,230,0.5);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2841, 197, 230, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── Hero ───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #050a0f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/background1.webp');
  background-size: cover;
  background-position: center top;
  filter: blur(1px) brightness(0.18);
  transform: scale(1.05);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-bg.loaded { opacity: 1; }

/* particle canvas */
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
}

.hero-logo {
  width: min(340px, 75vw);
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 0 24px rgba(41,197,230,0.3));
  animation: fadeSlideUp 0.9s ease both;
}

.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
  animation: fadeSlideUp 0.9s 0.15s ease both;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.6rem;
  animation: fadeSlideUp 0.9s 0.25s ease both;
  position: relative;
  display: inline-block;
}

.hero-title-scale {
  color: #ffffff;
  letter-spacing: 0.12em;
  text-shadow:
    0 0 40px rgba(41, 197, 230, 0.25),
    0 0 80px rgba(41, 197, 230, 0.12);
}

.hero-title-plus {
  background: linear-gradient(135deg, var(--cyan) 0%, #00e5ff 50%, var(--cyan) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: plusShimmer 3s ease infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(41, 197, 230, 0.6));
  display: inline-block;
}

@keyframes plusShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-divider-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 0.6rem auto 1.4rem;
  border: none;
  animation: fadeSlideUp 0.9s 0.3s ease both;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 2.2rem;
  animation: fadeSlideUp 0.9s 0.35s ease both;
}

.hero-btns {
  animation: fadeSlideUp 0.9s 0.45s ease both;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

/* ─── "Acceleration" word animation ─────────────── */
.accel-word {
  display: inline-block;
  animation: accelRush 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform, opacity;
}

@keyframes accelRush {
  /* Sit still */
  0%   { transform: translateX(0);      opacity: 1; }
  /* Snap — rockets off to the right */
  28%  { transform: translateX(0);      opacity: 1; }
  38%  { transform: translateX(160%);   opacity: 0; }
  /* Jump to left edge off-screen */
  39%  { transform: translateX(-120%);  opacity: 0; }
  /* Flies back in and settles */
  55%  { transform: translateX(0);      opacity: 1; }
  /* Hold */
  100% { transform: translateX(0);      opacity: 1; }
}

/* ─── About ──────────────────────────────────────── */
#about {
  background: var(--dark-2);
  padding: 100px 0;
  overflow-x: hidden;
}

.about-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.4s ease;
}
.about-img-wrap:hover img { transform: scale(1.03); }
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
  pointer-events: none;
}
.about-img-wrap:hover::before { opacity: 1; }

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(41,197,230,0.1);
  border: 1px solid rgba(41,197,230,0.45);
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  margin: 0.3rem 0.2rem 0.3rem 0;
}

/* ─── Services ───────────────────────────────────── */
#services {
  background: var(--dark);
  padding: 100px 0;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(41,197,230,0.24);
  border-color: var(--cyan);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.4rem 1.4rem 1.6rem;
}
.service-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.service-card-body .sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  color: var(--cyan);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.service-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}
.service-card-body ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.service-card-body ul li::before {
  content: '▸';
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Portfolio ──────────────────────────────────── */
#portfolio {
  background: var(--dark-2);
  padding: 100px 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #0d0d0d;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.portfolio-item.wide { aspect-ratio: 16 / 9; }
.portfolio-item.tall { aspect-ratio: 3 / 4; }

.portfolio-item .img-skeleton {
  position: absolute;
  inset: 0;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0d0d0d;
  transition: transform 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.portfolio-overlay-cat {
  font-size: 0.78rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.portfolio-item.hidden { display: none; }

/* ─── Why Choose Us ───────────────────────────────── */
#why {
  background: #050f12;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--dark-2);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.stat-box {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(41,197,230,0.25);
  border-radius: 10px;
  background: rgba(41,197,230,0.06);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.stat-box:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(41,197,230,0.15);
}
.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.stat-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(41,197,230,0.12);
  border: 1px solid rgba(41,197,230,0.45);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cyan);
  margin: 0 auto 1rem;
  flex-shrink: 0;
}

/* ─── Brand Video Section ────────────────────────── */
#presentation {
  padding: 0;
}

/* ─── Brand Video Section ─────────────────────────── */

/* ── DESKTOP (≥992px): decorative background with text overlay ── */
.brand-video-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: #050a0f;
}

/* Video fills the section as a background */
.brand-video-bg-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark gradient overlay so text is legible */
.brand-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(5, 10, 15, 0.88) 0%,
    rgba(5, 10, 15, 0.72) 45%,
    rgba(5, 10, 15, 0.15) 100%
  );
  z-index: 1;
}

/* On desktop the container sits above the overlay */
.brand-video-section > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Layout — grid hidden on desktop, only content column shows */
.brand-video-layout {
  display: flex;
  justify-content: flex-end;
}

/* The aspect-ratio player is hidden on desktop */
.brand-video-player { display: none; }

.brand-video-content {
  max-width: 480px;
  text-align: right;
  padding: 120px 0 120px 2rem;
}

.brand-video-desc {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
}

.brand-video-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.8rem;
}

.brand-video-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(41, 197, 230, 0.1);
  border: 1px solid rgba(41, 197, 230, 0.35);
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  padding: 0.4rem 1rem;
  border-radius: 30px;
}

/* ── TABLET + MOBILE (≤991px): contained aspect-ratio player ── */
@media (max-width: 991px) {
  /* Kill the fullscreen background behaviour */
  .brand-video-section {
    min-height: unset;
    display: block;
    padding: 70px 0;
  }
  .brand-video-bg-el { display: none; }   /* hide bg video */
  .brand-video-overlay { display: none; } /* hide overlay  */
  .brand-video-section > .container { position: static; }

  /* Switch layout to a vertical stack */
  .brand-video-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-content: unset;
  }

  /* Show the aspect-ratio player */
  .brand-video-player { display: block; width: 100%; }

  .brand-video-ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(41, 197, 230, 0.2);
    box-shadow: 0 0 40px rgba(41, 197, 230, 0.08);
  }
  .brand-video-ratio video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
  }

  /* Reset content to centred, no desktop-only padding */
  .brand-video-content {
    max-width: 100%;
    text-align: center;
    padding: 0;
  }
  .brand-video-pills { justify-content: center; }
}

@media (max-width: 767px) {
  .brand-video-section { padding: 50px 0; }
}

/* ─── Contact ────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
}
.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('assets/Scale+_facebook coverpage.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.08);
  z-index: 0;
}
#contact .container { position: relative; z-index: 1; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  background: var(--cyan-dim);
  border: 1px solid rgba(41,197,230,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.1rem;
}
.contact-info-text span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.contact-form-wrap {
  background: rgba(22, 22, 22, 0.9);
  border: 1px solid rgba(41,197,230,0.15);
  border-radius: 12px;
  padding: 2.2rem;
}

.form-control, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-control:focus, .form-select:focus {
  background: rgba(41,197,230,0.05);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41,197,230,0.15);
  color: #fff;
  outline: none;
}
.form-control::placeholder { color: rgba(255,255,255,0.35); }
.form-select option { background: #1a1a1a; color: #fff; }
.form-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.35rem;
}

#formSuccess {
  display: none;
  background: rgba(41,197,230,0.12);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}

/* social icons */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(41,197,230,0.3);
  color: var(--cyan);
  font-size: 1rem;
  margin-right: 0.6rem;
  transition: all 0.25s;
  text-decoration: none;
}
.social-links a:hover {
  background: var(--cyan);
  color: #0d0d0d;
  border-color: var(--cyan);
}

/* ─── Footer ─────────────────────────────────────── */
#footer {
  background: #080808;
  border-top: 1px solid rgba(41,197,230,0.12);
  padding: 3rem 0 1.5rem;
}
.footer-logo {
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0.7rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--cyan); }
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin-top: 1.5rem;
}

/* ─── Scroll Reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(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; }

/* ─── Divider clippath ───────────────────────────── */
.clip-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
}
.clip-top {
  margin-top: -50px;
  clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
}

/* ─── Scroll-to-top button ───────────────────────── */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: rgba(13, 13, 13, 0.85);
  color: var(--cyan);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease,
              background 0.25s ease, color 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollTopBtn:hover {
  background: var(--cyan);
  color: #0d0d0d;
  box-shadow: 0 0 18px var(--cyan-glow);
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 767px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-logo { width: min(240px, 72vw); }

  /* Fix hero background on portrait mobile — keep cover but drop the scale */
  .hero-bg {
    background-size: cover;
    background-position: center center;
    transform: none;
  }
}
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   V2 — Light / Dark Mode + Contact Option 5
   (index-v2.html only)
   ═══════════════════════════════════════════════════════════ */

/* ── Mode toggle button ──────────────────────────────────── */
#modeToggle, #modeToggleDesktop {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(41,197,230,0.5);
  background: transparent;
  color: var(--cyan);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
#modeToggle:hover, #modeToggleDesktop:hover {
  background: var(--cyan);
  color: #0d0d0d;
  border-color: var(--cyan);
}

/* ── Light mode token overrides ─────────────────────────── */
body.light-mode {
  --dark:      #f0f2f5;
  --dark-2:    #e4e7ec;
  --dark-3:    #d8dce3;
  --dark-card: #ffffff;
  --white:     #0d0d0d;
  --text-muted:#555e6d;
  background-color: var(--dark);
  color: var(--white);
}

/* Navbar — stays dark/translucent in light mode */
body.light-mode #mainNav {
  background: rgba(13,13,13,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.light-mode #mainNav.scrolled {
  background: rgba(10,10,10,0.75);
  border-bottom: 1px solid rgba(41,197,230,0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body.light-mode #mainNav .nav-link { color: rgba(255,255,255,0.8) !important; }
body.light-mode #mainNav .nav-link:hover,
body.light-mode #mainNav .nav-link.active { color: var(--cyan) !important; }

/* Hero */
body.light-mode #hero { background: #0d1a22; }
body.light-mode .hero-bg { filter: blur(1px) brightness(0.28); }
body.light-mode #particleCanvas { opacity: 0.65; }
body.light-mode .hero-title { color: #ffffff; }
body.light-mode .hero-title span { color: #8a9bb0; }

/* About */
body.light-mode #about { background: var(--dark-2); }
body.light-mode #about p { color: rgba(0,0,0,0.65) !important; }
body.light-mode #about p strong { color: #0d0d0d !important; }
body.light-mode .about-badge {
  background: rgba(41,197,230,0.12);
  border-color: rgba(41,197,230,0.4);
}

/* Services */
body.light-mode #services { background: var(--dark); }
body.light-mode .service-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
body.light-mode .service-card-body h4 { color: #0d0d0d; }
body.light-mode .service-card-body ul li { color: #555e6d; }

/* Portfolio */
body.light-mode #portfolio { background: var(--dark-2); }
body.light-mode .filter-btn {
  border-color: rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.6);
}
body.light-mode .portfolio-item img { background: #e4e7ec; }

/* Why */
body.light-mode #why { background: #dce0e8; }
body.light-mode #why::before { background: var(--dark-2); }
body.light-mode .stat-box {
  background: rgba(41,197,230,0.06);
  border-color: rgba(41,197,230,0.2);
}
body.light-mode .stat-label { color: rgba(0,0,0,0.65); }
body.light-mode .feature-icon {
  background: rgba(41,197,230,0.12);
  border-color: rgba(41,197,230,0.3);
}

/* Brand video */
body.light-mode .brand-video-section { background: #e4e7ec; }
/* Desktop overlay — lighten the gradient in light mode */
body.light-mode .brand-video-overlay {
  background: linear-gradient(
    to left,
    rgba(230,235,242,0.88) 0%,
    rgba(230,235,242,0.6) 45%,
    rgba(230,235,242,0.05) 100%
  );
}
body.light-mode .brand-video-ratio { border-color: rgba(41,197,230,0.35); }
body.light-mode .brand-video-content .section-title { color: #0d0d0d; }
body.light-mode .brand-video-desc { color: rgba(0,0,0,0.68); }
body.light-mode .brand-video-pills span {
  background: rgba(41,197,230,0.12);
  border-color: rgba(41,197,230,0.4);
}

/* Scroll-to-top */
body.light-mode #scrollTopBtn {
  background: rgba(240, 242, 245, 0.9);
}

/* Footer */
body.light-mode #footer {
  background: #e0e4eb;
  border-top-color: rgba(41,197,230,0.2);
}
body.light-mode .footer-tagline { color: #666; }
body.light-mode .footer-nav a { color: rgba(0,0,0,0.5); }
body.light-mode .footer-copyright { color: rgba(0,0,0,0.35); }
body.light-mode .social-links a { border-color: rgba(41,197,230,0.35); }

/* ── Contact Option 5 ────────────────────────────────────── */
#contact {
  padding: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(41,197,230,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(41,197,230,0.07) 0%, transparent 55%),
    #0a0e12;
}
body.light-mode #contact {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(41,197,230,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(41,197,230,0.08) 0%, transparent 55%),
    #e4e7ec;
}

.c5-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.c5-left-panel {
  padding: 120px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 2px solid rgba(41,197,230,0.22);
  position: relative;
  overflow: hidden;
}
body.light-mode .c5-left-panel { border-right-color: rgba(41,197,230,0.2); }

.c5-big-word {
  position: absolute;
  top: 50%;
  left: -0.15em;
  transform: translateY(-50%);
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(7rem, 14vw, 13rem);
  font-weight: 900;
  color: rgba(255,255,255,0.055);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.04em;
}
body.light-mode .c5-big-word { color: rgba(0,0,0,0.06); }

.c5-left-panel .section-label { margin-bottom: 1.2rem; }

.c5-headline {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1rem;
  position: relative;
}

.c5-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 2.5rem;
  position: relative;
}

/* Steps */
.c5-steps { position: relative; display: flex; flex-direction: column; gap: 1.4rem; }

.c5-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding-left: 1.2rem;
  border-left: 3px solid rgba(41,197,230,0.3);
  transition: border-color 0.25s;
}
.c5-step:hover { border-left-color: var(--cyan); }
body.light-mode .c5-step { border-left-color: rgba(41,197,230,0.25); }

.c5-step-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(41,197,230,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 2.2rem;
}
body.light-mode .c5-step-num { color: rgba(0,0,0,0.12); }

.c5-step-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.25rem;
}
body.light-mode .c5-step-title { color: #0d0d0d; }

.c5-step-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}
body.light-mode .c5-step-desc { color: #555e6d; }

/* Contact method chips */
.c5-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  position: relative;
}

.c5-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(41,197,230,0.08);
  border: 1px solid rgba(41,197,230,0.28);
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.c5-method:hover {
  background: rgba(41,197,230,0.15);
  border-color: var(--cyan);
  transform: translateX(5px);
}
body.light-mode .c5-method { background: rgba(41,197,230,0.07); border-color: rgba(41,197,230,0.25); }
body.light-mode .c5-method:hover { background: rgba(41,197,230,0.14); }

.c5-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(41,197,230,0.15);
  border: 1px solid rgba(41,197,230,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}

.c5-method-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.2rem;
}
body.light-mode .c5-method-label { color: #0d0d0d; }

.c5-method-val {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
}
body.light-mode .c5-method-val { color: #555e6d; }

/* Right — form panel */
.c5-right-panel {
  padding: 120px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c5-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(41,197,230,0.28);
  border-radius: 14px;
  padding: 2.6rem 2.4rem;
  box-shadow: 0 0 40px rgba(41,197,230,0.06);
}
body.light-mode .c5-form-wrap {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.c5-form-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
}

body.light-mode .c5-form-wrap .form-control,
body.light-mode .c5-form-wrap .form-select {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.14);
  color: #0d0d0d;
}
body.light-mode .c5-form-wrap .form-control::placeholder { color: rgba(0,0,0,0.35); }
body.light-mode .c5-form-wrap .form-label { color: rgba(0,0,0,0.55); }
body.light-mode .c5-form-wrap .form-select option { background: #fff; color: #0d0d0d; }

/* Responsive */
@media (max-width: 991px) {
  .c5-wrap { grid-template-columns: 1fr; }
  .c5-left-panel {
    padding: 100px 2rem 50px;
    border-right: none;
    border-bottom: 2px solid rgba(41,197,230,0.22);
  }
  .c5-right-panel { padding: 50px 2rem 80px; }
  .c5-big-word { font-size: 5rem; }
}

/* ── Skeleton / Shimmer loader ─────────────────────────────────────────── */
.img-skeleton {
  position: relative;
  overflow: hidden;
  background: #1a2533;
  border-radius: inherit;
  display: block;
  width: 100%;
  height: 100%;
}
.img-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255,255,255,0.09) 50%,
    transparent 75%
  );
  background-size: 250% 100%;
  animation: shimmer 1.4s infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}
.img-skeleton img {
  opacity: 0;
  transition: opacity 0.4s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: inherit;
}
.img-skeleton.loaded::after { display: none; }
.img-skeleton.loaded img   { opacity: 1; }

/* give service-card skeletons an explicit height so shimmer is visible */
.service-card .img-skeleton { height: 220px; }

/* ─── Services toggle ────────────────────────────── */
.services-toggle-wrap {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(41,197,230,0.22);
  border-radius: 50px;
  padding: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.svc-tab {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.svc-tab.active {
  background: var(--cyan);
  color: #0d0d0d;
  box-shadow: 0 0 20px rgba(41,197,230,0.35);
}

.svc-tab:not(.active):hover {
  color: var(--cyan);
}

body.light-mode .services-toggle-wrap {
  background: rgba(0,0,0,0.04);
  border-color: rgba(41,197,230,0.25);
}
body.light-mode .svc-tab:not(.active) { color: rgba(0,0,0,0.5); }
body.light-mode .svc-tab:not(.active):hover { color: var(--cyan); }

/* Rental CTA card */
.rental-cta-card {
  background: rgba(41,197,230,0.05);
  border-color: rgba(41,197,230,0.3) !important;
}

/* Panel transition */
.svc-panel {
  animation: panelFadeIn 0.35s ease both;
}
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
  .svc-tab { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
}

/* ─── Form field validation ──────────────────────── */
.form-control.field-error {
  border-color: #ff4d6d !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.18) !important;
}
.form-control.field-error:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(41,197,230,0.15) !important;
}

/* ─── WhatsApp button ────────────────────────────── */
.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  padding: 0.65rem 1.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.45);
}

/* optgroup styling in dark dropdowns */
.form-select optgroup {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: #1a1a1a;
}
.form-select optgroup option {
  font-weight: 400;
  text-transform: none;
  color: #fff;
  padding-left: 0.5rem;
}
body.light-mode .form-select optgroup { background: #f5f7fa; color: #0d77a0; }
body.light-mode .form-select optgroup option { color: #0d0d0d; }
