/* ============================================================
   WESTBROOK UNIVERSITY — MAIN STYLESHEET
   Theme  : Modern Professional
   Colors : Navy #1e3a5f | Gold #c8a84b | White #ffffff
   Fonts  : Montserrat (headings) + Open Sans (body)
   Version: 1.0
   ============================================================ */

/* ---- Custom Properties ------------------------------------ */
:root {
  --primary:        #1e3a5f;
  --primary-light:  #2d5a8e;
  --primary-dark:   #0d1b2a;
  --secondary:      #c8a84b;
  --secondary-light:#e2c97e;
  --accent:         #4a90d9;
  --white:          #ffffff;
  --light:          #f8f9fb;
  --light-gray:     #eef1f6;
  --mid-gray:       #9aabb9;
  --dark:           #1a1a2e;
  --text:           #4a5568;
  --text-dark:      #2d3748;
  --heading:        #1e3a5f;
  --border:         #dde3ec;
  --shadow-sm:      0 2px 12px rgba(30,58,95,.08);
  --shadow:         0 6px 24px rgba(30,58,95,.13);
  --shadow-lg:      0 12px 44px rgba(30,58,95,.2);
  --radius:         8px;
  --radius-lg:      16px;
  --transition:     all .35s ease;
  --nav-h:          80px;
}

/* ---- Dark Mode Variables ---------------------------------- */
[data-theme="dark"] {
  --primary:      #4a90d9;
  --secondary:    #e2c97e;
  --white:        #111827;
  --light:        #1a2332;
  --light-gray:   #1e2d42;
  --mid-gray:     #4a5568;
  --dark:         #f0f4f8;
  --text:         #9ab0c7;
  --text-dark:    #d1e0f0;
  --heading:      #d1e0f0;
  --border:       #2a3a50;
  --shadow-sm:    0 2px 12px rgba(0,0,0,.25);
  --shadow:       0 6px 24px rgba(0,0,0,.35);
  --shadow-lg:    0 12px 44px rgba(0,0,0,.45);
}

/* ---- Base Reset ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  transition: background .3s ease, color .3s ease;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- Spacing helpers -------------------------------------- */
.section-padding    { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }
.bg-light-custom    { background: var(--light) !important; }
.bg-primary-custom  { background: var(--primary) !important; }

/* ---- Section Title ---------------------------------------- */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .subtitle {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.section-title h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; color: var(--heading); margin-bottom: 14px;
}
.section-title .divider {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 16px;
}
.section-title .divider span {
  display: block; height: 3px;
  border-radius: 3px; background: var(--secondary);
}
.section-title .divider span:first-child,
.section-title .divider span:last-child { width: 38px; }
.section-title .divider span:nth-child(2) { width: 10px; height: 10px; border-radius: 50%; }
.section-title p { max-width: 600px; margin: 0 auto; font-size: 15.5px; color: var(--text); }

/* ---- Buttons ---------------------------------------------- */
.btn-primary-custom {
  background: var(--primary); color: #fff; border: 2px solid var(--primary);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  padding: 13px 30px; border-radius: var(--radius);
  letter-spacing: .4px; transition: var(--transition); display: inline-block;
}
.btn-primary-custom:hover {
  background: var(--primary-light); border-color: var(--primary-light);
  color: #fff; transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-gold {
  background: var(--secondary); color: var(--primary-dark);
  border: 2px solid var(--secondary);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  padding: 13px 30px; border-radius: var(--radius);
  letter-spacing: .4px; transition: var(--transition); display: inline-block;
}
.btn-gold:hover {
  background: transparent; color: var(--secondary);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.7);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  padding: 13px 30px; border-radius: var(--radius);
  transition: var(--transition); display: inline-block;
}
.btn-outline-white:hover { background: #fff; color: var(--primary); }

/* ---- Preloader -------------------------------------------- */
#preloader {
  position: fixed; inset: 0;
  background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-spinner {
  width: 58px; height: 58px;
  border: 4px solid rgba(200,168,75,.2);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin .85s linear infinite;
  margin: 0 auto 14px;
}
.preloader-inner p {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; margin: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Back to Top ------------------------------------------ */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 998;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover {
  background: var(--secondary); color: var(--primary-dark); transform: translateY(-3px);
}

/* ---- Dark-Mode Toggle ------------------------------------- */
#dark-mode-toggle {
  position: fixed; bottom: 88px; right: 28px;
  width: 46px; height: 46px;
  background: var(--secondary); color: var(--primary-dark);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: var(--shadow);
  cursor: pointer; transition: var(--transition); z-index: 998;
}
#dark-mode-toggle:hover { transform: translateY(-3px) rotate(15deg); }

/* ---- Navbar ----------------------------------------------- */
#mainNav {
  background: transparent; padding: 18px 0;
  transition: var(--transition); z-index: 997;
}
#mainNav.scrolled {
  background: var(--primary-dark);
  padding: 10px 0; box-shadow: var(--shadow);
}
.navbar-brand .brand-logo { display: flex; align-items: center; gap: 11px; }
.navbar-brand .logo-icon {
  width: 44px; height: 44px;
  background: var(--secondary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark); font-size: 19px;
}
.navbar-brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .4px;
}
.brand-sub {
  font-size: 10px; color: var(--secondary);
  letter-spacing: 2.5px; text-transform: uppercase;
}
.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,.85) !important; padding: 8px 12px !important;
  letter-spacing: .4px; position: relative; transition: var(--transition);
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px;
  height: 2px; background: var(--secondary); transform: scaleX(0);
  transition: transform .3s ease; border-radius: 2px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #fff !important; }
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  background: var(--secondary) !important; color: var(--primary-dark) !important;
  border: none !important; padding: 9px 22px !important;
  border-radius: var(--radius) !important; transition: var(--transition);
}
.nav-cta:hover {
  background: var(--secondary-light) !important;
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}

/* ---- Hero Section ----------------------------------------- */
.hero-section { position: relative; overflow: hidden; }
.hero-slide {
  min-height: 100vh;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; display: flex; align-items: center;
}
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,42,.88) 0%, rgba(30,58,95,.65) 55%, rgba(45,90,142,.4) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 90px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,75,.15); border: 1px solid rgba(200,168,75,.4);
  color: var(--secondary); padding: 7px 16px; border-radius: 30px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
}
.hero-content h1 {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 18px;
}
.hero-content h1 span { color: var(--secondary); }
.hero-desc {
  font-size: 17.5px; color: rgba(255,255,255,.85);
  max-width: 560px; margin-bottom: 34px; line-height: 1.8;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.hero-quick-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,.07); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  padding: 20px 10px; max-width: 480px;
}
.hqs-item { flex: 1; min-width: 100px; text-align: center; padding: 0 16px; }
.hqs-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.15); }
.hqs-num {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 800; color: var(--secondary); line-height: 1;
}
.hqs-lbl { font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.carousel-indicators { bottom: 28px; }
.carousel-indicators button {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.45);
}
.carousel-indicators button.active {
  background: var(--secondary); width: 28px; border-radius: 5px;
}

/* ---- About Preview --------------------------------------- */
.about-preview { padding: 90px 0; background: var(--white); }
.about-img-wrap { position: relative; padding-bottom: 30px; padding-right: 20px; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 460px; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: 0; right: 0;
  background: var(--secondary); color: var(--primary-dark);
  padding: 22px 26px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow);
}
.about-badge-num {
  display: block; font-size: 46px; font-weight: 800;
  font-family: 'Montserrat', sans-serif; line-height: 1;
}
.about-badge-txt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.about-content { padding-left: 36px; }
.about-content .pre-title {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--secondary); margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.about-content h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800; color: var(--heading); margin-bottom: 18px;
}
.about-content p { font-size: 15.5px; color: var(--text); margin-bottom: 14px; }
.about-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.about-feat-item { display: flex; align-items: flex-start; gap: 10px; }
.about-feat-item .fi {
  width: 36px; height: 36px; background: var(--light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0; font-size: 15px;
}
.about-feat-item span {
  font-size: 13.5px; font-weight: 600; color: var(--text-dark);
  font-family: 'Montserrat', sans-serif; padding-top: 7px;
}

/* ---- Courses Section -------------------------------------- */
.courses-section { background: var(--light); }
.course-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); height: 100%;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-card .c-img { position: relative; overflow: hidden; }
.course-card .c-img img {
  width: 100%; height: 195px; object-fit: cover;
  transition: transform .4s ease; display: block;
}
.course-card:hover .c-img img { transform: scale(1.07); }
.c-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--secondary); color: var(--primary-dark);
  padding: 3px 11px; border-radius: 20px;
  font-size: 11px; font-weight: 700; font-family: 'Montserrat', sans-serif;
}
.course-card .c-body { padding: 22px; }
.c-icon {
  width: 50px; height: 50px; background: var(--light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 21px; color: var(--primary); margin-bottom: 12px;
}
.course-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.course-card p { font-size: 13.5px; color: var(--text); margin-bottom: 16px; line-height: 1.6; }
.c-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.c-meta span {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--text);
  font-family: 'Montserrat', sans-serif;
}
.c-meta span i { color: var(--primary); }

/* ---- Why Choose Us --------------------------------------- */
.why-section {
  background: var(--primary); position: relative; overflow: hidden;
}
.why-section::before {
  content: ''; position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: rgba(255,255,255,.04); border-radius: 50%;
}
.why-section::after {
  content: ''; position: absolute;
  bottom: -150px; left: -60px;
  width: 380px; height: 380px;
  background: rgba(200,168,75,.07); border-radius: 50%;
}
.why-section .section-title h2,
.why-section .section-title p { color: rgba(255,255,255,.9) !important; }
.why-section .section-title .subtitle { color: var(--secondary) !important; }
.why-section .divider span { background: rgba(255,255,255,.35) !important; }
.why-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 30px 24px;
  text-align: center; transition: var(--transition); height: 100%;
}
.why-card:hover {
  background: rgba(255,255,255,.13); transform: translateY(-6px);
}
.why-icon {
  width: 68px; height: 68px; background: var(--secondary);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--primary-dark); margin: 0 auto 18px;
}
.why-card h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why-card p { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.7; margin: 0; }

/* ---- Stats Counter --------------------------------------- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 70px 0;
}
.stat-box { text-align: center; padding: 20px; }
.stat-box .s-icon { font-size: 38px; color: var(--secondary); margin-bottom: 14px; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 4vw, 52px); font-weight: 800;
  color: #fff; line-height: 1; margin-bottom: 6px;
}
.stat-num sup { font-size: .55em; color: var(--secondary); vertical-align: super; }
.stat-lbl {
  font-size: 13px; color: rgba(255,255,255,.68);
  font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
}
.stat-divider { width: 1px; background: rgba(255,255,255,.1); margin: 16px auto; height: 100px; align-self: center; }

/* ---- Testimonials ---------------------------------------- */
.testimonials-section { background: var(--light); }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative; height: 100%;
}
.testi-card::before {
  content: '\201C'; position: absolute; top: 16px; right: 24px;
  font-size: 90px; color: var(--light-gray);
  font-family: Georgia, serif; line-height: 1;
}
.testi-card .q-icon { font-size: 22px; color: var(--secondary); margin-bottom: 18px; }
.testi-card p {
  font-size: 14.5px; color: var(--text);
  font-style: italic; line-height: 1.8; margin-bottom: 22px;
}
.stars { color: #f4c430; font-size: 12px; margin-bottom: 16px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-author img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--secondary);
}
.t-author h6 { font-size: 14px; font-weight: 700; color: var(--heading); margin: 0; }
.t-author span { font-size: 12.5px; color: var(--secondary); font-weight: 600; }

/* ---- News Section ---------------------------------------- */
.news-section { background: var(--white); }
.news-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); height: 100%;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .n-img { overflow: hidden; }
.news-card .n-img img {
  width: 100%; height: 215px; object-fit: cover;
  transition: transform .4s ease; display: block;
}
.news-card:hover .n-img img { transform: scale(1.06); }
.news-card .n-body { padding: 22px; }
.n-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.n-cat {
  background: var(--light); color: var(--primary);
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; font-family: 'Montserrat', sans-serif;
}
.n-date { font-size: 12px; color: var(--mid-gray); display: flex; align-items: center; gap: 4px; }
.news-card h3 { font-size: 16.5px; font-weight: 700; color: var(--heading); margin-bottom: 8px; line-height: 1.4; }
.news-card h3 a { color: var(--heading); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { font-size: 13.5px; color: var(--text); margin-bottom: 14px; line-height: 1.6; }
.read-more {
  font-size: 13px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Montserrat', sans-serif; transition: var(--transition);
}
.read-more:hover { color: var(--secondary); gap: 9px; }

/* ---- CTA Section ----------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  padding: 90px 0; position: relative; overflow: hidden;
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 {
  font-size: clamp(26px, 4vw, 46px); font-weight: 800;
  color: #fff; margin-bottom: 16px;
}
.cta-content p {
  font-size: 17px; color: rgba(255,255,255,.82);
  max-width: 580px; margin: 0 auto 34px;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---------------------------------------------- */
.site-footer {
  background: var(--primary-dark);
  padding: 72px 0 0; color: rgba(255,255,255,.68);
}
.footer-brand .f-logo {
  display: flex; align-items: center; gap: 11px; margin-bottom: 16px;
}
.footer-brand .f-logo .logo-icon {
  width: 44px; height: 44px; background: var(--secondary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark); font-size: 19px;
}
.footer-brand .f-logo .brand-name { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.f-social { display: flex; gap: 8px; }
.f-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: var(--transition);
}
.f-social a:hover { background: var(--secondary); color: var(--primary-dark); transform: translateY(-3px); }
.site-footer h5 {
  font-size: 14.5px; font-weight: 700; color: #fff;
  margin-bottom: 20px; padding-bottom: 10px; position: relative;
  font-family: 'Montserrat', sans-serif;
}
.site-footer h5::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; background: var(--secondary);
}
.f-links li { margin-bottom: 9px; }
.f-links li a {
  color: rgba(255,255,255,.62); font-size: 13.5px;
  display: flex; align-items: center; gap: 7px; transition: var(--transition);
}
.f-links li a i { font-size: 10px; color: var(--secondary); }
.f-links li a:hover { color: var(--secondary); padding-left: 5px; }
.f-contact-item { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; }
.f-contact-item .fci { 
  width: 34px; height: 34px; background: rgba(200,168,75,.12);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 13px; flex-shrink: 0;
}
.f-contact-item p { font-size: 13.5px; color: rgba(255,255,255,.62); margin: 0; padding-top: 5px; }
.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 48px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---- Page Header (inner pages) ---------------------------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 135px 0 70px; position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 55px; background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
[data-theme="dark"] .page-header::after { background: var(--white); }
.page-header h1 {
  font-size: clamp(30px, 5vw, 50px); font-weight: 800; color: #fff; margin-bottom: 10px;
}
.page-header .breadcrumb { background: none; padding: 0; margin: 0; }
.page-header .breadcrumb-item a { color: var(--secondary); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,.68); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ---- About Page ------------------------------------------ */
.mv-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 38px 32px; box-shadow: var(--shadow-sm);
  height: 100%; transition: var(--transition);
  border-top: 4px solid transparent;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mv-card.mission { border-top-color: var(--primary); }
.mv-card.vision  { border-top-color: var(--secondary); }
.mv-card.values  { border-top-color: #56c7d2; }
.mv-icon {
  width: 66px; height: 66px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 22px;
}
.mv-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.mv-card p { font-size: 14.5px; color: var(--text); line-height: 1.8; margin: 0; }

/* History timeline */
.history-timeline { position: relative; }
.history-timeline::before {
  content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.ht-item { display: flex; gap: 24px; margin-bottom: 32px; position: relative; }
.ht-dot {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 16px;
  border: 3px solid var(--white); box-shadow: var(--shadow-sm); z-index: 1;
}
.ht-content { background: var(--white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); flex: 1; }
.ht-year { font-size: 11px; font-weight: 700; color: var(--secondary); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; font-family: 'Montserrat', sans-serif; }
.ht-content h5 { font-size: 15.5px; font-weight: 700; color: var(--heading); margin-bottom: 5px; }
.ht-content p { font-size: 13.5px; color: var(--text); margin: 0; }

/* Achievement badges */
.accred-badge {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm);
  transition: var(--transition); height: 100%;
}
.accred-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.accred-badge .b-icon { font-size: 34px; color: var(--secondary); margin-bottom: 10px; }
.accred-badge h6 { font-size: 13px; font-weight: 700; color: var(--heading); margin: 0; }
.accred-badge span { font-size: 11.5px; color: var(--text); }

/* ---- Courses Page ---------------------------------------- */
.dept-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 34px 26px; box-shadow: var(--shadow-sm);
  transition: var(--transition); text-align: center;
  border-bottom: 4px solid transparent;
}
.dept-card:hover {
  transform: translateY(-7px); box-shadow: var(--shadow-lg);
  border-bottom-color: var(--secondary);
}
.dept-icon {
  width: 78px; height: 78px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 18px;
}
.dept-card h4 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.dept-card .dept-desc { font-size: 13.5px; color: var(--text); margin-bottom: 18px; }
.dept-programs li {
  font-size: 13px; color: var(--text-dark);
  padding: 6px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 7px; text-align: left;
}
.dept-programs li:last-child { border-bottom: none; }
.dept-programs li i { color: var(--primary); font-size: 10px; }

/* ---- Admissions Page ------------------------------------- */
.process-step {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: var(--transition); height: 100%; position: relative;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  background: var(--primary); color: var(--secondary);
  border-radius: 12px; font-size: 22px; font-weight: 800;
  font-family: 'Montserrat', sans-serif; margin-bottom: 16px;
}
.process-step h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.6; }
.step-connector {
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 22px; padding-top: 14px;
}

/* Form styles */
.form-control, .form-select {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 11px 15px; font-size: 14.5px;
  color: var(--text-dark); background: var(--white);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,58,95,.1); color: var(--text-dark);
}
.form-label {
  font-size: 13px; font-weight: 600;
  font-family: 'Montserrat', sans-serif; color: var(--text-dark); margin-bottom: 5px;
}
.form-section-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-sm);
}
.success-alert { display: none; }

/* ---- Faculty Page ---------------------------------------- */
.dept-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.dept-filter button {
  padding: 8px 20px; border: 2px solid var(--border);
  background: var(--white); color: var(--text);
  border-radius: 30px; font-size: 13px; font-weight: 600;
  font-family: 'Montserrat', sans-serif; cursor: pointer; transition: var(--transition);
}
.dept-filter button.active,
.dept-filter button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.faculty-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); height: 100%;
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.f-img-wrap { position: relative; overflow: hidden; }
.f-img-wrap img {
  width: 100%; height: 270px; object-fit: cover;
  display: block; transition: transform .4s ease;
}
.faculty-card:hover .f-img-wrap img { transform: scale(1.05); }
.f-overlay {
  position: absolute; inset: 0;
  background: rgba(30,58,95,.82);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: var(--transition);
}
.faculty-card:hover .f-overlay { opacity: 1; }
.f-overlay a {
  width: 38px; height: 38px; background: var(--secondary);
  color: var(--primary-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transform: translateY(10px); transition: var(--transition);
}
.faculty-card:hover .f-overlay a { transform: translateY(0); }
.f-body { padding: 20px; text-align: center; }
.f-body h4 { font-size: 16.5px; font-weight: 700; color: var(--heading); margin-bottom: 3px; }
.f-body .desig { font-size: 13px; color: var(--secondary); font-weight: 600; font-family: 'Montserrat', sans-serif; }
.f-body .dept-label { font-size: 12.5px; color: var(--text); margin-top: 3px; }

/* ---- Gallery Page ---------------------------------------- */
.gal-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.gal-filter button {
  padding: 8px 20px; border: 2px solid var(--border);
  background: var(--white); color: var(--text);
  border-radius: 30px; font-size: 13px; font-weight: 600;
  font-family: 'Montserrat', sans-serif; cursor: pointer; transition: var(--transition);
}
.gal-filter button.active,
.gal-filter button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.gal-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); cursor: pointer; margin-bottom: 24px;
}
.gal-item img {
  width: 100%; height: 210px; object-fit: cover;
  display: block; transition: transform .4s ease;
}
.gal-item:hover img { transform: scale(1.08); }
.gal-overlay {
  position: absolute; inset: 0;
  background: rgba(30,58,95,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay i { font-size: 30px; color: var(--secondary); }
/* Lightbox modal */
#lightboxModal .modal-dialog { max-width: 860px; }
#lightboxModal .modal-content { background: #000; border: none; }
#lightboxModal .modal-body { padding: 0; position: relative; }
#lightboxModal .modal-body img { width: 100%; max-height: 80vh; object-fit: contain; display: block; }
#lightboxModal .btn-close { position: absolute; top: 10px; right: 14px; z-index: 10; filter: invert(1); }

/* ---- Contact Page ---------------------------------------- */
.contact-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  display: flex; gap: 14px; align-items: flex-start;
  transition: var(--transition); height: 100%;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .cc-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--primary); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 19px;
}
.contact-card h5 { font-size: 14.5px; font-weight: 700; color: var(--heading); margin-bottom: 5px; }
.contact-card p { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.6; }
.contact-card a { color: var(--text); transition: var(--transition); }
.contact-card a:hover { color: var(--primary); }
.map-box { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 420px; display: block; border: none; }
.accordion-button {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 14.5px; color: var(--heading); background: var(--white);
}
.accordion-button:not(.collapsed) { color: var(--primary); background: var(--light); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(30,58,95,.1); }
.accordion-body { font-size: 14px; color: var(--text); line-height: 1.75; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 991.98px) {
  .about-content { padding-left: 0; margin-top: 50px; }
  .about-img-wrap { padding-right: 10px; }
}
@media (max-width: 767.98px) {
  .section-padding  { padding: 60px 0; }
  .hero-buttons    { flex-direction: column; align-items: flex-start; }
  .hero-buttons a  { display: block; width: 100%; max-width: 260px; text-align: center; }
  .hero-quick-stats { max-width: 100%; }
  .about-img-main img { height: 300px; }
  .stat-divider   { display: none; }
  #back-to-top, #dark-mode-toggle { right: 14px; }
  #dark-mode-toggle { bottom: 78px; }
  #back-to-top      { bottom: 22px; }
  .form-section-box { padding: 22px; }
}
@media (max-width: 575.98px) {
  .hero-content h1 { font-size: 30px; }
  .hqs-num { font-size: 22px; }
}
