/********** Template CSS **********/
:root {
  /* --primary: #f76e68; */
  --primary: #ED1C24;
  --secondary: #354f8e;
  --light: #eff5f9;
  --dark: #1d2a4d;
}
html,
body {
  margin: 0;
  padding: 0;
   overflow-x: hidden; /*Prevent horizontal scroll */
  scroll-behavior: smooth;
}

html {
  overflow-y: scroll; /* keeps page stable */
}

/* * {
  outline: 1px solid red; /* highlights every element */
 */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.custom-text {
  /* color: #f76e68 !important; */
    color: #ED1C24 !important;
    /* color: #E53935 !important; */

}
.btn-custom-signup {
  /* background-color: #f76e68; */
  background-color: #ED1C24 ;
  color: #fff !important;
}
.btn-custom-signup:hover {
  /* background-color: #f95249; */
  background-color: #ED1C24 ;
  color: #000 !important;
}
.bg-custom {
  /* background-color: #f76e68; */
  background-color: #ED1C24 ;
  color: #fff !important;
}
.btn-custom-a {
  /* background-color: #f76e68; */
  background-color: #ED1C24 ;
  color: #fff !important;
}
.btn-custom-a:hover {
  /* background-color: #f95249; */
  background-color: #ED1C24 ;
  color: #000 !important;
}
.btn-custom-b {
  background-color: #eff5f9;
  color: #000 !important;
}
.btn-custom-b:hover {
  /* color: #f76e68 !important; */
  color: #ED1C24 !important;     
}
.btn {
  font-weight: 700;
  transition: 0.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;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Jost", sans-serif;
  position: relative;
  margin-left: 25px;
  padding: 30px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@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: 0.5s;
  }

  .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(../img/1900.jpg) top right no-repeat;
  background-size: cover;
} */

.service-item {
  position: relative;
  height: 350px;
  padding: 0 30px;
  transition: 0.5s;
}

.service-item .service-icon {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 100%;
  fill: #000;
}
.carousel-indicators {
  display: none !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none; 
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem; 
  font-weight: bold;   
  color: #6e0404;    
}
.carousel-control-prev-icon::after {
  content: "‹";  
}

.carousel-control-next-icon::after {
  content: "›";  
}

 .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;
}
.circle-box {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #f8f9fa;
  margin-bottom:10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.circle-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.circle-box h6 {
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
}

/* Smaller on mobile */
@media (max-width: 576px) {
  .circle-box {
    width: 130px;
    height: 130px;
    padding: 6px;
  }

  .circle-box h6 {
    font-size: 10px;
  }
}
@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: 0.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: 1px solid var(--primary);
  border-radius: 20px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 20px;
  height: 20px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 150px;
  height: 150px;
}


.as_sign_box {
  background-color: #ffffff;
  max-width: 170px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: -2px 0px 28px 0px rgb(0 0 0 / 5%);
  border: 1px solid rgb(231, 231, 231);
  margin-top: 30px;
  transition: all 0.3s linear;
}
.float {
  position: fixed;
  width: 40px;
  height: 40px;
  bottom: 55px;
  right: 33px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 25px;
  z-index: 100;
}

.my-float {
  margin-top: 9px;
}
.shadow-box {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 2rem; /* relative to font size = responsive */
  margin: 1rem auto;
  max-width: 1200px; /* prevent stretching on very large screens */
  width: 100%;
}
.show-box {
  text-align: center;
  font-weight: bold;
}
@media (max-width: 576px) {
  .shadow-box {
    padding: 1rem;
    margin: 0.5rem;
  }
}
.service-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
  background-color: #f0f0f0;
}
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}
.as_sign img {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  object-fit: cover;
}
.as_heading {
  font-size: 2rem;
  font-weight: bold;
}
.as_sign_box h5,
.as_sign_box h6 {
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.domains {
  font-weight: 500;
  color: #000;
}
/* Ensure modal footer buttons are centered */
.modal-footer {
  display: flex;
    flex-shrink: 0;
  justify-content: center;
  gap: 10px; /* Space between buttons */
  margin-bottom: 10px;
}
.container, .container-fluid {
  overflow: hidden; /* prevent row gutter overflow */
}

/* Adjust Modal 2 size and alignment */
#exampleModalToggle2 .modal-dialog {
  max-width: 400px; /* Smaller modal width */
}

#exampleModalToggle2 .modal-body {
  padding: 0;
}

#exampleModalToggle2 .form-container {
  padding: 20px; /* Reduced padding */
  background: #fff;
  border-radius: 8px;
}

/* Ensure form inputs are responsive */
#exampleModalToggle2 .form-control,
#exampleModalToggle2 .form-select {
  height: 45px; /* Slightly smaller inputs */
  font-size: 0.9rem;
}

#exampleModalToggle2 .btn-custom-a {
  background-color: #007bff;
  color: #fff;
  font-size: 0.9rem;
  padding: 10px;
}

/* Adjust Modal 1 content for better spacing */
#exampleModalToggle .as_horoscope_wrapper {
  padding: 20px 0;
}

.fullwidth-map {
  width: 86vw;
  padding: 0;
  overflow: hidden;
  justify-content: center;
}

.fullwidth-map iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}
/* Responsive adjustments */
@media (max-width: 576px) {
  #exampleModalToggle2 .modal-dialog {
    max-width: 90%; /* Adjust for small screens */
  }

  #exampleModalToggle2 .form-container {
    padding: 15px;
  }

  .as_sign_box {
    margin-bottom: 10px;
  }
}
/* Custom modal width and padding */
.custom-modal-width {
  max-width: 350px;
  width: 90%;
  margin: 1.75rem auto; /* adds top/bottom spacing */
}

/* Add padding inside the modal body */
.custom-modal-width .modal-content {
  padding: 20px;
  border-radius: 8px;
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
  .custom-modal-width {
    max-width: 95%;
    margin: 1rem auto;
  }

  .custom-modal-width .modal-content {
    padding: 15px;
  }
}

/* ========================
   Layout for Course Cards
=========================== */

 .filter-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-left: 20px;
      margin-bottom: 20px;
    }

    .filter-buttons button {
      padding: 10px 18px;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      background: #e5e5e5;
      font-weight: bold;
      transition: 0.3s;
    }

    .filter-buttons button.active {
      background:  #ED1C24;
      color: #fff;
    }
.course-tag {
  background: #f77f00;
  color:#fff;
  font-size: 12px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 15px;
  margin-bottom: 8px;
}
.course-container {
      display: grid;
      /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
      grid-template-columns: repeat(3,1fr);
      gap: 20px;
      max-width: 1200px;     
  margin: 0 auto;       
  padding: 20px;}
.course-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;}
.course-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
      cursor: pointer;}
.course-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;           
    }
 .course-content {
     padding: 15px;}
 .course-content h4 {
      margin: 10px 0;
      font-size: 16px;
      font-weight: bold;}
.course-content .span_1{
      font-size: 14px;
      color: #555; }
.course-img-wrapper {
  position: relative;
  display: inline-block;
}
.course-img-wrapper {
  position: relative;
  display: inline-block;
}
.course-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px; /* optional */
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;   /* adjust size */
  height: 50%;
  background: url('../img/logo.png') 
              no-repeat center center;
  background-size: contain;
  opacity: 0.09;
   transform: translate(-50%, -50%) translateY(-32%); 
  pointer-events: none;
}
@media (max-width: 992px) {
  .course-container {
    grid-template-columns: repeat(2, 1fr); /* tablet */
  }
}

@media (max-width: 600px) {
  .course-container {
    grid-template-columns: 1fr; /* mobile */
  }
}

 
/* ===========================
   Backdrop / Modal Container
=========================== */
.modal{
  display: none; /* default hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark background */
  z-index: 9999;

  /* Center content horizontally, and bottom-aligned */
  justify-content: center;
  align-items: center;
  padding-bottom: 60px; /* distance from bottom */
}

/* ===========================
   Modal Content Box
=========================== */
.modern-modal {
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  font-family: "Segoe UI", sans-serif;

  /* Slide from bottom optional */
  animation: slideUp 0.3s ease-out;
}

/* Optional animation */
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===========================
   Header Section
=========================== */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 22px;
  color: #333;
}

.modal-header1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap; /* allow wrapping on small screens */
   margin: 0;

}

.modal-header1 .header1{
  font-size: 1.2rem;
  color: #333;
  flex: 1;
  margin: 0;
  word-wrap: break-word;
   
}
hr.ultra-thin {
  height: 0.5px;
  background-color: #aaa;
  border: none;
}
.close-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}
.close-btn:hover {
  color: #000;
}

/* ===========================
   Tag & Badge
=========================== */
.tagline-badge {
  text-align: center;
  margin: 15px 0 20px;
}

.badge.best-seller {
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
  text-transform: uppercase;
}

/* ===========================
   Table Section
=========================== */
.modal-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background-color: #fafafa;
  border-radius: 10px;
  overflow: hidden;
}

.modern-table td {
  padding: 6px;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
}

.modern-table td:first-child {
  font-weight: 600;
  color: #444;
  width: 35%;
}

.modern-table tr:last-child td {
  border-bottom: none;
}

/* ===========================
   Footer Note
=========================== */
.footer-note {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  color: #555;
  font-style: italic;
  background-color: #fff5e6;
  padding: 10px;
  border-radius: 8px;
  border-left: 4px solid #ffa600;
  border-right: 4px solid #ffa600;
}
.social-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.legal-disclaimer {
  background: #f9fafc; /* light background */
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.legal-disclaimer .container {
  max-width: 900px;
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
  font-size: 1.05rem;
  color: #444;
  border-left: 6px solid #e63946; 
    border-right: 6px solid #e63946; 
}

.legal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #e63946;
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-disclaimer p {
  margin-bottom: 1rem;
  text-align: justify;
  margin: 0.5rem 0;
   line-height: 1.6; 
}

.legal-disclaimer strong {
  color: #111;
  font-weight: 600;
}

@media (max-width: 576px) {
  .legal-disclaimer p {
    margin: 0.3rem 0; 
    font-size: 14px; 
    line-height: 1.5;
  }

  .legal-disclaimer .legal-title {
    font-size: 18px; 
    margin-bottom: 0.5rem;
  }
}

.site-footer {
  background: #0d1b2a; 
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  font-family: 'Poppins', sans-serif;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.95rem;
  color: #ddd;
}

.footer-bottom .developer-link {
 
  font-weight: 600;
  text-decoration: none;
  margin-left: 2px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.footer-bottom .developer-link:hover::after {
  width: 100%;
}
