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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  padding-top: 80px; /* adjust to total header height */
}

/* Mobile Responsive */
@media (max-width: 768px) {
  html,
  body {
    padding-top: 40px ;
  }
}

/* HEADER */
.main-header {
  position: fixed; /* ✅ FIXED */
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.btn-login {
  background: #fed859;
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
}

.btn-login:hover {
  background: #fed859;
  color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

.nav-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.brand img {
  height: 60px;
}

/* NAV RIGHT */
.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* MENU */
.menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.menu li a {
  text-decoration: none;
  font-weight: 500;
  color: #222;
  position: relative;
}

.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ff9800;
  transition: 0.3s;
}

.menu li a:hover::after {
  width: 100%;
}

/* LANGUAGE DROPDOWN */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  background: #f1f5f9;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

.lang-btn:hover {
  background-color: #fed859;
  color: #fff;
  /* transform: translateY(-3px); */
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  list-style: none;
  padding: 8px 0;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 0.25s;
}

.lang-menu li {
  padding: 10px 16px;
  cursor: pointer;
}

.lang-dropdown:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Remove Google highlight background/shadow but keep the text ---------- */
.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  /* your custom visible style instead of grey box-shadow */
  border-bottom: 1px dashed #007bff !important;
  color: inherit !important;
}

.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q {
  background: inherit;
  border: none;
  box-shadow: 0px 0px;
}

iframe[src*="translate.google"] {
  display: none !important;
  visibility: hidden !important;
}

iframe {
  display: none;
}

font {
  display: inline-block;
}

/* ---------- Remove Google highlight background/shadow but keep the text ---------- */

.site-footer {
  /* background: #0f172a;
    color: #cbd5e1; */
  background: #fff;
  color: #0f172a;
  /* margin-top: 80px; */
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: #0f172a;
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #0f172a;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fed859;
}

/* Contact */
.contact-list li {
  font-size: 14px;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-links-class {
  text-decoration: none;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: #1e293b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 15px;
  transition: 0.3s;
}

.social-links a:hover {
  background: #fed859;
  transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
  background: #020617;
  text-align: center;
  padding: 15px;
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-container {
    padding: 40px 20px;
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 60px 16px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .about-tag {
    font-size: 20px;
  }

  .about-content h2 {
    font-size: 18px;
  }
}

/* HERO */
.hero {
  background: linear-gradient(120deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
}

/* BUTTONS */
.btn-primary {
  background: #38bdf8;
  color: #000;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #38bdf8;
  padding: 10px 26px;
  border-radius: 30px;
  color: #38bdf8;
  text-decoration: none;
}

.link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* CARDS */
.card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* RASHI */
.rashi {
  background: #f8fafc;
  text-align: center;
}

/* CTA */
.cta {
  background: #020617;
  color: #fff;
  text-align: center;
}

/* CENTER */
.center {
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}

.hero-astrology {
  position: relative;
  min-height: 100vh;
  padding: 100px 0 80px;
  background: url("/images/home-hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero-text {
    font-size: 15px;
    padding: 0 10px;
  }

  .hero-subtitle {
    font-size: 14px;
  }
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
}

/* Content */
.hero-content {
  position: relative;
  max-width: 800px;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 32px;
}

/* Button */
.btn-hero {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 40px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

.about-modern {
  background: #f8fafc;
  padding: 0px 0;
}

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

/* TEXT */
.about-tag {
  display: inline-block;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0ea5e9;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #020617;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 18px;
}

/* HIGHLIGHTS */
.about-highlights {
  display: flex;
  gap: 35px;
  margin: 30px 0;
}

.about-highlights div h4 {
  font-size: 28px;
  color: #0ea5e9;
  margin-bottom: 4px;
}

.about-highlights div span {
  font-size: 13px;
  color: #64748b;
}

.about-image {
  position: relative;
  max-width: 420px;
  margin-left: auto;
}

/* Image */
.about-image img {
  width: 100%;
  border-radius: 18px;
  position: relative;
  z-index: 2;
}

/* Offset background block */
.about-image::before {
  content: "";
  position: absolute;
  width: 94%;
  height: 94%;
  right: -22px;
  bottom: -22px;
  background: repeating-linear-gradient(
    45deg,
    rgba(15, 23, 42, 0.05),
    rgba(15, 23, 42, 0.05) 2px,
    transparent 2px,
    transparent 14px
  );
  border-radius: 30px;
  z-index: 1;
}

/* Subtle pattern overlay */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      170deg,
      rgba(15, 23, 42, 0.08) 25%,
      transparent 25%
    ),
    linear-gradient(300deg, rgba(15, 23, 42, 0.08) 25%, transparent 25%);
  background-size: 24px 24px;
  border-radius: 18px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.35;
}

@media (max-width: 900px) {
  .about-image {
    max-width: 100%;
    overflow: hidden; /* IMPORTANT */
  }

  .about-image::before {
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    border-radius: 20px;
  }

  .about-image::after {
    display: none; /* removes extra pattern on mobile */
  }
}

/* ---------- HAMBURGER ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #020617;
  display: block;
  margin: 5px 0;
}

/* ---------- MOBILE SIDEBAR ---------- */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #020617;
  color: #fff;
  padding: 30px 20px;
  z-index: 1200;
  transition: 0.4s ease;
}

.mobile-sidebar.active {
  right: 0;
}

.close-sidebar {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  list-style: none;
  padding: 0;
  margin-top: 60px;
}

.mobile-menu li {
  margin-bottom: 22px;
}

.mobile-menu a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

/* Mobile Language */
.mobile-lang {
  margin-top: 40px;
}

.mobile-lang p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #94a3b8;
}

.mobile-lang button {
  background: #1e293b;
  border: none;
  color: #fff;
  padding: 8px 14px;
  margin: 5px 5px 0 0;
  border-radius: 6px;
  cursor: pointer;
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1100;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .nav-right {
    display: none;
  }

  .bottom-bar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .top-bar .lang-dropdown {
    display: none;
  }

  .top-bar .btn-login {
    display: none;
  }

  .top-bar .user-dropdown {
    display: none;
  }
}

.services {
  background: #ffffff;
}

.services-subtitle {
  max-width: 620px;
  margin: 10px auto 50px;
  font-size: 16px;
  color: #475569;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* CARD */
.service-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 18px;
  margin: 18px 20px 8px;
  color: #020617;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 20px 22px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .service-card img {
    height: 160px;
  }

  .services-subtitle {
    padding: 0 10px;
  }
}

/* LIGHT CTA */
.light-cta {
  background: #0c1219; /* light clean background */
}

/* GRID */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* FORM */
.cta-form h2 {
  font-size: 32px;
  margin-bottom: 8px;
  color: #f3f3f3;
}

.cta-form p {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #38bdf8;
}

/* BUTTON */
.full-btn {
  width: 100%;
  margin-top: 10px;
}

.full-btn:hover {
  transform: translateY(-3px);
}

/* MAP */
.cta-map {
  width: 100%;
  min-height: 380px;
  /* border-radius: 18px; */
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  margin-top: 14%;
}

.cta-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-map,
  .cta-map iframe {
    min-height: 300px;
  }

  .cta-form h2 {
    font-size: 26px;
  }
}

.period-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  font-weight: 600;
  cursor: pointer;
  margin: 5px;
}

.period-btn:hover {
  transform: translateY(-3px);
}

.rashi-icon{
    text-align:center;
    padding:15px;
    border-radius:14px;
    background:#312e81;
    cursor:pointer;
    transition:all .3s ease;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.rashi-icon img{
    width:50px;
    height:50px;
    margin-bottom:8px;
}

.rashi-icon span{
    display:block;
    font-weight:600;
    font-size:14px;
}

.rashi-icon:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(0,0,0,.15);
}

/* FIXED TWO-LEVEL HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.top-bar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.bottom-bar {
  background: #fed859;
}

.div-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blogs {
  background: #f8fafc;
}

.blogs-header {
  /* display: flex;
    justify-content: space-between;
    align-items: center; */
  text-align: center;
  margin-bottom: 40px;
}

.blogs-header h2 {
  font-size: 32px;
  color: #020617;
}

/* Carousel */
.blog-carousel-wrapper {
  position: relative;
}

.blog-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.blog-carousel::-webkit-scrollbar {
  display: none;
}

/* Blog Card */
.blog-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-date {
  font-size: 12px;
  color: #64748b;
}

.blog-content h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #020617;
}

.blog-content p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 24px;
  z-index: 5;
}

.carousel-btn.prev {
  left: -20px;
}

.carousel-btn.next {
  right: -20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .blogs-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .carousel-btn {
    display: none; /* swipe on mobile */
  }
}

/* FORCE NUMEROLOGY CARD STYLES */
.numerology-card {
  border-radius: 18px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border: none !important;
}

.numerology-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
  background-color: #fed859;
}

.tool-icon {
  font-size: 42px !important;
  background: #f1f5f9 !important;
  width: 72px !important;
  height: 72px !important;
  margin: auto !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Modern buttons */
.btn-modern {
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Logo image */
.auth-logo {
  width: 200px;
  height: 80px;
}

.cta-visitors {
    width: 100%;
    padding: 70px 20px;
    background: linear-gradient(135deg, #e4bf0963, #655c06);
}

.visitor-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.stat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: 0.4s ease;
}

.circle:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.25);
}

.stat-circle p {
    margin-top: 15px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}