
/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #0b2c4d;
  --orange: #f7931e;
  --gold: #c9922a;
  --light-bg: #f5f7fa;
  --white: #ffffff;
  --text: #2d2d2d;
  --muted: #6b7280;
  --border: #e5e7eb;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ===== HERO BANNER ===== */
.about-hero {
  position: relative;
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #061b30 0%, #0b2c4d 50%, #103a62 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

/* Geometric overlay shapes */
.about-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  animation: fadeUp 0.6s ease both;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.about-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  animation: fadeUp 0.7s 0.1s ease both;
}

.about-hero-content h1 span {
  color: var(--orange);
  font-style: italic;
}

.hero-tagline {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-top: 14px;
  font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* Breadcrumb */
.breadcrumb-strip {
  background: var(--primary);
  padding: 10px 0;
}
.breadcrumb-strip .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 13px;
}
.breadcrumb-strip .breadcrumb-item a { color: var(--orange); text-decoration: none; }
.breadcrumb-strip .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-strip .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===== SECTION COMMON ===== */
.section { padding: 0px 0; }
.section-alt { background: var(--light-bg); }

.sec-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 18px;
}

.sec-title span { color: var(--orange); font-style: italic; }

.sec-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
}

.divider-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 2px;
  margin: 18px 0 26px;
}

/* ===== WHO WE ARE ===== */
.about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.about-img-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 20px 50px rgba(11,44,77,0.2);
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 140px;
  height: 140px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 30px rgba(247,147,30,0.4);
  z-index: 3;
}

.about-img-badge .year {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.about-img-badge .year-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  opacity: 0.9;
  text-transform: uppercase;
}

.about-img-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100px;
  height: 100px;
  border: 5px solid var(--orange);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.5;
}

.about-check-list { list-style: none; padding: 0; margin: 24px 0; }
.about-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text);
}
.about-check-list li i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 16px;
}

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #103a62 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(247,147,30,0.07);
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -50px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
  z-index: 1;
}

.stat-card .stat-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(247,147,30,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: var(--orange);
  border: 1px solid rgba(247,147,30,0.3);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span { color: var(--orange); }
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== MISSION VISION VALUES ===== */
.mvv-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  height: 100%;
  border-top: 5px solid transparent;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}

.mvv-card.mission::before { background: linear-gradient(90deg, #0b2c4d, #1a5490); }
.mvv-card.vision::before  { background: linear-gradient(90deg, #f7931e, #c9922a); }
.mvv-card.values::before  { background: linear-gradient(90deg, #2ecc71, #27ae60); }

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.mvv-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
}

.mvv-card.mission .mvv-icon { background: rgba(11,44,77,0.08); color: var(--primary); }
.mvv-card.vision  .mvv-icon { background: rgba(247,147,30,0.1); color: var(--orange); }
.mvv-card.values  .mvv-icon { background: rgba(46,204,113,0.1); color: #2ecc71; }

.mvv-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.mvv-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.values-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.val-tag {
  background: rgba(46,204,113,0.08);
  color: #1a7a45;
  border: 1px solid rgba(46,204,113,0.25);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== PRINCIPAL MESSAGE ===== */
.principal-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
}

.principal-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(11,44,77,0.1);
  display: flex;
  min-height: 380px;
}

.principal-img-col {
  width: 340px;
  flex-shrink: 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.principal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  mix-blend-mode: luminosity;
}

.principal-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,44,77,0.8) 100%);
}

.principal-name-overlay {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  text-align: center;
  z-index: 2;
}

.principal-name-overlay h4 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 20px;
  margin-bottom: 2px;
}

.principal-name-overlay p {
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.principal-content-col {
  flex: 1;
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  font-size: 56px;
  color: var(--orange);
  opacity: 0.25;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: -10px;
  display: block;
}

.principal-content-col blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--primary);
  line-height: 1.7;
  border: none;
  padding: 0;
  margin: 12px 0;
}

.principal-content-col p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 14px;
}

.principal-sig {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sig-line {
  width: 50px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.sig-name { font-weight: 700; font-size: 15px; color: var(--primary); }
.sig-role { font-size: 13px; color: var(--muted); }

/* ===== FACILITIES ===== */
.facility-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.facility-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.facility-body {
  padding: 22px 24px;
}

.facility-icon {
  width: 48px; height: 48px;
  background: rgba(247,147,30,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 14px;
}

.facility-body h5 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.facility-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== TEAM ===== */
.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.team-img-wrap {
  position: relative;
  overflow: hidden;
}

.team-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.team-card:hover .team-img-wrap img { transform: scale(1.05); }

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,44,77,0.85) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 18px;
}

.team-card:hover .team-overlay { opacity: 1; }

.team-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 13px;
  margin: 0 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.team-social a:hover { background: var(--orange); }


.team-info { padding: 20px 16px 24px; }
.team-info h5 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.team-role { font-size: 13px; color: var(--orange); font-weight: 600; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), #1a5490);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(247,147,30,0.07);
}

.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-strip p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 0;
}

.btn-cta-primary {
  background: var(--orange);
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 8px 25px rgba(247,147,30,0.35);
}

.btn-cta-primary:hover {
  background: #d97d10;
  transform: translateY(-2px);
  color: #fff;
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  margin-left: 12px;
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .principal-card { flex-direction: column; }
  .principal-img-col { width: 100%; height: 280px; }
  .about-img-badge { right: 10px; bottom: -20px; width: 110px; height: 110px; }
  .about-img-badge .year { font-size: 26px; }
}

@media (max-width: 768px) {
  .about-hero { height: 360px; }
  .about-img-accent { display: none; }
  .principal-content-col { padding: 28px 24px; }
  .btn-cta-outline { margin-left: 0; margin-top: 12px; }
}


/* ===== Colors ===== */
:root{
--primary:#0b2c4d;
--orange:#f7931e;
--dark:#111;
}


/* ===== HEADER AREA ===== */
.header-area{
position:relative;
z-index:100;
background:#fff;
}




/* ===== HERO / BANNER ===== */
.hero{
width:100%;
/* min-height:100vh;*/
position:relative;
z-index:1;
overflow:hidden;
}

/* ===== MARQUEE ===== */
.marquee{
background:var(--orange);
color:#fff;
font-weight:600;
padding:8px;
white-space:nowrap;
overflow:hidden;
}

.marquee span{
display:inline-block;
animation:scroll 15s linear infinite;
}

@keyframes scroll{
from{transform:translateX(100%)}
to{transform:translateX(-100%)}
}

/* ===== SECTION COMMON ===== */
.section-title{
font-weight:700;
margin-bottom:15px;
}

.test-box{
border:1px solid #ccc;
padding:20px;
background:#fff;
}

/* ===== FOOTER ===== */
footer{
background:#111;
color:#fff;
}

footer a{
color:#fff;
text-decoration:none;
}

footer a:hover{
color:var(--orange);
}

/* ===== SCHOOL LOGO HEADER ===== */


@media (min-width: 1400px) {
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
max-width: 1200px;
}
}


/* ===== MOBILE RESPONSIVE ===== */
@media(max-width:768px){

.menu-wrapper{
top:90px;
}

.custom-nav .navbar-nav{
gap:10px;       /* mobile gap ?? */
}

.hero{
/* padding-top:120px;*/
min-height:auto;
}

.school-slider-100{
height:40vh;
}

.slider-arrow{
width:38px;
height:38px;
font-size:22px;
}

.enroll-btn{
padding:14px;
font-size:12px;
}

.mission-vision .top-bar .container{
flex-direction:column !important;
justify-content:center !important;
text-align:center;
gap:10px;
}

.mission-vision .top-bar span{
display:block;
text-align:center;
}

.mission-vision .top-bar div{
display:flex;
justify-content:center;
gap:10px;
}

}

@media(max-width:576px){

.school-header{
flex-direction:column;
text-align:center;
}

.school-logo-wrap{
width:70px;
height:70px;
}

.school-title h1{
font-size:22px;
}
}

====================================================================
Featured Section
====================================================================

***/

.featured-section {
position: relative;
padding: 20px 0px 60px;
background-position: right bottom;
background-repeat: no-repeat;
background-size: cover;
}

.featured-block {
position: relative;
margin-bottom: 40px;
}

.featured-block .inner-box {
position: relative;
padding: 40px 30px;
background-color: #ffffff;
-webkit-box-shadow: 0px 0px 12px 0px rgba(204, 204, 204, 1);
-moz-box-shadow: 0px 0px 12px 0px rgba(204, 204, 204, 1);
box-shadow: 0px 0px 12px 0px rgba(204, 204, 204, 1);
background: linear-gradient(135deg, #ffffff, #f9fbff);
border-left: 5px solid #f7931e;
border-radius: 10px;

box-shadow: 
0 10px 25px rgba(0, 123, 255, 0.15),
0 2px 8px rgba(0, 0, 0, 0.08);

transition: all 0.35s ease;
}

.featured-block .inner-box .content {
position: relative;
padding-left: 75px;
}

.featured-block .inner-box .content .icon-box {
position: absolute;
left: 0px;
top: 5px;
color: #e7470d;
line-height: 1em;
font-size: 50px;
}

.featured-block:nth-child(2) .inner-box .content .icon-box {
color: #e7a52b;
}

.featured-block:nth-child(3) .inner-box .content .icon-box {
color: #6108ba;
}

.featured-block .inner-box .content h3 {
position: relative;
font-size: 24px;
font-weight: 300;
text-transform: capitalize;
}

.featured-block .inner-box {
position: relative;
padding: 40px 30px;
background-color: #ffffff;
box-shadow: 0px 0px 12px rgba(204, 204, 204, 1);
border-radius: 8px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-block .inner-box:hover {
transform: translateY(-8px);
box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.15);
}

.featured-block h3 a {
font-size: 20px;
font-weight: 700;
color: #1e1e1e;
text-decoration: none;
}

.featured-block .text {
font-size: 15.5px;
line-height: 1.7;
color: #555;
margin: 15px 0 25px;
text-align: justify;
}



.featured-block .more-btn {
display: inline-block;
padding: 10px 25px;
font-size: 14px;
font-weight: 600;
color: #fff;
background-color: #007bff;
border-radius: 30px;
text-decoration: none;
transition: background-color 0.3s ease, transform 0.3s ease;
}

.featured-block .more-btn:hover {
background-color: #0056b3;
transform: translateY(-2px);
}


.featured-block .inner-box .content .text {
position: relative;
color: #444444;
font-weight: 600;
font-size: 14px;
text-transform: capitalize;
}

/*** 

====================================================================
Services Section
====================================================================

***/



body{
font-family: 'Merriweather', serif;
}

/* ================= TOP HEADER ================= */
.top-header{
background:#111;
color:#fff;
font-size:14px;
position: relative;
z-index: 99999;   /* ? popup ?? ???? ???? ???? */
}
.top-header a{
color:#fff;
text-decoration:none;
}
.login-btn{
font-size:13px;
padding:4px 10px;
font-weight:600;
position: relative;   /* ? popup anchor */
}
.student-btn{
background:#d9ff00;
color:#000;
}
.teacher-btn{
background:#ff0000;
color:#fff;
}
.social-icons a{
margin-left:10px;
}

/* ===== ENROLL BUTTON ===== */
.enroll-btn{
position:absolute;
top:20px;
right:20px;
background:var(--orange);
color:#fff;
border-radius:50%;
padding:18px;
font-weight:700;
text-align:center;
z-index:20;
}

/* ===== MARQUEE ===== */
.marquee{
background:var(--orange);
color:#fff;
font-weight:600;
padding:8px;
white-space:nowrap;
overflow:hidden;
}
.marquee span{
display:inline-block;
animation:scroll 15s linear infinite;
}
@keyframes scroll{
from{transform:translateX(100%)}
to{transform:translateX(-100%)}
}

/* ===== SECTION COMMON ===== */
.section-title{
font-weight:700;
margin-bottom:15px;
}
.test-box{
border:1px solid #ccc;
padding:20px;
background:#fff;
}

/* ===== FOOTER ===== */
footer{
background:#111;
color:#fff;
}
footer a{
color:#fff;
text-decoration:none;
}
footer a:hover{
color:var(--orange);
}

@media(max-width:768px){
.top-header{
text-align:center;
}
.social-icons{
margin-top:8px;
}
}

/* ================= LOGO ================= */
.school-logo{
height:100px;   /* 150 ? 100: gap ???? */
object-fit:contain;
}

/* ================= BANNER & MENU ================= */
.banner-wrapper{
position:relative;
overflow: visible;   /* dropdown ???? ???? ?? */
}

/* Slider image */
.banner-img{
width:100%;
height:520px;
object-fit:cover;
}

/* ================= NAVBAR — DESKTOP ================= */
.custom-navbar{
position:absolute;
top:-15px;
left:50%;
transform:translateX(-50%);
width:78%;
background:#111;   /* ? THREE.js ?? ??? dark background */
border-radius:35px;
padding: 4px 20px;
z-index:9999;
}

/* Menu links */
.custom-navbar .nav-link{
color:#fff;
font-weight:600;
padding:10px 20px;
}
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active{
color:#f7931e;
}

/* Menu item spacing */
.custom-navbar .navbar-nav{
gap:10px;   /* desktop gap */
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
filter:invert(1);
width:40px;
height:40px;
}

/* Dropdown */
.dropdown-menu{
border-radius:10px;
z-index:99999 !important;
position: absolute !important;
}

/* ================= MOBILE ================= */
@media(max-width:991px){

/* Navbar relative ???? — header ????? ?? */
.custom-navbar{
position:relative !important;
top:0 !important;
left:0 !important;
transform:none !important;
width:100% !important;
border-radius:0 !important;
margin:0 !important;
padding: 6px 15px !important;
}

/* Banner wrapper ? flex ??? ???? navbar ???, slider ??? */
.banner-wrapper{
display: flex;
flex-direction: column;
}

/* Slider ???? */
#homeSlider{
order: 2;
}

/* Navbar ???? */
.custom-navbar{
order: 1;
}

/* Collapsed menu */
#mainMenu{
max-height: 75vh;
overflow-y: auto;
background: #111;
border-top: 1px solid rgba(255,255,255,0.1);
padding: 5px 0;
}

/* Mobile menu items — gap ??? */
.custom-navbar .navbar-nav{
gap:0 !important;
}

.custom-navbar .nav-link{
padding:11px 18px !important;
border-bottom:1px solid rgba(255,255,255,0.07) !important;
font-size:14px !important;
}

.custom-navbar .navbar-nav .nav-item:last-child .nav-link{
border-bottom:none !important;
}

/* Mobile dropdown */
.custom-navbar .dropdown-menu{
background:#1c1c1c !important;
border:none !important;
border-radius:0 !important;
padding:0 !important;
margin:0 !important;
position:relative !important;
width:100% !important;
box-shadow:none !important;
}

.custom-navbar .dropdown-menu .dropdown-item{
color:#ccc;
padding:10px 35px;
border-bottom:1px solid rgba(255,255,255,0.05);
font-size:13px;
}

.custom-navbar .dropdown-menu .dropdown-item:hover{
background:#f7931e;
color:#fff;
}

/* Toggler */
.navbar-toggler{
border:1px solid rgba(255,255,255,0.3) !important;
color:#fff !important;
}

.banner-img{
height:240px;
}
}

/* ================= STICKY MENU (desktop scroll) ================= */
.navbar-fixed{
position:fixed !important;
top:10px;
left:50%;
transform:translateX(-50%);
width:78%;
z-index:9999;
border-radius:35px;
}

/* ================= LOGIN POPUP FIX ================= */
/* Popup ?? parent ? position relative ????? ??? */
.top-header .position-relative{
position: relative;
}

.login-popup{
position: absolute;
top: 45px;
width: 280px;
background: #fff;
padding: 15px;
border-radius: 6px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
display: none;
z-index: 999999;   /* ???? ???? */
}

/* Student popup — ??? ???? ????? */
#studentPopup{
left: 0;
}

/* Teacher popup — ??? ???? ????? */
#teacherPopup{
right: 0;
left: auto;
}

.login-btn.active::after{
content:"";
position:absolute;
bottom:-6px;
left:50%;
transform:translateX(-50%);
border-width:6px;
border-style:solid;
border-color:#ffc107 transparent transparent transparent;
}

.toggle-eye{
position:absolute;
top:50%;
right:15px;
transform:translateY(-50%);
cursor:pointer;
color:#555;
}

.popup-close{
position:absolute;
top:0px;
right:5px;
font-size:20px;
font-weight:bold;
cursor:pointer;
color:#333;
}
.popup-close:hover{
color:red;
}

/* Mobile popup */
@media(max-width:768px){
.login-popup{
position:fixed;
top:70px;
left:50% !important;
right:auto !important;
transform:translateX(-50%);
width:90%;
max-width:300px;
}
}



.cat-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5F5E5A;
    border-left: 3px solid #1D9E75;
    padding-left: 10px;
    margin: 2rem 0 1rem;
}
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.faculty-card {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faculty-card:hover {
  box-shadow: 0 8px 28px rgba(24, 95, 165, 0.13);
  transform: translateY(-3px);
  border-color: #185FA5;
  border-width: 1px;
  background: #fff;  /* ????? ????? */
}
.img-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid #9FE1CB;
    flex-shrink: 0;
    background: #f4f4f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ? ?? CSS-? image ???? ?????? ?????? */
.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 500;
    color: #0F6E56;
    background: #E1F5EE;
}
.staff-name {
    margin: 12px 0 2px;
    font-size: 14px;
    font-weight: 600;
    color: #2C2C2A;
    text-align: center;
    line-height: 1.35;
}
.staff-desig {
    font-size: 12px;
    color: #0F6E56;
    text-align: center;
    margin: 0 0 6px;
    line-height: 1.4;
}
.staff-id {
    font-size: 11px;
    color: #888780;
    background: #F1EFE8;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.staff-details {
    width: 100%;
    border-top: 0.5px solid rgba(0,0,0,0.08);
    margin-top: 8px;
    padding-top: 8px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    padding: 2px 0;
    gap: 4px;
}
.detail-label { color: #888780; }
.detail-value { color: #2C2C2A; font-weight: 600; text-align: right; }



.faculty-card {
  background: #fff;
  border-radius: 14px;
  border: 0.5px solid #f7931e;
  padding: 1.5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
}
.faculty-card:hover {
  box-shadow: 0 6px 24px rgba(24,95,165,0.10);
  transform: translateY(-3px);
}

/* ? ???? key — button ?? ???? push ??? */
.faculty-card .details-btn {
  margin-top: auto;
}

.img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 3px solid #E6F1FB;
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-fallback {
  width: 100%;
  height: 100%;
  background: #E6F1FB;
  color: #185FA5;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-name {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}
.staff-desig {
  font-size: 12px;
  color: #000000;
  margin-bottom: 4px;
}
.staff-id {
  font-size: 11px;
  color: #000000;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.details-btn {
  width: 100%;
  padding: 8px 0;
  background: #f7931e;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.details-btn:hover {
  background: #185FA5;
  color: #fff;
}
.details-btn:active {
  transform: scale(0.97);
}

