/* =====================================================
   ROOT VARIABLES
===================================================== */
:root{
  --dark:#0b1c39;
  --dark-soft:#132a4a;
  --gold:#f5c542;
  --gold-soft:#f7d774;
  --light-bg:#f8fafc;
  --text:#333;
}

/* =====================================================
   BASE
===================================================== */
body{
  margin:0;
  font-family:"Segoe UI",system-ui,sans-serif;
  color:var(--text);
  background:#fff;
}

img{max-width:100%;height:auto}


/* =====================================================
   FIXED TOPBAR + FIXED LOGO MENU
===================================================== */

.pk-page-content{
    padding: 60px 0;
    min-height: 60vh;
    background: #fff;
}

/* TOPBAR FIXED */
.pk-topbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1002;
}

/* LOGO + MENU FIXED BELOW TOPBAR */
.pk-header-inner{
  position:fixed;
  top:30px; /* topbar height */
  left:0;
  width:100%;
  background:#fff;
  z-index:1001;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

/* BODY OFFSET (TOPBAR + HEADER HEIGHT) */
body{
  padding-top:54px; /* 30px topbar + ~94px header */
}

/* MOBILE ADJUSTMENT */
@media(max-width:768px){
  .pk-header-inner{
    top:28px;
  }

  body{
    padding-top:36px;
  }
}
/* =====================================================
   MOBILE TOPBAR FIX (TEXT SMALL + HEIGHT CONTROL)
===================================================== */
@media(max-width:768px){

  .pk-topbar{
    font-size:11px;
    line-height:1.4;
    padding:5px 8px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* Header position adjustment */
  .pk-header-inner{
    top:26px;
  }

  /* Body offset fix */
  body{
    padding-top:30px;
  }
}

/* =====================================================
   HEADER
===================================================== */
.pk-header{background:#fff;position:relative;z-index:1000}

.pk-topbar{
  background:var(--dark);
  color:#fff;
  font-size:13px;
  padding:6px 0;
  text-align:center;
}

.pk-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 20px;
  gap:20px;
}

/* =====================================================
   LOGO
===================================================== */
.pk-logo img{max-height:90px}
@media(max-width:768px){.pk-logo img{max-height:62px}}

/* =====================================================
   MENU BASE
===================================================== */
.pk-menu{list-style:none;margin:0;padding:0}
.pk-menu li{position:relative}
.pk-menu a{text-decoration:none;display:block}

/* =====================================================
   MENU TOGGLE
===================================================== */
.pk-menu-toggle{
  font-size:26px;
  cursor:pointer;
  display:none;
}

/* =====================================================
   DESKTOP MENU (PREMIUM)
===================================================== */
@media(min-width:992px){

  .pk-menu-toggle{display:none}

  .pk-menu-wrapper{position:static;background:transparent}

  .pk-menu{
    display:flex;
    align-items:center;
  }

  .pk-menu>li{margin:0 14px}

  .pk-menu>li>a{
    font-weight:600;
    color:#000;
    padding:8px 0;
    position:relative;
    transition:.3s;
  }

  /* underline hover */
  .pk-menu>li>a::before{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:linear-gradient(90deg,var(--gold),var(--gold-soft));
    transition:.3s;
  }

  .pk-menu>li:hover>a::before{width:100%}

  .pk-menu>li.has-sub>a::after{
    content:"\f107";
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    font-size:12px;
    margin-left:6px;
  }

  /* dropdown */
  .pk-menu .submenu{
    position:absolute;
	list-style:none;   /* ?? DOT REMOVE */
    top:100%;
    left:0;
    min-width:220px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    padding:8px 0;
    opacity:0;
    transform:translateY(10px);
    pointer-events:none;
    transition:.3s;
    z-index:9999;
  }

  .pk-menu li:hover>.submenu{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }

  .pk-menu .submenu a{
    padding:10px 16px;
    font-size:14px;
    color:#333;
    transition:.3s;
  }

  .pk-menu .submenu a:hover{
    background:#f8fafc;
    padding-left:22px;
  }

  .pk-menu .lang-item{margin-left:auto}
}

/* =====================================================
   MOBILE MENU (FINAL)
===================================================== */
@media(max-width:991px){

  .pk-menu-toggle{display:block}

  body.menu-open{overflow:hidden}

  /* PANEL */
  .pk-menu-wrapper{
    position:fixed;
    top:0;
    right:-100%;
    width:280px;
    height:100vh;
    background:var(--dark);
    z-index:1001;
    overflow-y:auto;
    transition:right .35s ease;
    padding-top:90px;
  }

  .pk-menu-wrapper.open{right:0}

  /* CLOSE ICON */
  .pk-menu-close{
    position:absolute;
    top:18px;
    right:18px;
    font-size:28px;
    color:#fff;
    cursor:pointer;
    z-index:1002;
  }

  /* MENU */
  .pk-menu{
    display:flex;
    flex-direction:column;
    padding:0 20px;
  }

  .pk-menu>li{
    border-bottom:1px solid rgba(255,255,255,.2);
  }

  .pk-menu>li>a{
    color:#fff;
    padding:14px 10px;
    font-size:16px;
    font-weight:600;
  }

  /* SUBMENU */
  .pk-menu .submenu{
    display:none;
    background:var(--dark-soft);
    padding-left:14px;
  }

  .pk-menu li.open>.submenu{display:block}

  .pk-menu .submenu a{
    color:#fff;
    font-size:14px;
    padding:10px 0;
    font-weight:500;
  }

  /* ARROW */
  .pk-menu li.has-sub>a::after{
    content:"\25BE";
    float:right;
    color:var(--gold);
    transition:.3s;
  }

  .pk-menu li.open>a::after{transform:rotate(180deg)}

  /* LANGUAGE (TOP) */
  .pk-menu .lang-item{
    order:-1000;
    background:var(--dark-soft);
    border-radius:10px;
    margin-bottom:14px;
    padding:12px;
  }

  #lang-menu-slot select{
    width:100%;
    background:var(--dark);
    color:#fff;
    border:1px solid rgba(255,255,255,.35);
    padding:12px;
    font-weight:600;
    border-radius:8px;
  }

  /* OVERLAY */
  .pk-menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:1000;
  }

  .pk-menu-overlay.active{
    opacity:1;
    visibility:visible;
  }
}

/* =====================================================
   DESKTOP SAFETY FIX
===================================================== */
@media(min-width:992px){
  .pk-menu-close{display:none!important}
}

/* =====================================================
   HERO (FINAL – CLEAN & PREMIUM)
===================================================== */

#heroCarousel{
  position:relative;
  margin-top:124px; /* fixed header offset */
}

#heroCarousel .carousel-item{
  position:relative;
}

#heroCarousel .carousel-item img{
  width:100%;
  height:420px;
  object-fit:cover;
}

/* Dark overlay */
#heroCarousel .carousel-item::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(11,28,57,.55),
    rgba(11,28,57,.85)
  );
  z-index:1;
}

/* Caption box */
#heroCarousel .carousel-caption{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:2;

  background:rgba(255,255,255,.96);
  padding:38px 42px;
  border-radius:26px;
  max-width:680px;
  width:90%;
  text-align:center;

  box-shadow:0 20px 50px rgba(0,0,0,.25);
}

/* Heading */
#heroCarousel .carousel-caption h1,
#heroCarousel .carousel-caption h2{
  font-size:20px;
  line-height:1.3;
  font-weight:800;
  color:#0b1c39;
  margin-bottom:14px;
}

/* Paragraph */
#heroCarousel .carousel-caption p{
  font-size:16px;
  line-height:1.7;
  color:#444;
  margin-bottom:18px;
}

/* Read More button */
#heroCarousel .carousel-caption .btn,
#heroCarousel .carousel-caption a{
  display:inline-block;
  padding:12px 28px;
  border-radius:30px;
  background:linear-gradient(135deg,#f5c542,#f7d774);
  color:#0b1c39;
  font-weight:700;
  text-decoration:none;
  transition:.3s;
}

#heroCarousel .carousel-caption .btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(245,197,66,.45);
}

/* =====================================================
   MOBILE
===================================================== */
@media(max-width:768px){

  #heroCarousel{
    margin-top:106px;
  }

  #heroCarousel .carousel-item img{
    height:360px;
  }

  #heroCarousel .carousel-caption{
    padding:26px 24px;
    border-radius:20px;
  }

  #heroCarousel .carousel-caption h1,
  #heroCarousel .carousel-caption h2{
    font-size:22px;
  }

  #heroCarousel .carousel-caption p{
    font-size:14px;
  }
}

/* =====================================================
   ASTRO HOME SERVICES – FINAL COMPLETE CSS
===================================================== */

/* SECTION */
.astro-services{
  background:transparent;
  padding:50px 0;
  text-align:center;
}

/* WRAPPER */
.astro-slider-wrapper{
  position:relative;
  max-width:1200px;
  margin:auto;
  padding:0 45px;
}

/* SLIDER */
.astro-slider{
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding:8px 0 14px;
}
.astro-slider::-webkit-scrollbar{
  display:none;
}

/* CARD */
.astro-card{
  min-width:220px;
  background:#fff;
  border-radius:18px;
  padding:22px 16px;
  text-align:center;
  text-decoration:none !important;
  color:inherit;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition:transform .35s ease, box-shadow .35s ease;
}

.astro-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}

/* ICON */
.astro-icon{
  width:60px;
  height:60px;
  border-radius:50%;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 10px;
}

.astro-icon i{
  font-size:28px;
  color:#f5c542;
}

/* TITLE */
.astro-card h4{
  font-size:16px;
  font-weight:700;
  color:#0b1c39;
  margin-bottom:6px;
}

/* DESCRIPTION */
.astro-card p{
  font-size:13px;
  color:#555;
  line-height:1.5;
  margin-bottom:6px;
}

/* READ MORE */
.astro-read{
  display:inline-block;
  margin-top:4px;
  font-size:13px;
  font-weight:600;
  color:#0b1c39;
}

/* REMOVE ALL DEFAULT LINK EFFECTS */
.astro-card *,
.astro-card:hover *{
  text-decoration:none !important;
}

/* NAV ARROWS */
.astro-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border-radius:50%;
  border:1.5px solid #0b1c39;
  background:#fff;
  color:#0b1c39;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  user-select:none;
  z-index:10;
  transition:all .25s ease;
}

.astro-nav.prev{ left:0 }
.astro-nav.next{ right:0 }

.astro-nav:hover{
  background:#0b1c39;
  color:#fff;
}

/* SAFETY – NO FORM / POSTBACK ISSUES */
form .astro-nav{
  appearance:none;
  -webkit-appearance:none;
}
.astro-nav:focus{
  outline:none;
}

/* MOBILE */
@media(max-width:768px){
  .astro-slider-wrapper{
    padding:0 15px;
  }

  .astro-card{
    min-width:200px;
    padding:20px 14px;
  }

  .astro-icon{
    width:54px;
    height:54px;
  }

  .astro-icon i{
    font-size:24px;
  }

  .astro-nav{
    width:32px;
    height:32px;
    font-size:16px;
  }
}


/* =====================================================
   HOROSCOPE
===================================================== */
.pk-horoscope{background:var(--light-bg);padding:70px 0}
.rashi-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}
.rashi-tab{
  padding:10px 22px;
  border-radius:30px;
  border:none;
  background:#fff;
  font-weight:600;
}
.rashi-tab.active{
  background:linear-gradient(135deg,var(--gold),var(--gold-soft));
}

/* =====================================================
   HOROSCOPE CONTENT FIX
===================================================== */
.rashi-pane{
  display:none;
  margin-top:25px;
}

.rashi-pane.active{
  display:block;
}

/* ================= RASHI CONTENT UI ================= */

.rashi-pane {
  background: #fffbe6; /* light yellow */
  border-radius: 16px;
  padding: 25px 28px;
  margin-top: 20px;
  display: none;
}

.rashi-pane.active {
  display: block;
}

/* Rashi name heading */
.rashi-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #8b5a00;
  text-align: center;
}

/* Horoscope text */
.rashi-content-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: #333;
}

/* Mobile spacing fix */
@media (max-width: 768px) {
  .rashi-pane {
    padding: 18px;
  }

  .rashi-title {
    font-size: 19px;
  }
}
.rashi-content-box{
    background: #fff7cc; /* light yellow */
    padding: 18px 20px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.7;
}

.rashi-title{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #7a4a00;
}


/* =====================================================
   FOOTER
===================================================== */
.pk-footer{
  background:var(--dark);
  color:#fff;
  padding:60px 0 20px;
}
.pk-footer a{color:var(--gold);text-decoration:none}
.footer-bottom{
  text-align:center;
  margin-top:30px;
  border-top:1px solid rgba(255,255,255,.15);
  padding-top:15px;
  font-size:13px;
}
/* =====================================================
   FINAL HEADER GAP OVERRIDE (DO NOT REMOVE ANYTHING ABOVE)
   This block FORCEFULLY fixes content overlap
===================================================== */

/* --- DESKTOP --- */
html body form#ctl01 .pk-page-content{
    margin-top: 40px !important;
}

/* --- TABLET & MOBILE --- */
@media (max-width: 991px){
    html body form#ctl01 .pk-page-content{
        margin-top: 30px !important;
    }
}

/* --- EXTRA SAFETY: if hero exists --- */
html body form#ctl01 #heroCarousel{
    margin-top: 0 !important;
}

/* --- PREVENT HEADER HEIGHT COLLAPSE --- */
.pk-header{
    height: auto !important;
}

/* --- ENSURE HEADER STACKING ORDER --- */
.pk-topbar{
    z-index: 2002 !important;
}
.pk-header-inner{
    z-index: 2001 !important;
}
.pk-page-content{
    position: relative;
    z-index: 1;
}
/* ================= FIX EXTRA GAP AFTER HOROSCOPE ================= */
/* =====================================================
   FIX HOROSCOPE ? HOME CONTENT GAP (FINAL)
===================================================== */

/* Horoscope section spacing control */
.pk-horoscope {
    padding-top: 50px !important;
    padding-bottom: 25px !important;
}

/* Remove unnecessary paragraph gap */
.pk-horoscope .rashi-pane p {
    margin-bottom: 0 !important;
    line-height: 1.7;
}

/* Reduce excessive Bootstrap padding */
.pk-page-content .home-content {
    padding-top: 35px !important;
    padding-bottom: 50px !important;
}

/* Slight visual separation without large gap */
.pk-page-content {
    margin-top: 0 !important;
}

/* Optional: soft divider feel */
.pk-page-content::before {
    content: "";
    display: block;
    height: 1px;
    background: rgba(0,0,0,0.04);
    margin-bottom: 30px;
}
