  body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Navbar Customizations */
  .custom-navbar {
    background-color: #ffffff;
  }

  .logo {
    font-size: 2rem;
    color: #0d6efd;
    /* Bootstrap primary color */
    font-weight: bold;
    margin-left: 3rem;
  }

  .custom-font {
    font-size: 1rem;
  }

  /* Nav spacing */
  .nav-gap>li {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  /* Link Colors */
  .navbar-nav .nav-link {
    color: #212529;
    /* Default text color */
  }

  .navbar-nav .nav-link.active {
    color: #0d6efd;
    /* Bootstrap primary color */
  }

  .navbar-nav .nav-link:hover {
    color: #0d6efd;
  }




  /* Crousel */

  .carousel-image {
    height: 490px;
    object-fit: cover;
  }

  /* Adjust caption position on large screen */
  @media (min-width: 768px) {
    .carousel-caption .card-body {
      margin-bottom: 3rem;
    }
  }

  /*  Slide text customization */
  .carousel-caption h1,
  .carousel-caption p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  }


  /* About section */

  .about-section {
    background-color: #f8f9fa;
  }

  /* Heading Style */
  .section-title {
    color: #212529;
    font-weight: 700;
    font-size: 2rem;
  }

  /* Paragraph Styling */
  .about-paragraph {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 300;
  }

  /* Read More Button Custom Padding */
  .custom-btn {
    padding: 0.5rem 2rem;
    margin-top: 1rem;
  }



  /* Counter Section */
  .counter-section {
    background-color: #f2f2f2;
    padding: 40px 0;
  }

  /* Counter Text */
  .counter-box {
    font-family: 'Open Sans', sans-serif;
  }

  .counter-number {
    color: #0d6efd;
    /* Bootstrap Primary */
    font-size: 36px;
    font-weight: 700;
  }

  .counter-label {
    color: #6c757d;
    font-weight: 600;
  }



  /* Why Join Us Section */
  .why-join-box {
    padding: 1.5rem;
  }

  .tall-card {
    min-height: 100%;
  }

  /* Optional enhancements */
  .why-join-section h2 {
    font-size: 1.75rem;
  }

  .why-join-box p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Features */

  /* Features Section */
  .custom-feature-box {
    background-color: transparent;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 50px;
    transition: all 0.3s ease;
  }

  /* Optional Hover Effect */
  .custom-feature-box:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
  }

  /* Icon Styling */
  .icon-style {
    font-size: 1.5rem;
  }

  /* <!-- Courses --> */

  .trainer-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid #eaeaea;
  }


  .trainer-link {
    text-decoration: none;
    font-weight: 500;
    color: #212529;
  }

  .trainer-link:hover {
    color: #0d6efd;
  }

  /* === Trainer Icons === */
  .user-icon,
  .heart-icon {
    font-size: 1rem;
    color: #6c757d;
  }

  /*  footer*/

  .footer-section {
    background-color: #f0f0f0;
  }


  .footer-heading {
    font-size: 1rem;
    /* smaller size */
    font-weight: 600;
    margin-bottom: 1rem;
  }


  .footer-text {
    color: #6c757d;
    /* grey text */
    font-weight: 300;
    margin-bottom: 0.5rem;
  }


  .footer-icon {
    font-size: 1.2rem;
  }


  .newsletter-input {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .input-group .form-control {
    border-radius: 25px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .input-group .btn {
    border-radius: 25px;
    margin-left: -1px;
  }



  /* about page */

  /* hero section */
  .hero-section {
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;


  }

  .hero-content {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    bottom: 2rem;
    left: 2rem;
    position: absolute;
    z-index: 1;
  }


  .breadcrumb {
    font-family: 'DM Sans', sans-serif;
    font-weight: 100;
    font-size: 1rem;
    top: 3rem;
  }

  .breadcrumb-item a {
    text-decoration: none;
    color: #6c757d;
  }

  .custom-blue-line {
    border: none;
    border-width: 4px;
    background-color: #1e5ab4;
  }


  .our-key-section {
    background-color: #15181d;
    background-image: url(images/About/bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
  }

  /* Courses Page */
  .Course-section {
    background-color: #6c757d;
    
  }
  
  .breadcrumb-item+.breadcrumb-item::before {
    color: white;
    font-size: 13px;
    
  }
  .breadcrumb-courses{
    font-size: smaller;
    
  }

   .bc-item a {
    text-decoration: none;
    color: #ffffff63;
  }

.d-inline-block {
  position: relative;
  top: 10px;
  font-size: 14px;
}

.col-6{
  color: #9b0b23;
  font-size: 13px;
}

.btn{
  font-size: 14px;
}

.d-inline-block{
  font-size:30px ;
}


/* teacher page */
.custom-card{
  height: 90vh;
  overflow: hidden;
}

.overlap-top {
  margin-top: -99px; /* adjust value as needed */
  position: relative;
  z-index: 10;
}

.section-gap{
  margin-top: 90px;
}

.subject{
  font-weight: bold;
}

.Text-line {
  font-size: 13px;
}



/* bewst tiker */
:root{--scroll-duration:40s;}
.background-ticker{
  background: linear-gradient(135deg,#e0eafc,#cfdef3);
  padding:2rem;
  font-family: 'DM Sans', sans-serif;
}

h2 small{
  font-size: 0.9rem;
  color: #555;
}

.ticker{
  height: 340px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.scroll{
  display: flex;
  flex-direction: column;
  animation: scrollUp var(--scroll-duration)linear infinite;
}

.ticker:hover.scroll{
  animation-play-state: paused;
}

.news{
  padding: 12px 15px;
  text-align: center;
}

.news img{
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition:transform 0.2s ease ;
}

.news img:hover{
  transform: scale(1.03);
}

@keyframes scrollUp {
  0%{transform: translateY(0);}
  100%{transform: translateY(-50%);} 
}

.announcement{
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


.announcement-list  li{
  margin-bottom: 10px;
  font-size: 1rem;
}
.announcement-list li::before {
  content: "📌 ";
}

.modal-img{
  width: 100%;
  border-radius: 10px;
}

.btn-close {
   position: absolute;
   top: 10px;
   right: 10px;
   width: 35px;
   height: 35px;
   background: #007bff; 
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   border: none;
   opacity: 1;
   z-index: 2;
   filter: none;
}

.btn-close::before {
  content: "✖";
  font-size: 18px;
  color: #ffffff;
}



@media(max-width: 576px){
  .ticker{
    height: 280px;
  }

  body{
    padding: 1rem;
  }

  h2{
    font-size: 1.5rem;
  }

  h2 small{
    font-size: 0.8rem;
  }
}
  










 