/* ===============================
   GOOGLE FONT
================================ */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ===============================
   CSS VARIABLES
================================ */
:root {
  /* Brand Colors */
  --brand-orange: #ff7a18;
  --brand-orange-dark: #e86400;

  --brand-blue: #1ea0ff;
  --brand-blue-dark: #0d6efd;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff7a18, #1ea0ff);
  --gradient-orange: linear-gradient(135deg, #ff7a18, #ffb347);
  --gradient-blue: linear-gradient(135deg, #1ea0ff, #0d6efd);

  /* Dark Theme */
  --dark-900: #050505;
  --dark-800: #0b0b0b;
  --dark-700: #121212;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #bdbdbd;

  /* Layout */
  --container-width: 1200px;
  --section-padding: 100px;
  --header-height: 80px;
}

/* ===============================
   RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark-900);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ===============================
   LOGO PRELOADER
================================ */

#preloader {
  position: fixed;
  inset: 0;
  background: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

/* logo */

.preloader-logo img {
  width: 140px;
  opacity: 0;

  animation: logoReveal 1.2s ease forwards;
}

/* glow + fade animation */

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.9);
    filter: blur(6px);
  }

  60% {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* hide state */

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 1200px) {
  .preloader-logo img {
    width: 170px;
  }
}

/* ===============================
   CONTAINER
================================ */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: auto;
}

.container-wide {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}
.container-ultra {
  width: 90%;
  max-width: 1600px;
  margin: auto;
}

@media (min-width: 1600px) {
  h1 {
    font-size: 3.4rem;
  }

  .section-title {
    font-size: 44px;
  }
}

/* ===============================
   SECTION SPACING
================================ */
section {
  width: 100%;
}

.section {
  padding: var(--section-padding) 0;
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px;
  }
}

/* ===============================
   HEADINGS
================================ */
h1,
h2,
h3,
h4 {
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

/* ===============================
   EYEBROW LABEL
================================ */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

/* ===============================
   SCROLL REVEAL (fade-up)
================================ */
.fade-up {
  opacity: 1;
  transform: none;
}

.js-ready .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js-ready .fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .fade-up.delay-1 {
  transition-delay: 0.1s;
}

.js-ready .fade-up.delay-2 {
  transition-delay: 0.2s;
}

.js-ready .fade-up.delay-3 {
  transition-delay: 0.3s;
}

.js-ready .fade-up.delay-4 {
  transition-delay: 0.4s;
}

.js-ready .fade-up.delay-5 {
  transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* ===============================
   BUTTONS
================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 6px 18px rgba(255, 122, 24, 0.25);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 25px rgba(255, 122, 24, 0.4),
    0 10px 35px rgba(30, 160, 255, 0.3);
}

/* ===============================
   PRIMARY CTA LINK
================================ */

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 1.1rem;
  font-weight: 500;

  color: var(--brand-blue);
  text-decoration: none;

  transition: color 0.25s ease;
}

.primary-cta:hover {
  color: var(--text-primary);
}

/* Arrow animation */

.cta-arrow {
  display: inline-block;
  animation: arrowPulse 1.2s infinite;
}

@keyframes arrowPulse {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

/* ===============================
   SECTION BACKGROUNDS ALTERNATION
================================ */
section:nth-of-type(odd) {
  background: var(--dark-700); /* lighter dark for contrast */
}

section:nth-of-type(even) {
  background: var(--dark-800); /* darker for depth */
}

/* ===============================
   CARDS
================================ */
.card {
  display: block;
  background: var(--dark-700);
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(30, 160, 255, 0.15);
}

/* ===============================
   LINKS
================================ */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===============================
HEADER
================================ */

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 40px;
}

nav {
  z-index: 1100;
}

nav ul {
  display: flex;
  gap: 35px;
  list-style: none;
}

nav a {
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ===============================
   NAV ACTIVE PAGE
================================ */
nav a.active-page {
  color: var(--brand-blue);
}

nav a.active-page::after {
  width: 100%;
  background: var(--gradient-primary);
}

/* ===============================
MENU OVERLAY
================================ */

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);

  opacity: 0;
  pointer-events: none;

  transition: 0.3s;

  z-index: 900;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
HAMBURGER
================================ */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===============================
MOBILE NAV (PREMIUM)
================================ */

@media (max-width: 900px) {
  nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 20px;

    width: 240px;
    padding: 30px;

    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);

    border-radius: 14px;

    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.05);

    opacity: 0;
    transform: translateY(-10px) scale(0.95);

    pointer-events: none;

    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }

  nav ul {
    flex-direction: column;
    gap: 18px;
  }

  nav.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .hamburger {
    display: flex;
  }
}

/* ===============================
   FOOTER
================================ */
footer {
  position: relative;
  background: var(--dark-900);
  padding: var(--section-padding) 0 60px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; /* slightly more breathing room */
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 420px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  margin-bottom: 20px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-primary);
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-links a,
.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand-blue);
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  flex-direction: column;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 50%;
  color: white;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.social-icons a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid #222;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 15px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--brand-blue);
}

@media (max-width: 600px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo p {
    max-width: 100%;
  }

  .footer-logo img {
    margin: 0 auto 20px;
  }

  .social-icons {
    justify-content: center;
  }
}

/* ===============================
   HERO 
================================ */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* HERO OVERLAY */

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25));
  z-index: 2;
}

/* VIDEO BACKGROUND */

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* CONTENT */

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: 3rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* ===============================
RESPONSIVE HERO
================================ */

@media (max-width: 900px) {
  h1 {
    font-size: 2.4rem;
  }

  .hero-content {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}

/* ===============================
   FEATURED ABOUT
================================ */
.section-featured-about {
  padding: 80px 0;
}

.about-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

/* ===============================
   FEATURED SERVICES
================================ */
.section-featured-services {
  padding: 80px 0;
}

.center-text {
  text-align: center;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: linear-gradient(145deg, #0b0b0b, #1a1a1a);
  padding: 30px;
  border-radius: 16px;
  text-align: center;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(30, 160, 255, 0.2);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card p {
  color: var(--text-secondary);
}

.service-card i {
  display: inline-block;
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: var(--brand-blue);
}

/* ===============================
   CTA BELOW SERVICES
================================ */
.services-cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: var(--brand-blue);
  cursor: pointer;
  font-weight: 500;
}

/* ===============================
   PORTFOLIO HERO
================================ */

.portfolio-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  overflow: hidden;
}

/* background image */

.portfolio-hero img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 1;
}

/* reuse global overlay */

.portfolio-hero .overlay {
  z-index: 2;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.45));
}

/* hero content */

.portfolio-hero .hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.portfolio-hero p {
  margin-top: 15px;
}

/* PORTFOLIO SECTION */

.portfolio {
  padding: 100px 5%;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: var(--gradient-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0)
  );

  color: #fff;
}

.portfolio-overlay h3 {
  margin-top: 10px;
  font-size: 22px;
}

.portfolio-overlay p {
  font-size: 15px;
  color: #d0d0d0;
  margin-top: 6px;
}
.portfolio-tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  background: var(--brand-blue);
  padding: 5px 10px;
  border-radius: 5px;
  letter-spacing: 1px;
}

/* CTA */

.portfolio-cta {
  text-align: center;
  margin-top: 50px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CTA SECTION
================================ */

.cta-section {
  padding: 120px 5%;
  background: linear-gradient(135deg, #020202, #0d0d0d, #050505);
  text-align: center;
}

.cta-content {
  max-width: 720px;
  margin: auto;
}

.cta-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta-content p {
  color: #d4d4d4;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  .cta-content h2 {
    font-size: 30px;
  }

  .cta-content p {
    font-size: 15px;
  }
}

/* PORTFOLIO HERO */

.portfolio-hero p {
  max-width: 650px;
  margin: 20px auto 0;
}

/* ===============================
CONTACT PAGE
================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* contact info */

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 1rem;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.contact-item a {
  color: var(--text-primary);
  transition: 0.3s;
}

.contact-item a:hover {
  color: var(--brand-blue);
}

.contact-social {
  margin-top: 35px;
}

.contact-social h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* form */

.contact-form {
  background: linear-gradient(145deg, #0b0b0b, #1a1a1a);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #222;
  background: #0c0c0c;
  resize: vertical;
  color: white;
  font-family: Poppins;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
}

.form-alert-success {
  background: rgba(30, 160, 255, 0.12);
  border: 1px solid rgba(30, 160, 255, 0.35);
  color: var(--text-primary);
}

.form-alert-error {
  background: rgba(255, 70, 70, 0.1);
  border: 1px solid rgba(255, 70, 70, 0.35);
  color: var(--text-primary);
}

.form-alert-error ul {
  margin: 6px 0 0 18px;
}

/* map */

.map-wrapper {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    height: 320px;
  }
}

/* ===============================
   ABOUT PAGE - MISSION & VISION
================================ */

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.mv-card {
  text-align: center;
}

.mv-card p {
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .mv-grid {
    gap: 20px;
  }
}

/* ===============================
   ABOUT PAGE - STATS
================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 500px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.4rem;
  }
}

/* ===============================
   SERVICES PAGE - ALTERNATING LAYOUT
================================ */

.about-grid.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .about-grid.reverse {
    flex-direction: row;
  }
}

/* ===============================
   SERVICES PAGE - FEATURE LIST
================================ */

.service-features {
  list-style: none;
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.service-features i {
  color: var(--brand-blue);
  font-size: 14px;
}

/* ===============================
   SERVICES PAGE - VIDEO SUB-SERVICES
================================ */

.video-subservices {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.sub-service-card {
  background: linear-gradient(145deg, #0b0b0b, #1a1a1a);
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.sub-service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(30, 160, 255, 0.18);
}

.sub-service-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.sub-service-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .video-subservices {
    margin-top: 40px;
    gap: 18px;
  }
}

/* ===============================
   SERVICES PAGE - PROCESS
================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 14.5px;
}

@media (max-width: 500px) {
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
}

/* ===============================
   FAQ PAGE - ACCORDION
================================ */

.faq-category {
  margin-bottom: 50px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.faq-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: linear-gradient(145deg, #0b0b0b, #1a1a1a);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(30, 160, 255, 0.35);
}

.faq-item[open] {
  border-color: rgba(30, 160, 255, 0.5);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(30, 160, 255, 0.12);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.faq-item:hover summary {
  color: var(--brand-blue);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  font-size: 18px;
  font-weight: 400;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.faq-answer {
  padding: 4px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}

.faq-answer p {
  margin-top: 14px;
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 10px 0 0 20px;
}

.faq-answer li {
  margin-bottom: 6px;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .faq-item {
    padding: 0 18px;
  }

  .faq-item summary {
    font-size: 15px;
  }

  .faq-category-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* ===============================
   FAQ PAGE - QUICK ANSWERS
================================ */

.quick-answers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.quick-answer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--dark-700);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 16px 20px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.quick-answer:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 160, 255, 0.35);
}

.qa-question {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.qa-answer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .quick-answer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ===============================
   LEGAL PAGES (TERMS / PRIVACY) - HERO
================================ */

section.legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 75px) 0 75px;
  text-align: center;
  background: linear-gradient(135deg, #020202, #0d0d0d, #050505);
  border-bottom: 3px solid transparent;
  border-image: var(--gradient-primary) 1;
}

.legal-hero::before,
.legal-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(110px);
}

.legal-hero::before {
  top: -160px;
  right: -100px;
  background: var(--brand-orange);
  opacity: 0.3;
}

.legal-hero::after {
  bottom: -180px;
  left: -100px;
  background: var(--brand-blue);
  opacity: 0.3;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 10px 30px rgba(30, 160, 255, 0.3);
}

.legal-hero .eyebrow {
  display: block;
}

.legal-hero h1 {
  margin-bottom: 8px;
}

.legal-hero .legal-updated {
  margin-bottom: 0;
}

/* ===============================
   LEGAL PAGES - LAYOUT & TOC
================================ */

.legal-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  background: linear-gradient(145deg, #0b0b0b, #1a1a1a);
  border-radius: 14px;
  padding: 25px;
  max-height: calc(100vh - var(--header-height) - 60px);
  overflow-y: auto;
}

.legal-toc h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.legal-toc a::before {
  content: counter(toc) ".";
  flex-shrink: 0;
  color: var(--brand-blue);
  font-weight: 600;
}

.legal-toc a:hover {
  color: var(--text-primary);
}

.legal-toc-mobile {
  display: none;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    display: none;
  }

  .legal-toc-mobile {
    display: block;
    margin-bottom: 30px;
    background: linear-gradient(145deg, #0b0b0b, #1a1a1a);
    border-radius: 14px;
    padding: 6px 20px;
  }

  .legal-toc-mobile summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 0;
    font-weight: 600;
  }

  .legal-toc-mobile summary::-webkit-details-marker {
    display: none;
  }

  .legal-toc-mobile ol {
    list-style: none;
    counter-reset: toc;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 18px;
  }

  .legal-toc-mobile li {
    counter-increment: toc;
  }

  .legal-toc-mobile a {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
  }

  .legal-toc-mobile a::before {
    content: counter(toc) ".";
    flex-shrink: 0;
    color: var(--brand-blue);
    font-weight: 600;
  }
}

/* ===============================
   LEGAL PAGES - CONTENT
================================ */

.legal-content h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.4rem;
  margin-top: 45px;
  margin-bottom: 15px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.legal-content p {
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 0 0 15px 20px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}
