
    body {
  background: #f9f1f0;
  background-size: cover;
  font-family: 'Poppins', sans-serif;
     }

 
.welcome-message {
  position: fixed;
  top: 0.05rem;
  right: 0.5rem;
  z-index: 1050;
  min-width: 200px;
  background-color: #f9f1f0;
  color: #7b4157;
  padding: 0.15rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: opacity 0.8s ease;
}
	 :root {
  --nav-height: 70px; /* default desktop height */
}
section {
  scroll-margin-top: 60px; /* adjust this value until heading is fully visible */
}

.section-block {
  scroll-margin-top: calc(var(--nav-height) + 10px);
}

/* Mobile / tablet adjustments */
@media screen and (max-width: 991px) {
  :root {
    --nav-height: 56px; /* smaller navbar when collapsed */
  }
}

@media screen and (max-width: 576px) {
  :root {
    --nav-height: 50px; /* very small screens */
  }

}
    
    .section { padding: 2em; max-width: 1200px; margin: auto; }
    .card-hover:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); transition: all 0.3s ease-in-out; }
    .pagination .page-link { color: #f9f1f0; border-color: #7b4157; }
    .pagination .page-item.active .page-link { background-color: #f9f1f0; border-color: #7b4157; color: #7b4157; }
	
    
	.card:hover {
  transform: translateY(-4px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.course-card {
  transition: all 0.3s ease;
  border: 1px solid #ffc10720;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #fffdf5, #fffbe5);
}

.card-title {
   font-size: 1.5rem;
      font-weight: 700;
      margin: 0;
      line-height: 1.2;
}

.card-text {
  font-size: 0.9rem;
}
   .section {
      padding: 60px 20px;
      max-width: 1200px;
      margin: auto;
    }

    .section h2 {
      font-size: 60px;
      text-align: center;
      margin-bottom: 40px;
	   font-weight: 700;
    }

	#faq .accordion-button {
  font-weight: 600;
  background-color: #fff;
  border: none;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

#faq .accordion-button:focus {
  box-shadow: none;
  background-color: #f8f9fa;
}

#faq .accordion-button:not(.collapsed) {
  background-color: #7b4157;
  color: #f9f1f0;
}
#faq .accordion-button::after {
  filter: invert(1);
}
 /* Section styling */
  .testimonial-section {
    background: url('') no-repeat center center fixed;
    background-size: cover;
    padding: 60px 20px;
    text-align: center;
  }


  /* Container for carousel */
  .testimonials {
    overflow: hidden;
    max-width: 100%;
    padding: 15px;
    margin: 0 auto;
  }

  /* The track for all the testimonials */
  .carousel-track {
    display: flex;
    animation: scroll-carousel 20s linear infinite; /* Auto-scroll effect */
  }

  /* Individual testimonial box */
  .testimonial {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    margin: 0 10px;
  }

  .testimonial:hover {
    transform: translateY(-5px);
  }

  .testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
  }

  .feedback {
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
  }

  .name {
    color: #222;
    margin-top: 5px;
  }

  /* CSS Animation for the carousel */
  @keyframes scroll-carousel {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%); /* Moves to the left */
    }
  }

    
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none; /* hidden by default */
  z-index: 9999;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
  padding: 0;
}

.custom-star {
  color: gold;
  font-size: 12px;
}
 .section-block {
      padding: 2rem;
      border-radius: 8px;
      margin-bottom: 2rem;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
	
	
	.hero-slideshow {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 400px; /* 👈 Ensures visible area */
  
}

.hero-slide {
  position: absolute;
  width: 100%;
  top: 20px;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  padding: 3rem 1rem;
	 
}
 .hero-slide h2 {
        font-size: 2.5rem;
      }
.hero-slide.active {
  opacity: 1;
  z-index: 1;
  position: relative; /* make active one take normal space */
}


/* slider */
    
       .hero-img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 760px) {
.hero-slideshow {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;      /* 👈 Fixed height to stop layout shifting */
    min-height: 550px;  /* remove min-height if already set */
    max-height: 600px;  /* prevent taller slides from expanding it */
  }     


	 .hero-slide h2 {
        font-size: 1.5rem;
		margin-top:20px;
      }

      .hero-slide p {
        font-size: 1rem;
      }


	  .hero-img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
    }

/* stat section */
    .stats-section {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: stretch;
      text-align: center;
	   gap: 20px; /* 👈 This creates equal gaps on all sides */
	   margin-bottom: 30px;
	      }

    .stat-box {
      flex: 1 1 150px;
      padding: 10px 10px;
      color: #f9f1f0;
      transition: transform 0.3s ease;
    }

    .stat-box:hover {
      transform: scale(1.05);
    }

    .stat-number {
      font-size: 3rem;
      font-weight: bold;
    }

    .stat-label {
      font-size: 1.1rem;
	   font-weight: bold;
      opacity: 1;
    }

    /* Different background colors */
    .bg-Mauve    { background: linear-gradient(135deg, #7b4157 10%, #b8749d 90%); }
    .bg-Maroon   { background: linear-gradient(135deg, #b8749d 10%, #7b4157 90%); }
   
	
	
@media screen and (max-width: 600px) {
  .stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    text-align: center;
    gap: 3px;
    margin-bottom: 20px;

    /* ✅ Prevent overflow */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 0 10px; /* optional inner padding */
  }

  .stats-section > * {
    flex: 1 1 100%; /* ✅ makes each item take full width on mobile */
    max-width: 100%;
  }


    .stat-box {
      flex: 1 1 50px;
      color: #f9f1f0;
      transition: transform 0.3s ease;
	  padding:5px;
    }

    .stat-box:hover {
      transform: scale(1.05);
    }

    .stat-number {
      font-size: 1.1rem;
      font-weight: bold;
      margin-bottom: 6px;
    }

    .stat-label {
      font-size: 0.6rem;
      opacity: 1;
    }
	}
	
	.added-to-cart {
  pointer-events: none;    /* Disable clicks */
  opacity: 1 !important;   /* Make sure it looks fully visible */
}
/* Compact navbar by default */
.navbar {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.navbar .nav-link {
  padding: 0.2rem 0.5rem;
  font-size: 0.9rem;
}
.navbar-nav .nav-link {
  color: #7b4157; /* your brand color */
  font-weight: 500;
  text-decoration: none !important;
  transition: font-weight 0.2s ease, color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #b8749d; /* lighter brand shade */
  font-weight: 700; /* make text bolder */
  text-decoration: none !important;
}

.navbar-brand img {
  height: 40px; /* shrink logo */
}


.form-check-input:checked {
  background-color: #b8749d !important;
  border-color: #b8749d !important;
}
.background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  /* Wrapper for overlay image + text */
  .overlay-wrapper {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 70px; /* match overlay image width */
    height: 70px; /* match overlay image height */
  }

  .overlay-img {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* Text inside overlay image */
  .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* center text */
    color: #f9f1f0;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    width: 80%; /* padding inside overlay */
    text-shadow: 1px 1px 2px black;
    pointer-events: none; /* text won’t block clicks on image */
    padding-bottom:3px;
  }
  .cta-button {
    margin-top: 30px;
    padding: 12px 24px;
    font-size: 1em;
    background-color: #7b4157;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  .cta-button:hover {
    background-color: #0056b3;
  }
  
  .btn-brand, .btn-outline-brand:hover {
  background-color: #7b4157;
  border-color: #f9f1f0;
  color:#f9f1f0;
}

.btn-brand:hover,
 .btn-outline-brand{
  background-color: #f9f1f0;
  border-color: #7b4157;
   color:#7b4157;
}

.bg-brand{
background-color: #7b4157;
}
.text-brand{
color:#7b4157;
}

.text-brand2{
color:#f9f1f0;
}

input:focus,
textarea:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: #7b4157 !important;
  box-shadow: 0 0 0 0.25rem rgba(123, 65, 87, 0.4) !important; /* darker purple glow */
}


/* Glass-style modal */
.glass-modal {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
 
}

/* Header styling */
.glass-modal .modal-header {
  border-bottom: none;
  padding-bottom: 0.5rem;
}

.glass-modal .modal-title {
  font-weight: 600;
  color: #f3e4e2; /* example brand color */
}

/* Form fields */
.glass-modal .form-control {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 12px;
  padding: 10px 12px;
  color: #fff;
  backdrop-filter: blur(10px);
}

.glass-modal .form-control:focus {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(255, 221, 87, 0.25);
  color: #fff;
}



/* Modal fade animation tweaks */
.modal.fade .modal-dialog {
  transform: translateY(-30px);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: translateY(0);
}

