/********** Template CSS **********/
:root {
    /* --primary: #13C5DD; */
    --primary: #B66D0D;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}
body{
  background: #ffeed0 !important;
}
.bg-primary{
  background: var(--primary) !important;
}
.bg-light {
  background-color: #ffa80142 !important;
}
.text-primary {
  color: #000000 !important;
}
.border-bottom{
  border-bottom-color: #c3c3c3 ;
}
.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}
.btn-primary:hover {
  color: #fff;
  background-color: #a71a10;
  border-color: #a71a10;
}
.btn-primary {
  color: #ffffff;
  background-color: #a71a10;
  border-color: #a71a10;
}
body p,body{
  color: #000;
}
input.bg-light,select.bg-light {
  background: #dedede !important;
  color: #000 !important;
}
.navbar-light .navbar-nav .nav-link {
  font-family: 'Jost', sans-serif;
  position: relative;
  margin-left: 0;
  padding: 15px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: .5s;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-right: 1px solid #bf4a03;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {

    color: #ffa801;

}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
  background: url(../images/mandir2.jpeg) center center no-repeat #b66d0d !important;
  background-size: cover !important;
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
#navbarCollapse {
  padding-top: 0;
}

#header {
  text-align: center;
  color: #212121;
  background: #a71a10;
  display: flex;
  overflow: hidden;
  background-position: center 10px;
  padding-left: 30px;
  height: 142px;
}
.logo {
  position: relative;
  z-index: 2;
}
.logo img {
  width: 150px;
}
.banner-image {
  height: 102px;
}
.marque {
  background: #ffa801;
  color: #a71a10;
  font-size: 18px;
  font-weight: 800;
  font-family: "Times New Roman", Times, serif;
  margin: -39px 0 0;
  padding-bottom: 3px;
  padding-top: 5px;
}
.marque a {
  color: #a71a10;
}
#navBar {
  background: #BA3E15;
}
#navBar .navbar-nav.ms-auto {
  margin-left: 0 !important;
}
div#footer {
  background-color: #BA3E15;
  color: #FFF;
  font-size: 17px;
  padding-top: 16px;
}
#footer a {
  color: #FC0;
  text-decoration: none;
}
#footer ul {
  display: flex;
  width: fit-content;
  text-align: center;
  margin: auto;
  padding-inline-start: 0px;
}
#footer li {
  list-style: none;
  margin: 0px 10px 20px;
}
#footer p {
  font-size: 17px;
  text-align: center;
}

div#copyrights {
  background: #a71a10;
  padding: 15px;
}
.astrologyListingGrid {
  gap: 10px;
  flex-wrap: wrap;
}
.astrologyListingGrid a.h5 {
  width: 32%;
  margin-bottom: 0 !important;
}
.appointmentForm .col-sm-6> label {
  width: 100%;
  text-align: left;
  font-weight: 600;
}
.appointmentForm .col-sm-6  label.form-check-label {
  margin-right: 10px;
  padding-top: 5px;
}
label.form-check-label input{
  margin-right: 5px;

}

.submit-button {
  background-color: #ba3e15; /* Green background */
  color: white; /* White text */
  padding: 10px 20px; /* Padding for better clickability */
  border: none; /* Remove default border */
  border-radius: 5px; /* Rounded corners */
  font-size: 16px; /* Increase font size */
  cursor: pointer; /* Change cursor on hover */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.submit-button:hover {
  background-color: #218838; /* Darker green on hover */
  transform: translateY(-2px); /* Slightly lift button on hover */
}

.submit-button:active {
  background-color: #1e7e34; /* Even darker green on click */
  transform: translateY(0); /* Bring button back to original position on click */
}

/****************** Changes by alim ***********************************/
.horoscope-grid {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  border: 1px solid #ffa80142; /* Outer border */
}

.horoscope-item {
  flex: 1 1 25%; /* 4 columns on larger screens */
  text-align: center;
  border: 1px solid #ffa80142; /* Each item's individual border */
  border-right: none; /* Remove right border from inner items */
  border-bottom: none; /* Remove bottom border from inner items */
  padding: 15px;
  box-sizing: border-box;
}

/* Ensure the last column has the right border */
.horoscope-item:nth-child(4n) {
  border-right: 1px solid #ddd;
}

/* Ensure the last row has the bottom border */
.horoscope-item:nth-last-child(-n+4) {
  border-bottom: 1px solid #ddd;
}

.horoscope-item a {
  text-decoration: none;
  color: #ba3e15;
}

.horoscope-item a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .horoscope-item {
    flex: 1 1 33.33%; /* 3 columns for medium screens */
  }

  /* Update the nth-child and nth-last-child rules for 3 columns */
  .horoscope-item:nth-child(3n) {
    border-right: 1px solid #ddd;
  }

  .horoscope-item:nth-last-child(-n+3) {
    border-bottom: 1px solid #ddd;
  }
}

@media (max-width: 768px) {
  .horoscope-item {
    flex: 1 1 50%; /* 2 columns for tablets */
  }

  /* Update the nth-child and nth-last-child rules for 2 columns */
  .horoscope-item:nth-child(2n) {
    border-right: 1px solid #ddd;
  }

  .horoscope-item:nth-last-child(-n+2) {
    border-bottom: 1px solid #ddd;
  }
}

@media (max-width: 480px) {
  .horoscope-item {
    flex: 1 1 100%; /* 1 column for small screens */
    border-right: 1px solid #ddd; /* Ensure full border on single items */
  }

  /* Remove any nth-child rules for single column */
  .horoscope-item:nth-child(1n) {
    border-right: none;
  }
}

























