*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --forest:   #1A3A2A;
  --pine:     #2C5F3E;
  --fern:     #3D7A52;
  --moss:     #5C9B6E;
  --meadow:   #8FBF9F;
  --gold:     #C9A84C;
  --amber:    #E8C547;
  --tan:      #F2E8D0;
  --parchment:#FAF5EA;
  --white:    #FFFFFF;
  --ink:      #1A2418;
  --bark:     #3D3028;
  --smoke:    #6B7C6E;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: #FAF5EA;
  color: #1A2418;
  overflow-x: hidden;
}

/* ── ANNOUNCEMENT BAR ── */
.announce {
  background: #1A3A2A;
  color: #F2E8D0;
  text-align: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
}
.announce strong { color: #E8C547; }
.announce-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  cursor: pointer; opacity: 0.6; font-size: 16px;
}

/* ── NAV ── */
nav {
  position: sticky; 
  top: 0; 
  z-index: 900;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(26,58,42,0.08);
  padding: 0 30px;
  display: flex; align-items: stretch;
  box-shadow: 0 2px 16px rgba(26,58,42,0.07);
}
.nav-brand {
  display: flex; 
  align-items: center; 
  gap: 5px;
  text-decoration: none;
  padding: 16px 0;
  margin-right: 20px;
}
.brand-emblem {
  width: 80px; 
  height: 80px;
  /*background: #1A3A2A;*/
  border-radius: 50%;
  display: flex; 
  /*align-items: center; */
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  /*box-shadow: 0 0 0 3px #C9A84C;*/
}
.brand-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 29px; 
  font-weight: 700;
  color: #1A3A2A;
  line-height: 1.2;
  display: block;
}
.brand-tagline {
  font-size: 14px; 
  font-weight: 700;
  text-align: center;
  color: #6B7C6E;
  letter-spacing: 0.5px;
  display: block;
  font-family: 'Libre Baskerville', serif;
}
.nav-menu {
  display: flex; list-style: none; flex: 1;
  font-family: 'Libre Baskerville', serif;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  height: 100%; padding: 0 10px;
  text-decoration: none;
  font-size: 15px; font-weight: 500;
  color: #3D3028;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active {
  color: #2C5F3E;
  background: rgba(26,58,42,0.04);
}
.nav-menu > li > a .chevron { font-size: 10px; opacity: 0.5; }
.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #FFFFFF;
  border: 1px solid rgba(26,58,42,0.1);
  border-top: 3px solid #2C5F3E;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-radius: 0 0 10px 10px;
  z-index: 100;
}
.nav-menu > li:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 12px 20px;
  text-decoration: none; font-size: 13.5px;
  color: #3D3028; transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.dropdown a:hover { background: #F2E8D0; color: #2C5F3E; }
.btn-portal {
  background: #1A3A2A; color: #FFFFFF;
  text-decoration: none; padding: 9px 20px;
  border-radius: 6px; font-size: 13px; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-portal:hover { background: #2C5F3E; transform: translateY(-1px); }
.btn-apply {
  background: #C9A84C; color: #1A3A2A;
  text-decoration: none; padding: 9px 20px;
  border-radius: 6px; font-size: 13px; font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-apply:hover { background: #E8C547; transform: translateY(-1px); }

/* ── HERO ── */
.hero{
    position:relative;
    min-height:86vh;
    overflow:hidden;
}

.hero-bg-pattern{
    position:absolute;
    inset:0;
    z-index:1;
    background:
      radial-gradient(ellipse at 80% 20%, rgba(61,122,82,.4) 0%, transparent 55%),
      radial-gradient(ellipse at 10% 90%, rgba(201,168,76,.15) 0%, transparent 40%),
      linear-gradient(160deg,#0F2218 0%,#1A3A2A 50%,#243D2F 100%);
}

.hero-grid-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    overflow:hidden;
}

.hero-grid-overlay img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    animation:slider 15s infinite;
}

/* Delay each image */
.hero-grid-overlay img:nth-child(1){
    animation-delay:0s;
}

.hero-grid-overlay img:nth-child(2){
    animation-delay:5s;
}

.hero-grid-overlay img:nth-child(3){
    animation-delay:10s;
}

@keyframes slider{
    0%{
        opacity:0;
        transform:scale(1);
    }
    8%{
        opacity:1;
    }
    30%{
        opacity:1;
        transform:scale(1.08); /* Slow zoom */
    }
    38%{
        opacity:0;
    }
    100%{
        opacity:0;
        transform:scale(1.1);
    }
}
/*.hero {*/
/*  position: relative; */
/*  min-height: 86vh;*/
/*  display: flex; */
/*  align-items: center;*/
  /*background: #1A3A2A;*/
/*  overflow: hidden;*/
  
/*}*/
/*.hero-bg-pattern {*/
/*  position: absolute; inset: 0;*/
/*  background:*/
/*    radial-gradient(ellipse at 80% 20%, rgba(61,122,82,0.4) 0%, transparent 55%),*/
/*    radial-gradient(ellipse at 10% 90%, rgba(201,168,76,0.15) 0%, transparent 40%),*/
/*    linear-gradient(160deg, #0F2218 0%, #1A3A2A 50%, #243D2F 100%);*/
/*}*/
/*.hero-grid-overlay {*/
/*  position: absolute; inset: 0;*/
/*  background-image:url(../img/ppl_ssl.jpg);*/
/*  background-image:url(../img/SSL_1.jpg);*/
/*  background-image:url(../img/SSL_2.jpg);*/
  /*background-image:*/
  /*  linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),*/
  /*  linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);*/
  /*background-size: 60px 60px;*/
/*}*/
/*.hero-content {*/
/*  position: relative; z-index: 2;*/
/*  padding: 80px 60px;*/
/*  max-width: 700px;*/
/*}*/
/*.hero-badge {*/
/*  display: inline-flex; align-items: center; gap: 10px;*/
/*  border: 1px solid rgba(201,168,76,0.4);*/
/*  background: rgba(201,168,76,0.1);*/
/*  color: #E8C547;*/
/*  padding: 8px 18px; border-radius: 100px;*/
/*  font-size: 12px; font-weight: 600; letter-spacing: 2px;*/
/*  text-transform: uppercase; margin-bottom: 32px;*/
/*  animation: slideIn 0.7s ease both;*/
/*}*/
/*.hero-badge::before { content: '🎓'; font-size: 15px; }*/
/*.hero-h1 {*/
/*  font-family: 'Libre Baskerville', serif;*/
/*  font-size: clamp(40px, 5.5vw, 78px);*/
/*  font-weight: 700; line-height: 1.08;*/
/*  color: #FFFFFF; margin-bottom: 12px;*/
/*  animation: slideIn 0.7s 0.12s ease both;*/
/*}*/
/*.hero-h1 .accent {*/
/*  color: #C9A84C;*/
/*  font-style: italic; display: block;*/
/*}*/
/*.hero-sub-title {*/
/*  font-family: 'EB Garamond', serif;*/
/*  font-size: 22px; font-weight: 400; font-style: italic;*/
/*  color: rgba(242,232,208,0.7);*/
/*  margin-bottom: 28px;*/
/*  animation: slideIn 0.7s 0.22s ease both;*/
/*}*/
/*.hero-desc {*/
/*  font-size: 16px; font-weight: 300; line-height: 1.75;*/
/*  color: rgba(242,232,208,0.65);*/
/*  max-width: 520px; margin-bottom: 44px;*/
/*  animation: slideIn 0.7s 0.32s ease both;*/
/*}*/
/*.hero-btns {*/
/*  display: flex; gap: 14px; flex-wrap: wrap;*/
/*  animation: slideIn 0.7s 0.42s ease both;*/
/*}*/
/*.btn-lg-gold {*/
/*  display: inline-flex; align-items: center; gap: 10px;*/
/*  background: #C9A84C; color: #1A3A2A;*/
/*  text-decoration: none; padding: 16px 32px;*/
/*  border-radius: 8px; font-size: 15px; font-weight: 700;*/
/*  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;*/
/*  box-shadow: 0 4px 20px rgba(201,168,76,0.3);*/
/*}*/
/*.btn-lg-gold:hover { background: #E8C547; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.4); }*/
/*.btn-lg-ghost {*/
/*  display: inline-flex; align-items: center; gap: 10px;*/
/*  background: transparent; color: #F2E8D0;*/
/*  text-decoration: none; padding: 15px 32px;*/
/*  border-radius: 8px; font-size: 15px; font-weight: 500;*/
/*  border: 1.5px solid rgba(242,232,208,0.3);*/
/*  transition: border-color 0.2s, background 0.2s;*/
/*}*/
/*.btn-lg-ghost:hover { border-color: rgba(242,232,208,0.6); background: rgba(242,232,208,0.06); }*/

/* Hero side panel */
/*.hero-right {*/
/*  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);*/
/*  display: flex; flex-direction: column; gap: 16px;*/
/*  z-index: 2;*/
/*  animation: slideIn 0.8s 0.5s ease both;*/
/*}*/
/*.info-card {*/
/*  background: rgba(255,255,255,0.07);*/
/*  border: 1px solid rgba(255,255,255,0.12);*/
/*  border-radius: 14px;*/
/*  padding: 20px 24px;*/
/*  backdrop-filter: blur(10px);*/
/*  min-width: 220px;*/
/*  transition: background 0.2s;*/
/*}*/
/*.info-card:hover { background: rgba(255,255,255,0.11); }*/
/*.info-card-icon { font-size: 28px; margin-bottom: 8px; }*/
/*.info-card-val {*/
/*  font-family: 'Libre Baskerville', serif;*/
/*  font-size: 28px; font-weight: 700; color: #E8C547;*/
/*  display: block; line-height: 1;*/
/*}*/
/*.info-card-lbl { font-size: 12px; color: rgba(242,232,208,0.55); margin-top: 4px; display: block; }*/

/* scroll line */
/*.hero-scroll {*/
/*  position: absolute; bottom: 32px; left: 60px; z-index: 2;*/
/*  display: flex; align-items: center; gap: 12px;*/
/*  color: rgba(242,232,208,0.35); font-size: 12px; letter-spacing: 2px;*/
/*  text-transform: uppercase;*/
/*  animation: slideIn 1s 0.8s ease both;*/
/*}*/
/*.scroll-dot {*/
/*  width: 10px; height: 10px; border-radius: 50%;*/
/*  border: 1.5px solid rgba(201,168,76,0.5);*/
/*  position: relative;*/
/*  animation: pulse 2s infinite;*/
/*}*/

/* ── QUICK LINKS BAR ── */
.quick-bar {
  background: #2C5F3E;
  display: flex; overflow-x: auto;
}
.quick-bar::-webkit-scrollbar { display: none; }
.quick-item {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 85px;
  text-decoration: none;
  color: rgba(242,232,208,0.75);
  font-size: 13.5px; font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.quick-item:hover { background: rgba(255,255,255,0.08); color: #E8C547; }
.quick-item .qi-icon { 
font-size: 18px; 
    
}

/* ── NOTICES / MARQUEE ── */
.notices-bar {
  background: #F2E8D0;
  border-bottom: 2px solid #C9A84C;
  padding: 0;
  display: flex; align-items: stretch;
}
.notices-label {
  background: #C9A84C;
  color: #1A3A2A;
  padding: 13px 22px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center;
}
.notices-scroll { overflow: hidden; flex: 1; }
.notices-track {
  display: flex; gap: 0;
  animation: tickerMove 40s linear infinite;
  white-space: nowrap;
}
.notice-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  font-size: 13.5px; color: #3D3028;
  border-right: 1px solid rgba(0,0,0,0.08);
  font-weight: 500;
}
.notice-item .ni-dot { color: #C9A84C; font-size: 16px; }
.notice-item .ni-new {
  background: #2C5F3E; color: #FFFFFF;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 2px 7px; border-radius: 3px; text-transform: uppercase;
}

/* ── SECTION GENERIC ── */
.section { padding: 90px 60px; }
.section-alt { background: #FFFFFF; }
.section-dark { background: #1A3A2A; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #2C5F3E; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: #2C5F3E; display: inline-block; }
.eyebrow-light { color: var(--meadow); }
.eyebrow-light::before { background: var(--meadow); }

.section-heading {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700; line-height: 1.15; color: #1A2418;
  margin-bottom: 16px;
}
.section-heading em { color: #2C5F3E; font-style: italic; }
.section-heading-light { color: #F2E8D0; }
.section-heading-light em { color: #C9A84C; }

/* ── PROGRAMS ── */
.programs-intro { max-width: 640px; margin-bottom: 56px; }
.programs-sub {
  font-family: 'EB Garamond', serif;
  font-size: 19px; font-weight: 400; line-height: 1.7;
  color: #6B7C6E;
}

.programs-tabs {
  display: flex; gap: 0; margin-bottom: 40px;
  border: 1px solid rgba(26,58,42,0.15);
  border-radius: 10px; overflow: hidden;
  width: fit-content;
}
.ptab {
  padding: 11px 24px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, color 0.2s;
  color: #6B7C6E;
  border-right: 1px solid rgba(26,58,42,0.1);
}
.ptab:last-child { border-right: none; }
.ptab.active { background: #2C5F3E; color: #FFFFFF; }
.ptab:not(.active):hover { background: #F2E8D0; }

.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.prog-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26,58,42,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}
.prog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26,58,42,0.13); }
.prog-color-bar { height: 5px; }
.prog-card:nth-child(1) .prog-color-bar { background: linear-gradient(to right, #2C5F3E, var(--fern)); }
.prog-card:nth-child(2) .prog-color-bar { background: linear-gradient(to right, #C9A84C, #E8C547); }
.prog-card:nth-child(3) .prog-color-bar { background: linear-gradient(to right, var(--fern), var(--meadow)); }
.prog-card:nth-child(4) .prog-color-bar { background: linear-gradient(to right, #3D3028, #7a5c3a); }
.prog-card:nth-child(5) .prog-color-bar { background: linear-gradient(to right, #2C5F3E, #C9A84C); }
.prog-card:nth-child(6) .prog-color-bar { background: linear-gradient(to right, #4a6fa5, #6b8fc2); }
.prog-body { padding: 26px 24px 28px; }
.prog-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.prog-level {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #2C5F3E;
  background: rgba(44,95,62,0.08);
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  margin-bottom: 12px;
}
.prog-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 19px; font-weight: 700;
  color: #1A2418; line-height: 1.3;
  margin-bottom: 10px;
}
.prog-desc { font-size: 13.5px; line-height: 1.6; color: #6B7C6E; margin-bottom: 20px; }
.prog-meta {
  display: flex; gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.prog-meta-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #6B7C6E; }
.prog-meta-item strong { color: #1A2418; font-weight: 600; }
.prog-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 32px; height: 32px;
  background: #F2E8D0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background 0.2s, transform 0.2s;
}
.prog-card:hover .prog-arrow { background: #2C5F3E; color: #FFFFFF; transform: rotate(45deg); }

/* ── CAMPUS LIFE ── */

/* ── FACULTY ── */
.faculty-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.faculty-card {
  text-align: center;
  transition: transform 0.25s;
}
.faculty-card:hover { transform: translateY(-4px); }
.faculty-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, #2C5F3E, var(--fern));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; margin: 0 auto 16px;
  box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 6px var(--meadow);
}
.faculty-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px; font-weight: 700; color: #1A2418; margin-bottom: 4px;
}
.faculty-title { font-size: 13px; color: #2C5F3E; font-weight: 600; margin-bottom: 6px; }
.faculty-dept { font-size: 12px; color: #6B7C6E; }

/* ── STATS ── */
.stats-strip {
  background: #2C5F3E;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.sstat {
  padding: 44px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.sstat:last-child { border-right: none; }
.sstat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700; color: #E8C547;
  display: block; line-height: 1;
}
.sstat-label {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 8px; display: block;
}

/* ── ADMISSIONS ── */
.admissions-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.admission-steps { }
.step {
  display: flex; gap: 20px; margin-bottom: 32px;
}
.step:last-child { margin-bottom: 0; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: #1A3A2A; color: #C9A84C;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Libre Baskerville', serif;
  font-size: 17px; font-weight: 700;
  flex-shrink: 0; position: relative;
}
.step-num::after {
  content: '';
  position: absolute; top: 44px; left: 50%; transform: translateX(-50%);
  width: 1px; height: calc(100% + 28px);
  background: rgba(26,58,42,0.15);
}
.step:last-child .step-num::after { display: none; }
.step-content { }
.step-title { font-size: 16px; font-weight: 700; color: #1A2418; margin-bottom: 5px; }
.step-desc { font-size: 13.5px; color: #6B7C6E; line-height: 1.6; }

.admission-card {
  background: #1A3A2A;
  border-radius: 20px; padding: 40px;
  position: relative; overflow: hidden;
}
.admission-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(201,168,76,0.12);
}
.admission-card h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 24px; color: #FFFFFF; margin-bottom: 8px;
}
.admission-card .acard-sub {
  font-size: 14px; color: rgba(242,232,208,0.6); margin-bottom: 28px; line-height: 1.6;
}
.deadline-box {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px; padding: 16px 20px;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.deadline-label { font-size: 12px; color: rgba(242,232,208,0.5); letter-spacing: 1px; text-transform: uppercase; }
.deadline-date { font-family: 'Libre Baskerville', serif; font-size: 20px; font-weight: 700; color: #E8C547; }
.apply-btn-full {
  display: block; width: 100%;
  background: #C9A84C; color: #1A3A2A;
  text-align: center; text-decoration: none;
  padding: 15px; border-radius: 10px;
  font-size: 15px; font-weight: 800;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s;
}
.apply-btn-full:hover { background: #E8C547; transform: translateY(-2px); }
.checklist { list-style: none; margin-top: 20px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(242,232,208,0.65);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.checklist li::before { content: '✓'; color: #C9A84C; font-weight: 700; margin-top: 1px; }

/* ── EVENTS ── */
.events-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.event-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 24px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: background 0.2s;
}
.event-card:hover { background: rgba(255,255,255,0.09); }
.event-date-box {
  background: #C9A84C; color: #1A3A2A;
  border-radius: 10px; padding: 10px 14px;
  text-align: center; flex-shrink: 0; min-width: 56px;
}
.event-day { font-family: 'Libre Baskerville', serif; font-size: 26px; font-weight: 700; line-height: 1; display: block; }
.event-month { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: block; }
.event-info { }
.event-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--meadow); margin-bottom: 6px;
}
.event-title { font-size: 16px; font-weight: 600; color: #F2E8D0; margin-bottom: 6px; line-height: 1.3; }
.event-meta { font-size: 12.5px; color: rgba(242,232,208,0.45); }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 12px;
}
.gallery-cell {
  border-radius: 12px; overflow: hidden;
  background: var(--meadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  transition: transform 0.3s; cursor: pointer;
  position: relative;
}
.gallery-cell:hover { transform: scale(1.02); z-index: 1; }
.gallery-cell:nth-child(1) { grid-column: span 2; background: linear-gradient(135deg, #2c5f3e, #3d7a52); font-size: 80px; }
.gallery-cell:nth-child(2) { background: linear-gradient(135deg, #c9a84c, #8b6914); }
.gallery-cell:nth-child(3) { background: linear-gradient(135deg, #8fbf9f, #3d7a52); }
.gallery-cell:nth-child(4) { background: linear-gradient(135deg, #5c9b6e, #2c5f3e); }
.gallery-cell:nth-child(5) { background: linear-gradient(135deg, #f2e8d0, #c9a84c55); }
.gallery-cell:nth-child(6) { grid-column: span 2; background: linear-gradient(135deg, #1a3a2a, #2c5f3e); font-size: 80px; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-cell:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #FFFFFF; font-size: 13px; font-weight: 600; font-family: 'Outfit', sans-serif; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: #FFFFFF;
  border-radius: 16px; padding: 30px;
  border: 1px solid rgba(26,58,42,0.08);
  position: relative; transition: box-shadow 0.3s;
}
.testi-card:hover { box-shadow: 0 12px 32px rgba(26,58,42,0.12); }
.testi-card::before {
  content: '"';
  position: absolute; top: 20px; right: 24px;
  font-family: 'EB Garamond', serif;
  font-size: 80px; line-height: 1;
  color: rgba(44,95,62,0.1); font-style: italic;
}
.testi-stars { color: #C9A84C; font-size: 14px; margin-bottom: 14px; }
.testi-text {
  font-family: 'EB Garamond', serif;
  font-size: 17px; font-style: italic; line-height: 1.65;
  color: #3D3028; margin-bottom: 22px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #2C5F3E, var(--moss));
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.testi-name { font-size: 14px; font-weight: 700; color: #1A2418; }
.testi-role { font-size: 12px; color: #6B7C6E; }

/* ── RESEARCH ── */
/* ── CONTACT ── */

/* ── FOOTER ── */
footer {
  background: #0D1F14;
  padding: 64px 60px 28px;
  color: rgba(242,232,208,0.5);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}
.footer-brand-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px; font-weight: 700; color: #F2E8D0;
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.footer-desc { font-size: 13.5px; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.fsoc{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:50%;
    text-decoration:none;
    color:#fff;
    font-size:18px;
    transition:0.3s ease;
}

.fsoc:hover{
    transform:translateY(-3px);
}
.footer-col-heading { font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: #F2E8D0; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 10px; }
.footer-col ul li a { text-decoration: none; font-size: 13.5px; color: rgba(242,232,208,0.45); transition: color 0.2s; }
.footer-col ul li a:hover { color: #C9A84C; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { text-decoration: none; color: rgba(242,232,208,0.3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: #C9A84C; }
.naac {
  display: inline-flex; align-items: center; gap: 6px;
  background: #C9A84C; color: #1A3A2A;
  padding: 4px 12px; border-radius: 4px;
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  margin-right: 8px;
}

/* ── ANIMATIONS ── */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .hero-content { padding: 80px 24px; }
  .hero-right { display: none; }
  .section { padding: 60px 24px; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(3, 1fr); }
  .sstat:nth-child(4) { border-right: 1px solid rgba(255,255,255,0.1); }
  .admissions-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 180px); }
  .gallery-cell:nth-child(1) { grid-column: span 1; }
  .gallery-cell:nth-child(6) { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  footer { padding: 48px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 700px) {
  .announce { font-size: 12px; }
  nav { flex-wrap: wrap; }
  .nav-menu { display: none; }
  .hero-h1 { font-size: 38px; }
  .hero-btns { flex-direction: column; }
  .programs-grid { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* Agricultural College Breadcrumb */

.breadcrumb{
    background: linear-gradient(135deg, #f4f9f4, #e8f5e9);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 5px solid #2e7d32;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.breadcrumb li{
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
}

.breadcrumb li + li:before{
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #8bc34a;
    padding: 0 10px;
}

.breadcrumb_link_color{
    color: #2e7d32;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb_link_color:hover{
    color: #f5a623;
    text-decoration: none;
}

.breadcrumb .active{
    color: #5d4037;
    font-weight: 700;
}
/*mentor*/
 .programs-top{
    display:flex;
    gap:40px;
    align-items:flex-start;
    margin-bottom:50px;
}

.programs-intro{
    flex:2;
}

.president-card{
    flex:1;
    max-width:350px;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
    transition:.3s;

    display:flex;
    flex-direction:column;
    align-items:center; /* Horizontal centering */
    text-align:center;
}

.president-card img{
    width:250px;      /* Adjust as needed */
    height:250px;
    object-fit:cover;
    border-radius:15px;
    margin:15px auto;
    display:block;
}

.president-info{
    padding:10px 15px 20px;
    text-align:center;
    width:100%;
}

.president-info h5{
    margin:0 0 5px;
    color:#222;
}

.president-info span{
    display:block;
    color:#777;
    margin:0;
}
@media(max-width:991px){
    .programs-top{
        flex-direction:column;
    }

    .president-card{
        max-width:100%;
    }
}
/*Popup*/
   .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.836);
    z-index: 999;
  }
  
 
  .popup {
    position: absolute;
    top: 50%;
    left: 50%;
    /*width: 40%;  Adjust width for smaller screens */
    max-width: 25%; /* Set a maximum width */
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 20px 70px rgb(255 231 231 / 95%);
    z-index: 1000;
  }
  
  .popup-header {
    text-align: center;
    margin-bottom: 10px;
  }
  
  .popup-content img {
    max-width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto;
  }
  .close-popup-btn{
    position:absolute;
    top:-1px;
    right:-1px;
    width:50px;
    height:50px;
    border-radius:50%;
    
    /* Premium Glass Effect */
    background:rgba(255,255,255,0.18);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #D3D3D3;
    /*border:1.5px solid rgba(255,255,255,0.35);*/

    box-shadow:
        0 10px 30px rgba(0,0,0,0.18),
        inset 0 1px 1px rgba(255,255,255,0.4);

    cursor:pointer;
    overflow:hidden;
    z-index:1000;

    transition:all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Elegant Glow Ring */
.close-popup-btn::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:50%;
    padding:2px;
    background:linear-gradient(
        135deg,
        rgba(255,255,255,0.8),
        rgba(0,33,71,0.4),
        rgba(255,255,255,0.8)
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;
            mask-composite:exclude;

    opacity:0.9;
}

/* Soft Shine Animation */
.close-popup-btn::after{
    content:"";
    position:absolute;
    width:120%;
    height:120%;
    background:linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.55) 50%,
        transparent 70%
    );

    transform:translateX(-140%) rotate(25deg);
    transition:all 0.8s ease;
}

.close-popup-btn i{
    position:relative;
    font-size:20px;
    color:#002147;
    font-weight:700;
    transition:all 0.35s ease;
    z-index:2;
}

/* BEAUTIFUL HOVER EFFECT */
.close-popup-btn:hover{
    transform:translateY(-4px) scale(1.08);
    
    background:linear-gradient(
        135deg,
        rgba(179,0,0,0.92),
        rgba(255,51,51,0.95)
    );

    box-shadow:
        0 18px 40px rgba(179,0,0,0.35),
        0 0 18px rgba(255,60,60,0.35);
}

.close-popup-btn:hover::after{
    transform:translateX(140%) rotate(25deg);
}

.close-popup-btn:hover i{
    color:#fff;
    transform:rotate(180deg) scale(1.1);
}

/* Click Effect */
.close-popup-btn:active{
    transform:scale(0.94);
}

 /*Popup-close */
