.header_button {
  background: #FFC525;
  background: linear-gradient(90deg, rgba(255, 197, 37, 1) 5%, rgb(255, 255, 255) 50%, rgba(255, 197, 37, 1) 96%);
}

.professional_card {
  background: #AE6531;
  background: linear-gradient(180deg, rgba(174, 101, 49, 0) 1%, rgba(174, 101, 49, 0.3) 42%, rgba(11, 19, 42, 0.651) 91%);
}

.professional_card_front {
  background: #AE6531;
  background: linear-gradient(180deg, rgba(174, 101, 49, 0) 0%, rgba(255, 255, 255, 0.5) 96%);
}

:root {
  --bg: #fff;
  --accent: #07203a;
  --btn-bg: #07203a;
}

* {
  box-sizing: border-box;
}

.section {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.subtitle {
  color: white;
  font-size: 0.95rem;
}

.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 10px;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transition: transform 480ms cubic-bezier(.2, .9, .3, 1),
    filter 480ms ease,
    opacity 480ms ease,
    box-shadow 480ms ease;
  width: 380px;
  /* smaller width */
  max-width: 80%;
  height: 65%;
  max-height: 240px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(2, 16, 34, 0.18);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.off {
  pointer-events: none;
}

.nav-btn {
  min-width: 50px;
  min-height: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--btn-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(7, 32, 58, 0.28);
  transition: transform 180ms ease, background 180ms ease;
  z-index: 200;
}

.nav-btn:hover {
  transform: scale(1.06);
}

.testimonial-section {
  /* margin: 0 10px; */
}

.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.heading h2 {
  color: #ffaa00;
}

.heading-buttons {
  display: flex;
  gap: 10px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #ffaa00;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: scale(1.05);
}

.subheading {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 40px;
}

.carousel-track {
  display: flex;
  gap: 25px;
  padding-left: 25px;
  transition: transform 0.6s ease;
}

.testimonial-card {
  min-width: 320px;
  max-width: 500px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 10px 20px rgba(253, 224, 71, 0.4);
  padding: 25px;
  text-align: left;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

.quote {
  font-size: 2.5rem;
  color: #0a1930;
  margin-bottom: 10px;
}

.stars {
  color: #f7b500;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 0.8rem;
  color: #333;
  line-height: 1.1;
  min-height: 40px;
  margin-bottom: 15px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.profile span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* About us page */
/* Configure Tailwind for smooth transitions on width */
.card-pillar {
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Desktop Hiding/Showing Logic using Tailwind utility classes */
.card-pillar.active {
  width: 65% !important;
}

.card-pillar.inactive {
  width: 11.66% !important;
}

/* Mobile View: Vertical Stack - Reset desktop widths and height */
@media (max-width: 1023px) {
  .card-pillar {
    width: 100% !important;
    height: auto !important;
    min-height: auto;
    /* Reset min-height to allow content to flow */
    transition: none;
    flex-direction: column;
    /* Ensure main content stacks */
  }

  /* Ensure the full width of the internal content area on mobile */
  .details-content-wrapper {
    position: relative !important;
    height: auto !important;
    min-height: 400px;
    /* Set min-height here for the image section */
  }

  /* NEW: Make sure desktop-only absolute content is never visible on mobile */
  .details-content {
    display: none !important;
  }

  /* NEW: Ensure the mobile details content flows naturally */
  .details-content-mobile {
    display: block !important;
  }
}


/* Custom hover effect for media items */
.media-card:hover .overlay {
  opacity: 1;
}

.media-card:hover img {
  transform: scale(1.05);
}

/* Tailwind aspect-ratio utility fix for older browsers */
.aspect-w-16 {
  --aspect-w: 16;
}

.aspect-h-9 {
  --aspect-h: 9;
}

.aspect-w-16\/aspect-h-9 {
  padding-bottom: calc(var(--aspect-h) / var(--aspect-w) * 100%);
}

@media (max-width: 900px) {
  .stage {
    height: 230px;
  }

  .slide {
    width: 320px;
    border-radius: 12px;
  }
}

@media (max-width: 600px) {
  .stage {
    height: 200px;
  }

  .slide {
    width: 260px;
    border-radius: 10px;
  }

  .nav-btn {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .testimonial-card {
    min-width: 250px;
    max-width: 250px;
  }

  .heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .heading-buttons {
    align-self: flex-end;
  }
}

/* Font */

.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.inria-serif-light {
  font-family: "Inria Serif", serif;
  font-weight: 300;
  font-style: normal;
}

.inria-serif-regular {
  font-family: "Inria Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.inria-serif-bold {
  font-family: "Inria Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.inria-serif-light-italic {
  font-family: "Inria Serif", serif;
  font-weight: 300;
  font-style: italic;
}

.inria-serif-regular-italic {
  font-family: "Inria Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.inria-serif-bold-italic {
  font-family: "Inria Serif", serif;
  font-weight: 700;
  font-style: italic;
}
@keyframes slideUp {
            from { opacity:0; transform: translateY(30px); }
            to { opacity:1; transform: translateY(0); }
        }
        .animate-slideUp { animation: slideUp 0.9s ease-out forwards; }

/* Animations  */

/* Loading */
 /* Custom CSS for a loading animation (optional but looks good) */
        @keyframes pulse-fade {
            0% { opacity: 0.6; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.05); }
            100% { opacity: 0.6; transform: scale(1); }
        }
        .animate-pulse-fade {
            animation: pulse-fade 1.5s ease-in-out infinite;
        }

/* Home */


.scroll-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ff8800;
    background: #ffffff;
    color: #ff8800;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    bottom: 20px;
    left: 20px;
    transition: 0.3s ease;
}

/* Hover */
.scroll-btn:hover {
    background: #ff8800;
    color: #ffffff;
    transform: translateY(3px);
}

/* 🟡 RESPONSIVE SIZES */

/* Medium screens (tablets) */
@media (max-width: 768px) {
    .scroll-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
        border-width: 2.5px;
    }
}

/* Small screens (mobile) */
@media (max-width: 480px) {
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        border-width: 2px;
        bottom: 15px;
        left: 15px;
    }
}


 .course-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .course-card .top-content {
            flex-grow: 1;
        }


      #yt1{
        background: url(assests/images/devotional.avif) !important;
      }

       #yt1 iframe{
        background: transparent !important;
      }
      #if1{
          background: transparent !important;
      }

@media (max-width: 768px){
      #sec2{
        display: flex;
        flex-direction: column-reverse;
      }}




      .fadeIn {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}


.blob {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -100;
    background: rgba(255, 215, 90, 0.35);
    border-radius: 55% 45% 60% 40%;
    filter: blur(30px);
    z-index: 1;
    animation-duration: 2.5s !important; /* animate.css override */
}

.ball {
    position: absolute;
    width: 45%;
    height: 45%;
    background: radial-gradient(circle at 30% 30%, #fff8d1, #f5c118 40%, #c69300 80%);
    border-radius: 50%;
    box-shadow: 0px 0px 20px rgba(255, 200, 80, 0.6),
                inset -5px -5px 10px rgba(0,0,0,0.25),
                inset 5px 5px 10px rgba(255,255,255,0.4);
    z-index: 2;
    animation-duration: 1.8s !important;
}

/* .sparkle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: sparkleFade 0.7s forwards;
  }

  @keyframes sparkleFade {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2); }
  } */

    .note {
    position: absolute;
    font-size: 16px;
    pointer-events: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: noteFade 0.8s forwards;
    color: #ff0;
  }

  @keyframes noteFade {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
  }



  .typed-cursor {
        font-weight: 300 !important;
        opacity: 0.7;
        font-size: 0.8em;
    }




    /* Custom scrollbar for aesthetics, primarily on desktop */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f5f9;
            /* slate-100 */
        }

        ::-webkit-scrollbar-thumb {
            background: #94a3b8;
            /* slate-400 */
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #64748b;
            /* slate-500 */
        }



        .floating-social {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);

  color: #e5e5e5;
  font-size: 18px;

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

  transition: all 0.35s ease;
}

.floating-social:hover {
  background: rgba(255, 170, 0, 0.15);
  color: #ffaa00;

  transform: translateX(6px) scale(1.08);
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.45);
}

.highlight-prev,
  .highlight-next {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .highlight-prev:hover,
  .highlight-next:hover {
    background: #ffaa00;
    color: #000;
    transform: scale(1.1);
  }

  .swiper-pagination-bullet {
    background: #ffaa00 !important;
    opacity: 0.4;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
  }