/* =====================================================================
   Pratik College of Education — Bootstrap 5 theme layer
   Base: Bootstrap 5.3 (CDN). This file only overrides variables and
   adds the handful of custom components Bootstrap doesn't ship.
   Palette derived from the college crest: deep green + gold.
   ===================================================================== */

:root {
  --pc-green:       #1B5E20;
  --pc-green-dark:  #0F3D12;
  --pc-green-light: #2E7D32;
  --pc-green-tint:  #E8F3E7;
  --pc-gold:        #F5B301;
  --pc-gold-dark:   #C98F00;
  --pc-ink:         #0D1B0F;
  --pc-muted:       #4E6450;
  --pc-cream:       #F6F8F5;
  --pc-border-soft: #D9E6D8;

  --bs-primary:      var(--pc-green);
  --bs-primary-rgb:  27, 94, 32;
  --bs-link-color:   var(--pc-green);
  --bs-link-hover-color: var(--pc-gold-dark);
  --bs-body-font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --bs-body-color: #445048;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px -12px rgba(15,61,18,.22);
  --shadow-card: 0 6px 18px -8px rgba(15,61,18,.16);
}

body { background: #FBFBF8; overflow-x: hidden; }
html { max-width: 100%; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', 'Inter', sans-serif; color: #202B27; font-weight: 700; letter-spacing: -.01em; }

a { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn-primary {
  --bs-btn-bg: var(--pc-green);
  --bs-btn-border-color: var(--pc-green);
  --bs-btn-hover-bg: var(--pc-green-dark);
  --bs-btn-hover-border-color: var(--pc-green-dark);
  --bs-btn-active-bg: var(--pc-green-dark);
}
.btn-gold {
  --bs-btn-bg: var(--pc-gold);
  --bs-btn-border-color: var(--pc-gold);
  --bs-btn-color: #202B27;
  --bs-btn-hover-bg: var(--pc-gold-dark);
  --bs-btn-hover-border-color: var(--pc-gold-dark);
  --bs-btn-hover-color: #fff;
  font-weight: 600;
  border-radius: 50rem;
}
.btn-outline-light:hover { color: var(--pc-green); }
.btn { border-radius: 50rem; font-weight: 600; }
.rounded-pill-sq { border-radius: .6rem !important; }

/* ---------- Brand header band ---------- */
.brand-header { background: var(--pc-ink); color: rgba(255,255,255,.92); padding: .85rem 0; }
.brand-header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-header-identity { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; }
.brand-header-logo { height: 60px; width: 60px; object-fit: cover; flex-shrink: 0; border-radius: 50%; background: #fff; border: 2px solid rgba(255,255,255,.5); padding: 3px; }
.brand-header-text { display: flex; flex-direction: column; min-width: 0; }
.brand-header-name { font-family: 'Outfit', sans-serif; font-weight: 700; color: #fff; font-size: 1.3rem; line-height: 1.2; }
.brand-header-tag { font-size: .72rem; color: rgba(255,255,255,.7); margin-top: .15rem; }
.brand-header-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: .65rem; padding-top: .65rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
.brand-header-contact a { color: rgba(255,255,255,.85); }
.brand-header-contact a:hover { color: var(--pc-gold); }
.brand-header-apply { white-space: nowrap; }
@media (max-width: 767.98px) {
  .brand-header { padding: .6rem 0; }
  .brand-header-logo { height: 42px; width: 42px; padding: 2px; }
  .brand-header-name { font-size: .98rem; }
  .brand-header-tag { font-size: .62rem; line-height: 1.3; }
  .brand-header-contact { font-size: .74rem; gap: .3rem .9rem; margin-top: .5rem; padding-top: .5rem; }
}

/* ---------- Navbar (restyled) ---------- */
.site-navbar { background: #fff; border-bottom: 1px solid var(--pc-border-soft); transition: box-shadow .2s ease; padding: .65rem 0; }
.site-navbar.is-sticky { box-shadow: var(--shadow-soft); }
.site-navbar .navbar-brand-logo { height: 44px; width: auto; max-width: 150px; object-fit: contain; flex-shrink: 0; }
.site-navbar .nav-link { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--pc-ink); padding: .5rem .9rem !important; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--pc-green); }
.site-navbar .phone-pill { display: inline-flex; align-items: center; gap: .5rem; color: var(--pc-green); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .92rem; }
.site-navbar .phone-pill i { background: var(--pc-green-tint); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--pc-green); }
.site-navbar .navbar-toggler { border: 1px solid var(--pc-border-soft); border-radius: var(--radius-sm); padding: .4rem .55rem; }
.site-navbar .navbar-brand-sticky-reveal {
  display: flex; align-items: center;
  max-width: 0; opacity: 0; overflow: hidden; margin-right: 0;
  transition: max-width .25s ease, opacity .2s ease, margin-right .25s ease;
}
.site-navbar.is-sticky .navbar-brand-sticky-reveal {
  max-width: 160px; opacity: 1; margin-right: .75rem;
}

/* ---------- Ticker bar (restyled) ---------- */
.ticker-bar { background: var(--pc-green-dark); color: #fff; overflow: hidden; display: flex; align-items: stretch; }
.ticker-bar .ticker-tag { background: var(--pc-gold); color: #2A1A02; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .55rem .9rem; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.ticker-bar .ticker-track-wrap { overflow: hidden; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.ticker-bar .ticker-track { display: flex; white-space: nowrap; animation: ticker-scroll 22s linear infinite; }
.ticker-bar .ticker-track a { color: #fff; padding: .55rem 2.5rem .55rem 0; font-size: .88rem; position: relative; }
.ticker-bar .ticker-track a:hover { color: var(--pc-gold); }
.ticker-bar .ticker-track a::after { content: "•"; margin-left: 1.25rem; color: var(--pc-gold); position: absolute; right: 1rem; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Hero (image-only carousel, fixed height tiers) ---------- */
.hero { position: relative; background: var(--pc-ink); overflow: hidden; width: 100%; }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 420px; min-height: 420px; }
.hero .carousel-item img { object-fit: cover; object-position: center; width: 100%; height: 100%; display: block; }
.hero .carousel-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,15,0) 65%, rgba(13,27,15,.5) 100%);
  pointer-events: none;
}
.hero .carousel-indicators { z-index: 4; bottom: 76px; margin-bottom: 0; gap: .5rem; }
.hero .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: none; opacity: .5; background: #fff; transition: all .2s ease; }
.hero .carousel-indicators .active { opacity: 1; background: var(--pc-gold); transform: scale(1.2); }
@media (max-width: 991.98px) { .hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 340px; min-height: 340px; } }
@media (max-width: 575.98px) { .hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 260px; min-height: 260px; } .hero .carousel-indicators { bottom: 60px; } }

/* ---------- Credentials strip (floating card bridging hero + content) ---------- */
.credentials-strip { position: relative; margin-top: -52px; z-index: 5; }
.credentials-strip .inner { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 1.25rem 1rem; }
.credentials-strip .cred-item { display: flex; align-items: center; gap: .65rem; padding: .35rem 1rem; border-left: 3px solid var(--pc-gold); }
.credentials-strip .cred-item i { color: var(--pc-green); font-size: 1.3rem; }
.credentials-strip .cred-item .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--pc-muted); display: block; }
.credentials-strip .cred-item .value { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--pc-ink); font-size: .95rem; display: block; }

/* ---------- Feature cards ---------- */
.feature-card { background: #fff; border: 1px solid var(--pc-border-soft); border-radius: var(--radius); padding: 1.9rem 1.6rem; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-card__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--pc-green-tint); color: var(--pc-green); font-size: 1.5rem; margin-bottom: 1.1rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { color: var(--pc-muted); margin-bottom: 0; font-size: .94rem; }

/* ---------- Downloads list ---------- */
.download-list { list-style: none; padding: 0; margin: 0; }
.download-list li + li { margin-top: .5rem; }
.download-list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-radius: var(--radius-sm); border: 1px solid var(--pc-border-soft); font-size: .88rem; }
.download-list a:hover { background: var(--pc-green-tint); border-color: var(--pc-green); }
.download-list .doc-name { font-weight: 600; color: var(--pc-ink); }
.download-list .doc-name i { color: var(--pc-gold-dark); margin-right: .4rem; }
.download-list .doc-meta { font-size: .74rem; color: var(--pc-muted); white-space: nowrap; }

/* ---------- News auto-scroll ---------- */
.news-scroll-wrap { height: 168px; overflow: hidden; position: relative; mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
.news-scroll-track { list-style: none; margin: 0; padding: 0; animation: news-scroll-up 18s linear infinite; }
.news-scroll-wrap:hover .news-scroll-track { animation-play-state: paused; }
.news-scroll-track li { display: flex; align-items: flex-start; gap: .55rem; padding: .55rem 0; font-size: .87rem; border-bottom: 1px dashed var(--pc-border-soft); }
.news-scroll-track li a { color: var(--pc-ink); }
.news-scroll-track li a:hover { color: var(--pc-green); text-decoration: underline; }
.news-blink { width: 8px; height: 8px; border-radius: 50%; background: var(--pc-gold); margin-top: .4rem; flex-shrink: 0; }
@keyframes news-scroll-up { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; padding: .4rem 0; }
.check-list li i { color: var(--pc-green); margin-top: .25rem; }

/* ---------- Chairman / Principal photo badge ---------- */
.chairman-photo-wrap { display: inline-block; width: 100%; }
.chairman-photo { width: 220px; height: 275px; object-fit: cover; object-position: top center; border-radius: 20px; box-shadow: 0 8px 32px rgba(15,61,18,.2); border: 4px solid #fff; outline: 3px solid var(--pc-green); display: block; margin: 0 auto; }
.chairman-photo-badge { background: var(--pc-green); color: #fff; border-radius: 12px; padding: .8rem 1.1rem; margin-top: 1rem; text-align: center; box-shadow: 0 4px 14px rgba(15,61,18,.25); }
.chairman-photo-badge__name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; }
.chairman-photo-badge__role { font-size: .8rem; color: var(--pc-gold); font-weight: 600; margin-top: .1rem; }
.chairman-quote { position: relative; padding-left: 1.5rem; border-left: 3px solid var(--pc-gold); }
.chairman-quote p { font-size: .95rem; color: #555; line-height: 1.8; margin-bottom: .9rem; }
.chairman-quote__icon { color: var(--pc-gold); font-size: 1.6rem; margin-bottom: .75rem; display: block; }
@media (max-width: 767px) { .chairman-photo { width: 170px; height: 212px; } .chairman-quote { padding-left: 1rem; } .chairman-quote p { font-size: .88rem; } }

/* ---------- Navbar dropdown (generic) ---------- */
.dropdown-menu { border: none; box-shadow: 0 8px 24px rgba(15,61,18,.15); border-radius: .6rem; padding: .5rem; }
.dropdown-item { border-radius: .4rem; font-weight: 500; font-size: .92rem; padding: .5rem .75rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--pc-green-tint); color: var(--pc-green-dark); }
.dropdown-item.active { background: var(--pc-green); color: #fff; }

/* ---------- Page banner (inner pages: About, Notices, Gallery, Contact) ---------- */
.page-banner {
  position: relative;
  color: #fff;
  background-image: linear-gradient(120deg, rgba(15,61,18,.90), rgba(27,94,32,.82)), var(--hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-banner .badge-eyebrow {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(232,243,231,.55);
  color: #e8f3e7;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(2px);
}
.page-banner h1 { color: #fff; }

/* ---------- Sections ---------- */
/* ---------- Sections (base spacing — was missing entirely) ---------- */
.section { padding: 80px 0; }
.section-tint { background: var(--pc-green-tint); }
.section-title { font-size: 2rem; margin-bottom: .75rem; }
.section-lead { color: var(--pc-muted); max-width: 620px; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 991.98px) { .section { padding: 60px 0; } .section-title { font-size: 1.65rem; } }
@media (max-width: 575.98px) { .section { padding: 44px 0; } }

/* Breathing room between the credentials strip and the first section below it */
.credentials-strip + .section { padding-top: 96px; }
@media (max-width: 991.98px) { .credentials-strip + .section { padding-top: 76px; } }
@media (max-width: 575.98px) { .credentials-strip + .section { padding-top: 56px; } }

.eyebrow { color: var(--pc-gold-dark); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--pc-green-tint); color: var(--pc-green);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}

/* ---------- Notices ---------- */
.notice-item { border-bottom: 1px solid #E3E9E4; padding: 1rem 0; display: flex; gap: 1rem; }
.notice-item:last-child { border-bottom: none; }
.notice-date {
  background: var(--pc-green-tint); color: var(--pc-green-dark);
  border-radius: .5rem; padding: .5rem .75rem; text-align: center; font-weight: 700;
  font-size: .78rem; min-width: 62px; flex: none;
}
.notice-date small { display: block; font-weight: 500; font-size: .68rem; color: #7C8B85; }
.notice-tag { font-size: .7rem; font-weight: 700; color: var(--pc-gold-dark); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Gallery ---------- */
.gallery-thumb { border-radius: .6rem; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 2px 8px rgba(15,61,18,.08); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-thumb:hover img { transform: scale(1.08); }

/* ---------- Affiliation strip ---------- */
.affiliation-strip { border-top: 1px solid #E3E9E4; border-bottom: 1px solid #E3E9E4; background: #fff; }
.affiliation-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc-gold); display: inline-block; margin-right: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pc-green); color: #e3f0e2; }
.site-footer a { color: #cfe6cd; }
.site-footer a:hover { color: var(--pc-gold); }
.site-footer h5 { color: #fff; font-size: 1rem; }
.footer-brand-logo { height: 46px; width: 46px; object-fit: cover; border-radius: 50%; background: #fff; padding: 3px; border: 2px solid rgba(255,255,255,.5); }

/* ---------- CTA band (distinct shade from footer) ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--pc-green) 0%, var(--pc-green-dark) 100%);
  border-top: 4px solid var(--pc-gold);
  border-bottom: 4px solid var(--pc-gold);
  position: relative;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); color: #d3e6d1; font-size: .82rem; }

/* ---------- Admin ---------- */
.admin-sidebar { background: var(--pc-green-dark); min-height: 100vh; }
.admin-sidebar a { color: #cfe0cd; }
.admin-sidebar a.active, .admin-sidebar a:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-topbar { background: #fff; box-shadow: 0 2px 8px rgba(15,61,18,.08); }
.thumb-sm { width: 56px; height: 56px; object-fit: cover; border-radius: .4rem; }

/* ---------- Services tabs (pills) ---------- */
.service-pills .nav-link {
  border-radius: .6rem;
  color: var(--pc-ink, #202B27);
  font-weight: 600;
  padding: .85rem 1rem;
  text-align: left;
  border: 1px solid transparent;
}
.service-pills .nav-link.active {
  background: var(--pc-green);
  color: #fff;
}
.service-pills .nav-link:not(.active):hover {
  background: var(--pc-green-tint);
}
.service-tab-image { border-radius: .75rem; overflow: hidden; box-shadow: 0 8px 24px rgba(15,61,18,.15); }
.service-tab-image img { width: 100%; height: 320px; object-fit: cover; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border-radius: .9rem; box-shadow: 0 4px 16px rgba(15,61,18,.08);
  padding: 1.75rem; height: 100%;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pc-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex: none;
}
.testimonial-placeholder-badge {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--pc-gold-dark); background: #FFF6DF;
  padding: .2rem .6rem; border-radius: .3rem; margin-bottom: .5rem;
}

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed; bottom: 24px; right: 94px; z-index: 1050;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--pc-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow-card);
  border: 1px solid var(--pc-border-soft);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--pc-green); color: #fff; }
@media (max-width: 575.98px) { #backToTop { right: 84px; width: 40px; height: 40px; bottom: 20px; } }
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { color: #fff; background: #1ebe57; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 10px rgba(37,211,102,0); }
}
/* Nested dropdown submenu (e.g. Academic > Campus Photos) */
.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  margin-left: 1px;
}
.dropdown-submenu > a.dropdown-toggle::after {
  transform: rotate(-90deg);
  margin-left: auto;
}
.dropdown-submenu.show > .dropdown-menu { display: block; }
@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    left: 0;
    margin-left: 1rem;
    box-shadow: none;
    border-left: 2px solid var(--pc-border-soft);
  }
}