
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 60px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

/* Buttons: uniform padding and font */
/* Background color for top section */
.custom-topbar {
  background-color: #000; /* Pure black */
  color: white	;
}

.btn-sm {
  font-size: 13px;
  padding: 6px 12px;
  white-space: nowrap;
}

/* WhatsApp button styling */
.btn-success {
  background-color: #25D366;
  border-color: #25D366;
}
.btn-success:hover {
  background-color: #1da851;
  border-color: #1da851;
}

/* Logo image */
img[alt="Logo"],
.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  margin: auto;
}

/* Text line style */
.text-line {
  font-size: 14px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  /* Stack buttons and center all */
  .btn-sm {
    width: 48%;
    padding: 6px 8px;
    text-align: center;
  }

  .row.align-items-center > div {
    text-align: center !important;
    margin-bottom: 8px;
  }

  .text-line {
    text-align: center !important;
    font-size: 13px;
  }

  .logo-img {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Scrolling Text Marquee Effect */
.scrolling-text-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 14s linear infinite;
  font-size: 16px;
  color: #fff;
  font-weight:700;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/*** Topbar Start ***/ 

/* Green Button */
.btn-green {
  background-color: #28a745;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  color: white;
  border: none;
  margin-top: 5px;
  font-size: clamp(12px, 2.5vw, 16px); /* Responsive font */
  line-height: 1.4;
  overflow: hidden;
}

.btn-green:hover {
  background-color: #218838;
  box-shadow: 0 0 30px #218838;
}
header .col-md-6:last-child {
  background-color: #fda417; /* Only affects the right column */
}

/* Yellow Button */
.btn-yellow {
  background-color: #8b0000;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  color: #fff;
  border: none;
  font-size: clamp(12px, 2.5vw, 16px);
  line-height: 1.4;
  overflow: hidden;
}

.btn-yellow:hover {
  background-color: #e0a800;
  box-shadow: 0 0 30px #e0a800;
}
.responsive-text {
  display: inline-block;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid white;
  animation: typing 5s steps(50, end) infinite, blink 0.75s step-end infinite;
}

@keyframes typing {
  0% { width: 0 }
  50% { width: 100% }
  100% { width: 0 }
}

@keyframes blink {
  50% { border-color: transparent }
}
/* Marquee Button Container */
.marquee-btn {
  height: 2.5rem;
  padding: 0;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  white-space: nowrap;
}


/* Optional: More control over very small screens */
@media (max-width: 400px) {
  .btn-green,
  .btn-yellow,
  .marquee-text {
    font-size: 12px;
  }
}


/*** Nav link ***/
.navbar {
  position: sticky;
  top: 0;
  z-index: 1020; /* Ensure it stays above other content */
}

/* Base navbar adjustments */
.navbar {
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 50px;
}

/* Astrologer name styling */
.astrologer-name-box {
  background-color: #fff;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 2px;
  white-space: nowrap;
  max-width: 220px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Logo spacing */
.navbar-brand {
  margin-right: 20px;
}

/* Nav links - no hover animation */
.navbar-nav .nav-link {
  margin: 0 12px;
  font-size: 16px;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Active link underline */
.navbar-nav .nav-link.active {
  text-decoration: underline;
  color: #fff;
}

/* Full-height hover background */
.navbar-nav .nav-link:hover {
  background-color: orange;
  color: #fff;
}

/* Dropdown nav-item fills full height */
.navbar-nav .nav-item.dropdown {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Dropdown toggle styling (same as other links) */
.navbar-nav .nav-item.dropdown .nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 6px;
  padding: 8px 16px;
  color: #fff;
}

/* Hover effect for dropdown toggle */
.navbar-nav .nav-item.dropdown .nav-link:hover {
  background-color: orange;
  color: #fff;
}

/* Dropdown menu styles */
.navbar-nav .dropdown-menu {
  background-color: #222;
  border: none;
  padding: 0;
}

.navbar-nav .dropdown-menu .dropdown-item {
  color: #fff;
  padding: 10px 20px;
}

/* Dropdown item hover */
.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: orange;
  color: #fff;
}
.navbar-nav .dropdown-menu {
  background-color: #222;
  border: none;
  padding: 0;
  top: 100% !important;       /* Always appear below the parent */
  bottom: auto !important;    /* Prevent upward shift */
  left: 0;
  right: auto;
  transform: none !important; /* Prevent Bootstrap or JS auto positioning */
  position: absolute !important; /* Ensure proper placement */
  z-index: 9999;
}

/* Mobile layout adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    justify-content-start !important;
  }

  .navbar-nav {
    align-items: flex-start;
    padding-left: 1rem;
  }

  .navbar-nav .nav-link {
    margin: 8px 0;
  }

  .navbar-brand {
    margin-right: auto;
  }
}

/* Dropdown open on hover (desktop only) */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/*** Nav link end ***/

/*** Carousel Hero Header Start ***/

.banner-slide-img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
}

/* Adjust height for smaller screens */
@media (max-width: 768px) {
  .banner-slide-img {
    height: 40vh;
  }
}

.header-carousel .header-carousel-item {
    height: 700px;
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  width: 48px;
  height: 48px;
  background-color: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all 0.3s ease-in-out;
  z-index: 10;
}

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

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 60% 60%;
  filter: brightness(10);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 36px;
    height: 36px;
    border-width: 1.5px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 50% 50%;
  }
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/

/*** Features Start ***/

.feature {
    background: var(--bs-light); /* Keep light background or adjust as needed */
}

.feature .feature-item {
    display: flex;
    border-radius: 10px;
}

.feature .feature-item .feature-icon span {
    width: 90px; 
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Icon color - white for contrast */
    background: black; /* Initial black background */
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

@keyframes icon-animat {
  0% {
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    background-color: black;  /* Start with black */
    color: white;
  }
  50% {
    border-radius: 50% 50% 45% 55% / 50% 60% 40% 50%;
    background-color: #8B0000; /* Dark red */
    color: white;
  }
  100% {
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    background-color: white;  /* End with white */
    color: black;  /* Switch to black for contrast on white */
  }
}


/*** Features End ***/

/*** About Start ***/
:root {
  --bs-primary: #b30000; /* Hindu Red */
  --bs-secondary: #ffcc00; /* Hindu Yellow / Saffron */
  --bs-light: #fff8e7; /* Cream tone background */
  --bs-dark: #1c1b1b;
}

body {
  background: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
}
.text-d{
	font-family: Arial, sans-serif;
	text-align:justify;
	color:#000;
	font-weight:700;
}

/* HEADING */
.section-title {
  color: var(--bs-primary);
  background: var(--bs-secondary);
  display: inline-block;
  padding: 5px 20px;
  border-radius: 30px;
}

/* ABOUT ITEMS */
.about .about-item .about-item-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  border-radius: 10px;
  background: var(--bs-light);
  transition: 0.5s;
  padding: 20px;
  border: 1px solid var(--bs-secondary);
}

.about .about-item .about-item-inner .about-icon {
  width: 70px;
  height: 70px;
  background: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 15px;
}

.about .about-item .about-item-inner h5 {
  color: var(--bs-primary);
  font-weight: bold;
  margin-bottom: 10px;
}

.about .about-item .about-item-inner p,
.about .about-item .about-item-inner i {
  color: #000 !important;
  font-size: 15px;
}

/* BUTTONS */
.btn-primary {
  background-color: var(--bs-primary);
  color: #fff;
  border: none;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--bs-secondary);
  color: var(--bs-primary);
  font-weight: 600;
}

.btn-secondary {
  background-color:#000;
  color: var(--bs-dark);
  border: none;
  transition: 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--bs-primary);
  color: #fff;
  font-weight: 600;
}
.highlight-box {
  position: relative;
  border-radius: 10px;
  padding: 20px;
  background: transparent;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional soft shadow for box effect */
  border: 1px solid #ccc; /* Fallback static border */
}

.highlight-box p {
  color: #000000; /* Dark black text */
  margin: 10px 0;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}


.highlight-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  stroke: var(--bs-primary);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 10, 5; /* Dash pattern: 10px line, 5px gap */
  animation: dashMove 2s linear infinite;
  pointer-events: none; /* allows clicks through */
  border-radius: 20px;
}

@keyframes dashMove {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -30; } /* Moves the dashes around */
}

.highlight-box p {
  position: relative;
  z-index: 1;
}

/* OFFER BOX */
.offer-box {
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid transparent;
  border-radius: 10px; /* Less rounding for square-like shape */
  padding: 20px 30px; /* Bigger padding */
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 280px;
  text-align: center;
}

/* Animated Border */
.offer-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(120deg, #ff0000, #ffa500, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
  background-size: 300% 300%;
  animation: borderMove 4s linear infinite;
  z-index: -1;
}

/* Inner white background */
.offer-box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 7px;
  z-index: -1;
}

/* Animated border movement */
@keyframes borderMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Offer Link Text */
.offer-link {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}


/* RESPONSIVE */
@media (max-width: 767px) {
  .about .row.flex-column-reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .about .about-item .about-item-inner {
    text-align: left;
    align-items: flex-start;
  }

  .about .about-item .about-icon {
    margin: 0 auto 15px 0;
  }
}
/*** About End ***/


/*** Fact Counter Start ***/
.bg-deep-green {
  background-color: #014421;
}
.bg-skyblue-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(65, 105, 225, 0.3); /* Sky Blue with 30% opacity */
  z-index: 1;
}

.bg-skyblue-overlay > .container {
  position: relative;
  z-index: 2;
}

.btn-deep-green {
  background-color: #014421;
  border: none;
}
.btn-deep-green:hover {
  background-color: #016733;
}
input.form-control,
textarea.form-control {
  background-color: #111;
  color: #000;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
  color: #ccc;
}

/*** Fact Counter End ***/

/*** Services Start ***/
.service .service-item {
  background: var(--bs-white);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: 0.5s;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  height: 100%;
}

.service .service-item img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.service .service-item h5 {
  font-size: 18px;
  margin-top: 15px;
  color: #000;
}

.service .btn-wrap {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.service .btn-call,
.service .btn-whatsapp {
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 14px;
  border: none;
  transition: 0.3s ease;
  color: #fff;
  white-space: nowrap;
}

.service .btn-call {
  background-color: #000;
}

.service .btn-whatsapp {
  background-color: #25D366;
}

@media (max-width: 768px) {
  .service .service-item {
    margin-bottom: 20px;
  }
}
/* Animated Border Fix */
.service .service-item {
  position: relative;
  z-index: 1;
  padding: 10px;
  border-radius: 12px;
  background: var(--bs-white); /* Keep your white or desired background */
  overflow: hidden;
}

.service .service-item::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(270deg, #ff0000, #ff9900, #33cc33, #3399ff, #cc33ff, #ff0000);
  background-size: 1200% 1200%;
  border-radius: 14px;
  animation: borderAnimation 8s linear infinite;
  z-index: 0;
}

.service .service-item > * {
  position: relative;
  z-index: 2; /* Keeps your content above the animated border */
}

/* Animation Keyframes */
@keyframes borderAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.service .service-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: #000;
    border-radius: 10px;
    opacity: 0;
    z-index: 0;
    transition: 0.5s;
}

.service .service-item:hover::after {
    opacity: 0.15; /* Adjust for stronger or lighter overlay */
}

.service .service-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.service .service-item h5 {
    margin-top: 15px;
    font-weight: 600;
    color: #000;
    z-index: 1;
    position: relative;
}

.service .btn-wrap {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    z-index: 1;
    position: relative;
}

.service .btn-call,
.service .btn-whatsapp {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
}

.service .btn-call {
    background: #ffc107;
    color: #000;
}

.service .btn-whatsapp {
    background: #25d366;
    color: #fff;
}

/*** Service End ***/

/*** Aghori Service  Start ***/
.bg-custom-dark {
  background-color: #FDA417; /* Replace with your desired dark color */
}
.categories .categories-item {
    position: relative;
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
    transition: 0.5s;
}
@keyframes borderGlow {
  0% { box-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700; }
  50% { box-shadow: 0 0 15px #FFD700, 0 0 30px #FFD700; }
  100% { box-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700; }
}

.categories .categories-item:hover {
  border: 1px solid #FFD700; /* Dark Yellow border */
  animation: borderGlow 2s linear infinite;
}

.categories .categories-item:hover {
    border: 1px solid var(--bs-primary);
}

.categories .categories-item .categories-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.categories .categories-item .categories-item-inner:hover {
    box-shadow: 0 0 50px rgba(234, 0, 30, .3);
}

.categories .categories-item-inner .categories-img {
    background: var(--bs-light);
}

.categories .categories-item-inner .categories-content {
    border-top: 4px solid var(--bs-white);
    text-align: center;
    background: #000000;
}

.categories .categories-item-inner .categories-review {
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-carousel .owl-stage-outer {
    margin-top: 65px;
    margin-right: -1px;
}

.categories-carousel .owl-nav .owl-prev,
.categories-carousel .owl-nav .owl-next {
    position: absolute;
    top: -65px;
    padding: 10px 35px;
    color: var(--bs-white);
    background:#000000;
    border-radius: 50px;
    transition: 0.5s;
}

.categories-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.categories-carousel .owl-nav .owl-next {
    right: 0;
}

.categories-carousel .owl-nav .owl-prev:hover,
.categories-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
@keyframes starGlow {
  0% { transform: scale(1); color: #ffc107; opacity: 1; }
  50% { transform: scale(1.2); color: #ffdd33; opacity: 0.8; }
  100% { transform: scale(1); color: #ffc107; opacity: 1; }
}

.animate-stars i {
  animation: starGlow 1.5s linear infinite;
}
.animated-star {
  animation: starGlow 1.5s linear infinite;
}
/*** Aghori Service End ***/


/*** Process Start ***/
.bg-color{
	background-color:#000000;
}
.steps {
  background: #000000; /* white background */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.overlay-card-left,
.overlay-card-right {
  background-color: #ffffff; /* solid white */
  backdrop-filter: none; /* remove blur */
  border: 1px solid rgba(0, 0, 0, 0.1); /* light grey border */
  color: #000; /* black text */
}
.object-fit-cover {
  object-fit: cover;
}

.accordion-button,
.accordion-body,
.accordion-item {
  color: #000 !important; /* force black text */
  background-color: #ffffff !important; /* white background */
  border: 1px solid #ddd; /* light border */
}

.accordion-button:not(.collapsed) {
  background-color: #fff8dc !important; /* light yellow on open */
}

.accordion-button:focus {
  box-shadow: none;
}

/* Accordion animation */
.accordion-collapse {
  animation: fadeSlide 0.4s ease-in-out;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*** Process End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-right: -1px;
}

.testimonial .testimonial-item {
    position: relative;
    margin-top: 35px;
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
}

.testimonial .testimonial-item .testimonial-quote {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 0;
    right: 25px;
    transform: translateY(-50%);
    border-radius: 70px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    align-items: center;
    background: var(--bs-light);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.testimonial .testimonial-item .testimonial-inner img {
    width: 100px; 
    height: 100px; 
    border-radius: 100px;
    border: 4px solid var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact .contact-add-item {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
}

.contact .contact-add-item .contact-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: var(--bs-primary);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Contact End ***/

/*** certificate start ***/
.text-dark-color {
  color: #000;
  font-weight: 750;
  font-size: 22px;  /* default for mobile */
}

.text-muted-color {
  color: #000;
  font-weight: 650;
  font-size: 16px;  /* default for mobile */
}

/* Tablet screens */
@media (min-width: 576px) {
  .text-dark-color {
    font-size: 26px;
  }

  .text-muted-color {
    font-size: 18px;
  }
}

/* Desktop screens */
@media (min-width: 992px) {
  .text-dark-color {
    font-size: 28px;
  }

  .text-muted-color {
    font-size: 20px;
  }
}

.bg-yellow-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(226, 169, 0, 0.6); /* dark yellow overlay */
  z-index: 0;
}

.certificate-section .container {
  position: relative;
  z-index: 1; /* Keep content above overlay */
}



/*** certificate end**/

/*** Footer Start ***/
.footer {
    background-color: #8B0000; /* Hindu astrology red */
    padding-top: 2rem; /* reduced from 4rem */
    color: white;
    margin-top: 0; /* ensure no extra top margin */
}

.footer h4 {
    font-size: 1.25rem;
    margin-top: 0; /* ensure no margin on top */
}
.logo-flicker {
  max-width: 120px;
  height: auto;
  animation: flicker 1.5s infinite;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 15px #ffa500);
  }
  20%, 24%, 55% {
    opacity: 0.3;
    filter: none;
  }
}


.footer p,
.footer a {
    font-size: 0.95rem;
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
    margin-bottom: 0; /* remove extra space at bottom */
}

.footer a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

/* Footer Buttons Inside Lists */
.footer .btn {
    font-size: 0.95rem;
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

/* Hover Effect for Social Buttons */
.footer .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}

/* Social Media Buttons */
.footer-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* Square Style Buttons */
.btn-square {
    width: 40px;
    height: 40px;
    padding: 0;
    text-align: center;
    line-height: 40px;
    border-radius: 0;
}

/* Align text inside button left for contact buttons */
.footer .btn.text-start {
    text-align: left;
}

/* -----------------------------------
   Copyright Footer
----------------------------------- */

.copyright {
    background-color: rgb(226, 169, 0);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.copyright .row {
    justify-content: center;
    text-align: center;
}

/* -----------------------------------
   Responsive Styles
----------------------------------- */

@media (max-width: 767.98px) {
    .footer h2 {
        font-size: 1.5rem;
    }

    .footer-btn {
        justify-content: center;
    }

    .btn-square {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }

    .footer .btn {
        font-size: 0.9rem;
    }
}
@media (max-width: 576px) {
  .container-fluid p a {
    display: block;
    margin-bottom: 5px;
  }
}
/*** Service Keyword ***/
.keyword-link {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.keyword-link:hover {
  color: #222;
  text-shadow: 0 0 8px #fff;
  font-weight: bold;
}

/*** New animation ***/
.rotate-circle {
  position: relative;
  display: inline-block;
}

.rotate-circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: rgba(255, 153, 0, 0.2); /* Light orange glow */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 4s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/*** bottom call button ***/
@media (max-width: 767.98px) {
  .mobile-fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #8B0000; /* Same as btn-success */
  }
.btn-success-c {
	background-color: #8B0000;
}
  .mobile-fixed-buttons a {
    height: 60px;
    font-size: 16px;
    border-radius: 0;
  }

  .mobile-bottom-spacer {
    height: 60px; /* Same height as the fixed buttons */
    width: 100%;
  }
}

/* Article Page */
 .astro-article-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background-color: #0b1c2c;
        color: #ffffff;
    }
    .astro-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px;
        background-color: #0e2438;
    }
    .astro-sidebar h3 {
        border-bottom: 1px solid #555;
        padding-bottom: 10px;
    }
    .astro-sidebar ul {
        list-style: none;
        padding: 0;
    }
    .astro-sidebar ul li {
        margin: 10px 0;
    }
    .astro-sidebar ul li::before {
        content: "\25B6 ";
        color: orange;
    }
    .astro-content {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px;
    }
    .astro-form-section {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px;
        background-color: #0e2438;
    }
    .astro-form-section input, .astro-form-section textarea {
        width: 100%;
        margin-bottom: 10px;
        padding: 8px;
        border: none;
        border-radius: 4px;
    }
	.astro-responsive-text{
		text-align:justify;
	}
    .astro-form-section button {
        width: 100%;
        padding: 10px;
        background-color: orange;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }
    .astro-content img {
        width: 100%;
        max-width: 300px;
        display: block;
    }
	  .astro-image-text-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 20px;
    }
    .astro-image-text-wrap img {
        max-width: 100%;
        height: auto;
        flex: 1 1 40%;
        object-fit: cover;
    }
    .astro-image-text-wrap .astro-image-description {
        flex: 1 1 55%;
    }
    @media(max-width: 768px) {
        .astro-image-text-wrap {
            flex-direction: column;
        }
    }
    .astro-content h2, .astro-content h3,
    .astro-form-section h3, .astro-sidebar h3 {
        color: orange;
    }

    .astro-contact-info {
        background-color: #fda417;
        padding: 20px;
        text-align: center;
        color: #ffffff;
    }
    .astro-contact-info strong {
        color: #000000;
    }
    .astro-countries {
        color: #000000;
        margin-top: 10px;
    }
    .astro-country-flags span {
        display: inline-block;
        margin: 5px 10px;
        font-size: 14px;
    }
    .astro-country-flags img {
        width: 20px;
        height: auto;
        margin-right: 5px;
        vertical-align: middle;
    }

    /* Responsive */
    @media(min-width: 768px) {
        .astro-sidebar {
            flex: 1 1 20%;
            max-width: 20%;
        }
        .astro-content {
            flex: 1 1 60%;
            max-width: 60%;
        }
        .astro-form-section {
            flex: 1 1 20%;
            max-width: 20%;
        }
    }
	    .astro-content p,
    .astro-content li a,
    .astro-contact-info p,
    .astro-contact-info span {
        font-size: 1.1rem;
        line-height: 1.7;
		margin-top:10px;
    }

    .astro-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .astro-content h3,
    .astro-form-section h3,
    .astro-sidebar h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .astro-responsive-text {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        line-height: 1.7;
    }

    .astro-title-text {
        font-size: clamp(1.5rem, 3vw, 2rem);
        font-weight: bold;
    }
	
.astro-keyword-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
        justify-content: center;
    }

    .astro-keyword-buttons a {
        background-color: #ff8c00;
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.9rem;
        white-space: nowrap;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .astro-keyword-buttons a:hover {
        background-color: #e67600;
    }

    @media(max-width: 480px) {
        .astro-keyword-buttons a {
            font-size: 0.8rem;
            padding: 5px 10px;
        }
    }
