/* Global Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .mobile-hidden {
    display: none !important;
  }
}

/* Navbar & Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 200;
  transition: all 0.3s ease;
}
.navbar.scrolled {
    background: #FFFFFF !important;
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(23,23,23,0.08);
  }
.navbar.scrolled .nav-links a { color: #000000 !important; }
.navbar.scrolled .nav-links a:hover, .navbar.scrolled .nav-links a.active { color: var(--accent-gold) !important; }
.navbar.scrolled .logo-text { color: #000000 !important; }
.navbar.scrolled .hamburger span { background: #000000 !important; }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 300;
  position: relative;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
}
.hamburger span:first-child { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.active span:first-child {
  top: 21px;
  transform: rotate(45deg);
  background: var(--accent-gold);
}
.hamburger.active span:nth-child(2) {\n  opacity: 0;\n  transform: translateX(-10px);\n}\n.hamburger.active span:nth-child(3) {\n  top: 21px;\n  transform: rotate(-45deg);\n  background: var(--accent-gold);\n}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* Footer (General structure) */
.footer {
  background: #0A0A0A;
  padding: 6rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #FFFFFF;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: #FFFFFF;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Golden Color System Utils & Buttons --- */
.btn-primary {
  background: var(--accent-gold);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 184, 0,0.2);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0,0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(23,23,23,0.18);
  color: #171717;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-secondary-dark {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #FFFFFF;
  transition: all 0.3s ease;
}
.btn-secondary-dark:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.text-dark { color: #171717; }
.text-white { color: #FFFFFF; }
.text-coral { color: var(--accent-gold); }
.text-coral-soft { color: var(--accent-gold-light); }
.bg-main { background-color: #FFFFFF; }
.bg-dark { background-color: #0A0A0A; }
.bg-white { background-color: #FFFFFF; }

.badge-coral {
  background: rgba(255, 184, 0,0.10);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 184, 0,0.20);
  padding: 4px 12px;
  border-radius: 50px;
}

/* --- Added Styles for UI Fixes --- */
.footer-social {
  display: flex;
  gap: 15px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 184, 0,0.3);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #FFFFFF;
  font-size: 0.9rem;
}
.footer-contact li i {
  color: var(--accent-gold);
  margin-top: 4px;
}
.footer-contact li a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-all;
}
.footer-contact li a:hover {
  color: var(--accent-gold);
}


  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
}


/* --- 3D Redesign Styles --- */
.main-3d-content {
  background: linear-gradient(180deg, #0a0e17 0%, #111520 50%, #0a0e17 100%);
  color: #fff;
  padding: 40px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.main-3d-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 184, 0, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -1;
  opacity: 0.5;
}
.main-3d-content::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 184, 0,0.03) 0%, transparent 70%);
  top: 20%; left: -200px;
  border-radius: 50%;
  z-index: -1;
}
.coral-text {
  color: var(--primary-coral, var(--accent-gold)) !important;
}
.text-center { text-align: center; }

/* 3D Glass Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateX(2deg);
  transition: transform 0.5s ease;
}
.glass-panel:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}
.panel-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 0,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.panel-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}
.panel-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

/* 3D Grid & Cards */
.grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  perspective: 1500px;
}
.card-3d {
  background-color: transparent;
  width: 100%;
  height: 300px;
  perspective: 1000px;
}
.card-3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border-radius: 15px;
}
.card-3d:hover .card-3d-inner {
  transform: rotateY(180deg);
}
.card-3d-front, .card-3d-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.card-3d-front {
  background: linear-gradient(145deg, #1f1f1f, #151515);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.icon-3d {
  font-size: 3rem;
  color: var(--primary-coral, var(--accent-gold));
  margin-bottom: 20px;
  text-shadow: 0 10px 20px rgba(255, 184, 0,0.4);
  transform: translateZ(50px);
}
.card-3d-front h3 { margin-bottom: 10px; font-size: 1.3rem; transform: translateZ(30px); }
.card-3d-front p { font-size: 0.9rem; color: #ccc; transform: translateZ(20px); }
.card-3d-back {
  background: var(--primary-coral, var(--accent-gold));
  color: white;
  transform: rotateY(180deg);
}
.card-3d-back .btn-primary {
  background: white;
  color: var(--primary-coral, var(--accent-gold));
  font-weight: 600;
  border: none;
}

/* 3D Testimonials */
.testimonial-carousel-3d {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}
.test-card-3d {
  flex: 1 1 280px;
  max-width: 360px;
  background: #FFFFFF;
  padding: 30px 25px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 15px 35px rgba(23,23,23,0.06);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  border: 1px solid rgba(23,23,23,0.08);
  display: flex;
  flex-direction: column;
}
.test-card-3d:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 45px rgba(23,23,23,0.12), 0 0 20px rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.3);
}
.test-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.stars {
  color: #FFB400;
  font-size: 0.9rem;
  display: flex;
  gap: 3px;
}
.verified-badge {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(76, 175, 80, 0.2);
}
.quote-mark {
  font-size: 2.5rem;
  color: var(--primary-coral, var(--accent-gold));
  opacity: 0.15;
  position: absolute;
  top: 75px;
  right: 25px;
}
.test-card-3d p {
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #444444;
  font-size: 0.95rem;
  flex-grow: 1;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}
.author-photo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-coral, var(--accent-gold));
  box-shadow: 0 5px 15px rgba(255, 184, 0,0.2);
  flex-shrink: 0;
}
.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.author-text {
  text-align: left;
}
.author-text h5 {
  color: var(--primary-coral, var(--accent-gold));
  margin-bottom: 3px;
  font-size: 1.05rem;
  font-weight: 700;
}
.business-loc {
  display: block;
  font-size: 0.8rem;
  color: #777777;
  margin-bottom: 4px;
  line-height: 1.2;
}
.service-tag {
  display: inline-block;
  background: rgba(255, 184, 0,0.08);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--accent-gold);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 184, 0,0.15);
  font-weight: 600;
}

/* CTA 3D */
.cta-3d-wrapper {
  perspective: 1000px;
}
.cta-3d-panel {
  background: linear-gradient(135deg, #111, #1a1a1a);
  border: 1px solid rgba(255, 184, 0,0.3);
  padding: 60px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 40px 80px rgba(255, 184, 0,0.15);
  transform: rotateX(5deg);
  transition: all 0.4s ease;
}
.cta-3d-panel:hover {
  transform: rotateX(0deg) translateY(-10px);
  box-shadow: 0 50px 100px rgba(255, 184, 0,0.25);
}
.cta-3d-panel h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}
.btn-3d-glow {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-coral, var(--accent-gold));
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(255, 184, 0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-3d-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 184, 0,0.7);
  color: white;
}


/* ========================================================
   HOME PAGE BODY REDESIGN - PREMIUM LIGHT/DARK BALANCE
   ======================================================== */

.page-body-3d {
  background-color: transparent;
  color: #171717;
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
}

/* 3D Global Layout & Parallax Backgrounds */
.section-3d {
  position: relative;
  overflow: hidden;
}
.section-3d > .container {
  position: relative;
  z-index: 10;
}
.bg-parallax-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatShape 10s infinite ease-in-out alternate;
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 0.1s linear;
}
@keyframes floatShape {
  0% { transform: translateY(var(--parallax-y, 0px)) scale(1); }
  100% { transform: translateY(var(--parallax-y, 0px)) scale(1.1) translateX(30px); }
}

/* Typography & Core Content */
.h2-premium {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.body-premium {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(23,23,23,0.7);
  margin-bottom: 20px;
}

.body-premium.subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-3d {
  padding: 40px 0;
  position: relative;
}

.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }

/* Buttons */
.btn-premium-coral {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-gold);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(255, 184, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-premium-coral:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 184, 0, 0.5);
  color: #fff;
}
.btn-premium-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #171717;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(23,23,23,0.2);
  transition: border-color 0.3s, color 0.3s;
}
.btn-premium-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* 1. SERVICES MARQUEE STRIP */
.services-marquee-strip {
  background: var(--accent-gold); /* Vibrant coral boundary between black and white */
  padding: 20px 0;
  position: relative;
  z-index: 50;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-right: 50px;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
}
.icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.marquee-item i {
  font-size: 1.2rem;
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .services-marquee-strip { padding: 15px 0; }
  .marquee-item { font-size: 1rem; }
  .marquee-item i { font-size: 1.3rem; }
  .marquee-group { gap: 30px; padding-right: 30px; }
}

/* 2. ABOUT US / GLOBAL NETWORK (#FFFFFF) */
.global-network { background: #FFFFFF; }
.bg-svg-network {
  opacity: 0.8;
  transform: translateY(calc(var(--parallax-y, 0px) * 0.5));
  animation: slideGrid 40s linear infinite;
}
@keyframes slideGrid {
  0% { transform: translateY(calc(var(--parallax-y, 0px) * 0.5)) translateX(0) translateY(0); }
  100% { transform: translateY(calc(var(--parallax-y, 0px) * 0.5)) translateX(-60px) translateY(-60px); }
}
.global-network .h2-premium { color: #FFFFFF !important; }
.global-network .body-premium { color: rgba(255,255,255,0.7) !important; }
.global-layout { display: flex; flex-wrap: wrap; align-items: center; gap: 50px; }
.global-text-panel { flex: 1 1 500px; }
.global-3d-visual { flex: 1 1 400px; height: 400px; position: relative; perspective: 1200px; }
.globe-abstract { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: slowSpin 20s linear infinite; }
@keyframes slowSpin { 0% { transform: rotateY(0deg) rotateX(10deg); } 100% { transform: rotateY(360deg) rotateX(10deg); } }
.globe-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 1px dashed rgba(10,10,10,0.2); border-radius: 50%; width: 300px; height: 300px;
}
.globe-ring-2 { transform: translate(-50%, -50%) rotateX(60deg); width: 350px; height: 350px; }
.globe-ring-3 { transform: translate(-50%, -50%) rotateY(60deg); width: 250px; height: 250px; }
.node { position: absolute; width: 10px; height: 10px; background: #0A0A0A; border-radius: 50%; box-shadow: 0 0 10px rgba(10,10,10,0.5); }
.node span { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); font-size: 0.75rem; color: #fff; background: var(--accent-gold); padding: 2px 6px; border-radius: 4px; }
.node-india { top: 30%; left: 60%; transform: translateZ(100px); }
.node-us { top: 40%; left: 20%; transform: translateZ(-50px); }
.node-uk { top: 20%; left: 40%; transform: translateZ(50px); }
.node-aus { top: 70%; left: 80%; transform: translateZ(80px); }

.global-features-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 50px; justify-content: center; }
.feature-3d-pill {
  background: #FFFFFF;
  border: 1px solid rgba(23,23,23,0.08);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #171717;
  display: flex; align-items: center; gap: 10px;
  transition: transform 0.3s;
}
.feature-3d-pill i { color: var(--accent-gold); }
.feature-3d-pill:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  box-shadow: 0 5px 15px rgba(23,23,23,0.05);
}

/* 3. CORE SERVICES ECOSYSTEM (#FFFFFF) */
.services-ecosystem { background: #FFFFFF; }
.geo-shape {
  position: absolute;
  color: rgba(255, 184, 0, 0.05);
  font-size: 15rem;
  z-index: 0;
  animation: floatGeo 15s infinite ease-in-out alternate;
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 0.1s linear;
}
.geo-cube { top: 10%; right: 5%; font-size: 20rem; }
.geo-sphere { bottom: 10%; left: -5%; font-size: 25rem; animation-delay: -5s; }
.geo-pyramid { top: 40%; left: 10%; font-size: 12rem; animation-delay: -10s; }
@keyframes floatGeo {
  0% { transform: translateY(var(--parallax-y, 0px)) rotate(0deg); }
  100% { transform: translateY(var(--parallax-y, 0px)) rotate(20deg) translateY(-30px); }
}
.services-ecosystem .h2-premium { color: #FFFFFF; }
.services-ecosystem .subtitle { color: rgba(255,255,255,0.7); }
.ecosystem-container { position: relative; min-height: 1000px; display: flex; align-items: center; justify-content: center; perspective: 1200px; }
.ecosystem-core {
  position: relative; width: 150px; height: 150px; background: #0A0A0A;
  border: 2px solid var(--accent-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10;
  box-shadow: 0 0 50px rgba(255, 184, 0,0.2);
  transition: transform 0.2s ease-out; /* For 3D JS hover */
}
.ecosystem-core span { font-weight: 800; font-size: 0.85rem; color: #fff; letter-spacing: 1px; }
.core-pulsar { position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; border: 2px solid var(--accent-gold); animation: pulse-core 2s infinite; }
@keyframes pulse-core { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.ecosystem-nodes { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.service-node {
  position: absolute; width: 280px;
  background: #FFFFFF; border: 1px solid rgba(23,23,23,0.08);
  box-shadow: 0 15px 40px rgba(23,23,23,0.06);
  border-radius: 12px; padding: 25px; transition: border-color 0.4s; z-index: 5;
  pointer-events: auto;
}
.service-node:hover { border-color: var(--accent-gold); }
.service-node i { font-size: 1.8rem; color: var(--accent-gold); margin-bottom: 12px; display: block; }
.service-node h4 { font-size: 1.15rem; color: #171717; margin-bottom: 8px; font-weight: 700; }
.service-node p { font-size: 0.9rem; color: rgba(23,23,23,0.7); margin-bottom: 15px; line-height: 1.5; }
.node-link { color: var(--accent-gold); text-decoration: none; font-size: 0.9rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 900px) {
  .ecosystem-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
  .ecosystem-nodes { position: absolute; width: 100%; height: 100%; top: 0; left: 0; display: flex; align-items: center; justify-content: center; }
  .service-node { 
    position: absolute; 
    width: 90%; 
    max-width: 350px; 
    min-height: 420px; /* Tall playing card look */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 184, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1), 0 0 40px rgba(255, 184, 0, 0.08); /* Premium 3D glow */
    text-align: center;
  }
  .service-node i { font-size: 3rem; margin-bottom: 20px; }
  .service-node h4 { font-size: 1.6rem; }
  .service-node p { font-size: 1.1rem; flex-grow: 1; display: flex; align-items: center; padding: 0 10px; }
  .ecosystem-core { position: absolute; top: 15%; left: 50%; margin-left: -75px; z-index: 10; box-shadow: none; border: none; background: transparent; }
  .core-pulsar { display: none; }
  #growth-engine-3d { opacity: 0.2; pointer-events: none; } /* Push 3D to background */
}

/* 4. AI AGENCY SECTION (DARK: #0A0A0A) */
.ai-agency { background: #0A0A0A; padding: 100px 0; }
.tech-grid-bg {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background-image: 
    linear-gradient(rgba(0, 216, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 216, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: translateY(calc(var(--parallax-y, 0px) * 0.2)) perspective(500px) rotateX(60deg);
  transform-origin: top center;
  animation: techGridMove 20s linear infinite;
}
@keyframes techGridMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 40px; }
}
.ai-agency .h2-premium { color: #FFFFFF; }
.ai-agency .subtitle { color: rgba(255,255,255,0.72); }
.sub-badge { color: var(--accent-gold); letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 10px; }
.ai-interactive-system { display: flex; flex-wrap: wrap; align-items: center; gap: 50px; margin-top: 50px; }
.ai-central-core { flex: 1 1 300px; height: 300px; position: relative; display: flex; align-items: center; justify-content: center; }
.core-sphere { width: 100px; height: 100px; background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%); border-radius: 50%; box-shadow: 0 0 50px var(--accent-gold); animation: breathe 3s ease-in-out infinite alternate; }
.core-rings span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; }
.core-rings span:nth-child(1) { width: 150px; height: 150px; animation: spin-ring 10s linear infinite; }
.core-rings span:nth-child(2) { width: 220px; height: 220px; border-style: dashed; animation: spin-ring 15s linear infinite reverse; }
.core-rings span:nth-child(3) { width: 300px; height: 300px; animation: spin-ring 20s linear infinite; }
.core-label { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-weight: 800; letter-spacing: 2px; color: #fff; }
.ai-capabilities { flex: 2 1 500px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ai-cap-card { background: rgba(255,255,255,0.05); padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.10); transition: all 0.3s; color: #FFFFFF; }
.ai-cap-card:hover { background: rgba(255,255,255,0.08); border-color: var(--accent-gold-light); transform: translateX(10px); }
.ai-cap-card h5 { font-size: 1.1rem; margin-bottom: 5px; color: #FFFFFF; }
.ai-cap-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin: 0; }
@media (max-width: 768px) { .ai-capabilities { grid-template-columns: 1fr; } }

/* 5. PORTFOLIO 3D GALLERY (#FFFFFF) */
.portfolio-gallery { background: #FFFFFF; padding: 100px 0 120px; }
.portfolio-gallery .shape-1 { top: 10%; left: -5%; width: 500px; height: 500px; background: rgba(255, 184, 0, 0.05); }
.portfolio-gallery .shape-2 { bottom: 10%; right: -5%; width: 600px; height: 600px; background: rgba(0, 216, 255, 0.05); }
.portfolio-gallery .h2-premium { color: #FFFFFF; }
.portfolio-gallery .subtitle { color: rgba(255,255,255,0.7); }
.gallery-3d-wrapper { perspective: 1500px; overflow: hidden; padding: 40px 0; }
.gallery-3d-track { display: flex; gap: 30px; overflow-x: auto; padding-bottom: 20px; transform-style: preserve-3d; scrollbar-width: none; }
.gallery-3d-track::-webkit-scrollbar { display: none; }
.gallery-panel { flex: 0 0 350px; background: #FFFFFF; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(23,23,23,0.08); transition: transform 0.5s; transform: rotateY(10deg); border: 1px solid rgba(23,23,23,0.04); }
.gallery-panel:hover { transform: rotateY(0deg) scale(1.05) translateZ(20px); z-index: 10; box-shadow: 0 20px 45px rgba(23,23,23,0.15); }
.panel-image img { width: 100%; height: 200px; object-fit: cover; border-bottom: 2px solid var(--accent-gold); }
.panel-content { padding: 20px; }
.panel-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: #171717; }
.panel-content p { font-size: 0.9rem; color: rgba(23,23,23,0.7); margin-bottom: 15px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.tags span { font-size: 0.75rem; padding: 3px 8px; background: rgba(23,23,23,0.05); color: #171717; border-radius: 4px; }
.view-link { color: #171717; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.view-link:hover { color: var(--accent-gold); }

/* 6. TESTIMONIALS (#F7F4F0) */
.testimonials-voices { background: #F7F4F0; }
.quote-mark {
  position: absolute;
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(23, 23, 23, 0.03);
  font-weight: 900;
  line-height: 1;
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 0.1s linear;
}
.qm-1 { top: 5%; left: 5%; }
.qm-2 { bottom: 10%; right: 10%; font-size: 25rem; transform: translateY(calc(var(--parallax-y, 0px) * 1.5)) rotate(180deg); }
.qm-3 { top: 40%; left: 45%; font-size: 15rem; }
.testimonials-voices .h2-premium { color: #171717; }
.testimonials-voices .subtitle { color: rgba(23,23,23,0.7); }
.voices-3d-environment { display: flex; justify-content: center; align-items: center; position: relative; height: 400px; perspective: 1200px; }
.voice-card { position: absolute; width: 100%; max-width: 600px; background: #FFFFFF; padding: 40px; border-radius: 20px; border: 1px solid rgba(23,23,23,0.08); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 15px 40px rgba(23,23,23,0.06); }
.active-voice { transform: translateZ(50px); z-index: 3; border-color: rgba(255, 184, 0,0.3); }
.side-voice { opacity: 0.5; z-index: 1; }
.left-voice { transform: translateX(-30%) scale(0.8) translateZ(-100px); }
.right-voice { transform: translateX(30%) scale(0.8) translateZ(-100px); }
.voice-card:hover { opacity: 1; z-index: 10; }
.quote-icon { font-size: 2rem; color: var(--accent-gold); opacity: 0.5; margin-bottom: 15px; }
.voice-text { font-size: 1.1rem; font-style: italic; margin-bottom: 25px; line-height: 1.6; color: #171717; }
.voice-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; background: rgba(255, 184, 0,0.1); color: var(--accent-gold); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; }
.author-details strong { display: block; color: #171717; }
.author-details span { font-size: 0.85rem; color: rgba(23,23,23,0.6); }
@media (max-width: 768px) { .voices-3d-environment { flex-direction: column; height: auto; gap: 20px; perspective: none; } .voice-card { position: static; transform: none !important; opacity: 1; } }

/* 7. KNOWLEDGE STACK (BLOG) (#FFFFFF) */
.knowledge-stack { background: #FFFFFF; }
.knowledge-stack .h2-premium { color: #FFFFFF; }
.knowledge-stack .subtitle { color: rgba(255,255,255,0.7); }
.stack-3d-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; perspective: 1000px; }
.stack-card { display: block; text-decoration: none; background: #FFFFFF; border-radius: 16px; overflow: hidden; transition: transform 0.4s, box-shadow 0.4s; border: 1px solid rgba(23,23,23,0.08); box-shadow: 0 15px 40px rgba(23,23,23,0.06); }
.stack-card:hover { transform: translateY(-10px) rotateX(5deg); box-shadow: 0 20px 45px rgba(23,23,23,0.15); border-color: rgba(255, 184, 0,0.3); }
.stack-img img { width: 100%; height: 200px; object-fit: cover; }
.stack-content { padding: 25px; }
.stack-meta { font-size: 0.8rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.stack-content h4 { color: #171717; font-size: 1.2rem; margin-bottom: 10px; }
.stack-content p { color: rgba(23,23,23,0.7); font-size: 0.9rem; }

/* 8. AREAS WE SERVE (#FFFFFF) */
.areas-network { background: #F7F4F0; }
.areas-network .h2-premium { color: #171717; }
.areas-network .subtitle { color: rgba(23,23,23,0.7); }
.location-3d-map { position: relative; height: 450px; display: flex; align-items: center; justify-content: center; background: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg') no-repeat center center; background-size: 85% auto; opacity: 0.95; border-radius: 20px; margin-bottom: 40px; }
.loc-node { position: absolute; padding: 5px 12px; background: #FFFFFF; border-radius: 50px; font-size: 0.85rem; border: 1px solid rgba(23,23,23,0.08); color: #171717; transition: all 0.3s; box-shadow: 0 5px 15px rgba(23,23,23,0.05); }
.loc-node:hover { background: var(--accent-gold-light); border-color: var(--accent-gold); transform: scale(1.1); cursor: default; z-index: 20; }
.loc-center { position: absolute; top: 45%; left: 70%; background: var(--accent-gold); color: #fff; border-color: var(--accent-gold); padding: 8px 18px; font-weight: bold; font-size: 1rem; z-index: 10; box-shadow: 0 10px 20px rgba(255, 184, 0, 0.3); }
.loc-ripple { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; border-radius: 50px; border: 2px solid var(--accent-gold); animation: map-ripple 2s infinite; pointer-events: none; }

.loc-active {
  box-shadow: 0 10px 25px rgba(255, 184, 0, 0.8) !important; 
  background: var(--accent-gold) !important; 
  color: #FFFFFF !important; 
  border-color: var(--accent-gold) !important; 
  transform: scale(1.2) !important; 
  z-index: 15 !important;
}

.loc-1 { top: 38%; left: 22%; } /* USA */
.loc-2 { top: 25%; left: 48%; } /* UK */
.loc-3 { top: 78%; left: 82%; } /* Australia */
.loc-4 { top: 22%; left: 24%; } /* Canada */
.loc-5 { top: 43%; left: 62%; } /* UAE */
.loc-6 { top: 85%; left: 88%; } /* New Zealand */
.loc-7 { top: 58%; left: 75%; } /* Singapore */
.loc-8 { top: 26%; left: 51%; } /* Germany */
.loc-9 { top: 28%; left: 47%; } /* France */
.loc-10 { top: 35%; left: 86%; } /* Japan */
@media (max-width: 768px) { .location-3d-map { height: 250px; background-size: 100% auto; } .loc-node { font-size: 0.65rem; padding: 3px 8px; } .loc-center { font-size: 0.75rem; padding: 5px 10px; } }
.location-text-box { background: #FFFFFF; padding: 30px; border-radius: 12px; border-left: 4px solid var(--accent-gold); box-shadow: 0 15px 40px rgba(23,23,23,0.06); }
.location-text-box p { margin-bottom: 10px; color: #171717; }

/* 9. CTA GROWTH PORTAL (DARK: #0A0A0A) */
.growth-portal { background: #0A0A0A; display: flex; justify-content: center; padding: 100px 0 150px; }
.portal-container { position: relative; width: 100%; max-width: 800px; padding: 80px 40px; text-align: center; background: rgba(255,255,255,0.03); border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); overflow: hidden; margin: 0 auto; }
.portal-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(255, 184, 0,0.3); pointer-events: none; }
.portal-ring-outer { width: 600px; height: 600px; animation: spin-ring 30s linear infinite; }
.portal-ring-inner { width: 400px; height: 400px; border-style: solid; opacity: 0.1; background: var(--accent-gold); animation: breathe 4s infinite alternate; }
.portal-content { position: relative; z-index: 10; }
.portal-content h2 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 15px; color: #FFFFFF; }
.portal-content p { font-size: 1.1rem; color: rgba(255,255,255,0.72); }

/* Remove global dark overlay if any */
.home-page::before, .home-page::after { content: none; display: none; }

/* 10. PORTFOLIO 3D GALLERY (FEATURED PROJECTS) */
.portfolio-gallery {
  padding: 100px 0;
  background: transparent;
  z-index: 40;
  position: relative;
}
.gallery-3d-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.gallery-3d-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  perspective: 1000px;
}
.gallery-panel {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 184, 0, 0.2);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
  transform: translateZ(0);
}
.gallery-panel:hover {
  transform: translateY(-15px) translateZ(30px) rotateX(5deg);
  box-shadow: 0 30px 60px rgba(255, 184, 0, 0.15), 0 15px 25px rgba(0,0,0,0.1);
}
.panel-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}
.panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.gallery-panel:hover .panel-image img {
  transform: scale(1.1);
}
.panel-content {
  padding: 25px;
  text-align: left;
}
.panel-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #171717;
}
.panel-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}
.tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.tags span {
  font-size: 0.8rem;
  background: rgba(255, 184, 0, 0.1);
  color: var(--accent-gold);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.view-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}
.view-link:hover {
  color: var(--accent-gold-dark);
}
@media (max-width: 900px) {
  .gallery-3d-track {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .gallery-3d-track {
    grid-template-columns: 1fr;
  }
}

/* 3D Container Adjustments */
#about-3d-globe, #ai-core-3d, #locations-3d, #cta-3d {
  width: 100%;
  height: 400px;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  #about-3d-globe, #ai-core-3d, #locations-3d, #cta-3d {
    height: 300px;
  }
}

/* Global 3D Background */
#global-3d-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
}
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}


/* =========================================================
   10. INNER PAGES GLOBAL DESIGN (Privacy, Terms, About, etc.)
========================================================= */
.page-body-3d {
  position: relative;
  background-color: var(--primary-dark, #0A0A0A);
  min-height: 100vh;
  overflow: hidden;
}

.inner-hero-3d { 
  position: relative; 
  width: 100%; 
  height: 50vh; 
  min-height: 380px; 
  padding-top: 100px; /* Space for fixed navbar */
  background: radial-gradient(circle at 50% 0%, #161b2a 0%, #0a0e17 100%);
  overflow: hidden; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  perspective: 1000px; 
}

.inner-hero-bg { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  width: 200%; 
  height: 200%; 
  background-image: linear-gradient(rgba(255, 184, 0, 0.1) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 184, 0, 0.1) 2px, transparent 2px); 
  background-size: 50px 50px; 
  transform: translate(-50%, -50%) rotateX(60deg) translateY(-100px); 
  animation: gridMove 10s linear infinite; 
  z-index: 1; 
}

.inner-hero-glow { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  width: 50vw; 
  height: 50vw; 
  background: radial-gradient(circle, rgba(255, 184, 0, 0.2) 0%, rgba(10, 10, 10, 0) 70%); 
  z-index: 2; 
  filter: blur(60px); 
  pointer-events: none; 
}

@keyframes gridMove { 
  0% { transform: translate(-50%, -50%) rotateX(60deg) translateY(0); } 
  100% { transform: translate(-50%, -50%) rotateX(60deg) translateY(50px); } 
}

.inner-hero-content { 
  position: relative; 
  z-index: 10; 
  text-align: center; 
  transform: translateZ(30px);
  padding: 0 20px;
  width: 100%;
}

.inner-hero-content h1 { 
  font-family: var(--font-display); 
  font-size: clamp(2.5rem, 5vw, 4.5rem); 
  font-weight: 800; 
  color: #fff; 
  letter-spacing: 1px; 
  margin-bottom: 15px; 
  text-shadow: 0 10px 30px rgba(255, 184, 0,0.3); 
  line-height: 1.2;
}

.inner-hero-content h1 .coral-text { 
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light)); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}

.inner-hero-subtitle { 
  font-size: 1rem; 
  color: var(--accent-gold, var(--accent-gold)); 
  letter-spacing: 3px; 
  text-transform: uppercase; 
  font-family: var(--font-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.inner-page-body { 
  background: linear-gradient(180deg, #0a0e17 0%, #111520 50%, #0a0e17 100%);
  padding: 0 20px 100px; 
  position: relative; 
  z-index: 5; 
  width: 100%;
}

.legal-glass-container { 
  width: 100%;
  max-width: 900px; 
  margin: 40px auto 60px; /* Changed from -80px to prevent overlap with hero */
  position: relative; 
  z-index: 20; 
  background: rgba(255, 255, 255, 0.05); 
  backdrop-filter: blur(25px); 
  -webkit-backdrop-filter: blur(25px); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-top: 1px solid rgba(255, 184, 0, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 184, 0, 0.1); 
  border-radius: var(--radius-xl, 30px); 
  padding: 3.5rem 4rem; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.legal-glass-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 70px rgba(255, 184, 0, 0.15); 
}

.legal-block {
  margin-bottom: 3rem;
  width: 100%;
}

.legal-block h2 { 
  font-family: var(--font-display); 
  font-size: 1.8rem; 
  color: #fff; 
  margin: 0 0 1.2rem; 
  padding-bottom: 12px; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
  position: relative;
  display: inline-block;
  line-height: 1.3;
}

.legal-block h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 3px;
  background: var(--accent-gold, var(--accent-gold));
  border-radius: 2px;
}

.legal-block p { 
  font-size: 1.1rem; 
  color: rgba(255, 255, 255, 0.75); 
  line-height: 1.9; 
  margin-bottom: 1.2rem; 
  font-family: var(--font-body);
  word-wrap: break-word;
}

/* Responsive adjustments */
@media (max-width: 768px) { 
  .inner-hero-3d { 
    height: 40vh; 
    min-height: 320px; 
    padding-top: 80px;
  } 
  .inner-page-body {
    padding: 0 15px 80px;
  }
  .legal-glass-container { 
    padding: 2.5rem 1.5rem; 
    margin-top: -50px; 
    border-radius: var(--radius-lg, 20px);
  } 
  .legal-block h2 { 
    font-size: 1.5rem; 
  } 
  .legal-block p { 
    font-size: 1rem; 
  } 
}

/* =========================================================
   11. ABOUT PAGE 3D SPECIFICS
========================================================= */

/* Story Section */
.about-story-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-story-content {
  padding-right: 2rem;
}
.about-story-image {
  border-radius: var(--radius-xl, 30px);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.about-story-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.about-story-image:hover img {
  transform: scale(1.05);
}

/* Why We're Special Grid */
.special-3d-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.special-3d-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 20px);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
}
.special-3d-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.4);
}
.special-3d-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.special-3d-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.special-3d-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Team Grid */
.team-3d-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  perspective: 1200px;
}
.team-3d-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg, 20px);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.team-3d-card:hover {
  transform: translateZ(20px) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 184, 0, 0.2);
  border-bottom: 2px solid var(--accent-gold);
}
.team-avatar-3d {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.1), rgba(255, 177, 153, 0.1));
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3) inset;
}
.team-3d-card h4 { color: #fff; margin-bottom: 0.2rem; }
.team-3d-card .role { color: var(--accent-gold); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.8rem; }
.team-3d-card .desc { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }

/* Mission & Vision */
.mv-3d-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mv-3d-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius-xl, 30px);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s;
}
.mv-3d-card:hover {
  transform: scale(1.02);
}
.mv-3d-card i {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}
.mv-3d-card h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
}
.mv-3d-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .about-story-container { grid-template-columns: 1fr; gap: 2rem; }
  .about-story-content { padding-right: 0; }
  .special-3d-grid { grid-template-columns: repeat(2, 1fr); }
  .team-3d-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-3d-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .special-3d-grid { grid-template-columns: 1fr; }
  .team-3d-grid { grid-template-columns: 1fr; }
}



/* Why AI 3D Styles */
.why-ai-grid { perspective: 1200px; position: relative; z-index: 10; }
.why-ai-card {
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  background: rgba(13, 27, 42, 0.7) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 0, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: visible !important;
}
.why-ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,184,0,0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.why-ai-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg) !important;
  border-color: var(--accent-gold) !important;
  box-shadow: 0 15px 40px rgba(255, 184, 0, 0.25);
  z-index: 2;
}
.why-ai-card:hover::before { opacity: 1; }
.why-ai-card i {
  transition: transform 0.4s ease, color 0.4s ease;
  transform: translateZ(0);
}
.why-ai-card:hover i {
  transform: scale(1.2) translateZ(30px) !important;
  color: #FFC933 !important;
  text-shadow: 0 0 15px rgba(255, 184, 0, 0.8);
}
.why-ai-card h4, .why-ai-card p {
  transition: transform 0.4s ease;
  transform: translateZ(0);
}
.why-ai-card:hover h4 { transform: translateZ(20px) !important; }
.why-ai-card:hover p { transform: translateZ(10px) !important; }





/* Blog Section 3D Updates */
.blog-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(23, 23, 23, 0.08) !important;
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.1) !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
  border-radius: 12px;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(255, 184, 0, 0.3) !important;
  border-color: rgba(255, 184, 0, 0.5) !important;
}
.blog-card-content {
  background: transparent !important;
}
.blog-card h3 a {
  color: var(--accent-gold) !important;
}
.blog-card p {
  color: #171717 !important;
}
.blog-card-meta {
  color: #171717 !important;
}
.blog-card-meta .category {
  color: var(--accent-gold) !important;
}
.blog-read-more {
  color: var(--accent-gold) !important;
}





/* -------------------------------------
   PREMIUM 3D CAROUSEL (7 BOXES)
-------------------------------------- */
.spin-wheel-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 20px;
  z-index: 20;
  position: relative;
}

@media (max-width: 900px) {
  .spin-wheel-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 80px;
  }
}

/* Redesigned Left Card (Premium HUD) */
.premium-hud {
  position: relative;
  background: linear-gradient(135deg, rgba(23,23,23,0.8), rgba(15,15,15,0.9));
  padding: 50px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 184, 0, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), inset 0 0 20px rgba(255,184,0,0.05);
  backdrop-filter: blur(15px);
  overflow: hidden;
}

.hud-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.hud-label {
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
  color: var(--accent-gold);
  letter-spacing: 3px;
  margin-bottom: 15px;
  font-weight: 700;
}

.premium-hud .hud-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-family: var(--font-display);
  transition: opacity 0.3s;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.premium-hud .hud-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 35px;
  min-height: 90px;
  transition: opacity 0.3s;
}

.premium-hud .spin-wheel-actions {
  display: flex;
  gap: 20px;
}
@media (max-width: 900px) {
  .premium-hud .spin-wheel-actions {
    justify-content: center;
  }
}

.hud-btn, .hud-btn-outline {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.hud-btn {
  background: var(--accent-gold);
  color: #000;
  box-shadow: 0 0 20px rgba(255,184,0,0.3);
}
.hud-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255,184,0,0.6);
}
.hud-btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}
.hud-btn-outline:hover {
  background: rgba(255,184,0,0.1);
  color: #fff;
}

/* 3D Carousel Container */
.carousel-3d-container {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px; /* Crucial for 3D depth */
  overflow: visible;
}

@media (max-width: 600px) {
  .carousel-3d-container {
    height: 400px;
    transform: scale(0.85);
  }
}

.carousel-3d-wrapper {
  width: 240px; /* Width of the boxes */
  height: 300px; /* Height of the boxes */
  position: relative;
  transform-style: preserve-3d;
}

.carousel-3d-spinner {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  cursor: grab;
  /* Hardware acceleration */
  will-change: transform;
}
.carousel-3d-spinner:active {
  cursor: grabbing;
}

.carousel-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 300px;
  background: linear-gradient(145deg, #1f1f1f, #111111);
  border: 2px solid rgba(255, 184, 0, 0.4);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8), inset 0 0 15px rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  transition: border-color 0.3s, box-shadow 0.3s;
  /* Backface visibility prevents seeing the back of the cards when they rotate behind, but we WANT to see them (like a cylinder) */
  backface-visibility: hidden; /* Actually, making them hidden looks cleaner, like a solid carousel, or we can leave them visible so you see the back ring. User said 3D wheel. Let's keep visible for depth. */
  opacity: 0.8;
  filter: brightness(0.6);
  transition: all 0.3s ease;
  user-select: none;
}

/* The active box at the front will get these styles via JS */
.carousel-box.active {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 50px rgba(255,184,0,0.3), inset 0 0 30px rgba(255,184,0,0.1);
  opacity: 1;
  filter: brightness(1.1);
}

.carousel-box i {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255,184,0,0.5));
}

.carousel-box h4 {
  font-size: 1.4rem;
  color: #fff;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
}
/* For 3D Tilt */
}

@media (max-width: 600px) {
  .spin-wheel-container {
    width: 320px;
    height: 320px;
  }
}

.roulette-wheel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform-style: preserve-3d;
  /* Massive 3D Drop Shadow */
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.8),
    inset 0 10px 20px rgba(255,255,255,0.1),
    inset 0 -20px 40px rgba(0,0,0,0.8);
  border: 15px solid #111;
  background: #000;
  /* 3D TILT EFFECT */
  transform: rotateX(25deg) rotateY(-10deg);
}

.spin-wheel-pointer {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%) translateZ(40px);
  width: 60px; 
  height: 40px; 
  background: var(--accent-gold);
  clip-path: polygon(0 10%, 100% 50%, 0 90%);
  z-index: 50;
  filter: drop-shadow(4px 10px 10px rgba(0,0,0,0.8));
}

.roulette-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: conic-gradient(
    #171717 0deg 36deg,
    #2a2a2a 36deg 72deg,
    #171717 72deg 108deg,
    #2a2a2a 108deg 144deg,
    #171717 144deg 180deg,
    #2a2a2a 180deg 216deg,
    #171717 216deg 252deg,
    #2a2a2a 252deg 288deg,
    #171717 288deg 324deg,
    #2a2a2a 324deg 360deg
  );
  box-shadow: inset 0 0 40px rgba(0,0,0,0.9);
  border: 4px solid var(--accent-gold);
  cursor: grab;
  will-change: transform;
}
.roulette-wheel:active { cursor: grabbing; }

.wheel-core-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: #111;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.8);
  border: 4px solid var(--accent-gold);
}
.wheel-core-button .core-inner {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--accent-gold), #b38200);
  border-radius: 50%;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.5);
}

.roulette-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%; 
  transform-origin: 0% 50%; 
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  text-align: right;
  padding-right: 25px;
  white-space: nowrap;
  pointer-events: none;
  margin-top: -0.6em; 
  text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 600px) {
  .roulette-text {
    font-size: 0.6rem;
    padding-right: 15px;
  }
}
/* Overlaps edge */
  transform: translateY(-50%);
  width: 0; 
  height: 0; 
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent; 
  border-left: 50px solid var(--accent-gold); 
  z-index: 20;
  filter: drop-shadow(4px 4px 10px rgba(0,0,0,0.8));
}

.roulette-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: conic-gradient(
    #171717 0deg 36deg,
    #222222 36deg 72deg,
    #171717 72deg 108deg,
    #222222 108deg 144deg,
    #171717 144deg 180deg,
    #222222 180deg 216deg,
    #171717 216deg 252deg,
    #222222 252deg 288deg,
    #171717 288deg 324deg,
    #222222 324deg 360deg
  );
  transform: rotate(0deg);
  /* Use transform for hardware acceleration. */
  cursor: grab;
  will-change: transform;
}
.roulette-wheel:active { cursor: grabbing; }

.wheel-core-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-gold), #b38200);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #111;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.5), 0 10px 20px rgba(0,0,0,0.8);
  border: 4px solid #111;
  font-family: var(--font-display);
}

.roulette-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%; 
  transform-origin: 0% 50%; 
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  text-align: right;
  padding-right: 20px;
  white-space: nowrap;
  pointer-events: none;
  margin-top: -0.5em; /* vertically center based on font size */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
@media (max-width: 600px) {
  .roulette-text {
    font-size: 0.65rem;
    padding-right: 15px;
  }
}
/* initial rotation will be handled by JS */
}
.wheel-track:active {
  cursor: grabbing;
}

.wheel-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(255, 184, 0, 0.4);
  z-index: 10;
  pointer-events: none;
}
.wheel-core::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255,184,0,0.5);
  border-radius: 50%;
  animation: map-ripple 2s infinite;
}

.wheel-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 220px;
  margin-top: -110px;
  margin-left: -90px;
  background: rgba(23, 23, 23, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,184,0,0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
  cursor: pointer;
  z-index: 5;
}

.wheel-node:hover {
  box-shadow: 0 15px 40px rgba(255, 184, 0, 0.5);
  border-color: var(--accent-gold);
  background: #171717;
  z-index: 20;
}

.wheel-node i {
  font-size: 2rem;
  color: var(--accent-gold);
}
.wheel-node h4 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  font-family: var(--font-display);
}
.wheel-node p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.wheel-node a {
  font-size: 0.9rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: none;
  margin-top: 5px;
}
