/* =========================================================
   Oakleaf College - theme on top of Bootstrap 5
   Colours come from the logo: navy + gold
   ========================================================= */

/* ---------- 1. Theme colours and fonts (Bootstrap variables) ---------- */
:root {
  --bs-primary: #0e3266;
  --bs-primary-rgb: 14, 50, 102;
  --bs-primary-bg-subtle: #dfe8f6;
  --bs-primary-text-emphasis: #081f45;

  --bs-warning: #d6a43a;
  --bs-warning-rgb: 214, 164, 58;
  --bs-warning-text-emphasis: #8a6410;

  --bs-dark-rgb: 8, 31, 69;
  --bs-light-rgb: 238, 242, 249;

  --bs-body-font-family: "Inter", system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, serif;
}

section {
  scroll-margin-top: 5rem;
}

/* ---------- 2. Bootstrap component colours ---------- */
.btn-primary {
  --bs-btn-bg: #0e3266;
  --bs-btn-border-color: #0e3266;
  --bs-btn-hover-bg: #081f45;
  --bs-btn-hover-border-color: #081f45;
  --bs-btn-active-bg: #081f45;
  --bs-btn-active-border-color: #081f45;
}

.btn-warning {
  --bs-btn-color: #1a2233;
  --bs-btn-bg: #d6a43a;
  --bs-btn-border-color: #d6a43a;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #b0801d;
  --bs-btn-hover-border-color: #b0801d;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #b0801d;
  --bs-btn-active-border-color: #b0801d;
}

.nav-pills {
  --bs-nav-link-color: #0e3266;
  --bs-nav-link-hover-color: #081f45;
  --bs-nav-pills-link-active-bg: #0e3266;
}

/* ---------- 3. Hero slider ---------- */
/* The photo layer is optional: if the image is missing, the navy gradient shows. */
.hero-slide {
  min-height: 720px;
  padding-bottom: 6rem;
  background-size: cover;
  background-position: center;
}

.hero-slide-1 {
    background-image: linear-gradient(110deg, rgba(8, 31, 69, 0.95), rgb(8 31 69 / 27%)), url(../images/slide-1.jpg), linear-gradient(135deg, #1e4f96, #081f45);
}

.hero-slide-2 {
  background-image:
   linear-gradient(110deg, rgba(8, 31, 69, 0.95), rgb(8 31 69 / 27%)),
    url("../images/slide-2.jpg"),
    linear-gradient(135deg, #8a6a1c, #081f45);
}

.hero-slide-3 {
  background-image:
 linear-gradient(110deg, rgba(8, 31, 69, 0.95), rgb(8 31 69 / 27%)),
    url("../images/slide-3.jpg"),
    linear-gradient(135deg, #2a5aa8, #081f45);
}

/* ---------- 4. Stats strip (overlaps the hero) ---------- */
.stats-strip {
  position: relative;
  z-index: 5;
  margin-top: -4.5rem;
}

/* ---------- 5. About image ---------- */
.about-image {
  min-height: 590px;
  background-size: cover;
  background-position: center;
  background-image:
    url("../images/campus.jpg"),
    linear-gradient(160deg, #0e3266, #06142e);
}

/* ---------- 6. Admissions step number ---------- */
.step-number {
  width: 4rem;
  height: 4rem;
}



.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: 15px;
    font-weight: var(--bs-nav-link-font-weight);
    color: rgb(0 0 0) !important;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    text-transform: uppercase;
    padding: 10px 16px !important;
}



@media (min-width: 1200px) {
    .display-3 {
        font-size: 50px !important;
    }
}



.text-secondary {
    --bs-text-opacity: 1;
    color: rgb(0 0 0) !important;
}


button.nav-link.jkl.active {
    color: white !important;
}


.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #e3e3e3;
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}



.form-select {
    --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #e3e3e3;
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


a.btn.btn-warning.btnn-apl.rounded-pill.px-4 {
    background: linear-gradient(135deg, #c89336 0%, #e8b85d 100%);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

a.btn.btn-warning.btnn-apl.rounded-pill.px-4:hover {
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
    color: #fff;
}


/* =========================================================
   Premium Footer Design
   ========================================================= */
.site-footer {
  background: linear-gradient(145deg, #06152d 0%, #0a234a 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 5rem;
  border-top: 1px solid rgba(214, 164, 58, 0.2);
}

/* Decorative Glowing Orbs */
.footer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
}
.footer-glow-1 {
  width: 400px;
  height: 400px;
  background: #d6a43a; /* Gold glow */
  top: -200px;
  left: -100px;
}
.footer-glow-2 {
  width: 300px;
  height: 300px;
  background: #1e4f96; /* Blue glow */
  bottom: -100px;
  right: 10%;
}

/* Logo styling */
.footer-logo {
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Description Text */
.footer-desc {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Modern Contact List with Icon Boxes */
.footer-contact {
  display: grid;
  gap: 1.2rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.footer-contact .icon-box {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-warning);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.footer-contact li:hover .icon-box {
  background: var(--bs-warning);
  color: #081f45;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(214, 164, 58, 0.3);
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-contact a:hover {
  color: var(--bs-warning);
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}


.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background: var(--bs-warning);
  border-radius: 2px;
}

/* Navigation Links with Chevrons */
.footer-nav {
  display: grid;
  gap: 0.85rem;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}
.footer-nav a i {
  font-size: 0.7rem;
  margin-right: 0.5rem;
  color: var(--bs-warning);
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.25s ease;
}
.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(3px);
}
.footer-nav a:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* Admissions CTA Box (Glassmorphism) */
.footer-cta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.footer-cta-box h3 {
  color: #ffffff;
}
.footer-cta-box p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--bs-warning);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .site-footer { padding-top: 3rem; }
  .footer-main { padding-bottom: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; margin-top: 2rem; }
  .footer-bottom .d-flex { justify-content: center; }
}


/* Navigation Links with Chevrons */
.footer-nav {
  display: grid;
  gap: 0.85rem;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}
/* Ye line change ki gayi hai - Icons ko hamesha dikhne ke liye */
.footer-nav a i {
  font-size: 0.7rem;
  margin-right: 0.6rem; /* Thoda space badhaya */
  color: var(--bs-warning); /* Gold color */
  opacity: 1; /* Hamesha dikhega */
  transform: translateX(0); /* Position fix */
  transition: all 0.25s ease;
}
.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(3px); /* Hover par poora text thoda right shift hoga */
}
/* Hover par icon thoda aur highlight hoga */
.footer-nav a:hover i {
  color: #ffffff; 
}

.bggg {
    background-color: #e7e7e7 !important;
    padding: 60px 0px;
}



/* =========================================================
   Custom FAQ Section & Accordion
   ========================================================= */

.faq-section {
  background-color: #f8f9fa; /* Light background to separate from other sections */
}

/* Accordion Container */
.custom-accordion {
  display: grid;
  gap: 1rem; /* Gap between each FAQ item */
}

/* Individual Item */
.custom-accordion .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px !important; /* Rounded corners */
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Hover effect on item */
.custom-accordion .accordion-item:hover {
  box-shadow: 0 8px 25px rgba(14, 50, 102, 0.08); /* Soft Navy shadow */
  border-color: rgba(14, 50, 102, 0.2);
}

/* The Button (Question) */
.custom-accordion .accordion-button {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0e3266; /* Navy Blue */
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important; /* Remove default bootstrap focus ring */
  transition: all 0.3s ease;
}

/* Hover state for button */
.custom-accordion .accordion-button:hover {
  color: #d6a43a; /* Gold */
  background-color: #f8f9fa;
}

/* When open */
.custom-accordion .accordion-button:not(.collapsed) {
  color: #d6a43a; /* Gold text when open */
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* The Plus/Minus Custom Icon */
.custom-accordion .accordion-button::after {
  background-image: none; /* Hide default bootstrap icon */
  content: '\F4FE'; /* Bootstrap Icon for Plus */
  font-family: "bootstrap-icons";
  font-size: 1.2rem;
  font-weight: bold;
  color: #0e3266;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Rotate icon to 'Minus' or 'X' when open */
.custom-accordion .accordion-button:not(.collapsed)::after {
  content: '\F2EA'; /* Bootstrap Icon for Dash (Minus) */
  color: #d6a43a;
  transform: rotate(180deg); /* Rotates the icon nicely */
}

/* Body (Answer) */
.custom-accordion .accordion-body {
  padding: 1.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  background-color: #ffffff;
}


.fixed-contact-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-contact-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
}

.fixed-contact-buttons a:hover {
    padding-right: 23px;
    color: #fff;
}

.fixed-contact-buttons i {
    font-size: 20px;
}

.fixed-call-btn {
    background: linear-gradient(135deg, #164e9b, #0878d1);
}

.fixed-whatsapp-btn {
    background: linear-gradient(135deg, #128c4a, #25d366);
}

@media (max-width: 576px) {
    .fixed-contact-buttons a {
        padding: 12px;
        gap: 8px;
        font-size: 12px;
    }

    .fixed-contact-buttons i {
        font-size: 18px;
    }
}


/* =========================================================
   Internal pages (About, Why Oakleaf, Admissions, Contact)
   ========================================================= */

/* ---------- Smaller sticky navbar ---------- */
.navbar {
  --bs-navbar-padding-y: 0.25rem;
}

/*.navbar-brand img {
  height: 50px;
  width: auto;
}*/

/* Active menu link: navy text + gold underline */
.navbar .nav-link.active {
  color: #0e3266 !important;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 #d6a43a;
}

/* ---------- Page banner with breadcrumb ----------
   Image layers (first found wins): page-specific photo, then the shared photo.
   If no photo exists the navy gradient shows. The navy overlay sits on top. */
.page-banner {
  --banner-overlay: linear-gradient(110deg, rgba(8, 31, 69, 0.94) 20%, rgba(8, 31, 69, 0.6));
  --banner-base: linear-gradient(135deg, #1e4f96, #081f45);

  min-height: 340px;
  padding-bottom: 2rem;
  border-bottom: 4px solid #d6a43a;
  background-size: cover;
  background-position: center;
  background-image:
    var(--banner-overlay),
    url("../images/page-banner.jpg"),
    var(--banner-base);
}

.page-banner-about {
  background-image:
    var(--banner-overlay),
    url("../images/slide-1.jpg"),
    url("../images/slide-1.jpg"),
    var(--banner-base);
}

.page-banner-why {
  background-image:
    var(--banner-overlay),
    url("../images/slide-1.jpg"),
    url("../images/slide-1.jpg"),
    var(--banner-base);
}

.page-banner-admissions {
  background-image:
    var(--banner-overlay),
    url("../images/slide-1.jpg"),
    url("../images/slide-1.jpg"),
    var(--banner-base);
}

.page-banner-contact {
  background-image:
    var(--banner-overlay),
    url("../images/slide-1.jpg"),
    url("../images/slide-1.jpg"),
    var(--banner-base);
}

.page-banner .breadcrumb {
  --bs-breadcrumb-divider: "\203A";
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
  --bs-breadcrumb-item-active-color: #d6a43a;
}

.page-banner .breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
}

.page-banner .breadcrumb-item a:hover {
  color: #d6a43a;
}

/* ---------- Small helpers ---------- */
.icon-circle {
  width: 3.5rem;
  height: 3.5rem;
}

.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(14, 50, 102, 0.15) !important;
}



#testimonialSlider .carousel-control-prev,
#testimonialSlider .carousel-control-next {
    width: 5%;
    top: 0;
    bottom: 0;
}

#testimonialSlider .carousel-control-prev {
    left: -65px;
}

#testimonialSlider .carousel-control-next {
    right: -65px;
}

@media (max-width: 767px) {
    #testimonialSlider .carousel-control-prev {
        left: -10px;
    }

    #testimonialSlider .carousel-control-next {
        right: -10px;
    }
}


#testimonialSlider .card {
    border-radius: 14px !important;
}



/* Oakleaf Top Bar Social Icons */
.oakleaf-social {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 18px;
    border-left: 1px solid rgba(255,255,255,0.25);
}

.oakleaf-social a {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.oakleaf-social a:hover {
    color: #c9a96e;
}