/* ============================================================
       ROOT VARIABLES & RESET
    ============================================================ */
:root {
  --gold: #00D2FF;
  --gold-light: #80E8FF;
  --gold-pale: #E5FAFF;
  --deep-blue: #0B0D2E;
  --mid-blue: #112244;
  --accent-blue: #1A3A6E;
  --white: #FFFFFF;
  --off-white: #F5F0E8;
  --text-muted: #8A9BB5;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================================
       PRELOADER
    ============================================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--deep-blue);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: rotateLoader 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
  width: 75%;
  height: 75%;
  border: 3px solid transparent;
  border-bottom-color: var(--gold-light);
  animation: rotateLoader 2s linear infinite reverse;
}

.loader-logo {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5));
  animation: pulseLogo 2s ease-in-out infinite;
}

@keyframes rotateLoader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseLogo {

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

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

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

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

body {
  font-family: 'Montserrat', 'Tajawal', sans-serif;
  background: var(--deep-blue);
  color: var(--white);
  overflow-x: hidden;
  cursor: default;
}

/* RTL ARABIC MODE */
body.ar {
  direction: rtl;
  font-family: 'Tajawal', 'Montserrat', sans-serif;
}

body.ar .hero-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
}

body.ar .section-title {
  font-family: 'Tajawal', sans-serif;
}

body.ar .service-card h3 {
  font-family: 'Tajawal', sans-serif;
}

body.ar nav .nav-links {
  flex-direction: row-reverse;
}

/* ============================================================
       SCROLLBAR
    ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--deep-blue);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ============================================================
       CANVAS BACKGROUND
    ============================================================ */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
       NAVIGATION
    ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.lang-toggle:hover {
  background: rgba(0, 210, 255, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.98);
  padding: 1.5rem 5%;
  z-index: 999;
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  flex-direction: column;
  gap: 1rem;
}

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

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 0.5px;
}

/* ============================================================
       SECTIONS BASE
    ============================================================ */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin-bottom: 0.5rem;
}

body.ar .section-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1rem auto 1.5rem;
  border-radius: 2px;
}

/* ============================================================
       HERO SECTION
    ============================================================ */
#hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.9s ease both;
  /* Removed 0.15s delay for LCP */
  display: flex;
  justify-content: center;
}

.hero-logo-img {
  max-width: 100%;
  height: auto;
  width: clamp(250px, 50vw, 550px);
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.5));
}

.hero-tagline {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: fadeInUp 1s 0.3s ease both;
  min-height: 2em;
}

.hero-tagline.typing-active::after {
  content: '|';
  color: var(--gold);
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s 0.45s ease both;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 25px rgba(0, 210, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0, 210, 255, 0.55);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 36px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(0, 210, 255, 0.05);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1.5s 1s ease both;
  cursor: pointer;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(0, 210, 255, 0.6), transparent);
  animation: scrollLine 2s ease infinite;
}

/* ============================================================
       ABOUT SECTION
    ============================================================ */
#about {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(17, 34, 68, 0.6), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

body.ar .about-text h2 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
}

.about-text h2 .gold {
  color: var(--gold);
}

.about-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 210, 255, 0.15);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  background: rgba(0, 210, 255, 0.06);
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateY(-3px);
}

.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
  display: block;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-visual-inner {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: rotateSlow 20s linear infinite;
}

.about-visual-inner::before {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 210, 255, 0.15);
}

.about-visual-center {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, rgba(17, 34, 68, 0.9), rgba(10, 22, 40, 0.95));
  border-radius: 50%;
  border: 2px solid rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  animation: rotateSlow 20s linear infinite reverse;
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.12);
}

.about-visual-center .logo-big {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.about-visual-center .logo-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

/* ============================================================
       SERVICES SECTION
    ============================================================ */
#services {
  height: 250vh;
  /* Scroll length */
  padding: 0;
  position: relative;
}

#services .section-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100vw;
  overflow: hidden;
  padding: 0;
}

#services .section-title,
#services .gold-line,
#services .section-subtitle {
  padding: 0 5%;
}

.services-grid {
  display: flex;
  gap: 30px;
  width: max-content;
  padding: 1rem 5vw;
  flex-wrap: nowrap;
  will-change: transform;
}

.service-card {
  width: clamp(280px, 80vw, 320px);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 210, 255, 0.1);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  background: rgba(0, 210, 255, 0.06);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 210, 255, 0.15);
}

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

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.3));
}

.service-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.service-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card .card-glow {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.08), transparent 70%);
  border-radius: 50%;
  transition: all 0.4s;
}

.service-card:hover .card-glow {
  width: 150px;
  height: 150px;
  bottom: -30px;
  right: -30px;
}

/* ============================================================
       WHY CHOOSE US
    ============================================================ */
#why {
  height: 300vh;
  padding: 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(17, 34, 68, 0.5), transparent);
}

#why .section-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100vw;
  overflow: hidden;
  padding: 0;
}

#why .section-title,
#why .gold-line,
#why .section-subtitle {
  padding: 0 5%;
}

.why-grid {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.why-card {
  position: absolute;
  width: clamp(280px, 80vw, 350px);
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(10, 22, 40, 1);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform-origin: bottom center;
  will-change: transform, opacity;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.why-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-4px);
}

.why-card:hover::after {
  opacity: 1;
}

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(0, 210, 255, 0.05));
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
  transition: all 0.3s;
}

.why-card:hover .why-icon {
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.25);
  transform: scale(1.05);
}

.why-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

body.ar .why-card h3 {
  font-family: 'Tajawal', sans-serif;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
       CONTACT SECTION
    ============================================================ */
#contact {
  padding: 100px 0 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

body.ar .contact-info h3 {
  font-family: 'Tajawal', sans-serif;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 210, 255, 0.1);
  border-radius: 10px;
  transition: all 0.25s;
  text-decoration: none;
  color: var(--white);
}

.contact-item:hover {
  background: rgba(0, 210, 255, 0.06);
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateX(4px);
}

body.ar .contact-item:hover {
  transform: translateX(-4px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(0, 210, 255, 0.05));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text {
  flex: 1;
}

.contact-item-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 8px;
  margin-top: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

/* Map */
.map-container {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 210, 255, 0.2);
  height: 200px;
  background: rgba(17, 34, 68, 0.5);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.8) contrast(1.1) saturate(0.8);
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 210, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  color: var(--white);
}

body.ar .contact-form-wrap h3 {
  font-family: 'Tajawal', sans-serif;
}

.form-group {
  margin-bottom: 1.2rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(0, 210, 255, 0.5);
  background: rgba(0, 210, 255, 0.04);
}

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

.form-group select option {
  background: var(--deep-blue);
}

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

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-blue);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--gold-light);
}

/* ============================================================
       FOOTER
    ============================================================ */
footer {
  position: relative;
  z-index: 1;
  background: rgba(5, 12, 25, 0.9);
  border-top: 1px solid rgba(0, 210, 255, 0.1);
  padding: 40px 5%;
  text-align: center;
}

.footer-logo-img {
  max-width: 15rem;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
       FLOATING BACK-TO-TOP
    ============================================================ */
#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-blue);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
  transition: all 0.3s;
}

#back-top.show {
  display: flex;
}

#back-top:hover {
  transform: translateY(-3px);
}

/* ============================================================
       ANIMATIONS
    ============================================================ */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

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

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Reveal on scroll */
.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;
}

/* ============================================================
       RESPONSIVE
    ============================================================ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .about-visual {
    display: none;
  }

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

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

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}