/* ================= ROOT ================= */
:root {
  --dark: #050B1E;
  --purple: #1A1036;
  --gold: #D4AF37;
  --orange: #FF9F1C;
  --nav-height: 70px;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, var(--purple), var(--dark));
  color: #fff;
  overflow-x: hidden;
}

/* ================= NAVBAR (FINAL FIX) ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  padding: 0 20px;

  display: flex;
  align-items: center;

  background: rgba(5,11,30,0.75);
  backdrop-filter: blur(14px);

  z-index: 9999;
}

/* Logo */
.logo {
  font-family: 'Marcellus', serif;;
  font-size: 22px;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(212,175,55,0.6);
  white-space: nowrap;
}

/* Desktop Menu */
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* ================= HERO ================= */
.services-hero {
  min-height: 60svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(rgba(5,11,30,0.78), rgba(5,11,30,0.92)),
    url("https://images.unsplash.com/photo-1534447677768-be436bb09401")
    center / cover no-repeat;

  padding-top: var(--nav-height);
}

.services-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 42px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 1.2s ease;
}

.services-hero p {
  margin-top: 14px;
  font-size: 15px;
  color: #ccc;
  animation: fadeUp 1.4s ease;
}

/* ================= SECTION ================= */
.service-section {
  padding: 120px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
    position: relative;
  z-index: 2;
}

/* Title */
.section-title {
  font-family: 'Cinzel', serif;
  font-size: 38px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

/* Description */
.section-desc {
  max-width: 820px;
  margin: 0 auto 70px;
  font-size: 15px;
  line-height: 1.8;
  color: #d0d0d0;
}

/* ================= SERVICES GRID ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* ================= SERVICE BOX ================= */
.service-box {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 20px;
  padding: 34px 26px;
  transition: 0.4s ease;
  box-shadow: 0 0 30px rgba(212,175,55,0.15);
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 65px rgba(212,175,55,0.45);
}

.service-icon {
  font-size: 38px;
  margin-bottom: 16px;
  color: var(--gold);
}

.service-box h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #d6d6d6;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= MOBILE (FINAL SAFE FIX) ================= */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;

    width: 100%;
    height: calc(100vh - var(--nav-height));

    background: linear-gradient(180deg, #050b1e, #1a1036);

    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 22px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .services-hero h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 30px;
  }
}
/* ================= PREMIUM COSMIC BACKGROUND ================= */

.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    135deg,
    #050b1e,
    #0d1436,
    #1a1036,
    #0d1436,
    #050b1e
  );

  background-size: 300% 300%;
  animation: cosmicFlow 40s ease-in-out infinite;
}

@keyframes cosmicFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.astro-symbols {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.astro-symbol {
  position: absolute;
  font-size: 64px;
  color: rgba(212,175,55,0.08);
  font-family: 'Cinzel', serif;
  animation: floatSymbol linear infinite;
}

/* Individual positions */
.astro-symbol:nth-child(1) { left: 10%; top: 20%; animation-duration: 60s; }
.astro-symbol:nth-child(2) { left: 70%; top: 15%; animation-duration: 80s; }
.astro-symbol:nth-child(3) { left: 40%; top: 70%; animation-duration: 70s; }
.astro-symbol:nth-child(4) { left: 85%; top: 55%; animation-duration: 90s; }
.astro-symbol:nth-child(5) { left: 20%; top: 85%; animation-duration: 75s; }

@keyframes floatSymbol {
  from { transform: translateY(0); }
  to { transform: translateY(-120vh); }
}
/* ================= FOOTER (NO BG CHANGE) ================= */

.astro-footer {
  padding: 90px 20px 45px;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 26px;

  padding: 55px 25px;
  box-shadow: 0 0 60px rgba(212,175,55,0.15);
}

/* Brand */
.footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  background: linear-gradient(135deg, #D4AF37, #FF9F1C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 28px;
}

/* Button */
.footer-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;

  background: linear-gradient(135deg, #D4AF37, #FF9F1C);
  color: #000;
  font-size: 14px;
  font-weight: 500;

  box-shadow: 0 0 30px rgba(212,175,55,0.4);
  transition: all 0.35s ease;
}

.footer-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 55px rgba(212,175,55,0.7);
}

/* Social */
.footer-social {
  margin: 38px 0 30px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;

  border: 1px solid rgba(212,175,55,0.6);
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  color: var(--gold);
  text-decoration: none;

  box-shadow: 0 0 18px rgba(212,175,55,0.25);
  transition: all 0.35s ease;
}

.footer-social a:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 45px rgba(212,175,55,0.6);
}

/* Divider */
.footer-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212,175,55,0.6),
    transparent
  );
  margin-bottom: 20px;
}

/* Credit */
.footer-credit {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 6px;
}

.footer-credit span {
  color: var(--gold);
  font-weight: 500;
}

.footer-contact {
  font-size: 13px;
  color: #ccc;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
}

/* Mobile */
@media (max-width: 520px) {
  .footer-brand {
    font-size: 24px;
  }
}
.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(212,175,55,0.6);
  color: var(--gold);
  font-size: 20px;

  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);

  box-shadow: 0 0 18px rgba(212,175,55,0.25);
  transition: all 0.35s ease;
}

.social-icon:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 0 45px rgba(212,175,55,0.65);
}
/* ================= FLOATING WHATSAPP BUTTON ================= */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 26px;
  text-decoration: none;

  z-index: 99999;

  box-shadow:
    0 0 18px rgba(37, 211, 102, 0.6),
    0 0 35px rgba(37, 211, 102, 0.35);

  transition: all 0.35s ease;
}

/* Hover effect */
.whatsapp-float:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 0 28px rgba(37, 211, 102, 0.8),
    0 0 55px rgba(37, 211, 102, 0.55);
}

/* Soft pulse (divine feel) */
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  opacity: 0;
  animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ================= MOBILE ADJUST ================= */
@media (max-width: 520px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
    right: 16px;
    bottom: 16px;
  }
}
.youtube-section {
  padding: 100px 20px;
}

.youtube-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.youtube-title {
  font-family: 'Cinzel', serif;
  font-size: 34px;
  margin-bottom: 40px;
  color: #d4af37;
  text-shadow: 0 0 18px rgba(212,175,55,0.4);
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(212,175,55,0.35);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.dob-inputs {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.dob-inputs select,
.dob-inputs input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  min-width: 100px;
}
.video-wrapper {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    #ffd27d,
    #d4af37,
    #7f5af0,
    #ffd27d
  );
  background-size: 250% 250%;
  animation: glowFlow 7s ease infinite;

  /* SHARP EDGE + FADE GLOW */
  box-shadow:
    0 0 0 1.5px rgba(255, 210, 125, 0.95), /* sharp line */
    0 0 18px rgba(212, 175, 55, 0.55),
    0 0 45px rgba(240, 225, 90, 0.521),
    0 0 90px rgba(127, 90, 240, 0.18);
}

/* Clean Inner Frame */
.video-wrapper iframe {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  border: none;
  background: #000;
  box-shadow: inset 0 0 25px rgba(0,0,0,0.6);
}

/* Smooth Divine Movement */
@keyframes glowFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile */
@media (max-width: 768px) {
  .video-wrapper iframe {
    height: 220px;
  }
}
/* ===== OUTER GOLD RING ===== */
.service-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 26px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  /* GOLD RING + GLOW */
  background: radial-gradient(
    circle,
    rgba(26,16,54,0.9) 60%,
    rgba(255,215,130,0.15) 100%
  );

  box-shadow:
    0 0 0 3px #ffd27d,          /* GOLD RING */
    0 0 28px rgba(255,215,130,.8),
    0 0 80px rgba(127,90,240,.55),
    0 0 140px rgba(127,90,240,.3);
}

/* ===== IMAGE MUST FILL GOLD RING ===== */
.service-icon img {
  width: 110px;              /* GOLD RING ke bilkul andar */
  height: 110px;

  border-radius: 50%;
  object-fit: cover;
  object-position: center;

  display: block;
  padding: 0;
  margin: 0;
  background: #000;

  /* image ko crisp banane ke liye */
  box-shadow:
    inset 0 0 18px rgba(0,0,0,.4);
}

/* Hover (optional polish) */
.service-box:hover .service-icon {
  transform: scale(1.08);
  transition: transform 0.35s ease;
}

/* Mobile */
@media (max-width: 768px) {
  .service-icon {
    width: 120px;
    height: 120px;
  }

  .service-icon img {
    width: 94px;
    height: 94px;
  }
}
