/* ========== DESIGN TOKENS ========== */
:root {
  --primary: #6c034b;
  --primary-deep: #4a0233;
  --secondary: #150c38;
  --accent: #700035;
  --bg: #150c38;
  --bg-alt: #1a0d48;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.65);
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.12);
  --glass-shadow: rgba(0,0,0,0.3);
}
[data-theme="light"] {
  --bg: #eef0f5;
  --bg-alt: #ffffff;
  --text: #150c38;
  --text-muted: rgba(21,12,56,0.65);
  --glass-bg: rgba(255,255,255,0.55);
  --glass-border: rgba(108,3,75,0.15);
  --glass-shadow: rgba(108,3,75,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.6s ease, color 0.6s ease;
}

h1, h2, h3, h4, .display { 
  font-family: 'Bebas Neue', sans-serif; 
  letter-spacing: 0.04em; 
  font-weight: 400;
  text-transform: uppercase;
}

/* ========== ATMOSPHERIC BACKGROUND ========== */
.bg-effects { position: fixed; inset: 0; z-index: -2; overflow: visible; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; transition: opacity 0.6s; }
.orb-1 { width: 700px; height: 700px; background: var(--primary); top: -150px; left: -200px; animation: floatOrb 25s ease-in-out infinite; }
.orb-2 { width: 600px; height: 600px; background: var(--accent); bottom: -150px; right: -200px; opacity: 0.3; animation: floatOrb 30s ease-in-out infinite reverse; }
.orb-3 { width: 500px; height: 500px; background: var(--secondary); top: 40%; right: 20%; opacity: 0.4; animation: floatOrb 35s ease-in-out infinite; }
[data-theme="light"] .orb { opacity: 0.22; }
[data-theme="light"] .orb-2 { opacity: 0.15; }
@keyframes floatOrb { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(100px,80px) scale(1.1); } }

.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
}
[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(108,3,75,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,3,75,0.05) 1px, transparent 1px);
}

/* ========== PREMIUM GLASS MORPHISM ========== */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: 0 12px 40px var(--glass-shadow), inset 0 1px 1px rgba(255,255,255,0.4), inset 0 -1px 1px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
  pointer-events: none; border-radius: 28px 28px 0 0;
}
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== HEADER ========== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
}
header.scrolled {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 40px;
}
.logo, .logo-fallback {
  height: 40px; width: auto;
  display: flex; align-items: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 32px;
  color: var(--text); letter-spacing: 0.04em;
}
.logo-fallback {
  padding: 8px 18px; background: var(--glass-bg);
  border: 1px solid var(--glass-border); border-radius: 12px;
}
nav ul { display: flex; gap: 32px; list-style: none; }
nav a {
  color: var(--text-muted); text-decoration: none;
  font-weight: 500; font-size: 14px; transition: color 0.3s; position: relative;
  text-transform: uppercase; letter-spacing: 0.05em;
}
nav a:hover { color: var(--text); }
nav a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.35s ease; border-radius: 2px;
}
nav a:hover::after { width: 100%; }

.theme-toggle {
  width: 64px; height: 32px; background: var(--glass-bg);
  border: 1px solid var(--glass-border); border-radius: 16px;
  cursor: pointer; position: relative; 
  transition: background 0.3s ease, border-color 0.3s ease;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7px; z-index: 10;
}
.theme-toggle i { font-size: 13px; z-index: 2; transition: color 0.3s ease; }
.theme-toggle .fa-moon { color: #fff; }
.theme-toggle .fa-sun { color: rgba(255,255,255,0.3); }
[data-theme="light"] .theme-toggle .fa-moon { color: rgba(21,12,56,0.3); }
[data-theme="light"] .theme-toggle .fa-sun { color: #150c38; }

.theme-toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(108,3,75,0.4);
  z-index: 1;
}
[data-theme="light"] .theme-toggle::after { transform: translateX(32px); }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ========== HERO LAYOUT ========== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between;
  padding: 120px 60px 60px;
  overflow: hidden;
}

.hero-content { position: relative; z-index: 2; text-align: left; max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 12px; color: #fff; font-weight: 500;
  margin-bottom: 32px; letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }

.hero-content h1 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1; margin-bottom: 24px;
  color: #fff; text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.hero-content p {
  font-size: clamp(15px, 1.4vw, 17px); color: rgba(255,255,255,0.8);
  max-width: 520px; margin-bottom: 40px; font-weight: 300;
}
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  padding: 16px 36px; border-radius: 100px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  font-family: 'Inter', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em;
  transition: all 0.35s ease;
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; box-shadow: 0 10px 30px rgba(108,3,75,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(108,3,75,0.65); }
.btn-secondary {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  color: #fff; border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* HERO RIGHT SIDE: 3D INTERACTIVE ORBIT */
.hero-visual {
  position: relative; width: 45vw; height: 80vh; max-width: 700px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px; z-index: 1;
}
.orbit-system {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.2s ease-out;
}
.orbit-center {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 480px; 
  height: 480px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  z-index: 10;
}

.orbit-logo { 
  display: none;
  width: 180px; 
  height: auto; 
  z-index: 12; 
  position: relative;
  left: -210px;
  filter: drop-shadow(0 0 25px rgba(255,45,146,0.8)); 
  transition: transform 0.3s; 
}

#globe-container { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 450px !important;
  height: 450px !important; 
  z-index: 11; 
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  aspect-ratio: 1/1;
}

#globe-container canvas {
  border-radius: 50%;
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: contain;
}

.orbit-ring {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid rgba(255,45,146,0.25);
  box-shadow: 0 0 20px rgba(255,45,146,0.1), inset 0 0 20px rgba(255,45,146,0.05);
  transform-style: preserve-3d;
}
.ring-1 { width: 380px; height: 380px; margin-top: -190px; margin-left: -190px; animation: spinRing1 12s linear infinite; }
.ring-2 { width: 520px; height: 520px; margin-top: -260px; margin-left: -260px; border-color: rgba(108,3,75,0.4); animation: spinRing2 18s linear infinite; }
.ring-3 { width: 660px; height: 660px; margin-top: -330px; margin-left: -330px; border-color: rgba(255,255,255,0.1); animation: spinRing3 25s linear infinite; }

@keyframes spinRing1 { from { transform: rotateX(75deg) rotateZ(0deg); } to { transform: rotateX(75deg) rotateZ(360deg); } }
@keyframes spinRing2 { from { transform: rotateX(70deg) rotateY(20deg) rotateZ(360deg); } to { transform: rotateX(70deg) rotateY(20deg) rotateZ(0deg); } }
@keyframes spinRing3 { from { transform: rotateX(80deg) rotateY(-20deg) rotateZ(0deg); } to { transform: rotateX(80deg) rotateY(-20deg) rotateZ(360deg); } }

[data-theme="light"] .orbit-ring { border-width: 1.5px; box-shadow: 0 0 20px rgba(108,3,75,0.15), inset 0 0 20px rgba(108,3,75,0.1); }
[data-theme="light"] .ring-1 { border-color: rgba(255,45,146,0.6); }
[data-theme="light"] .ring-2 { border-color: rgba(108,3,75,0.5); }
[data-theme="light"] .ring-3 { border-color: rgba(21,12,56,0.3); }

.orbit-node {
  position: absolute; width: 54px; height: 54px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,45,146,0.5);
  box-shadow: 0 0 15px rgba(255,45,146,0.3), inset 0 1px 1px rgba(255,255,255,0.4);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; top: -27px; left: 50%; margin-left: -27px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.orbit-node img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
}
.orbit-node:hover { transform: scale(1.2); box-shadow: 0 0 25px rgba(255,45,146,0.8), inset 0 1px 1px rgba(255,255,255,0.5); background: var(--accent); }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 11px; letter-spacing: 0.3em; z-index: 2; font-weight: 500;
}
.scroll-indicator::after {
  content: ''; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ========== MARQUEE ========== */
.marquee-section { padding: 50px 0; overflow: hidden; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background: var(--bg-alt); }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 50px; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(32px, 4vw, 52px);
  color: transparent; -webkit-text-stroke: 1px var(--text-muted); letter-spacing: 0.04em;
}
.marquee-track span.filled {
  color: transparent; -webkit-text-stroke: 0; background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
}
.marquee-track .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 12px var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========== SECTIONS ========== */
section { padding: 120px 40px; position: relative; }
.section-header { text-align: center; margin-bottom: 64px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px; font-weight: 600;
}
.section-header h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.1; margin-bottom: 18px; }
.section-header p { color: var(--text-muted); font-size: 16px; font-weight: 300; }

/* ========== STATS ========== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.stat-card { padding: 40px 28px; text-align: center; transition: transform 0.35s; }
.stat-card:hover { transform: translateY(-6px); }
.stat-number { font-family: 'Bebas Neue', sans-serif; font-size: 56px; background: linear-gradient(135deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 12px; }
[data-theme="light"] .stat-number { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--text-muted); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

/* ========== SCROLL TEXT HORIZONTAL ========== */
.scroll-text-section { padding: 100px 0; overflow: hidden; }
.scroll-text-track { display: flex; gap: 80px; white-space: nowrap; will-change: transform; }
.scroll-text-track span { font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px, 10vw, 100px); letter-spacing: 0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--primary); transition: -webkit-text-stroke 0.3s; }
.scroll-text-track span.filled { color: transparent; -webkit-text-stroke: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.scroll-text-track .star { color: var(--accent); -webkit-text-stroke: 0; font-size: 0.6em; }

/* ========== SPLIT SERVICES CARDS WITH ANIMATED BORDER ========== */
@keyframes animatedBorder {
  0% { background-position: 0% 0%, 0% 50%; }
  100% { background-position: 0% 0%, 200% 50%; }
}

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; max-width: 1300px; margin: 0 auto; }
.service-card {
  cursor: pointer; transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column;
  transform-style: preserve-3d; border-radius: 24px; border: 2px solid transparent;
  background: linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box, linear-gradient(90deg, var(--primary), var(--accent), #ff2d92, var(--accent), var(--primary)) border-box;
  background-size: 100% 100%, 200% 100%; animation: animatedBorder 4s linear infinite;
}
.service-card-bg { position: absolute; top: 0; left: 0; right: 0; height: 50%; background-size: cover; background-position: center; transition: transform 0.8s ease; z-index: 0; }
.service-card:hover .service-card-bg { transform: scale(1.08); }
.service-card-content { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: var(--bg-alt); z-index: 3; padding: 24px 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.service-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text); margin-bottom: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); transition: transform 0.4s, background 0.4s; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.05); background: var(--accent); border-color: var(--accent); }
.service-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 0.05em; margin-bottom: 6px; color: var(--text); text-transform: uppercase; }
.service-card p { color: var(--text-muted); margin-bottom: 16px; font-size: 13px; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-card .learn-more { color: var(--primary); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s; margin-top: auto; }
.service-card:hover .learn-more { gap: 14px; }

/* ========== GALLERY WITH ANIMATED BORDER ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; max-width: 1300px;  margin: 0 auto; }
.gallery-item { 
  position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; transition: transform 0.5s; 
  border: 2px solid transparent; background: linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box, linear-gradient(90deg, var(--primary), var(--accent), #ff2d92, var(--accent), var(--primary)) border-box;
  background-size: 100% 100%, 200% 100%; animation: animatedBorder 4s linear infinite;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; display: block; }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,12,56,0.95) 0%, rgba(108,3,75,0.3) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; opacity: 0; transition: opacity 0.4s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-family: 'Bebas Neue', sans-serif; color: white; font-size: 26px; margin-bottom: 2px; letter-spacing: 0.04em; }
.gallery-overlay p { color: rgba(255,255,255,0.75); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.gallery-overlay .view-icon { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: white; transform: scale(0.5); transition: transform 0.4s; }
.gallery-item:hover .view-icon { transform: scale(1); }

/* ========== MODALS ========== */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity 0.3s ease; }
.modal.active { display: flex; opacity: 1; }
.modal-content { background: var(--bg-alt); border: 1px solid var(--glass-border); border-radius: 24px; max-width: 820px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.92) translateY(20px); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.modal.active .modal-content { transform: scale(1) translateY(0); }
.modal-banner { width: 100%; height: 280px; object-fit: cover; border-radius: 24px 24px 0 0; }
.modal-body { padding: 36px; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,0.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; z-index: 10; }
.modal-close:hover { background: var(--accent); transform: rotate(90deg); }
.modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 38px; letter-spacing: 0.04em; margin-bottom: 12px; }
.modal-desc { color: var(--text-muted); margin-bottom: 26px; font-size: 15px; line-height: 1.7; font-weight: 300; }
.modal-features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 28px; }
.modal-features li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; font-size: 14px; font-weight: 500; }
.modal-features li i { color: var(--accent); }

.gallery-modal-content { background: transparent; border: none; max-width: 90vw; max-height: 90vh; position: relative; display: flex; align-items: center; justify-content: center; transform: scale(0.92); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.modal.active .gallery-modal-content { transform: scale(1); }
.gallery-modal-content img { max-width: 100%; max-height: 80vh; border-radius: 16px; box-shadow: 0 25px 80px rgba(0,0,0,0.6); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 20px; }
.gallery-nav:hover { background: var(--accent); transform: translateY(-50%) scale(1.1); }
.gallery-nav.prev { left: -10px; } .gallery-nav.next { right: -10px; }
.gallery-counter { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); color: white; font-size: 13px; font-weight: 500; background: rgba(0,0,0,0.5); padding: 8px 18px; border-radius: 100px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); }
.gallery-caption { position: absolute; bottom: -85px; left: 50%; transform: translateX(-50%); color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; text-align: center; opacity: 0.8; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1200px; margin: 0 auto; }
.contact-info-card { padding: 42px; }
.contact-info-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.04em; margin-bottom: 12px; }
.contact-info-card > p { color: var(--text-muted); margin-bottom: 32px; font-size: 14px; font-weight: 300; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.contact-item-icon { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; font-size: 16px; box-shadow: 0 6px 18px rgba(108,3,75,0.3); }
.contact-item-text .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px; font-weight: 600; }
.contact-item-text .value { color: var(--text); font-weight: 400; font-size: 14px; line-height: 1.5; }
.social-icons { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.social-icons a { width: 46px; height: 46px; border-radius: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.35s; text-decoration: none; font-size: 16px; }
.social-icons a:hover { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(108,3,75,0.4); }

.contact-form-card { padding: 42px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 600; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 14px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 14px; transition: all 0.3s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.07); box-shadow: 0 0 0 4px rgba(108,3,75,0.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ========== FOOTER ========== */
footer { padding: 60px 40px 30px; border-top: 1px solid var(--glass-border); text-align: center; }
.footer-logo { height: 40px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.05em; }
.footer-logo-fallback { padding: 8px 18px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; }
footer p { color: var(--text-muted); font-size: 13px; font-weight: 300; }
footer .footer-links { display: flex; gap: 24px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
footer .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; transition: color 0.3s; }
footer .footer-links a:hover { color: var(--accent); }

/* ========== GO-TOP BUTTON WITH EYES ========== */
.go-top {
  position: fixed; bottom: 30px; right: 30px; width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border: 2px solid rgba(255,255,255,0.18); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 90;
  opacity: 0; transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 12px 35px rgba(108,3,75,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
.go-top.visible { opacity: 1; transform: translateY(0) scale(1); }
.go-top:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 18px 45px rgba(108,3,75,0.7); }
.eyes-container { display: flex; gap: 8px; margin-bottom: 4px; }
.eye { width: 16px; height: 20px; background: white; border-radius: 50%; position: relative; overflow: hidden; transition: height 0.15s ease; }
.eye.blink { height: 2px; }
.pupil { width: 8px; height: 8px; background: #150c38; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.12s ease-out; }
.pupil::after { content: ''; position: absolute; top: 1px; right: 1px; width: 2.5px; height: 2.5px; background: white; border-radius: 50%; }
.go-top-text { font-family: 'Inter', sans-serif; font-size: 9px; color: rgba(255,255,255,0.85); letter-spacing: 0.18em; font-weight: 700; margin-top: 2px; }

/* ========== TOAST ========== */
.toast { position: fixed; top: 100px; right: 30px; padding: 16px 24px; background: var(--bg-alt); border: 1px solid var(--accent); border-radius: 14px; color: var(--text); z-index: 2000; transform: translateX(420px); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 12px 35px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 12px; max-width: 350px; font-size: 14px;}
.toast.show { transform: translateX(0); }
.toast i { color: var(--accent); font-size: 22px; }

/* ============================================================
   UPGRADED DYNAMIC SCROLL REVEAL & SECTION TRANSITIONS
   ============================================================ */
.reveal { 
  opacity: 0; 
  transform: translateY(60px) rotateX(-15deg) scale(0.9); 
  filter: blur(15px);
  transform-origin: center bottom;
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform, filter;
}
.reveal.visible { 
  opacity: 1; 
  transform: translateY(0) rotateX(0deg) scale(1); 
  filter: blur(0);
}

section:not(#hero), .marquee-section, .scroll-text-section {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  filter: blur(20px);
  transition: all 1.4s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform, filter;
}
section:not(#hero).in-view, .marquee-section.in-view, .scroll-text-section.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ========== RESPONSIVE & MOBILE FIX ========== */
@media (max-width: 968px) {
  #hero { flex-direction: column; padding: 120px 30px 60px; justify-content: center; }
  .hero-content { 
    text-align: center; 
    margin-bottom: 40px; 
    position: relative; 
    z-index: 2; 
    pointer-events: auto;
  }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .cta-buttons { justify-content: center; }
  .hero-visual { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100vw; 
    height: 100vh; 
    max-width: none; 
    z-index: 0; 
    opacity: 0.35;
    pointer-events: none;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  nav ul { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 640px) {
  header, section, footer { padding-left: 20px; padding-right: 20px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.tall, .gallery-item.wide { grid-row: span 1; grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .go-top { width: 64px; height: 64px; bottom: 20px; right: 20px; }
  .modal-body { padding: 24px; }
  .modal-banner { height: 200px; }
  .contact-info-card, .contact-form-card { padding: 28px;}
  .orbit-center { width: 260px; height: 260px; }
  .orbit-logo { width: 80px; }
  #globe-container { width: 230px; height: 230px; }
  .ring-1 { width: 280px; height: 280px; margin-top: -140px; margin-left: -140px; }
  .ring-2 { width: 380px; height: 380px; margin-top: -190px; margin-left: -190px; }
  .ring-3 { width: 480px; height: 480px; margin-top: -240px; margin-left: -240px; }
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--accent)); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg-alt); border-left: 1px solid var(--glass-border); padding: 80px 30px 30px; z-index: 99; transition: right 0.4s ease; backdrop-filter: blur(20px); }
.mobile-menu.open { right: 0; }
.mobile-menu a { display: block; color: var(--text); text-decoration: none; padding: 14px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--glass-border); text-transform: uppercase; letter-spacing: 0.05em; }
.mobile-menu a:hover { color: var(--accent); padding-left: 8px; transition: all 0.3s; }




/* ========== COMING SOON CURSOR & PARTICLE TRAIL ========== */
@media (hover: hover) and (pointer: fine) {
  body, a, button, .service-card, .gallery-item, input, textarea, select, .orbit-node, .theme-toggle {
    cursor: none !important;
  }
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px; background: #fff; border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,0.55); border-radius: 50%; 
  transform: translate(-50%, -50%); 
  transition: width .3s, height .3s, border-color .3s, background .3s;
}
.cursor-ring.hover {
  width: 70px; height: 70px; border-color: #9a1a55; background: rgba(112,0,53,0.15);
}

.spotlight {
  position: fixed; top: 0; left: 0; width: 700px; height: 700px; border-radius: 50%; 
  pointer-events: none; z-index: 2; 
  background: radial-gradient(circle, rgba(112,0,53,0.25) 0%, rgba(112,0,53,0.08) 30%, transparent 65%); 
  transform: translate(-50%, -50%); filter: blur(30px);
}
/* Adjust spotlight for light theme */
[data-theme="light"] .spotlight {
  background: radial-gradient(circle, rgba(108,3,75,0.15) 0%, rgba(108,3,75,0.05) 30%, transparent 65%);
}

#trailCanvas {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring, .spotlight, #trailCanvas { display: none; }
  body, a, button { cursor: auto !important; }
}