/* --- Principal Section Styles --- */

.principal-section {
    /* 1. Standardize the top gap (Matches typical 100px header + 50px breathing room) */
    padding-top: 1px !important; 
    padding-bottom: 60px;
    
    /* 2. Remove 'display: flex' and 'align-items' as they break the top gap */
    display: block; 
    
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), 
                url('img/bg4.jpeg') no-repeat center center/cover;
    background-attachment: fixed;
    min-height: auto; /* Changed from 80vh to auto for consistency */
}
.container {
    max-width: 1400px; /* Increased to allow more horizontal spread */
    margin: 0 auto;
    padding: 0 20px;
}

.principal-wrapper {
    display: flex;
    align-items: center; 
    gap: 60px; /* Balanced gap */
    flex-wrap: nowrap; /* Keep them side-by-side on PC for the wide look */
}

/* --- Stylish Image Column --- */
.principal-image {
    flex: 0 0 55%;
    margin-left: -60px;
    position: relative;
    z-index: 2;
max-width: fit-content;
    display: flex;
    align-items: stretch; /* makes container follow image height */
}

.principal-image img {
    width: 500px;
    height: auto;   /* 🔥 keeps original image height */
    display: block;
    object-fit: contain; /* ensures full image is visible (no crop) */
}


/* Decorative frame adjusted to the new left position */
.principal-image::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -20px; /* Moved far left outside the image edge */
    width: 100px;
    height: 100px;
    border-top: 6px solid #ff9f1c;
    border-left: 6px solid #ff9f1c;
    z-index: 1;
}

/* --- Content Column stays tight and professional --- */
.principal-content {
    flex: 0 0 40%; /* 🔥 Keeps the content column narrow and "tight" */
    padding-right: 20px;
}

/* Responsive Fix for Tablets/Mobile */
@media (max-width: 1024px) {
    .principal-image {
        margin-left: 0;
        flex: 1;
    }
    .principal-wrapper {
        flex-wrap: wrap;
        gap: 40px;
    }
    .principal-image img {
        width: 100%;
        height: 400px;
        border-radius: 20px;
    }
}

/* --- Professional Content Column --- */
.principal-content {
    flex: 1.0;
    min-width: 700px;
    color: #ffffff;
}

.section-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3rem;
    color: #ff9f1c; /* Honorable Gold/Orange */
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #ff9f1c;
}

.principal-quote {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold; /* Corrected from font-style: bold */
    font-size: 2.1rem; /* Increased slightly for better visibility */
    line-height: 1.8; /* Adjusted for readability */
    color: #c22b02; /* Nice golden accent color to match theme */
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 4px solid #ff9f1c; /* Sophisticated accent line */
}

.principal-content p {
  font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-align: justify;
}

.principal-sign {
    margin-top: 10px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.principal-sign strong {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}

.principal-sign {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    color: #ff9f1c;
    letter-spacing: 1px;
    margin-top: 10px; /* Reduced from previous larger margin */
    padding-top: 0;   /* Remove extra top padding */
}

/* --- Mobile Friendliness --- */
@media (max-width: 992px) {
    .principal-section {
        padding-top: 130px !important; /* Ensures the header doesn't touch the title on phones */
    }
    .principal-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .section-title::after {
    content: "";
    position: absolute;
    bottom: -20px; /* Increased from -10px to move it downward */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ff9f1c;
}

    .principal-quote {
        border-left: none;
        border-top: 1px solid #ff9f1c;
        border-bottom: 1px solid #ff9f1c;
        padding: 20px 0;
    }
}

.principal-readmore-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #ff9f1c;
    color: #0a192f;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.principal-readmore-btn:hover {
    background: #ffffff;
    color: #0a192f;
    transform: translateY(-3px);
}
/* mv pv tv */
/* ===============================
   📱 MOBILE (up to 768px)
================================ */
@media (max-width: 768px) {

    .principal-section {
        padding-top: 120px !important;
        padding-bottom: 40px;
    }

    .principal-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    /* 📱 Mobile View */
@media (max-width: 768px) {

    .principal-image {
        flex: 0 0 100%;   /* take full width */
        margin-left: 0;   /* remove negative shift */
        order: 1;         /* you can change order if needed */
    }

    .principal-image img {
        width: 100%;
        height: auto;     /* keep original ratio */
        object-fit: contain;
    }

    .principal-container { /* if you have parent flex */
        flex-direction: column; /* stack image + text */
    }
}

    .principal-content {
        min-width: 100%;
        flex: 1;
        padding: 0;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .principal-quote {
        font-size: 1.3rem;
        line-height: 1.6;
        border-left: none;
        border-top: 2px solid #ff9f1c;
        border-bottom: 2px solid #ff9f1c;
        padding: 15px 0;
    }

    .principal-content p {
        font-size: 0.95rem;
        text-align: justify;
    }

    .principal-sign strong {
        font-size: 1.1rem;
    }

    .principal-readmore-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* ===============================
   📲 TABLET (769px - 1024px)
================================ */
@media (min-width: 769px) and (max-width: 1024px) {

    .principal-wrapper {
        flex-wrap: wrap;
        gap: 40px;
    }

    .principal-image {
        flex: 1 1 100%;
        margin-left: 0;
    }

    .principal-image img {
        width: 100%;
        height: 380px;
        border-radius: 20px;
    }

    .principal-content {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .principal-quote {
        font-size: 1.6rem;
        text-align: center;
        border-left: none;
        border-top: 2px solid #ff9f1c;
        border-bottom: 2px solid #ff9f1c;
        padding: 15px 0;
    }

    .principal-content p {
        font-size: 1rem;
    }
}


/* ===============================
   💻 LARGE PC (1200px+)
================================ */
@media (min-width: 1200px) {

    .principal-wrapper {
        gap: 70px;
    }

    .principal-image {
        flex: 0 0 55%;
    }

    .principal-image img {
        height: 600px; /* Slightly more premium feel */
    }

    .principal-content {
        flex: 0 0 40%;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .principal-quote {
        font-size: 2.2rem;
    }

    .principal-content p {
        font-size: 1.15rem;
    }
}
/* ========================================================================
   Faculty Section — Centered, Responsive, Premium Gold Theme
   ======================================================================== */

.faculty-section {
    padding: 5px 0;
    background: linear-gradient(rgba(10,25,47,0.92), rgba(10,25,47,0.92)),
                url('img/bg6.jpeg') no-repeat center/cover;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

/* --- Subsection Headers --- */
.faculty-subsection {
    margin-bottom: 80px;
    text-align: center;
}

.faculty-subhead {
    margin-bottom: 45px;
    padding: 0 20px;
}

.faculty-subtitle {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.faculty-subtitle span {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.faculty-subdesc {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    font-style: italic;
    max-width: 700px;
    margin: 10px auto 0;
}

/* --- Centered Main Faculty Row --- */
.main-faculty-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

.faculty-card.main-leader .faculty-img-container {
    width: 250px; /* Slightly larger than others */
    height: 250px;
    border: 5px solid #d4af37; /* Default gold border */
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.faculty-card.main-leader h4 {
    font-size: 1.7rem;
    color: #ffd700;
}

/* --- The Flex Grid (Aligns others below) --- */
.faculty-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Faculty Card & Hover Effects --- */
.faculty-card {
    flex: 0 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faculty-card:hover {
    transform: translateY(-12px);
}

.faculty-img-container {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background: #1a1c2c;
    transition: all 0.4s ease;
}

.faculty-card:hover .faculty-img-container {
    border-color: #d4af37;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.faculty-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: transform 0.6s ease;
}

.faculty-card:hover .faculty-img-container img {
    transform: scale(1.1);
}

.faculty-info {
    margin-top: 20px;
    text-align: center;
}

.faculty-info h4 {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    margin: 10px 0 5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.faculty-dept {
    color: #ff9f1c;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 768px) {
    .faculty-img-container { width: 190px; height: 190px; }
    .faculty-card.main-leader .faculty-img-container { width: 210px; height: 210px; }
    .faculty-grid { gap: 30px 15px; }
}

@media (max-width: 480px) {
    .faculty-card { flex: 0 1 100%; }
}

/* This allows the GPU to handle the scroll animations, making it buttery smooth */
.faculty-card, 
.program-card, 
.alumni-card, 
.scroll-reveal {
    will-change: transform, opacity;
    backface-visibility: hidden; /* Fixes "shaking" on mobile */
}

/* Ensure the intro overlay doesn't block scrolling once hidden */
#introOverlay.hide {
    pointer-events: none;
    display: none; /* Physically removes the 'wall' after animation */
}


/* ========================================================================
   ADMINISTRATION STAFF SECTION
   ======================================================================== */

.admin-section{
padding:80px 8%;
background:#f5efe6;
font-family: Georgia, 'Times New Roman', Times, serif;
}

.admin-header{
text-align:center;
margin-bottom:60px;
}

.admin-title{
font-size:36px;
font-weight:700;
color:#3e2c23;
}

.admin-title span{
color:#8b5e3c;
}

.admin-divider{
width:70px;
height:3px;
background:#8b5e3c;
margin:15px auto;
}

.admin-subtitle{
max-width:600px;
margin:auto;
color:#6b5a4d;
font-size:15px;
}

.admin-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:45px;
justify-items:center;
}

/* CARD BIGGER */
.admin-card{
background:white;
width:200px;
padding:25px 15px;
text-align:center;
border-radius:12px;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
transition:0.3s;
}

.admin-card:hover{
transform:translateY(-8px);
}

/* PHOTO CENTER + DOWN */
.admin-avatar{
display:flex;
justify-content:center;
align-items:center;
margin-top:25px;   /* moves photo down */
margin-bottom:18px;
}

/* make all photos slightly bigger */
.admin-avatar img{
width:140px;
height:140px;
border-radius:50%;
object-fit:cover;
border:5px solid #f1e6da;
}


/* move only 2nd photo content down */
.admin-card:nth-child(2) .admin-avatar img{
object-position:center 30%;
}

/* move only 4th photo content down */
.admin-card:nth-child(4) .admin-avatar img{
object-position:center 30%;
}
.admin-card h4{
font-size:19px;
margin:8px 0 4px;
color:#2b2b2b;
}

.admin-card span{
font-size:15px;
color:#8b5e3c;
font-weight:600;
}

.admin-grid{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:35px;
justify-items:center;
}
@media(max-width:900px){

.admin-grid{
grid-template-columns:repeat(2,1fr);
}

}


/* ======================== */



/* ===================== */
/* SECTION WRAPPER */
/* ===================== */

.faculty-western {
  background: radial-gradient(circle at center, #5e0b15 0%, #2b0307 100%);
  padding: 60px 20px;
  color: #ffffff;
 font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: center;
}

/* Title */
.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #fcf6ba;
}

/* ===================== */
/* GRID – 5 PHOTOS IN ONE LINE */
/* ===================== */

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* ✅ 5 per row */
  gap: 25px;
  max-width: 1500px;
  margin: 0 auto;
  justify-items: center;
}

/* Featured Teacher */
.faculty-item.featured {
  grid-column: 1 / span 5;
}

/* Card */
.faculty-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Photo Circle */
.faculty-photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d4af37, #fcf6ba, #aa771c);
  padding: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #2b0307;
}

/* Hover */
.faculty-item:hover .faculty-photo {
  transform: translateY(-6px);
}

/* Text */
.faculty-item h3 {
  margin: 10px 0 4px;
  font-size: 23px!important;
}

.position {
  font-size: 19px!important;
  text-transform: uppercase;
  color: #fcf6ba;
  margin-bottom: 3px;
}

.qualification {
  font-size: 20px!important;
  color: rgba(255,255,255,0.7);
  font-family: Georgia, 'Times New Roman', Times, serif;

}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 1100px) {

  .faculty-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
  }

  .faculty-item.featured {
    grid-column: 1 / span 3;
  }
}

@media (max-width: 600px) {

  .faculty-grid {
    grid-template-columns: 1fr; /* 1 per row */
  }

  .faculty-item.featured {
    grid-column: 1;
  }
}


.faculty-section-main {
  background: radial-gradient(circle at center, #5e0b15 0%, #2b0307 100%);
  padding: 60px 20px;
  color: #ffffff;
 font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: center;
}

.section-title-main {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #fcf6ba;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* GRID */
.faculty-grid-main {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  max-width: 1500px;
  margin: 0 auto;
  justify-items: center;
}

/* Card */
.faculty-card-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Photo */
.faculty-photo-main {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d4af37, #fcf6ba, #aa771c);
  padding: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faculty-photo-main img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;   /* shows head properly */
  border: 4px solid #2b0307;
}
/* Hover */
.faculty-card-main:hover .faculty-photo-main {
  transform: translateY(-6px);
}

/* Text */
.faculty-card-main h3 {
  margin: 10px 0 4px;
  font-size: 23px!important;
}

.position-main {
  font-size: 23px!important;
  text-transform: uppercase;
  color: #fef598;
  margin-bottom: 3px;
}

.qualification-main {
  font-size: 24px!important;
  color: rgba(255,255,255,0.7);
}

/* RESPONSIVE */

@media (max-width:1100px){
.faculty-grid-main{
grid-template-columns: repeat(3,1fr);
}
}

@media (max-width:600px){
.faculty-grid-main{
grid-template-columns:1fr;
}
}



.hero-faculty-section {
  position: relative;
  padding: 160px 20px;
  background: linear-gradient(135deg, #1d2a4d, #2e437f);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Animated Background Glow */
.hero-faculty-section::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,122,0,0.25), transparent 70%);
  top: -300px;
  left: -300px;
  animation: floatGlow 8s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from { transform: scale(1); }
  to { transform: scale(1.3); }
}

/* Dark Overlay */
.hero-faculty-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

/* Content Container */
.hero-faculty-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  animation: fadeSlideUp 1.4s ease forwards;
  opacity: 0;
}

/* Subtitle */
.hero-faculty-subtitle {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 20px;
  color: #ff7a00;
  margin-bottom: 18px;
  font-weight: 600;
}

/* Main Title */
.hero-faculty-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Animated Divider */
.hero-faculty-divider {
  width: 0;
  height: 4px;
  background: #ff7a00;
  margin: 0 auto 45px auto;
  border-radius: 10px;
  animation: expandLine 1.5s ease forwards;
}

@keyframes expandLine {
  to { width: 140px; }
}

/* ==========================================
   LARGE HERO PARAGRAPH (40px)
========================================== */

.hero-faculty-text-text{
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 80px;        /* Increased to 40px */
  line-height: 1.7;
  color: #f2f2f2;
  max-width: 1100px;
  margin: auto;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Entrance Animation */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1200px) {
  .hero-faculty-title {
    font-size: 52px;
    white-space: normal;
  }

  .hero-faculty-text-text {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hero-faculty-section {
    padding: 120px 20px;
  }

  .hero-faculty-title {
    font-size: 38px;
  }

  .hero-faculty-text-text {
    font-size: 22px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .hero-faculty-title {
    font-size: 28px;
  }

  .hero-faculty-text-text {
    font-size: 18px;
  }

  .hero-faculty-subtitle {
    font-size: 14px;
    margin-top: 10rem;
  }
}


/* part time========= */
.staff-wrapper{
margin:0;
font-family:Arial, Helvetica, sans-serif;
background:#f3eadf; /* softer cream */
padding:80px 20px;
text-align:center;
color:#3a2e23;
}

/* ===== TITLE ===== */
.staff-title{
font-size:40px;
font-weight:700;
letter-spacing:3px;
text-transform:uppercase;
font-family:Georgia, serif;
color:#6b4a2b;
position:relative;
display:inline-block;
padding-bottom:12px;
margin-bottom:60px;
}

/* Stylish underline */
.staff-title::after{
content:"";
position:absolute;
left:50%;
bottom:0;
width:120px;
height:4px;
background:linear-gradient(to right,#c9a46a,#8b6a45,#c9a46a);
transform:translateX(-50%);
border-radius:5px;
}

/* Posh gradient text */


/* Heading animation */
@keyframes shine{
0%{background-position:0% center;}
100%{background-position:200% center;}
}

/* ===== CONTAINER ===== */
.staff-container{
display:flex;
justify-content:center;
gap:35px;
flex-wrap:wrap;
}

/* ===== CARD ===== */
.staff-card{
background:#fff8ef;
width:260px;
padding:25px;
border-radius:25px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:0.4s ease;
cursor:pointer;
text-align:center;
}

/* Hover */
.staff-card:hover{
transform:translateY(-10px) scale(1.05);
background:#f0e4d7;
}

/* Image */
.staff-card img{
width:160px;
height:160px;
border-radius:50%;
object-fit:cover;
border:5px solid #c2a679;
display:block;
margin:0 auto; /* center image */
}

/* Name */
.staff-card h2{
margin-top:12px;
font-size:12px;
font-weight:bold;
color:#0c0c0c;
font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Message */
.staff-card p{
font-style:italic;
color:#2b0307;
font-size:14px;
font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Responsive */
@media(max-width:768px){
.staff-container{
flex-direction:column;
align-items:center;
}
}

.staff-card .name{
font-size:20px !important;
}

.staff-card img{
width:160px;
height:160px;
border-radius:50%;
object-fit:cover;
object-position:center 30%; /* moves image inside circle down */
border:5px solid #c2a679;
display:block;
margin:0 auto;
}
/* ===================suport=========== */


/* ================= SUPPORT WRAPPER ================= */
/* SUPPORT STAFF SECTION */

.support-wrapper{
    padding: 80px 8%;
    background: linear-gradient(135deg,#0b1f3a,#1c3a5f);
    text-align: center;
}

/* Premium Heading */
.support-heading{
    font-size: 48px;   /* little bigger */
    font-weight: 700;
    color: #f5d98b;
    text-align: center;
    margin-bottom: 35px;   /* reduced space */
    letter-spacing: 1px;
    position: relative;
}

/* underline design */
.support-heading::after{
    content: "";
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg,#f5d98b,#ffffff,#f5d98b);
    display: block;
    margin: 8px auto 0;   /* less gap between text and line */
    border-radius: 3px;
}

/* GRID */
.support-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:25px;
    justify-items:center;
}

/* CARD */
.support-card{
    text-align:center;
    transition:transform 0.3s ease;
    padding:10px 5px;
}


.support-card:hover{
    transform: translateY(-8px);
}

/* PHOTO */
.support-photo{
    width:140px;
    height:140px;
    object-fit:cover;
    object-position:center;
    border-radius:50%;
    border:5px solid #f5d98b;
    padding:3px;
    background:#ffffff;
}


/* Move face slightly down only for 2,3,4,6 */
.support-card:nth-child(2) img,
.support-card:nth-child(3) img,
.support-card:nth-child(4) img,
.support-card:nth-child(6) img{
    object-position: center 35%;
}
/* NAME */
.support-name{
    margin-top:10px;
    font-size:17px;
    font-weight:600;
    color:#ffffff;
}

.support-role{
    font-size:14px;
    color:#f5d98b;
    margin-top:3px;
}
@media(max-width:900px){

.support-grid{
grid-template-columns:repeat(2,1fr);
}

}
/* ----------------------------resp */
/* =====================================================
   GLOBAL RESPONSIVE FIXES
=====================================================*/

*{
box-sizing:border-box;
}

img{
max-width:100%;
height:auto;
display:block;
}

/* Prevent text overflow */
body{
overflow-x:hidden;
}

/* =====================================================
   LARGE DESKTOP (1200px+)
=====================================================*/

@media (min-width:1200px){

.container{
max-width:1200px;
}

.principal-wrapper{
gap:80px;
}

.faculty-grid-main{
grid-template-columns:repeat(5,1fr);
}

.support-grid{
grid-template-columns:repeat(6,1fr);
}

.admin-grid{
grid-template-columns:repeat(6,1fr);
}

}

/* =====================================================
   LAPTOP / SMALL DESKTOP (992px – 1199px)
=====================================================*/

@media (max-width:1199px){

.principal-wrapper{
gap:40px;
}

.hero-faculty-title{
font-size:48px;
}

.hero-faculty-text-text{
font-size:34px;
}

.faculty-grid-main{
grid-template-columns:repeat(3,1fr);
}

.support-grid{
grid-template-columns:repeat(3,1fr);
}

.admin-grid{
grid-template-columns:repeat(3,1fr);
}

}

/* =====================================================
   TABLET (768px – 991px)
=====================================================*/

@media (max-width:991px){

.principal-wrapper{
flex-direction:column;
text-align:center;
}

.principal-content{
max-width:700px;
margin:auto;
}

.hero-faculty-title{
font-size:38px;
white-space:normal;
}

.hero-faculty-text-text{
font-size:26px;
}

.faculty-grid-main{
grid-template-columns:repeat(2,1fr);
}

.faculty-grid{
grid-template-columns:repeat(2,1fr);
}

.support-grid{
grid-template-columns:repeat(2,1fr);
}

.admin-grid{
grid-template-columns:repeat(2,1fr);
}

.staff-container{
flex-direction:column;
align-items:center;
}

}

/* =====================================================
   MOBILE (480px – 767px)
=====================================================*/

@media (max-width:767px){

.principal-section{
padding-top:120px !important;
padding-bottom:40px;
}

.section-title{
font-size:2rem;
}

.hero-faculty-section{
padding:100px 20px;
}

.hero-faculty-title{
font-size:30px;
}

.hero-faculty-text-text{
font-size:20px;
line-height:1.6;
}

.faculty-grid-main{
grid-template-columns:1fr;
}

.faculty-grid{
grid-template-columns:1fr;
}

.support-grid{
grid-template-columns:1fr;
}

.admin-grid{
grid-template-columns:1fr;
}

.staff-card{
width:90%;
}

.faculty-photo-main{
width:150px;
height:150px;
}

.support-photo{
width:120px;
height:120px;
}

}

/* =====================================================
   SMALL MOBILE (Below 480px)
=====================================================*/

@media (max-width:480px){

.hero-faculty-title{
font-size:26px;
}

.hero-faculty-subtitle{
font-size:14px;
letter-spacing:2px;
}

.hero-faculty-text-text{
font-size:17px;
}

.section-title-main{
font-size:24px;
}

.faculty-photo-main{
width:130px;
height:130px;
}

.support-photo{
width:110px;
height:110px;
}

.admin-avatar img{
width:110px;
height:110px;
}

}

/*Vacancy Faculty*/
.job-section {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(135deg, #1f4037, #99f2c8);
  padding: 30px 15px;   /* reduced padding */
  color: #fff;
}

.job-container {
  max-width: 750px;     /* reduced width */
  margin: auto;
  background: rgba(0, 0, 0, 0.15);
  padding: 20px;        /* reduced inner spacing */
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.job-title {
  font-size: 22px;      /* smaller */
  margin-bottom: 6px;
  text-align: center;
}

.school-name {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}

.address,
.email {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: center;
}

.job-list {
  font-size: 13px;
  margin: 10px 0;
}

.job-list p {
  margin: 4px 0;        /* tighter spacing */
}

.job-list ul {
  margin: 5px 0 8px 18px;
}

.salary {
  font-size: 13px;
  margin: 10px 0;
  text-align: center;
}

.interview-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;        /* reduced */
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
}

.interview-box p {
  margin: 3px 0;
  font-size: 13px;
}
