/********** Template CSS **********/


.course-card {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Makes the card a perfect square */
    overflow: hidden;
    border-radius: 10px;
}
.course-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.course-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

#countdown {
  color: #3F207F; /* Example: pink */
  padding: 10px;
  text-align: center;
  background: #f8f9fa;
  border-radius: 8px;
}

:root {
    --primary: #3F207F; /* Bootstrap Purple */
    --light: #F5F0E6;
    --dark: #000000;
}

.text-purple {
    color: #3F207F !important;
}

.fw-medium {
font-weight: 600 !important;
}

.fw-semi-bold {
font-weight: 700 !important;
}

.back-to-top {
position: fixed;
display: none;
right: 45px;
bottom: 45px;
z-index: 99;
}


/*** Spinner ***/
#spinner {
opacity: 0;
visibility: hidden;
transition: opacity .5s ease-out, visibility 0s linear .5s;
z-index: 99999;
}

#spinner.show {
transition: opacity .5s ease-out, visibility 0s linear 0s;
visibility: visible;
opacity: 1;
}


/*** Button ***/
.btn {
font-family: 'Nunito', sans-serif;
font-weight: 600;
transition: .5s;
}

/* Primary Button */
.btn.btn-primary {
background-color: var(--primary);
border-color: var(--primary);
color: #f6f6f6 !important; /* Black Text */
}

.btn.btn-primary:hover {
background-color: #219C9E; /* Darker Purple on Hover */
border-color: #ffce4c;
color: #f0f0f0 !important; /* Ensure text stays black */
}

/* Secondary Button */
.btn.btn-secondary {
background-color: #ffce4c; /* Soft Lavender */
border-color: #9b59b6;
color: #3F207F !important; /* Black Text */
}

.btn.btn-secondary:hover {
background-color: #ffce4c; /* Darker on Hover */
border-color: #582bb3;
color: #000 !important; /* Ensure text stays black */
}


.btn-square {
width: 38px;
height: 38px;
}

.btn-sm-square {
width: 32px;
height: 32px;
}

.btn-lg-square {
width: 48px;
height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
padding: 0;
display: flex;
align-items: center;
justify-content: center;
font-weight: normal;
border-radius: 0px;
}

.fixed-height {
height: 450px;
object-fit: cover; /* Ensures the image covers the area without distortion */
width: 450px; /* Makes it responsive */
}

  .fixed-btn {
        width: 280px; /* Adjust this to the desired width */
        white-space: normal; /* Allow multi-line text if needed */
        text-align: center;
    }

    @media (max-width: 768px) {
        .fixed-btn {
            width: 100%; /* Stack buttons on smaller screens */
        }
    }

        .equal-width-btn {
        width: 220px; /* Set desired fixed width */
        white-space: normal;
        text-align: center;
    }

    @media (max-width: 768px) {
        .equal-width-btn {
            width: 100%; /* Stack full width on small screens */
        }
    }

    .fixed-size-btn {
    min-width: 250px;
    max-width: 250px;
    min-height: 60px;
    text-align: center;
    white-space: normal;
    padding: 1rem;
}


.btn-books {
    font-size: 0.8rem !important;
}
/*** Navbar ***/
.navbar .dropdown-toggle::after {
border: none;
content: "\f107";
font-family: "Font Awesome 5 Free";
font-weight: 900;
vertical-align: middle;
margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
margin-right: 30px;
padding: 25px 0;
color: #FFFFFF;
font-size: 15px;
text-transform: uppercase;
outline: none;
}

.navbar-nav .nav-link.active {
    position: relative;
    color: #3F207F !important;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 60px;
    height: 2px;
    background-color: #3F207F;
    border-radius: 2px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
color: var(--primary);
}

@media (max-width: 991.98px) {
.navbar-light .navbar-nav .nav-link  {
    margin-right: 0;
    padding: 10px 0;
}

.navbar-light .navbar-nav {
    border-top: 1px solid #EEEEEE;
}
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
height: 75px;
width: auto;
}

.navbar-light .navbar-nav .nav-link {
color: var(--dark);
font-weight: 500;
}

.navbar-light.sticky-top {
top: -100px;
transition: .5s;
}

@media (min-width: 992px) {
.navbar .nav-item .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
}

.navbar-toggler {
   
    margin-top: -50px !important; /* Pushes button to the right */
    padding: 8px;
    border: none;
    outline: none;
}

.navbar-brand img {
    max-width: 100%;
    width: 300px;
    height: auto;
  }
  
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px !important; /* Force the height reduction */
        max-width: 100%; /* Ensures the image scales properly */
    }
    .navbar-toggler {
   
        margin-top: -90px !important; /* Pushes button to the right */
        padding: 8px;
        border: none;
        outline: none;
    }
}

.navbar .dropdown-menu.fade-down {
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
}

.navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}
}


/*** Header carousel ***/
@media (max-width: 768px) {
.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}

.header-carousel .owl-nav {
position: absolute;
top: 50%;
right: 8%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        display: none;
    }
    }

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
margin: 7px 0;
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
color: #FFFFFF;
background: transparent;
border: 1px solid #FFFFFF;
font-size: 22px;
transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
background: var(--primary);
border-color: var(--primary);
}

.page-header {
background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-1.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}

.page-header-inner {
background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
color: var(--light);
}


/*** Section Title ***/
.section-title {
position: relative;
display: inline-block;
text-transform: uppercase;
}

.section-title::before {
position: absolute;
content: "";
width: calc(100% + 80px);
height: 2px;
top: 4px;
left: -40px;
background: var(--primary);
z-index: -1;
}

.section-title::after {
position: absolute;
content: "";
width: calc(100% + 120px);
height: 2px;
bottom: 5px;
left: -60px;
background: var(--primary);
z-index: -1;
}

.section-title.text-start::before {
width: calc(100% + 40px);
left: 0;
}

.section-title.text-start::after {
width: calc(100% + 60px);
left: 0;
}


/*** Service ***/
.service-item {
background: #3F207F;
color: white;
transition: .5s;
}

.service-item h5 {
color: white !important;
}

.service-item:hover h5 {
    color: #3F207F !important;
}

.service-item:hover {
margin-top: -10px;
color: #5f185a;
background: #F0FBFC;
}

/* Add this in your CSS file or <style> tag */
@keyframes floatZoom {
    0%, 100% {
        transform: scale(1) translateY(0px);
    }
    50% {
        transform: scale(1.05) translateY(-10px);
    }
}

.animated-brand {
    animation: floatZoom 2s ease-in-out infinite;
}




/*** Categories & Courses ***/
.category img,
.course-item img {
transition: .5s;
}

.category a:hover img,
.course-item:hover img {
transform: scale(1.1);
}


/*** Team ***/
.team-item img {
transition: .5s;
}

.team-item:hover img {
transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
position: absolute;
content: "";
top: 0;
left: 0;
height: 100%;
width: 0;
background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
z-index: 1;
}

.testimonial-carousel::after {
position: absolute;
content: "";
top: 0;
right: 0;
height: 100%;
width: 0;
background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
z-index: 1;
}

@media (min-width: 768px) {
.testimonial-carousel::before,
.testimonial-carousel::after {
    width: 200px;
}
}

@media (min-width: 992px) {
.testimonial-carousel::before,
.testimonial-carousel::after {
    width: 300px;
}
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
margin-top: 24px;
display: flex;
align-items: flex-end;
justify-content: center;
}

.testimonial-carousel .owl-dot {
position: relative;
display: inline-block;
margin: 0 5px;
width: 15px;
height: 15px;
border: 1px solid #CCCCCC;
transition: .5s;
}

.testimonial-carousel .owl-dot.active {
background: var(--primary);
border-color: var(--primary);
}


/*** Footer ***/

.whatsapp-float-button {
    position: fixed;
    bottom: 100px;
    right: 35px;
    background-color: #25D366; /* WhatsApp Green */
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  
  .whatsapp-float-button img {
    width: 50px; /* Size of the icon */
    height: 50px;
  }

  .whatsapp-float-button:hover {
    background-color: #219C9E; /* Darker shade of WhatsApp Green */
  }
  
  
.footer .btn.btn-social {
margin-right: 5px;
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
color: var(--light);
font-weight: normal;
border: 1px solid #FFFFFF;
border-radius: 35px;
transition: .3s;
}

.footer .btn.btn-social:hover {
color: var(--primary);
}

.footer .btn.btn-link {
display: block;
margin-bottom: 5px;
padding: 0;
text-align: left;
color: #FFFFFF;
font-size: 15px;
font-weight: normal;
text-transform: capitalize;
transition: .3s;
}

.active-link {
    color: #219C9E !important; /* For example, Bootstrap's warning yellow */
    font-weight: bold;
}


.footer .btn.btn-link::before {
position: relative;
content: "\f105";
font-family: "Font Awesome 5 Free";
font-weight: 900;
margin-right: 10px;
}

.footer .btn.btn-link:hover {
letter-spacing: 1px;
box-shadow: none;
}

.footer .copyright {
padding: 25px 0;
font-size: 15px;
border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
color: var(--light);
}

.footer .footer-menu a {
margin-right: 15px;
padding-right: 15px;
border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
margin-right: 0;
padding-right: 0;
border-right: none;
}

.calendar-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* Adjust this for aspect ratio (600/800 = 75%) */
  height: 0;
  overflow: hidden;
  border: solid 1px #777;
  border-radius: 10px; /* optional, looks nicer */
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1); /* optional */
}

.calendar-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


@media (max-width: 600px) {
  .calendar-container {
    padding-bottom: 120%; /* taller ratio for small screens */
  }
}

 .calendar-frame {
    width: 100%;
    min-height: 650px;   /* ensures full month fits */
    height: 80vh;        /* responsive: takes 80% of viewport height */
    max-height: 900px;   /* cap on very large screens */
  }

  @media (max-width: 768px) {
    .calendar-frame {
      min-height: 500px;  /* smaller but still full month on mobile */
      height: 85vh;
    }
  }
  

  /* ===== Bimbo Ilori Custom Styles ===== */

/* Navbar */
.bimbo-navbar {
  background-color: #ffffff;
}

.bimbo-logo {
  font-size: 1.25rem;
  color: #000;
}

.bimbo-menu .nav-link {
  font-weight: 500;
  margin-left: 15px;
  color: #333;
}

.bimbo-menu .nav-link:hover {
  color: #219C9E; /* bootstrap primary blue */
}

/* Hero */
.bimbo-hero {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url(../img/kbloc-image.jpg) center/cover no-repeat;
  color: #fff;
  padding: 120px 20px;
}

.bimbo-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
}

.bimbo-hero-subtext {
  font-size: 1.2rem;
  margin: 20px 0 30px;
  color: #d2f1ff;
}

.bimbo-btn {
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 500;
  margin: 5px;
}


/* ===== Bimbo Full About Page Styles ===== */
.bimbo-about-full { background: #fff; color: #222; }
.bimbo-about-full-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.bimbo-about-full-lead { color: #555; margin-bottom: 2rem; font-size: 1.05rem; }

.bimbo-section-heading { font-size: 1.25rem; font-weight: 700; color: #0d6efd; }
.bimbo-subheading { font-size: 1.15rem; font-weight: 700; color: #111; margin-bottom: 0.75rem; }

.bimbo-paragraph { color: #444; line-height: 1.6; margin-bottom: 1rem; }
.bimbo-img { max-width: 100%; border-radius: 12px; box-shadow: 0 6px 18px rgba(16,24,40,0.06); }

/* Cards */
.bimbo-card { background: #fff; border-radius: 12px; border: 1px solid rgba(13,110,253,0.06); box-shadow: 0 6px 18px rgba(16,24,40,0.03); }
.bimbo-card-title { color: #219C9E; font-weight: 700; margin-bottom: 0.5rem; }

/* Values & Services */
.bimbo-value-card, .bimbo-service-card {
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.04);
  height: 100%;
}
.bimbo-value-card h5, .bimbo-service-card h5 { font-weight: 700; margin-bottom: 0.5rem; }
.bimbo-value-card p, .bimbo-service-card p { color: #555; }

/* Difference list */
.bimbo-diff-list { margin-top: 0.75rem; color: #444; list-style: inside; }

/* CTA */
.bimbo-cta {
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .bimbo-about-full-title { font-size: 1.6rem; }
  .bimbo-about-full-lead { font-size: 1rem; }
}

/* ===== About Section Styles ===== */
.bimbo-about {
  background-color: #f9f9f9;
}

.bimbo-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.bimbo-about-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
  color: #219C9E; /* bootstrap primary */
}

.bimbo-about-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.bimbo-about-btn {
  margin-top: 20px;
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 500;
}

.bimbo-about-img {
  max-width: 90%;
  border-radius: 15px;
}


/* Programs Expandable Section */
.bimbo-programs-detailed {
  border-radius: 15px;
  background: #f9f9f9;
}

.bimbo-programs-detailed h4 {
  font-weight: 600;
  color: #222;
}

.bimbo-programs-detailed ul {
  margin-left: 1.2rem;
  list-style: disc;
}

.bimbo-programs-detailed p {
  color: #444;
}

.consultation-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
  }
  .consultation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  }
  .consultation-card img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    object-fit: cover;
  }
  
  
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.popup-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.why-read-books {
  padding: 90px 20px;
  background: #F5F0E6; /* Soft Beige / Ivory White */
  font-family: "Poppins", sans-serif;
}

.why-read-books .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.why-read-books h2 {
  font-size: 38px;
  margin-bottom: 18px;
  color: #3F207F; /* Royal Purple */
}

.why-read-books .intro {
  font-size: 18px;
  color: #444;
  max-width: 820px;
  margin: 0 auto 55px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.reason {
  background: #ffffff;
  padding: 32px 26px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(63, 32, 127, 0.08);
  text-align: left;
  border-top: 5px solid #219C9C; /* Teal Blue */
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.reason:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(63, 32, 127, 0.18);
  border-top-color: #E4B548; /* Golden Yellow */
}

.reason h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #3F207F; /* Royal Purple */
}

.reason p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
}

blockquote {
  margin-top: 70px;
  padding: 25px 30px;
  font-size: 20px;
  font-style: italic;
  color: #3F207F; /* Royal Purple */
  background: rgba(228, 181, 72, 0.12); /* Golden Yellow (soft) */
  border-left: 6px solid #E4B548; /* Golden Yellow */
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
}




