/* ============================================================
   GREEN PEACE LINCOLN COLLEGE — Brand Design System
   Primary: #005f1a | Accent: #92cb6c | Dark: #0a1a0c
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --green-dark:   #005f1a;
  --green-mid:    #007a22;
  --green-light:  #92cb6c;
  --green-pale:   #e8f5e2;
  --green-bg:     #f4f9f1;
  --dark:         #0a1a0c;
  --text:         #2d3436;
  --text-muted:   #6c757d;
  --border:       #d8ecd0;
  --white:        #ffffff;
  --shadow-sm:    0 2px 12px rgba(0,95,26,.08);
  --shadow-md:    0 6px 30px rgba(0,95,26,.13);
  --shadow-lg:    0 16px 60px rgba(0,95,26,.18);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   all .28s cubic-bezier(.4,0,.2,1);
  --font-body:    'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* ── Base Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.7; }
img { max-width: 100%; }
a { text-decoration: none; transition: var(--transition); }

/* ── Typography helpers ───────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-title span { color: var(--green-dark); }
.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-light));
  border-radius: 2px;
  margin: 14px 0 0;
}
.section-divider.center { margin: 14px auto 0; }
.section-block { padding: 80px 0; }
.section-block-sm { padding: 50px 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-gplc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--green-dark);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gplc:hover { background: var(--green-mid); border-color: var(--green-mid); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-gplc-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green-dark);
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--green-dark);
  transition: var(--transition);
}
.btn-gplc-outline:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }

.btn-gplc-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.btn-gplc-light:hover { background: #fff; color: var(--green-dark); transform: translateY(-2px); }

/* ── Page Hero Banner ─────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--green-dark) 100%);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146,203,108,.15) 0%, transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146,203,108,.1) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-hero .breadcrumb-nav { font-size: 14px; color: rgba(255,255,255,.7); }
.page-hero .breadcrumb-nav a { color: var(--green-light); }
.page-hero .breadcrumb-nav a:hover { color: #fff; }
.page-hero .breadcrumb-nav span { color: rgba(255,255,255,.5); margin: 0 8px; }

/* ── Top Bar ──────────────────────────────────────────────── */
.gplc-topbar {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(146,203,108,.15);
}
.gplc-topbar .topbar-info { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gplc-topbar .topbar-info span { display: flex; align-items: center; gap: 6px; }
.gplc-topbar .topbar-info i { color: var(--green-light); font-size: 11px; }
.gplc-topbar .topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.gplc-topbar .topbar-social a {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; transition: var(--transition);
}
.gplc-topbar .topbar-social a:hover { background: var(--green-light); color: var(--dark); }
.gplc-topbar .portal-btn {
  background: var(--green-dark);
  color: #fff; padding: 4px 16px;
  border-radius: 20px; font-size: 12px; font-weight: 700;
  transition: var(--transition);
}
.gplc-topbar .portal-btn:hover { background: var(--green-mid); color: #fff; }
.gplc-topbar .portal-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.24);
}
.gplc-topbar .portal-btn-secondary:hover {
  background: rgba(255,255,255,.1);
}
@media (max-width: 768px) {
  .gplc-topbar {
    padding: 8px 0;
  }
  .gplc-topbar .container {
    align-items: flex-start !important;
  }
  .gplc-topbar .topbar-info {
    width: 100%;
    gap: 8px;
    font-size: 11.5px;
  }
  .gplc-topbar .topbar-actions {
    gap: 6px;
    width: 100%;
    justify-content: flex-start;
  }
  .gplc-topbar .portal-btn {
    padding: 4px 10px;
    font-size: 11px;
  }
  .gplc-topbar .topbar-social {
    display: none !important;
  }
}

/* ── Main Header ──────────────────────────────────────────── */
.gplc-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.gplc-header.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.12); }
.gplc-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: 74px;
}
.gplc-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.gplc-logo img { height: 58px; transition: transform .2s; }
.gplc-logo:hover img { transform: scale(1.05); }
.gplc-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.gplc-logo-text .college-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: .3px;
}
.gplc-logo-text .affiliation {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .2px;
}

/* ── Navigation ───────────────────────────────────────────── */
.gplc-nav { display: flex; align-items: center; }
.gplc-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.gplc-nav ul li { position: relative; }
.gplc-nav ul li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 0 14px;
  height: 74px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  position: relative;
}
.gplc-nav ul li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--green-dark);
  border-radius: 2px 2px 0 0;
  transition: var(--transition);
}
.gplc-nav ul li > a:hover, .gplc-nav ul li > a.active { color: var(--green-dark); }
.gplc-nav ul li > a:hover::after, .gplc-nav ul li > a.active::after { left: 0; right: 0; }

/* Dropdown */
.gplc-nav .dropdown { position: relative; }
.gplc-nav .dropdown-menu-gplc {
  display: none;
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--green-dark);
  padding: 8px 0;
  z-index: 100;
  animation: dropDown .2s ease;
}
@keyframes dropDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.gplc-nav .dropdown:hover .dropdown-menu-gplc { display: block; }
.gplc-nav .dropdown-menu-gplc li a {
  height: auto;
  padding: 11px 22px;
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid #f5f5f5;
  transition: var(--transition);
}
.gplc-nav .dropdown-menu-gplc li:last-child a { border: none; }
.gplc-nav .dropdown-menu-gplc li a:hover { background: var(--green-pale); color: var(--green-dark); padding-left: 28px; }
.gplc-nav .dropdown-menu-gplc li a::after { display: none; }

/* Apply Now btn in nav */
.gplc-nav .nav-apply {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-dark); color: #fff !important;
  padding: 9px 20px !important; height: auto !important;
  border-radius: var(--radius-sm);
  font-size: 13px !important; font-weight: 700 !important;
  margin-left: 8px; white-space: nowrap;
}
.gplc-nav .nav-apply:hover { background: var(--green-mid) !important; }
.gplc-nav .nav-apply::after { display: none !important; }

/* Hamburger */
.gplc-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.gplc-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.gplc-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.gplc-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.gplc-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Marquee Ticker ───────────────────────────────────────── */
.gplc-ticker {
  background: var(--green-dark);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.gplc-ticker-label {
  background: var(--green-light);
  color: var(--dark);
  padding: 10px 20px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gplc-ticker marquee { flex: 1; padding: 10px 0; font-size: 13.5px; }
.gplc-ticker marquee a { color: rgba(255,255,255,.9); font-weight: 500; }
.gplc-ticker marquee a:hover { color: var(--green-light); }

/* ── Hero Banner Slider ───────────────────────────────────── */
.gplc-hero { position: relative; }
.gplc-hero-slide { position: relative; height: 600px; overflow: hidden; }
.gplc-hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.gplc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,26,12,.82) 0%, rgba(0,95,26,.55) 55%, rgba(0,0,0,.25) 100%);
}
.gplc-hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 8% 0;
  max-width: 700px;
  z-index: 2;
}
.gplc-hero-content .tag-line {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(146,203,108,.18);
  border: 1px solid rgba(146,203,108,.4);
  color: var(--green-light);
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 30px;
  margin-bottom: 20px; width: fit-content;
  backdrop-filter: blur(4px);
}
.gplc-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.gplc-hero-content p {
  font-size: 16px; color: rgba(255,255,255,.85);
  margin-bottom: 32px; max-width: 480px; line-height: 1.75;
}
.gplc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.gplc-hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; z-index: 2;
}
.gplc-hero-scroll .scroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-light);
  animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }
.swiper-pagination-bullet { background: rgba(255,255,255,.5) !important; }
.swiper-pagination-bullet-active { background: var(--green-light) !important; transform: scale(1.3) !important; }

/* ── Lincoln University Affiliation Bar ───────────────────── */
.affiliation-bar {
  background: var(--green-pale);
  border-top: 2px solid var(--green-light);
  border-bottom: 2px solid var(--green-light);
  padding: 14px 0;
}
.affiliation-bar .aff-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; text-align: center;
}
.affiliation-bar .aff-label {
  font-size: 12px; font-weight: 700; color: var(--green-dark);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.affiliation-bar .aff-name {
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 800; color: var(--dark);
}
.affiliation-bar .aff-divider {
  width: 1px; height: 28px; background: var(--border);
}
.affiliation-bar .aff-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-dark); color: #fff;
  padding: 5px 14px; border-radius: 20px;
  font-size: 11.5px; font-weight: 700;
}

/* ── Course Cards ─────────────────────────────────────────── */
.course-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-card .card-img { position: relative; overflow: hidden; height: 210px; }
.course-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course-card:hover .card-img img { transform: scale(1.07); }
.course-card .card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--green-dark); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.course-card .card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.course-card .card-body h5 {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 10px; line-height: 1.35;
}
.course-card .card-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; flex: 1; }
.course-card .card-footer-gplc {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: space-between;
}
.course-card .card-footer-gplc .duration { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.course-card .card-footer-gplc a {
  font-size: 12.5px; font-weight: 700; color: var(--green-dark);
  display: flex; align-items: center; gap: 4px;
}
.course-card .card-footer-gplc a:hover { color: var(--green-mid); gap: 8px; }

/* ── Stats Counter ────────────────────────────────────────── */
.gplc-stats {
  background: linear-gradient(135deg, var(--dark) 0%, var(--green-dark) 100%);
  padding: 70px 0;
  position: relative; overflow: hidden;
}
.gplc-stats::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2392cb6c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-box { text-align: center; padding: 16px; position: relative; z-index: 1; }
.stat-box .stat-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(146,203,108,.15); border: 1px solid rgba(146,203,108,.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 22px; color: var(--green-light);
}
.stat-box .counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900; color: #fff; line-height: 1; display: block;
}
.stat-box .counter-suffix { font-size: 1.5rem; color: var(--green-light); font-weight: 900; }
.stat-box p { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 8px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.stat-divider {
  width: 1px; background: rgba(255,255,255,.1);
  align-self: stretch; margin: 10px 0;
}

/* ── Messages from Officials ──────────────────────────────── */
.msg-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.msg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.msg-card-header {
  background: linear-gradient(145deg, var(--dark), var(--green-dark));
  padding: 32px 24px 24px;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.msg-card-header::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(146,203,108,.12);
}
.msg-card-header .person-photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(146,203,108,.5);
  margin-bottom: 14px; position: relative; z-index: 1;
}
.msg-card-header .no-photo {
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 4px solid rgba(146,203,108,.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 36px; color: rgba(255,255,255,.7);
  position: relative; z-index: 1;
}
.msg-card-header h5 { font-family: var(--font-heading); font-size: 16px; font-weight: 800; margin-bottom: 6px; position: relative; z-index: 1; }
.msg-card-header .desg-badge {
  display: inline-block;
  background: var(--green-light); color: var(--dark);
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 14px; border-radius: 20px; position: relative; z-index: 1;
}
.msg-card-body { padding: 24px; }
.msg-card-body .open-quote { font-family: Georgia,serif; font-size: 52px; color: var(--green-light); line-height: .7; margin-bottom: 6px; }
.msg-card-body p { font-size: 14px; line-height: 1.8; color: #555; font-style: italic; }

.official-message-section .col-lg-4,
.official-message-section .col-md-6 {
  display: flex;
}
.official-msg-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.official-msg-header {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.official-msg-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.official-msg-body p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 152px;
  margin-bottom: 18px;
}
.official-msg-btn {
  margin-top: auto;
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: var(--transition);
}
.official-msg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 95, 26, 0.2);
}
.official-msg-modal .modal-content {
  border-radius: 26px;
  padding: 10px;
  box-shadow: 0 24px 70px rgba(19, 34, 56, 0.18);
}
.official-msg-modal-photo,
.official-msg-modal-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(146,203,108,.45);
}
.official-msg-modal-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,95,26,.14), rgba(146,203,108,.2));
  color: var(--green-dark);
  font-size: 28px;
}
.official-msg-modal-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(146,203,108,.18);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}
.official-msg-modal-quote {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: .75;
  color: var(--green-light);
  margin-bottom: 8px;
}
.official-msg-modal-copy {
  color: #42566c;
  line-height: 1.9;
  font-size: 15px;
}

@media (max-width: 767.98px) {
  .official-msg-header {
    min-height: 210px;
  }
  .official-msg-body p {
    min-height: auto;
    -webkit-line-clamp: 5;
  }
}

/* ── Event Cards ──────────────────────────────────────────── */
.event-card {
  border-radius: var(--radius-md);
  overflow: hidden; background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-card .ev-img { position: relative; height: 190px; overflow: hidden; }
.event-card .ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event-card:hover .ev-img img { transform: scale(1.07); }
.event-card .ev-date {
  position: absolute; top: 14px; right: 14px;
  background: var(--green-dark); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
}
.event-card .ev-body { padding: 20px; }
.event-card .ev-body h5 { font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.event-card .ev-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.event-card .ev-link {
  font-size: 12.5px; font-weight: 700; color: var(--green-dark);
  display: inline-flex; align-items: center; gap: 5px;
  border: 1.5px solid var(--green-dark);
  padding: 6px 16px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.event-card .ev-link:hover { background: var(--green-dark); color: #fff; }

/* ── Testimonial Section ──────────────────────────────────── */
.gplc-testi {
  background: linear-gradient(rgba(10,26,12,.9), rgba(10,26,12,.9)),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1400&q=60') center/cover fixed;
  padding: 80px 0;
}
.gplc-testi .swiper-wrapper {
  align-items: stretch;
}
.gplc-testi .swiper-slide {
  height: auto;
  display: flex;
}
.testi-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(146,203,108,.2);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.testi-card:hover { background: rgba(255,255,255,.09); border-color: rgba(146,203,108,.4); transform: translateY(-4px); }
.testi-card .quote-ico { font-size: 30px; color: var(--green-light); margin-bottom: 14px; }
.testi-card .testi-copy {
  min-height: 280px;
  margin-bottom: 18px;
}
.testi-card p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.8);
  margin-bottom: 0;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-card .testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  min-height: 56px;
}
.testi-card .testi-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green-light); }
.testi-card .testi-author .name { font-weight: 700; color: #fff; font-size: 14px; line-height: 1.3; }
.testi-card .testi-author .role { font-size: 12px; color: var(--green-light); }

@media (max-width: 767.98px) {
  .testi-card .testi-copy {
    min-height: 220px;
  }

  .testi-card p {
    -webkit-line-clamp: 8;
  }
}

/* ── Contact Section ──────────────────────────────────────── */
.contact-info-card {
  background: var(--green-dark);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  color: #fff;
  height: 100%;
}
.contact-info-card h4 { font-family: var(--font-heading); font-size: 20px; font-weight: 800; margin-bottom: 24px; }
.contact-info-card .info-item {
  display: flex; gap: 14px; margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-card .info-item .ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(146,203,108,.15); border: 1px solid rgba(146,203,108,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--green-light); flex-shrink: 0;
}
.contact-info-card .info-item .info-text { font-size: 14px; }
.contact-info-card .info-item .info-text .label { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.contact-info-card .info-item .info-text a { color: rgba(255,255,255,.85); }
.contact-info-card .info-item .info-text a:hover { color: var(--green-light); }
.contact-info-card .social-row { display: flex; gap: 10px; margin-top: 28px; }
.contact-info-card .social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.contact-info-card .social-row a:hover { background: var(--green-light); color: var(--dark); transform: scale(1.1); }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.contact-form-card h4 { font-family: var(--font-heading); font-size: 20px; font-weight: 800; margin-bottom: 24px; color: var(--dark); }
.gplc-input {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 14px; font-family: var(--font-body); color: var(--text);
  transition: var(--transition); outline: none; margin-bottom: 14px;
  background: #fff;
}
.gplc-input:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(0,95,26,.08); }
.gplc-input::placeholder { color: #bec3c7; }
textarea.gplc-input { resize: vertical; min-height: 110px; }

/* ── Map ──────────────────────────────────────────────────── */
.gplc-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.gplc-map iframe { width: 100%; height: 400px; border: none; display: block; }

/* ── Faculty Cards ────────────────────────────────────────── */
.faculty-card {
  border-radius: var(--radius-md); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: var(--transition); text-align: center;
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.faculty-card .fc-img { position: relative; height: 260px; overflow: hidden; }
.faculty-card .fc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.faculty-card:hover .fc-img img { transform: scale(1.05); }
.faculty-card .fc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,95,26,.85) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
  opacity: 0; transition: var(--transition);
}
.faculty-card:hover .fc-overlay { opacity: 1; }
.faculty-card .fc-overlay a {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: #3b5998;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.faculty-card .fc-body { padding: 18px 16px 20px; }
.faculty-card .fc-body h5 { font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.faculty-card .fc-body span { font-size: 12.5px; color: var(--green-dark); font-weight: 600; }

/* ── Gallery ──────────────────────────────────────────────── */
#galleryRow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 4px;
}
#galleryRow a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
#galleryRow a img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s; display: block; }
#galleryRow a:hover img { transform: scale(1.06); }
@media (max-width: 992px) { #galleryRow { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { #galleryRow { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 400px) { #galleryRow { grid-template-columns: 1fr; } }

/* ── Course Detail ────────────────────────────────────────── */
.course-detail-hero { position: relative; height: 420px; overflow: hidden; }
.course-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.course-detail-hero .overlay { position: absolute; inset: 0; background: linear-gradient(rgba(10,26,12,.6),rgba(0,95,26,.5)); }
.course-detail-hero .cd-title {
  position: absolute; bottom: 36px; left: 0; right: 0;
  text-align: center; color: #fff; z-index: 2;
}
.course-detail-hero .cd-title h1 { font-family: var(--font-heading); font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; }
.course-meta-bar {
  background: var(--dark); color: #fff;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
}
.meta-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 32px; border-right: 1px solid rgba(255,255,255,.08);
  gap: 4px; flex: 1; min-width: 140px;
}
.meta-item:last-child { border: none; }
.meta-item i { font-size: 22px; color: var(--green-light); margin-bottom: 4px; }
.meta-item .meta-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.5); }
.meta-item .meta-value { font-size: 15px; font-weight: 700; }
.course-content-body { padding: 50px 0 60px; }
.course-content-body .rich-content { font-size: 15.5px; line-height: 1.85; color: var(--text); }
.course-content-body .rich-content h2,.rich-content h3 { font-family: var(--font-heading); color: var(--dark); margin: 24px 0 12px; }
.course-content-body .rich-content ul { padding-left: 22px; }
.course-content-body .rich-content ul li { margin-bottom: 8px; }
.course-content-body .rich-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.course-content-body .rich-content table td, .rich-content table th { border: 1px solid var(--border); padding: 10px 14px; }
.course-content-body .rich-content table th { background: var(--green-pale); font-weight: 700; color: var(--green-dark); }

/* ── About Page ───────────────────────────────────────────── */
.about-content .rich { font-size: 15.5px; line-height: 1.85; color: var(--text); }
.about-content .rich h2, .about-content .rich h3 { font-family: var(--font-heading); color: var(--dark); margin: 24px 0 12px; }
.about-content .rich img { border-radius: var(--radius-md); margin: 12px 0; }
.about-content .rich ul { padding-left: 22px; }
.about-content .rich ul li { margin-bottom: 6px; }

/* ── Notice / Event Detail ────────────────────────────────── */
.detail-hero { position: relative; height: 360px; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .overlay { position: absolute; inset: 0; background: rgba(10,26,12,.6); }
.detail-hero .dh-title {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.detail-hero .dh-title h1 { font-family: var(--font-heading); font-size: clamp(1.6rem,3.5vw,2.5rem); font-weight: 900; color: #fff; text-align: center; max-width: 700px; padding: 0 20px; }
.detail-body { padding: 56px 0 70px; font-size: 15.5px; line-height: 1.85; color: var(--text); }
.detail-body h2, .detail-body h3 { font-family: var(--font-heading); color: var(--dark); margin: 20px 0 10px; }
.detail-body img { border-radius: var(--radius-md); max-width: 100%; margin: 12px 0; }

/* ── Footer ───────────────────────────────────────────────── */
.gplc-footer { background: var(--dark); color: rgba(255,255,255,.65); }
.gplc-footer-main { padding: 64px 0 40px; }
.gplc-footer h6 {
  color: #fff; font-family: var(--font-heading);
  font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 22px;
  padding-bottom: 12px; position: relative;
}
.gplc-footer h6::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px; background: var(--green-light);
}
.gplc-footer-brand p { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.gplc-footer-links { list-style: none; }
.gplc-footer-links li { margin-bottom: 10px; }
.gplc-footer-links a {
  font-size: 13.5px; color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 7px;
  transition: var(--transition);
}
.gplc-footer-links a i { font-size: 9px; color: var(--green-light); }
.gplc-footer-links a:hover { color: var(--green-light); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.6); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--green-light); color: var(--dark); transform: scale(1.1); }
.footer-contact-item {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: 13.5px; align-items: flex-start;
}
.footer-contact-item i { color: var(--green-light); margin-top: 3px; font-size: 13px; min-width: 16px; }
.footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-contact-item a:hover { color: var(--green-light); }
.gplc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
  font-size: 12.5px;
}
.gplc-footer-bottom a { color: var(--green-light); }
.gplc-footer-bottom a:hover { text-decoration: underline; }

/* ── Popup ────────────────────────────────────────────────── */
.gplc-popup-wrap {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.gplc-popup {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; max-width: 460px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  animation: popIn .35s cubic-bezier(.4,0,.2,1);
  position: relative;
}
@keyframes popIn { from{transform:scale(.88);opacity:0;} to{transform:scale(1);opacity:1;} }
.gplc-popup img { width: 100%; display: block; max-height: 280px; object-fit: cover; }
.gplc-popup .popup-body { padding: 24px 28px 28px; text-align: center; }
.gplc-popup .popup-body h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.gplc-popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  text-decoration: none; z-index: 2; transition: var(--transition);
}
.gplc-popup-close:hover { background: var(--green-dark); color: #fff; }

/* ── WhatsApp Float ───────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 30px; right: 30px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}
.wa-float:hover { background: #1da952; color: #fff; transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
@keyframes pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.4);} 50%{box-shadow:0 4px 32px rgba(37,211,102,.7);} }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .gplc-hamburger { display: flex !important; }
  .gplc-nav {
    display: none !important; position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff; padding: 12px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    border-top: 3px solid var(--green-dark);
    flex-direction: column; align-items: flex-start;
  }
  .gplc-nav.open { display: flex !important; }
  .gplc-nav ul { flex-direction: column; width: 100%; gap: 0; }
  .gplc-nav ul li > a { height: auto; padding: 13px 24px; border-bottom: 1px solid #f0f0f0; width: 100%; }
  .gplc-nav ul li > a::after { display: none; }
  .gplc-nav .dropdown-menu-gplc { position: static; border: none; box-shadow: none; border-radius: 0; padding: 0 0 0 16px; background: var(--green-pale); display: block !important; }
  .gplc-nav .dropdown-menu-gplc li a { padding: 10px 24px; font-size: 13px; }
  .gplc-nav .nav-apply { margin: 12px 24px !important; }
  .gplc-logo-text .college-name { font-size: 13px; }
  .gplc-logo {
    max-width: calc(100% - 54px);
  }
  .gplc-logo img {
    height: 50px;
  }
  .gplc-logo-text {
    min-width: 0;
  }
  .gplc-logo-text .college-name,
  .gplc-logo-text .affiliation {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .gplc-topbar .topbar-info span:last-child { display: none; }
  .gplc-hero-slide { height: 420px; }
  .gplc-hero-content h1 { font-size: 2rem; }
  .gplc-hero-content p { display: none; }
  .stat-divider { display: none; }
  .course-detail-hero { height: 280px; }
  .affiliation-bar .aff-divider { display: none; }
}
@media (max-width: 576px) {
  .gplc-header .header-inner {
    height: 68px;
  }
  .gplc-logo {
    gap: 8px;
    max-width: calc(100% - 48px);
  }
  .gplc-logo img {
    height: 44px;
  }
  .gplc-logo-text .college-name {
    font-size: 11.5px;
  }
  .gplc-logo-text .affiliation {
    font-size: 9px;
  }
  .gplc-nav ul li > a {
    padding: 12px 18px;
  }
  .gplc-nav .nav-apply {
    margin: 10px 18px !important;
    justify-content: center;
  }
  .gplc-hero-slide { height: 320px; }
  .gplc-hero-content { padding: 0 6%; }
  .gplc-hero-content h1 { font-size: 1.6rem; }
  .page-hero { padding: 50px 0 36px; }
  .section-block { padding: 52px 0; }
  .wa-float {
    right: 16px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}

/* ── Utility ──────────────────────────────────────────────── */
.bg-green-pale { background: var(--green-pale); }
.bg-green-dark { background: var(--green-dark); }
.bg-dark-gplc { background: var(--dark); }
.text-green { color: var(--green-dark) !important; }
.swiper-pagination { position: static !important; margin-top: 24px; }

