/* .custom-carousel {
    max-height: 460px;
    overflow: hidden;
}
.custom-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
} */

/* Optional CSS for dark overlay */
.carousel-caption {
    /* background: rgba(0, 0, 0, 0.3); semi-transparent dark overlay */
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    padding: 2rem;
}

.carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }

  /* carousel for 3 slides */
.carousel-btn {
    font-weight: 600;
    padding: 5px 30px;
    transition: all 0.3s ease;
    margin-top: -25%;
    margin-left: 4%;
}
.carousel-btn:hover {
    transform: scale(1.05);
}
/* === Mobile Responsive === */
@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
}
h2{
    font-weight: 50; 
    font-family: 'Exo 2', 'Alegreya Sans', sans-serif; 
    color: #64312c;
    text-align: center;
}

/* our course section */
.course-card {
    height: 300px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
}

.course-card:hover {
    transform: scale(1.02);
}

.course-overlay {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    width: 100%;
    height: 100%;
    padding: 1rem;
    position: absolute;
    top: 0;
    left: 0;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

/* course 2nd row */
.course-card {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    }
}
/* end */
/* button style */
.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #64312c; /* Match your brand */
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background-color: #4a231f;
    transform: scale(1.1);
}

.carousel-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(100, 49, 44, 0.4);
}
/* end */
/* it's for course card suffle info */
.course-filter {
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s ease;
    padding: 0 5px;
}
.course-filter:hover {
    color: #000;
    text-decoration: underline;
}
.course-filter.active {
    color: #000;
    font-weight: 600;
}
/* end */
/* end */

/* ad filter section */
.month-item {
    cursor: pointer;
    transition: background 0.2s ease;
}
.month-item:hover {
    background: #f8f9fa;
}
.month-item.active {
    background: #d19315;
    color: #fff;
    font-weight: bold;
}
/* end */
/* start journey */
.icon-box {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}
.icon-box-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #d4af37; /* Gold tone */
    transition: transform 0.3s ease, color 0.3s ease;
}
.icon-box:hover .icon-box-icon {
    transform: scale(1.3); /* Icon pops up */
    color: #b8860b; /* Slightly darker gold */
}
.icon-box-title h6 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.icon-box-content p {
    font-size: 0.95rem;
    color: #555;
}
/* end */
/* feature section */
.feature-box {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.35s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-box:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 25px rgba(212,160,23,0.25);
    border-color: rgba(212,160,23,0.5);
}

.icon-circle {
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a017, #f9d976);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(212,160,23,0.3);
}

.icon-circle i {
    color: white;
    font-size: 1.6rem;
}

.feature-box h4 {
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 1.2rem;
    font-family: 'Exo 2', 'Alegreya Sans', sans-serif;
}

.feature-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

/* Container */
#numbersSection {
    background: linear-gradient(135deg, #faf6ef, #ffffff);
    border-radius: 16px;
    padding: 3rem 2rem;
}

/* Heading */
#numbersSection h4 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #d4a017; /* gold */
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Counter box style */
.counter-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(212, 160, 23, 0.25);
    background: rgba(255, 255, 255, 0.9);
}

/* Number style */
.counter {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: #222;
    font-family: 'Segoe UI', sans-serif;
}

.fixed-sym {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4a017;
    vertical-align: top;
    margin-left: 4px;
}

/* Label text */
.label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.8rem;
    color: #333;
}

/* Description text */
.counter-box p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .counter-box {
        margin-bottom: 1.5rem;
    }
}

/* end */

/* reviews section */
.reviews-subheading {
    font-size: 1rem;
    color: var(--muted-text);
    margin-bottom: 3rem;
    font-style: italic;
    font-family:'Courier New', monospace;
    text-align: center;
}

:root {
    --bg-color: #f9fafb;
    --card-bg: #fff;
    --text-color: #222;
    --muted-text: #666;
    --accent-color: #FFD700;
}

.reviews-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

.reviews-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
    text-align: center;
}

.reviews-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.reviews-slide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    transform: translateX(-50%) scale(0.95);
    opacity: 0;
    transition: all 0.8s ease;
}

.reviews-slide.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    position: relative;
}

.review-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.reviewer {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer img {
    border-radius: 50%;
    margin-right: 0.75rem;
}

.reviewer strong {
    display: block;
    color: var(--text-color);
}

.reviewer small {
    color: var(--muted-text);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.review-card p {
    color: var(--text-color);
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
    .reviews-slide {
        grid-template-columns: 1fr;
    }
}
/* end */

.gold-line {
    width: 60px;
    height: 4px;
    background-color: #b38b00;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* chatbot css */
/* Chat Button */
#chatbot-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #64312c;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Chat Window */
#chatbot-window {
    position: fixed;
    bottom: 80px;
    left: 50px;
    width: 380px;
    height: 420px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}

#chat-header {
    background: #64312c;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

#chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
    background: #fafafa;
}

/* Chat bubble styling */
.chat-message {
    max-width: 80%;
    margin: 6px 0;
    padding: 8px 12px;
    border-radius: 12px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease-in-out;
    word-wrap: break-word;
}

.chat-bot {
    background: #f0f0f0;
    border: 1px solid #ddd;
    align-self: flex-start;
}

.chat-user {
    background: #b38b00;
    color: white;
    border: 1px solid #b38b00;
    align-self: flex-end;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(5px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Footer Section */
#chat-footer {
    border-top: 1px solid #ddd;
    background: #fff;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Input Row */
.input-row {
    display: flex;
    gap: 5px;
}

#chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    font-size: 14px;
    outline: none;
}

#send-btn {
    width: 80px;
    border: none;
    background: #64312c;
    color: white;
    cursor: pointer;
    border-radius: 8px;
}

/* Bottom Action Buttons */
.bottom-buttons {
    display: flex;
    justify-content: space-around;
    gap: 5px;
}

.quick-btn {
    flex: 1;
    background: #f0f0f0;
    border: none;
    padding: 6px 0;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.quick-btn:hover {
    background: #ddd;
}

/* Course Options */
.course-option {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px;
    margin: 4px 0;
    cursor: pointer;
    transition: 0.2s;
}

.course-option:hover {
    background: #f9f9f9;
    border-color: #b38b00;
}
/* end chatbot */

/* leftside enquiry button */
#enquiry-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg); /* rotate text */
    transform-origin: left top;
    z-index: 9999;
    background-color: #64312c;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    text-decoration: none;
}

#enquiry-btn:hover {
    background-color: #64312c;
    text-decoration: none;
}
/* end */

/* enquiry modal form */
.modal-content {
    border-radius: 0.75rem; /* smooth corners */
  }
.btn-pill {
    border-radius: 50px;
}
.form-control:focus {
    border-color: #64312c;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
/* end */


/* about-us card animation */
/* book appointment section */
.book-appointment-btn {
  background-color: #64312c;
  color: #fff;
  border: none;
  border-radius: 8px; /* Slightly rounded rectangle */
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(100, 49, 44, 0.2);
  align: center;
}

.book-appointment-btn:hover {
  background-color: #7a3b35; /* Slightly lighter shade on hover */
  transform: translateY(-3px); /* Lift effect */
  box-shadow: 0 8px 18px rgba(100, 49, 44, 0.35);
}

.book-appointment-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(100, 49, 44, 0.25);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.icon-wrap {
  position: relative;
  display: inline-block;
  padding: 20px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  overflow: visible;
}

.icon-wrap i {
  font-size: 3rem;
  color: black;
  transition: color 0.3s ease;
}

/* Ripple circle base */
.icon-wrap::before,
.icon-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(209, 147, 21, 0.2);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: -1;
}

/* Two ripple waves with delay */
.card:hover .icon-wrap::before {
  animation: ripple 1.5s infinite;
}
.card:hover .icon-wrap::after {
  animation: ripple 1.5s infinite 0.75s; /* delay for second wave */
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.8;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.card:hover .icon-wrap {
  transform: scale(1.1);
}
.card:hover .icon-wrap i {
  color: #d19315;
}
/* end */

/* testimonial section  */
/* Swiper arrows color */
.swiper-button-next,
.swiper-button-prev {
  color: #d4a017 !important;  /* Gold color */
  font-weight: bold;
  transition: transform 0.2s ease-in-out;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2); /* subtle hover zoom */
  color: #b88914 !important; /* darker shade on hover */
}


/* upcoming pgm section - click arrow */

/* Floating arrow on right side */
    .arrow-wrapper {
      position: fixed;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      z-index: 1000;
    }

    .arrow {
      border: solid #64312c;
      border-width: 0 4px 4px 0;
      display: inline-block;
      padding: 10px;
      transform: rotate(135deg); /* points left */
      transition: transform 0.3s ease, border-color 0.3s;
    }

    .arrow-wrapper:hover .arrow {
      border-color: #7a3c36;
      transform: rotate(135deg) scale(1.1);
    }

    /* Label that appears only on hover */
    .arrow-label {
      opacity: 0;
      transform: translateX(10px);
      transition: all 0.3s ease;
      font-size: 14px;
      font-weight: 600;
      background: #64312c;
      color: white;
      padding: 6px 10px;
      border-radius: 6px;
      white-space: nowrap;
      pointer-events: none;
    }

    .arrow-wrapper:hover .arrow-label {
      opacity: 1;
      transform: translateX(0);
    }

    /* Upcoming Programs section */
    #upcoming-programs {
      background: white;
      padding: 60px 20px;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    #upcoming-programs h2 {
      color: #64312c;
      font-size: 28px;
      margin-bottom: 20px;
      text-align: center;
    }

    #upcoming-programs ul {
      list-style: none;
      padding: 0;
      max-width: 600px;
      margin: auto;
    }

    #upcoming-programs li {
      background: #f1f1f1;
      padding: 12px;
      border-radius: 6px;
      margin-bottom: 10px;
      font-size: 16px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .mobile-view{
        display: none;
    }
    @media (max-width:768px){
        .desktop-view{
            display: none;
        }
        .mobile-view{
            display: block;
        }
        #enquiry-btn {
            
            z-index: 100;
            
        }
    }
    
    /* mode of program to show in upcoming pgm(hybrid, offline) */
    .mode-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
        padding: 6px 12px;
        border-radius: 999px;
        font-weight: 500;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        color: #333;
    }
    .mode-pill i {
        font-size: 1rem;
    }
    .mode-online { color: #198754; border-color: #19875433; }
    .mode-offline { color: #dc3545; border-color: #dc354533; }
    .mode-hybrid { color: #ffc107; border-color: #ffc10733; }