/* defaults */

body {
    font-family: 'Karla', sans-serif;
  }

/* top-header marquee styling */

.marquee span {
    animation: scroll-left 15s linear infinite;
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
  }

  @keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
c
/* hero slider style */

.font-title {
    font-family: 'Spectral', serif;
  }
  .font-body {
    font-family: 'Karla', sans-serif;
  }
  .text-light-beige {
    color: rgb(249, 248, 246);
  }

 /* Ensure dropdown stays open when hovering over it or the parent */
.group:hover .dropdown,
.dropdown:hover {
  display: block;
}
  .group:hover > div,
.group > div:hover {
  display: block;
}

/* about section */

.about-section{
  margin-top: 20px;
  /* background-color: #130f40; */
  border: 5px solid #130f40;
  color: #130f40;
}

.about-title {
    color: #fff;
  -webkit-text-stroke: 2px #130f40;
    transition: text-shadow 0.3s ease, color 0.3s ease;
  }

/* service section styling */

.top-services-section {
    background: url('images/astrologer-rahul-header-bg-new.png') center/cover no-repeat;
    padding: 60px 20px;
    text-align: center;
    margin: 20px 0px auto;
  }
  
  .services-title {
    font-family: 'Spectral', serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 40px;
  }
  
  .services-grid {
    max-width: 1200px;
    text-align: center;
    margin: 20px auto;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .service-card {
    position: relative;
    /* background: rgba(255, 219, 21,0.8); */
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    color: #130f40;
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }
  
  .service-img-container {
    position: relative;
    width: 100%;
    height: 235px; /* match your image height */
    overflow: hidden;
    /* clip-path: path('M34,22 Q53,-10 75,24 Q104,53 76,77 Q54,102 30,75 Q-6,50 34,22 Z'); */
    border: 3px solid gold;
    animation: cosmicGlow 4s ease-in-out infinite alternate;
  }
  
  .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  @keyframes cosmicGlow {
    0% { box-shadow: 0 0 10px gold; }
    100% { box-shadow: 0 0 20px #ffdb15; }
  }
  
  .overlay {
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
  }
  
  .service-img-container:hover .overlay {
    opacity: 1;
  }
  
  .overlay .cta {
    font-family: 'Karla', sans-serif;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    text-decoration: none;
    background-color: transparent;
  }
  
  .service-name {
    font-family: 'Spectral', serif;
    font-size: 20px;
    margin-top: 20px;
  }
  
  .service-desc {
    font-family: 'Karla', sans-serif;
    font-size: 15px;
    margin: 10px 0 15px;
  }
  
  .cta-button {
    font-family: 'Karla', sans-serif;
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #130f40;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #130f40;
    color: #fff;
    border: none;
  }
  
  /* Responsive padding */
  @media (max-width: 768px) {
    .top-services-section {
      padding: 40px 16px;
    }
  
    .services-grid {
      gap: 30px;
    }
  
    .service-desc {
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .top-services-section {
      padding: 30px 12px;
    }
  
    .services-title {
      font-size: 28px;
    }
  
    .services-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* contact form styling */

  .contact-section {
    padding: 60px 0px;
    color: #fff;
    max-width: 1200px;
    margin: auto;
  }
  
  .contact-grid {
    background: url("images/astrologer-rahul-header-bg-new.png") center/cover no-repeat;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .contact-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  .contact-form{
    padding-right: 40px;
  }
  
  .section-title {
    font-family: 'Spectral', serif;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    color: #000;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    outline: none;
  }
  
  .contact-form button {
    background-color: gold;
    color: #000;
    padding: 12px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #fff;
    color: #000;
  }
  
  /* Mobile Responsive */
  @media (max-width: 768px) {
      .contact-form{
          padding : 0 10px 30px 10px;
      }
    .contact-grid {
      grid-template-columns: 1fr;
    }
  
    .contact-image {
      order: -1;
    }
  
    .section-title {
      text-align: center;
    }
  }
  
/* why choose us styling */

.why-choose-section-title {
    text-align: center;
    font-family: 'Spectral', serif;
    font-size: 36px;
    margin-bottom: 40px;
    margin-top: 20px;
    color: #130f40;
  }  

.why-us-section {
    color: #130f40;
    max-width: 1200px;
    margin: auto;
  }
  
  .why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
  }
  
  .why-us-item {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .why-us-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  
  .why-us-divider {
    width: 2px;
    height: 60px;
    background: gold;
  }
  
  .why-us-text h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Spectral', serif;
  }
  
  .why-us-text p {
    margin-top: 6px;
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    max-width: 400px;
    line-height: 1.5;
  }
  
  /* Responsive: Mobile View */
  @media (max-width: 768px) {
    .why-us-grid {
      grid-template-columns: 1fr;
    }
  
    .why-us-item {
      flex-direction: column;
      text-align: center;
    }
  
    .why-us-divider {
      display: none;
    }
  
    .why-us-icon {
      margin-bottom: 12px;
    }
  
    .why-us-text p {
      max-width: 100%;
    }
  }
  
/* testimonial styling */
  
.testimonials-section {
    padding: 20px 20px;
    text-align: center;
    overflow: hidden;
  }

  .section-title {
    font-size: 36px;
    font-family: 'Spectral', serif;
    text-align: center;
    color: #130f40;
    margin-bottom: 20px;
  }

  .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
  }

  .slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .slide {
    color: #000;
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    justify-content: center;
  }

  .testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 2px solid #130f40;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
    max-width: 400px;
    text-align: center;
    font-size: 16px;
  }

  .customer-name {
    margin-top: 16px;
    font-weight: bold;
    font-family: 'Spectral', serif;
    color: #000;
  }

  /* Pagination dots */
  .pagination {
    margin-top: 20px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #ffdb15;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
    cursor: pointer;
  }

  .dot.active {
    background-color: #130f40;
    opacity: 1;
  }

  @media (min-width: 768px) {
    .slide {
      min-width: 50%;
    }
  }

  @media (min-width: 1024px) {
    .slide {
      min-width: 33.3333%;
    }
  }

/*chat images styling*/

/* Container and Title Styling */
.testimonial-section {
  padding: 60px 20px;
  text-align: center;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

/* Divider Pattern */
.divider-pattern {
  width: 60px;
  height: 20px;
  margin: 0 auto 40px auto;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial img {
  width: 100%;
  max-width: 349px;
  height: auto;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }
}

/* footer styling */

.footer-section {
    width: 100%;
    background-color: #fff;
    padding: 40px 20px;
    border-top: 3px solid #ffdb15;
      background: url("images/astrologer-rahul-header-bg-new.png") center/cover no-repeat;
    color: #fff;
    font-family: 'Karla', sans-serif;
  }
  
  .footer-container {
    max-width: 1200px; /* Match nav bar width */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  /* Generic Column Styling */
  .footer-col {
    flex: 1 1 220px;
    min-width: 220px;
  }
  
  /* Column 1: Logo + Social */
  .footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
  }
  
  .footer-social-icons {
    display: flex;
    gap: 12px;
  }
  
  .footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    color: #ffd600;
    font-size: 18px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .footer-social-icons a:hover {
    border-color: gold;
    box-shadow: 0 0 8px 2px gold;
  }
  
  /* Titles with underline */
  .footer-title {
    font-family: 'Spectral', serif;
    font-size: 22px;
    border-bottom: 2px solid gold;
    display: inline-block;
    margin-bottom: 16px;
    padding-bottom: 4px;
  }
  
  /* Links List */
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  .icon-thumb {
    color: gold;
    font-size: 12px;
  }
  
  /* Payment Grid */
  .payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
  }
  
  .payment-methods-grid img {
    width: 80px;
    height: 50px;
    object-fit: contain;
  }
  
  /* Responsive: stack columns, left align */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      gap: 40px;
    }
  
    .footer-col {
      text-align: left;
    }
  
    .footer-social-icons {
      justify-content: flex-start;
    }
  }

  .marquee-disclaimer {
    background: linear-gradient(90deg, #130f40, #130f40CC); /* Deep green to gold */
    color: #fff;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    padding: 10px 0;
    text-align: center;
  }
  
  .footer-copyright {
    background: #fff;
    color: #130f40;
    text-align: center;
    font-size: 13px;
    font-family: 'Karla', sans-serif;
    padding: 8px 0;
  }

  .section-title-form{
    text-align: center;
    font-family: 'Spectral', serif;
    font-size: 36px;
    margin-bottom: 40px;
    margin-top: 20px;
    color: #fff;
  }

  /* Service page Styling */

/* Service Page Content */

.hero-service-section {
  color: #000;
  padding: 60px 20px;
  padding-bottom: 10px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.hero-service-grid {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: auto;
}

.hero-title {
  font-family: 'Spectral', serif;
  font-size: 36px;
  color: #130f40;
  text-shadow: 0 0 3px #000;
  margin-bottom: 24px;
}

.hero-subsection h2 {
  font-family: 'Spectral', serif;
  font-size: 22px;
   color: #130f40;
  margin-bottom: 8px;
}

.hero-subsection p {
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-service-form {
  background: #130f40;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 214, 0, 0.3);
}

.form-title {
  font-family: 'Spectral', serif;
  font-size: 24px;
  color: #fff;
  text-shadow: 0 0 8px #000;
  margin-bottom: 20px;
}

.hero-service-form input,
.hero-service-form select,
.hero-service-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: none;
  border-radius: 6px;
  font-family: 'Karla', sans-serif;
  background: #fff;
  color: #000;
  font-size: 14px;
}

.hero-service-form button {
  width: 100%;
  background: #ffd600;
  color: #000;
  padding: 14px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.hero-service-form button:hover {
  background: #fff;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-service-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 28px;
  }

  .form-title {
    font-size: 20px;
  }
}

/* service page top related services */

.related-services-wrapper {
  padding: 20px 20px;
  color: #fff;
}

.related-container {
  max-width: 1200px;
  margin: 0 auto;
}

.related-heading {
  font-family: 'Spectral', serif;
  font-size: 30px;
  text-align: center;
  color: #130f40;
  text-shadow: 0 0 3px #000;
  margin-bottom: 40px;
}

.related-swiper {
  padding: 20px 0;
}

.related-slide {
  max-width: 220px;
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #2a2a2a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.related-slide:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 214, 0, 0.4);
}

.related-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffd600;
  box-shadow: 0 0 12px #ffd600;
  margin-bottom: 12px;
}

.related-text {
  color: #f9f8f6;
  font-size: 14px;
  margin: 0;
}

@media (max-width: 767px) {
  .related-slide {
    max-width: 100% !important;
  }
}

/* web pages styling */

/* Wrapper Containers */
.web-pages-container {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #f9f9f9; /* Optional background */
}

.web-pages-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Row Styling */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Remove padding where needed */
.nopadding {
  padding: 0;
  margin: 0;
}

/* Columns (4 in a row on desktop, stack on small) */
.service-box {
  flex: 1 1 calc(25% - 20px);
  min-width: 250px;
  box-sizing: border-box;
}

/* Button Area */
.btn_modal {
  margin-top: 30px;
  text-align: center;
}

/* Button Style */
.btnd {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btnd:hover {
  background-color: #0056b3;
}

/* Modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 1000px;
  box-sizing: border-box;
  border-radius: 8px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
}

.close {
  font-size: 24px;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-box {
    flex: 1 1 100%;
  }
}


/* web pages */

.service_box {
  display: flex;
  flex-wrap: wrap; /* Allow columns to wrap to the next line if needed */
  justify-content: space-between; /* Space out columns evenly */
  margin: 0 -15px; /* Negative margin to compensate for column margins */
}

.service-box {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow effect */
  border-radius: 8px; /* Rounded corners */
}

.list_serv {
  list-style-type: none; /* Remove default list styling */
  padding: 0;
  margin: 0;
}

.list_serv li {
  margin: 10px 0; /* Space between list items */
}

.list_serv a {
  text-decoration: none; /* Remove underline from links */
  color: #333; /* Link color */
  transition: color 0.3s; /* Smooth color change */
}

.list_serv a:hover {
  color: #000; /* Color change on hover */
}

.view-more {
  text-align: center; /* Center alignment for the button */
  margin-top: 20px; /* Space above the button */
  margin-bottom: 20px; /* Space below the button */
}

.view-more button {
  background: transparent; /* Transparent background */
  border: 2px solid #333; /* Border color */
  color: #333; /* Text color */
  padding: 10px 20px; /* Padding for the button */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
}

.view-more button:hover {
  background: #FFD700; /* Yellow background on hover */
  color: #fff; /* White text on hover */
}

.container-fluid.topbar {
  display: none;
}
.service_box{
  margin: 0px;
  padding:25px 0px;
  background:#f7f6f6;
}

.list_serv{
  margin: 0px;
  padding: 15px;
  background:#eeecec;
}
.list_serv ul{
  margin: 0px;
  padding: 0px;
}
.list_serv li{
  list-style-type:none;
}

.list_serv li a{
  margin:0px 0px 0px 0px;
  padding:5px 15px;
  font-size: 15px;
  background:#fff;
  display: block;
  color: #130f40;
  font-weight: bold;
  border-bottom:#eeecec solid thin;
}

.btnd{
  padding:5px 55px;
  margin: 0px;
  background:#800;
  border:#800 solid thin;
  font-size: 18px;
  color:#fff;
  outline: none;
}

.btn_modal{
  margin:30px 0px 0px 0px;
  padding: 0px;
  text-align: center;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}

/* Modal Content */

.modal-content {
  position: fixed;
  top: 0;
  background-color: #fefefe;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  padding:0px 0px 15px 0px;
  overflow: scroll;
  height: 500px;
}

.modal-header {
  padding: 2px 16px;
  background-color: #800;
  color: white;
}

.modal-body {
padding:15px 16px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width : 480px) {

  .service-box {
    margin-top: 20px; /* Adjust the value as needed */
}

/* Override padding for a specific Bootstrap class */
.container-fluid.display .container {
  padding: 0 !important; /* This overrides Bootstrapâ€™s default padding */
}

.container-fluid.display .container .col-xs-12.col-sm-12.col-md-12.col-lg-12.matter {
    /* Your custom styles */
    padding: 0;  /* Example to remove padding */
}

.container-fluid h1{
    color: #800;
    font-size : 26px;
}

.container-fluid .matter a {
    color: #800 !important;
}

.container-fluid .matter a:hover {
    color: #800 !important;
    text-decoration: underline !important;
}

.container-fluid h2{
    color: #800;
    font-size : 24px;
}

.container-fluid h3{
    color: #800;
    font-size : 22px;
}

.container-fluid p{
    font-size : 17px;
    text-align : justify;
}

}

/* about page styling */

.about-us {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-images {
  max-width: 30%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-images img {
  width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-item h1 {
  font-family: 'Spectral', serif;
  color: #130f40;
  margin-bottom: 10px;
  font-size: 28px;
}
.about-item h2 {
  font-family: 'Spectral', serif;
  color: #130f40;
  margin-bottom: 10px;
  font-size: 24px;
}

.about-item p {
  font-family: 'Karla', sans-serif;
  color: #000;
  font-size: 16px;
}

/* Tablet and below */
@media (max-width: 991px) {
  .about-container {
    flex-direction: column;
    gap: 40px;
  }
}

/* Mobile View */
@media (max-width: 576px) {
  .about-images img:nth-child(2),
  .about-images img:nth-child(3) {
    display: none;
  }

  .about-images {
    margin-bottom: 30px;
  }

  .about-item h2 {
    font-size: 20px;
  }

  .about-item p {
    font-size: 15px;
  }
}