/* Consistent nav-link font size and style across all pages */
.navbar-nav .nav-link {
  font-size: 13px !important;
  font-family: 'Roboto', Arial, sans-serif !important;
  color: #fff !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
}

.swiper-pagination{
  margin-top: 50px;
  padding-top: 20px;
}

h2.text-white {
  font-size: 65px;
  margin-bottom: 15px;
}

.teacher-slider {
    display: block;
  }

/* Blog Section - Desktop/Laptop Only */
@media (min-width: 992px) {
  #blogs {
    padding: 4rem 0 2rem 0;
    background: #f8f9fa;
  }
  .teacher-slider {
    display: none;
  }
  #blogs .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  #blogs .post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
  }
  #blogs .card-item {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 420px;
  }
  #blogs .card-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(29,21,124,0.18);
  }
  #blogs .card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
  }
  #blogs .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  #blogs .card-item:hover .card-image img {
    transform: scale(1.07);
  }
  #blogs .card-body {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  #blogs .card-body span {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0.5rem;
    display: block;
  }
  #blogs .card-body h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1D157C;
    line-height: 1.3;
  }
  #blogs .card-body a {
    color: #1D157C;
    text-decoration: none;
    transition: color 0.2s;
  }
  #blogs .card-body a:hover {
    color: #FBB911;
    text-decoration: underline;
  }
}
/* Facilities Swiper Dots for Mobile */
@media (max-width: 767px) {
  .facilities-swiper .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 38px;
    position: relative;
    z-index: 2;
  }
  .teacher-slider {
    display: none;
  }
  .facilities-swiper .swiper-pagination-bullet {
    background: #1D157C;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: background 0.3s;
  }
  .facilities-swiper .swiper-pagination-bullet-active {
    background: #FBB911;
    border-color: #1D157C;
  }
}
/*
Theme Name: Glory - School Bootstrap 5 HTML Website Template
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Glory is specially designed for schools by TemplatesJungle.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:

1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Background Color
  2.3 Section
    - Section Paddings
    - Section Margins
    - Section Title
    - Content width
  2.4 Buttons
    - Primary Buttons
    - Outline Buttons

3. CONTENT ELEMENTS
  - Dropdown
  - Form
  - Svg Color
- Swiper
- Offcanvas
- Modal

4. SITE STRUCTURE
  4.1 Header
  4.2 Slider Section
  4.3 Feature Section
  4.4 About Section
  4.5 Founder Section
  4.6 Facilities Section

    
/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
  --accent-color: #1D157C;
  --black-color: #111111;
  --light-black-color: #343536;
  --dark-color: #111111;
  --primary-color: #1D157C;
  --secondary-color: #3C5494;
  --tertiary-color: #5B7BCE;
  --background-color: #E3EBFF;
  --gray-color: #777F81;

  --bs-dark-rgb: 17, 17, 17;
  --bs-gray-100: #F6F6F6;
  --bs-gray-300: #DCDCDC;
  --bs-primary-text-emphasis: var(--primary-color);

  --bs-light-rgb: rgba(255, 255, 255, 1);
  --bs-primary-rgb: 29, 21, 124;
  --light-color: #fdfdfd;
  --swiper-theme-color: #111 !important;
  --cadet-blue-color: #9AB4B7;
}

/* Fonts */
:root {
  --body-font: "Roboto", sans-serif;
}

/*----------------------------------------------*/
/* 2 GENERAL TYPOGRAPHY
/*----------------------------------------------*/

/* 2.1 General Styles
/*----------------------------------------------*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-color);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 164%;
  letter-spacing: 0.32px;
  color: var(--dark-color);
  margin: 0;
}

p {
  color: var(--dark-color);
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

a:hover {
  color: var(--tertiary-color);
}

.text-light {
  color: var(--light-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-black {
  color: var(--black-color) !important;
}

/* 2.2 Background Color
/*----------------------------------------------*/
.bg-light {
  background-color: var(--light-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-tertiary {
  background-color: var(--tertiary-color) !important;
}

.bg-gray {
  background-color: var(--bs-gray-100) !important;
}

.bg-background {
  background-color: var(--background-color) !important;
}

/*--------------------------------------------------------------
/** 2.3 Section
--------------------------------------------------------------*/
/* - Section Padding
--------------------------------------------------------------*/
.padding-small {
  padding-top: 8.125em;
  padding-bottom: 8.125em;
}

.padding-medium {
  padding-top: 10em;
  padding-bottom: 10em;
}

.padding-large {
  padding-top: 12em;
  padding-bottom: 12em;
}

/* - Section Margin
--------------------------------------------------------------*/
.margin-small {
  margin-top: 8.125em;
  margin-bottom: 8.125em;
}

.margin-medium {
  margin-top: 10em;
  margin-bottom: 10em;
}

.margin-large {
  margin-top: 12em;
  margin-bottom: 12em;
}


/* - Section Title
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--black-color);
  text-transform: capitalize;
  font-weight: 700;
  letter-spacing: 0.84px;
  line-height: 115%;
}

@media (min-width: 1200px) {
  .display-1 {
    font-size: 6.5rem;
  }
}

/* - Content width
--------------------------------------------------------------*/
.container-md {
  max-width: 1465px;
}

.container-lg {
  max-width: 1750px;
}


/*--------------------------------------------------------------
/** 2.4 Buttons
--------------------------------------------------------------*/
.btn {
  --bs-btn-padding-x: 1.9rem;
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 500;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
  border-radius: 50px;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--secondary-color);
  --bs-btn-hover-border-color: var(--secondary-color);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--primary-color);
  --bs-btn-disabled-border-color: var(--primary-color);
}

/* Hero Banner CTA Button */
.btn-banner-cta {
  background: #FBB911;
  color: #1D157C;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.4rem;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(251,185,17,0.35);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-banner-cta:hover {
  background: #fff;
  color: #1D157C;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(251,185,17,0.45);
}

/*--------------------------------------------------------------
/** 3.CONTENT ELEMENTS
--------------------------------------------------------------*/

/* Dropdown
------------------------------------------------------------- */
.dropdown-item {
  color: var(--dark-color);
}

.dropdown-item.active,
.dropdown-item:hover,
.dropdown-item:active {
  color: var(--dark-color);
  background-color: var(--bs-gray-300);
}

/* Form
------------------------------------------------------------- */
.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: none;
}

.form-check-input:focus {
  border-color: var(--accent-color);
  outline: 0;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--dark-color);
  outline: 0;
  box-shadow: none;
}

input,
select,
textarea {
  border-color: var(--dark-color);
  outline: 0;
  box-shadow: none;
}

select:focus {
  box-shadow: none;
}

/* Subscribe Section Polish */
.subscribe-input {
  border-radius: 50px !important;
  border: 2px solid var(--primary-color);
  padding-left: 1.5rem !important;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.subscribe-input:focus {
  border-color: #FBB911 !important;
  box-shadow: 0 0 0 3px rgba(251,185,17,0.2) !important;
}
.subscribe-btn {
  border-radius: 50px !important;
  background: var(--primary-color) !important;
  border: none !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.2s !important;
}
.subscribe-btn:hover {
  background: #FBB911 !important;
  color: #1D157C !important;
  transform: translateY(-2px);
}

/* Svg Color
------------------------------------------------------------- */
svg.light-color {
  color: var(--light-color);
}

svg.dark-color {
  color: var(--dark-color);
}

svg.primary-color {
  color: var(--primary-color);
}

svg.accent-color {
  color: var(--accent-color);
}

svg.primary-color-500 {
  color: var(--bs-primary-rgb);
}

/* Swiper
------------------------------------------------------------- */
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 5px;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* Offcanvas
------------------------------------------------------------- */
.offcanvas {
height: 110vh;
}

/* ── Mobile nav: sticky close button + scrollable menu ─────── */
@media (max-width: 991px) {

  /* Make the offcanvas a flex column so header row stays pinned */
  #bdNavbar {
    display: flex !important;
    flex-direction: column !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  /* Close button row: always visible, never scrolls away */
  #bdNavbar .offcanvas-header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #000;
    padding: 1rem 1.5rem 0.75rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Nav links area: fills remaining height and scrolls */
  #bdNavbar .offcanvas-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 1rem !important;
  }

  /* Slightly larger close button tap target */
  #bdNavbar .btn-close {
    width: 2rem;
    height: 2rem;
    opacity: 0.85;
  }
  #bdNavbar .btn-close:hover {
    opacity: 1;
  }
}

/* Modal
------------------------------------------------------------- */
.modal-dialog {
  max-width: 800px;
  margin: auto;
  height: 100vh;
  display: flex;
  align-items: center;
}

.modal-content {
  padding: 0;
  background-color: #f5f3ef;
  border: none;
  border-radius: 0
}

/*----------------------------------------------*/
/* 4 SITE STRUCTURE */
/*----------------------------------------------*/

/* Term Announcement Banner
/*----------------------------------------------*/
.term-banner {
  position: relative;
  width: 100%;
  height: 56px;
  overflow: hidden;
  z-index: 99999;
  color: #fff;
  background: linear-gradient(110deg, #0f0a52 0%, #1D157C 35%, #3326c4 55%, #1D157C 75%, #0f0a52 100%);
  background-size: 250% 100%;
  box-shadow: 0 4px 18px rgba(29, 21, 124, 0.45);
  animation: tbSlideIn .9s cubic-bezier(.2,.8,.2,1) both, tbBgFlow 10s ease-in-out infinite;
}
/* animated gold edge lines */
.term-banner::before,
.term-banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FBB911, #fff3b0, #FBB911, #ff9d00, #FBB911);
  background-size: 300% 100%;
  animation: tbGoldRun 4s linear infinite;
  z-index: 3;
}
.term-banner::before { top: 0; }
.term-banner::after  { bottom: 0; animation-direction: reverse; }

/* light shine that sweeps across */
.tb-shine {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  left: -160px;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  animation: tbShine 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
/* twinkling sparkles */
.tb-spark {
  position: absolute;
  color: #FBB911;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation: tbTwinkle 3.2s ease-in-out infinite;
}
.tb-spark:nth-of-type(2) { left: 6%;  top: 22%; animation-delay: .2s; }
.tb-spark:nth-of-type(3) { left: 19%; top: 62%; animation-delay: 1.1s; font-size: 9px; }
.tb-spark:nth-of-type(4) { left: 38%; top: 18%; animation-delay: 2s;  font-size: 10px; }
.tb-spark:nth-of-type(5) { left: 63%; top: 66%; animation-delay: .7s; }
.tb-spark:nth-of-type(6) { left: 80%; top: 20%; animation-delay: 1.6s; font-size: 14px; }
.tb-spark:nth-of-type(7) { left: 92%; top: 60%; animation-delay: 2.5s; font-size: 9px; }

.term-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
/* badge */
.term-banner-badge {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  border-radius: 50px;
  background: linear-gradient(135deg, #FBB911, #ffd45e 50%, #FBB911);
  color: #1D157C;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  animation: tbPulse 2.2s ease-out infinite;
}
.tb-icon { display: inline-block; font-size: 1.05rem; animation: tbBounce 1.8s ease-in-out infinite; transform-origin: 50% 80%; }
.tb-sess { padding-left: 8px; border-left: 2px solid rgba(29,21,124,.35); }

/* rotating welcome messages */
.term-banner-msgs {
  position: relative;
  flex: 1 1 auto;
  max-width: 860px;
  height: 1.6em;
  font-size: .98rem;
  line-height: 1.6em;
  text-align: center;
  overflow: hidden;
}
.tb-msg {
  position: absolute;
  left: 0; right: 0; top: 0;
  opacity: 0;
  font-weight: 500;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: tbRotate 12s ease-in-out infinite;
}
.tb-msg:nth-child(2) { animation-delay: 4s; }
.tb-msg:nth-child(3) { animation-delay: 8s; }
.tb-msg b { color: #FBB911; font-weight: 800; }

.term-banner-close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  transition: background .2s, transform .25s;
}
.term-banner-close:hover { background: #FBB911; color: #1D157C; transform: translateY(-50%) rotate(90deg); }

@keyframes tbSlideIn { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes tbBgFlow  { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes tbGoldRun { from { background-position: 0% 0; } to { background-position: 300% 0; } }
@keyframes tbShine   { 0% { left: -160px; } 45%,100% { left: 110%; } }
@keyframes tbTwinkle { 0%,100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: .95; transform: scale(1.2) rotate(90deg); } }
@keyframes tbPulse   { 0% { box-shadow: 0 0 0 0 rgba(251,185,17,.65); } 70%,100% { box-shadow: 0 0 0 14px rgba(251,185,17,0); } }
@keyframes tbBounce  { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-12deg); } }
@keyframes tbRotate  {
  0%   { opacity: 0; transform: translateY(14px); }
  5%,30% { opacity: 1; transform: translateY(0); }
  35%,100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes tbScroll  { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Tablet & mobile: fixed 40px strip (header sits directly beneath it),
   messages glide across as a smooth ticker so the full text is readable. */
@media (max-width: 991px) {
  .term-banner { height: 40px; }
  .term-banner-inner { padding: 0 44px 0 10px; gap: 10px; justify-content: flex-start; }
  .term-banner-badge { font-size: .66rem; padding: 4px 11px 4px 8px; letter-spacing: .8px; gap: 5px; }
  .tb-icon { font-size: .9rem; }
  .term-banner-msgs { max-width: none; font-size: .8rem; height: 100%; display: flex; align-items: center; }
  .term-banner-track { display: inline-flex; white-space: nowrap; padding-left: 100%; animation: tbScroll 32s linear infinite; will-change: transform; }
  .tb-msg {
    position: static; opacity: 1; animation: none; transform: none;
    overflow: visible; text-overflow: clip;
    padding-right: 3.2rem; flex-shrink: 0;
  }
  .term-banner-close { right: 8px; width: 24px; height: 24px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .tb-sess { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .term-banner, .term-banner::before, .term-banner::after, .tb-shine, .tb-spark,
  .term-banner-badge, .tb-icon, .term-banner-track { animation: none !important; }
  .tb-msg { animation: none !important; }
  .tb-msg:first-child { opacity: 1; }
}

/* 4.1 Header
/*----------------------------------------------*/

.header-top {
  transition: transform 0.8s ease-in-out;
}

.header-top.hidden {
  transform: translateY(-100%);
}

#primary-header {
  transition: transform 0.8s ease-in-out;
}

#primary-header.hidden {
  transform: translateY(-50%);
}

a.nav-link {
  text-transform: uppercase;
  color: var(--light-color);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

/* Nav underline hover effect */
a.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FBB911;
  border-radius: 2px;
  transition: width 0.3s ease;
}
a.nav-link:hover::after,
a.nav-link.active::after {
  width: 100%;
}

a.nav-link:focus {
  color: var(--light-color);
}

a.nav-link.active,
.nav-link.show,
a.nav-link:hover {
  color: var(--light-color) !important;
  outline: none;
}

#primary-header .dropdown .search::after {
  content: none;
}

#primary-header .search-dropdown .dropdown-menu {
  width: 260px;
}

#primary-header .search-dropdown .dropdown-menu input {
  min-width: 100%;
}

#primary-header .search-dropdown .dropdown-menu button {
  padding: 0 12px;
  min-height: -webkit-fill-available;
  border-radius: 0.25rem;
}

.btn-close.btn-close-black {
  filter: invert(1) brightness(2);
}

.navbar-nav .nav-link {
  color: #fff !important;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #FBB911 !important;
}

@media only screen and (max-width: 610px) {
  #primary-header.hidden {
    transform: translateY(-105%);
  }
  #bdNavbar{
  background-color: black;
}
}

@media only screen and (max-width: 991px) {
  a.nav-link {
    color: var(--dark-color);
    font-size: 2rem;
    padding: 1rem 0 1rem 0 !important;
  }
  
  a.nav-link:focus {
    color: var(--dark-color);
  }
  
  a.nav-link.active,
  .nav-link.show,
  a.nav-link:hover {
    color: var(--dark-color) !important;
  }
}


/* 4.2 Slider Section
/*----------------------------------------------*/
section#slider .banner-content {
  width: 50%;
}

section#slider .main-slider-button-next,
.main-slider-button-prev {
  z-index: 111111;
  height: fit-content;
  opacity: 0.9;
}

section#slider .main-slider-button-next.swiper-button-disabled,
.main-slider-button-prev.swiper-button-disabled {
  opacity: 0.6;
}

/* Slider dark overlay for readability */
section#slider .swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 0;
}
section#slider .banner-content {
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 999px) {
  section#slider .banner-content {
    width: 80%;
  }
}


/* 4.3 Feature Section
/*----------------------------------------------*/
#features{
    transform: translateX(-50%);
    left: 50%;
    bottom: -140px;
    position: absolute;
}

/* Feature & course image hover zoom */
.feature-img, .course-img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 0.75rem 0.75rem 0 0;
}
.feature-img:hover, .course-img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(29,21,124,0.15);
}

.feature-label, .course-label {
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  transition: letter-spacing 0.3s;
}

@media only screen and (max-width: 999px) {
  #features{
    left: 0;
    transform: translateX(0%);
    position:static;
    padding-top: 10em;
    padding-bottom: 10em;
}
}



/* 4.4 About Section
/*----------------------------------------------*/
#about {
  padding-top: 240px;
  padding-bottom: 350px;
}

/* Welcome box polish */
.welcome-box {
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(29,21,124,0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}
.welcome-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(29,21,124,0.24);
}

#courses{
  top: 75%;
  transform: translateX(-50%);
  left: 50%;
  bottom: 0;
  position: absolute;
}

@media only screen and (max-width: 999px) {
  #about {
    padding-top: 150px;
    padding-bottom: 0px;
  }
#courses{
  left: 0;
  transform: translateX(0%);
  position:static;
  padding-top: 10em;
  padding-bottom: 10em;
}
}

/* 4.5 Founder Section
/*----------------------------------------------*/

#founder {
  padding-top: 18rem;
}

.founder-img {
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(29,21,124,0.13);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.founder-img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(29,21,124,0.22);
}

@media only screen and (max-width: 999px) {
  #founder {
    padding-top: 10rem;
  }
}


/* 4.6 Facilities Section
/*----------------------------------------------*/
.facility-block{
    margin: auto;
    width: 25%;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    position: absolute;
}

.product-item img.post-image {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.product-item:hover img.post-image {
  opacity: 0.7;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.product-description {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.product-item:hover .product-description {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 999px) {
  .facility-block{
    left: 0;
    transform: translateX(0%);
    position:static;
    margin: auto;
    width: 100%;
    padding-bottom: 30px;
}

  .navbar-nav .nav-link {
    font-size: 21px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    color: #fff !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
  }
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up {
  transform: translateY(40px);
}
.reveal-left {
  transform: translateX(-48px);
}
.reveal-right {
  transform: translateX(48px);
}
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

section#slider .banner-content {
  position: relative;
  z-index: 1;
}

section#slider .banner-content p {
  color: #fff !important;
}
/* ============================================================
   PROFESSIONAL RESPONSIVE OVERRIDES — index page
   Breakpoints: 991px (tablet) | 767px (mobile) | 480px (small)
   ============================================================ */

/* ── Announcement banner: styles live in section 4 above ── */
.term-banner { z-index: 1060; }

/* ── Header / navbar ─────────────────────────────────────── */

/* Mobile offcanvas nav — compact, readable */
@media (max-width: 991px) {
  a.nav-link {
    font-size: 1rem !important;
    padding: 0.55rem 0 !important;
    color: #fff !important;
  }
  #bdNavbar { background-color: #000 !important; }
}

/* ── Hero slider ─────────────────────────────────────────── */
/* Tablet */
@media (max-width: 991px) {
  section#slider .swiper-slide { height: 72vh !important; }
  section#slider .banner-content { width: 86% !important; }
  section#slider .banner-content h2 { font-size: clamp(1.8rem, 5vw, 3rem) !important; line-height: 1.15 !important; }
  section#slider .banner-content p  { font-size: 1rem !important; }
}
/* Mobile */
@media (max-width: 767px) {
  section#slider .swiper-slide { height: 80vh !important; background-position: center center !important; }
  section#slider .banner-content { width: 92% !important; padding: 0 0.5rem !important; }
  section#slider .banner-content h2 { font-size: clamp(1.5rem, 7vw, 2.2rem) !important; line-height: 1.2 !important; }
  section#slider .banner-content p  { font-size: 0.9rem !important; margin-bottom: 1.2rem !important; }
  .btn.btn-banner-cta, a.btn-banner-cta { padding: 0.6rem 1.5rem !important; font-size: 0.88rem !important; }
}
@media (max-width: 480px) {
  section#slider .swiper-slide { height: 88vh !important; }
  section#slider .banner-content h2 { font-size: 1.4rem !important; }
}

/* ── Features section ────────────────────────────────────── */
@media (max-width: 999px) {
  #features {
    left: 0; transform: none;
    position: static;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .features-row { margin: 0 !important; }
}
@media (max-width: 767px) {
  .feature-img { height: 170px; width: 100%; object-fit: cover; }
  .features-row { padding: 1rem !important; gap: 1rem; }
  .features-row .col-md-4 { width: 100%; }
}

/* ── About section ───────────────────────────────────────── */
@media (max-width: 999px) {
  #about {
    padding-top: 3rem !important;
    padding-bottom: 1rem !important;
  }
  #courses {
    position: static !important;
    left: auto !important;
    transform: none !important;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
@media (max-width: 767px) {
  #about { padding-top: 2rem !important; padding-bottom: 0.5rem !important; }
  #about .col-md-6 { width: 100%; }
  #about .feature { flex-direction: row; align-items: flex-start; }
  #about .feature svg { width: 44px !important; height: 44px !important; flex-shrink: 0; }
  .welcome-box { padding: 1.5rem !important; }
  .welcome-box h4 { font-size: 1.2rem; }
  .welcome-box p  { font-size: 0.92rem; }
  #courses { padding-top: 2rem; padding-bottom: 2rem; }
  #courses h2 { font-size: 1.5rem !important; }
  .course-img { height: 150px !important; width: 100%; object-fit: cover; }
  .courses-row .col-md-4 { width: 100%; }
  .courses-row { padding: 1rem !important; }
}

/* ── Founder section ─────────────────────────────────────── */
@media (max-width: 999px) {
  #founder { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}
@media (max-width: 767px) {
  #founder { padding-top: 2.5rem !important; padding-bottom: 2rem !important; }
  #founder .col-md-4,
  #founder .col-md-4.offset-md-2 { width: 100% !important; margin-left: 0 !important; }
  #founder .imageblock { margin-bottom: 1.5rem; margin-right: 0 !important; }
  #founder .founder-img { width: 100%; max-width: 340px; display: block; margin: 0 auto; }
  #founder .col-md-4.mt-5 { width: 100% !important; margin-top: 0 !important; }
  #founder .fs-2 { font-size: 1.2rem !important; line-height: 1.6 !important; }
}

/* ── Assistant Director section ──────────────────────────── */
@media (max-width: 767px) {
  #assistant-director .col-lg-6 { width: 100%; }
  #assistant-director img { max-height: 280px; max-width: 100% !important; }
  #assistant-director h3 { font-size: 1.2rem; }
  #assistant-director p  { font-size: 0.92rem; }
}

/* ── Teacher section ─────────────────────────────────────── */
@media (max-width: 767px) {
  #teacher { padding-top: 2rem; padding-bottom: 2rem; }
  #teacher h2 { font-size: 1.4rem !important; }
}

/* ── Facilities section ──────────────────────────────────── */
@media (max-width: 999px) {
  .facility-block {
    position: static !important;
    transform: none !important;
    left: auto !important; top: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding-bottom: 2rem;
  }
}
@media (max-width: 767px) {
  #facilities { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .facility-block .text-start { padding: 1.5rem !important; }
  .facility-block h2 { font-size: 1.4rem !important; }
  .facility-block p  { font-size: 0.92rem; }
}

/* ── Footer ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  #footer .footer-menu    { text-align: center; }
  #footer .social-links   { justify-content: center; }
  #footer .footer-bottom p { font-size: 0.82rem; text-align: center; }
  #footer .container-fluid .info { flex-direction: column; gap: 0.4rem; }
}

/* ── General section headings ────────────────────────────── */
@media (max-width: 767px) {
  .display-5 { font-size: 1.5rem !important; }
  .display-1 { font-size: clamp(1.5rem, 7vw, 2.4rem) !important; }
  h2.text-white { font-size: clamp(1.4rem, 6vw, 2rem) !important; line-height: 1.2 !important; }
  .padding-medium { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .padding-small  { padding-top: 2rem !important; padding-bottom: 2rem !important; }
}
@media (max-width: 480px) {
  .display-5 { font-size: 1.25rem !important; }
  h2.text-white { font-size: 1.35rem !important; }
}

/* ── Prevent horizontal scroll ───────────────────────────── */
@media (max-width: 767px) {
  body, html { overflow-x: hidden; }
  .container-fluid { padding-left: 1rem; padding-right: 1rem; }
  img[class*="position-absolute"] { display: none; } /* hide decorative BG images on mobile */
}
/* ============================================================
   STICKY NAVBAR — ALL PAGES (≤ 991px mobile/tablet)
   ============================================================
   TWO page types share this file:
   A) index.html  — has the yellow announcement banner + top info bar
   B) all others  — navbar only (single row, no banner, no info bar)

   Strategy:
   - #header is already Bootstrap fixed-top (position:fixed; top:0)
     on ALL pages at all widths. We just need to:
     1. Make sure the navbar has a solid black background everywhere.
     2. Give <body> the right padding-top so content isn't hidden.
     3. On index, account for the banner height above the header.
   ============================================================ */

/* ── 1. Navbar background — desktop + mobile, every page ──── */
#primary-header.navbar,
.navbar.second-header {
  background-color: #000 !important;
}

/* ── 2. Desktop body offset (index has two header rows) ────── */
/*    Other pages: just the single navbar row (~62px)          */
/*    index.html adds the top-bar height via its own rule below */
@media (min-width: 992px) {
  body {
    padding-top: 62px;   /* single navbar row */
  }
  /* index.html has the extra top info bar row (~44px) */
  body.has-top-bar {
    padding-top: 106px;
  }
}

/* ── 3. Mobile: fixed header + correct body offset ─────────── */
@media (max-width: 991px) {

  /* Announcement banner (index only): pin to very top */
  .term-banner {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1060 !important;
  }

  /* Header: fixed, sits directly at top (no banner on inner pages) */
  #header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: top 0.3s ease, box-shadow 0.3s ease;
  }

  /* index.html only: push header below the banner */
  #header.has-banner {
    top: 40px;
  }

  /* When banner is dismissed, header slides back to top */
  #header.banner-gone {
    top: 0 !important;
  }

  /* Body offset: navbar only (~62px) — all inner pages */
  body {
    padding-top: 62px !important;
  }

  /* index.html: body needs room for banner + navbar */
  body.has-banner {
    padding-top: 102px !important;
  }

  /* When banner dismissed on index, shrink back to navbar only */
  body.banner-gone {
    padding-top: 62px !important;
  }

  /* Navbar background */
  #primary-header.navbar {
    background-color: #000 !important;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
  }

  /* Shadow when scrolled */
  #header.scrolled #primary-header.navbar {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
  }

  /* Logo size */
  #header .navbar-brand img.logo {
    max-height: 52px;
    transition: max-height 0.3s ease;
  }
  #header.scrolled .navbar-brand img.logo {
    max-height: 38px;
  }
}
/* ============================================================
   NAVBAR VISIBILITY — desktop vs mobile
   Force hamburger hidden and nav links visible on desktop.
   Force hamburger visible and nav links hidden on mobile.
   These rules use !important and high specificity to override
   Bootstrap utilities and any conflicting rules.
   ============================================================ */

/* DESKTOP (992px and up): hide hamburger, show nav links */
@media (min-width: 992px) {
  #primary-header .navbar-toggler {
    display: none !important;
  }

  #navbarNav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* MOBILE (below 992px): show hamburger, hide desktop nav links */
@media (max-width: 991px) {
  #primary-header .navbar-toggler {
    display: flex !important;
  }

  #navbarNav {
    display: none !important;
  }
}