/* ============================================================
   KIGUMO TVC — Main Stylesheet
   Brand: Green #1a7a1a | Yellow #f5c518 | White #ffffff
   ============================================================ */

/* ── Full width sections ──────────────────────────────────── */
.why-us .container,
.courses-preview .container,
.news-section .container,
.stats .container,
.quick-links .container,
.cta-banner .container,
.footer .container {
  max-width: 100%;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .why-us .container,
  .courses-preview .container,
  .news-section .container,
  .stats .container,
  .quick-links .container,
  .cta-banner .container,
  .footer .container {
    padding: 0 16px;
  }
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --green: #1a7a1a;
  --green-dark: #145c14;
  --green-light: #e8f5e8;
  --yellow: #f5c518;
  --yellow-dark: #d4a800;
  --white: #ffffff;
  --dark: #1a1a2e;
  --gray: #f4f6f4;
  --mid: #555555;
  --border: #dddddd;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* ── Utility Classes ──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding {
  padding: 70px 0;
}
.text-center {
  text-align: center;
}
.text-green {
  color: var(--green);
}
.text-yellow {
  color: var(--yellow-dark);
}
.bg-gray {
  background: var(--gray);
}
.bg-green {
  background: var(--green);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 40px;
}
.section-title-bar {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 10px auto 30px;
  border-radius: 2px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}

/* ── Top Bar ──────────────────────────────────────────────── */
.top-bar {
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.82rem;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a {
  color: var(--yellow);
}
.top-bar a:hover {
  color: var(--white);
}
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--yellow);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap; /* allow container to wrap on very small screens if needed */
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0; /* prevent logo from shrinking */
  margin-right: 20px;
}
.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.nav-brand-text h1 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}
.nav-brand-text span {
  font-size: 0.7rem;
  color: var(--mid);
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* allow links to wrap to next line when space is tight */
  gap: 2px 6px; /* row gap and column gap */
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto; /* allow it to grow and shrink */
  justify-content: flex-end; /* align items to the right */
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px; /* reduce padding slightly to fit more */
  border-radius: var(--radius);
  font-size: 0.85rem; /* slightly smaller font */
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}
.nav-links a:hover {
  background: var(--green-light);
  color: var(--green);
}
.nav-links a.active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
}
/* Buttons */
.nav-links .btn-apply,
.nav-links .btn-portal {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-links .btn-apply {
  background: #f5c518;
  color: #1a1a2e;
}
.nav-links .btn-apply:hover {
  background: #d4a800;
  color: #1a1a2e;
}
.nav-links .btn-portal {
  background: var(--green);
  color: #ffffff;
}
.nav-links .btn-portal:hover {
  background: var(--green-dark);
  color: #ffffff;
}
/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero / Slider ────────────────────────────────────────── */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}
.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 122, 26, 0.55) 0%, rgba(26, 26, 46, 0.30) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  max-width: 800px;
}
.slide-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.slide-content h2 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.slide-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  margin-bottom: 28px;
  opacity: 0.92;
}
.slide-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.dot.active {
  background: var(--yellow);
  transform: scale(1.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
}
.slider-arrow.prev {
  left: 20px;
}
.slider-arrow.next {
  right: 20px;
}

/* ── Quick Access Cards ───────────────────────────────────── */
.quick-access {
    background: var(--green);
    padding: 40px 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.quick-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.quick-card:hover::before {
    opacity: 1;
}

.quick-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.quick-card:hover .quick-card-icon {
    background: rgba(245, 197, 24, 0.2);
    transform: scale(1.05);
}

.quick-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--yellow);
    stroke-width: 1.8;
    fill: none;
}

.quick-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.quick-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 4px 0 8px;
}

.quick-card-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--yellow);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.quick-card:hover .quick-card-btn {
    transform: translateX(4px);
    color: #ffd84a;
}

/* Highlight card (Apply Now) */
.quick-card-highlight {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--dark);
}

.quick-card-highlight .quick-card-icon {
    background: rgba(26, 26, 46, 0.1);
}

.quick-card-highlight .quick-card-icon svg {
    stroke: var(--dark);
}

.quick-card-highlight p {
    color: rgba(26, 26, 46, 0.7);
}

.quick-card-highlight .quick-card-btn {
    color: var(--dark);
}

.quick-card-highlight:hover {
    background: #d4a800;
    border-color: #d4a800;
}

.quick-card-highlight:hover .quick-card-btn {
    color: var(--dark);
}

.quick-card-highlight::before {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.05), transparent 60%);
}

/* Responsive */
@media (max-width: 992px) {
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .quick-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .quick-card {
        padding: 20px 18px;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .quick-card-icon {
        margin-bottom: 0;
        width: 40px;
        height: 40px;
    }

    .quick-card-icon svg {
        width: 20px;
        height: 20px;
    }

    .quick-card h3 {
        font-size: 1rem;
    }

    .quick-card p {
        display: none; /* Hide description on mobile for cleaner look */
    }
}


/* ── Stats Strip ──────────────────────────────────────────── */
.stats {
  background: var(--yellow);
  padding: 30px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-dark);
}
.stat-item p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 4px;
}

/* ── Why Choose Us ────────────────────────────────────────── */
.why-us {
  background: var(--white);
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
  width: 100%;
}
.why-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border-top: 4px solid var(--green);
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.why-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 700;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ── Courses Preview ──────────────────────────────────────── */
.courses-preview {
  background: var(--gray);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
  width: 100%;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}
.course-card-header {
  background: var(--green);
  padding: 20px;
  color: var(--white);
}
.course-card-header .dept-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.course-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
}
.course-card-body {
  padding: 20px;
}
.course-card-body p {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 14px;
}
.course-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin: 2px;
}
.course-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-card-footer a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}
.course-card-footer a:hover {
  color: var(--green-dark);
}

/* ── News Section ─────────────────────────────────────────── */
.news-section {
  background: var(--white);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 20px;
  width: 100%;
}

.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--border);
}
.news-card:hover {
  transform: translateY(-4px);
}
.news-img {
  height: 180px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.news-body {
  padding: 18px;
}
.news-meta {
  display: flex;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 8px;
}
.news-category {
  background: var(--yellow);
  color: var(--dark);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.news-body h3 {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.4;
}
.news-body p {
  font-size: 0.82rem;
  color: var(--mid);
}
.news-card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}
.news-card-footer a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.footer {
  background: #0f1525;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 0;
}

.footer-wave {
  height: 40px;
  background: #0f1525;
  position: relative;
}

.footer-wave::before {
  content: "";
  position: absolute;
  top: -39px;
  left: 0;
  right: 0;
  height: 40px;
  background: #f0f4f8;
  border-radius: 0 0 50% 50%;
}

.footer .container {
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}

/* Brand */
.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #f5c518;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.footer-tagline {
  color: #f5c518;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background: #f5c518;
  color: #1a1a2e;
  border-color: #f5c518;
  transform: translateY(-3px);
}

/* Columns */
.footer-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: #f5c518;
  border-radius: 2px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #f5c518;
  transform: translateX(5px);
}

/* Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.84rem;
  margin-bottom: 0.8rem;
  align-items: flex-start;
  line-height: 1.5;
}

.footer-contact .fc-icon {
  color: #f5c518;
  min-width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 0;
  padding-bottom: 0;
}

.footer-bottom strong {
  color: #f5c518;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .why-us-grid,
  .courses-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-links .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE (MAX-WIDTH: 768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .top-bar .container {
    justify-content: left;
  }
  .top-bar-left {
    display: none;
  }

  /* Mobile Navbar Setup */
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* desktop has flex-end — must override or items stack at bottom */
    align-items: stretch !important;        /* desktop has center — must override for full-width rows */
    flex: none !important;                  /* desktop has flex:1 1 auto — drawer must not grow/shrink */
    flex-wrap: nowrap !important;           /* desktop wraps — drawer must never wrap */
    position: fixed;
    top: 116px !important;
    right: -100%;
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    max-height: calc(100vh - 120px) !important;
    background: var(--white) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--yellow);
    border-top: 4px solid var(--yellow);
    border-bottom: 4px solid var(--yellow);
    border-radius: 0 0 0 12px;
    gap: 0;
    z-index: 999;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* When the drawer slides open, unlock vertical scrolling */
  .nav-links.open {
    right: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-bottom: 20px !important;
    /* Thin yellow scrollbar — visible signal that the list is scrollable */
    scrollbar-width: thin;
    scrollbar-color: var(--yellow) transparent;
  }

  /* Webkit scrollbar for Chrome / Safari / mobile WebKit */
  .nav-links.open::-webkit-scrollbar {
    width: 4px;
  }
  .nav-links.open::-webkit-scrollbar-track {
    background: transparent;
  }
  .nav-links.open::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 4px;
  }

   /* 🟢 Fix: Resets all top-level list items to block width 100% */
  .nav-links > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Mobile Links Styling */
  .nav-links a {
    width: 100%;
    padding: 13px 20px;
    border-radius: 0;
    font-size: 0.95rem;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: block;
    text-align: left;
    color: var(--dark);
    background: var(--white);
    margin: 0;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
    cursor: pointer;
  }
  .nav-links a:last-child {
    margin-bottom: 0;
  }
  .nav-links a:hover {
    background: var(--green-light);
    color: var(--green);
  }
  .nav-links a.active {
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
  }
  .hamburger {
    display: flex;
  }

  /* Mobile Dropdowns - Force down & scrollable */
  .nav-links li.nav-dropdown {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .nav-links .dropdown-menu {
    position: static !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    background: #f8f9fa;
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
  }
  .nav-links .dropdown-menu.open {
    display: block !important;
  }

  .sub-dropdown-menu {
    position: static !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    background: #e9ecef;
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
  }
  .sub-dropdown-menu.open {
    display: block !important;
  }

  /* Mobile Dropdown Hierarchy */
  .nav-links .dropdown-menu > li > a,
  .nav-links .dropdown-menu .dropdown-group-title {
    display: block !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.95rem !important;
  }

  .sub-dropdown-menu a {
    padding-left: 40px !important;
  }

  .nav-links .dropdown-menu > li:last-child > a,
  .nav-links .sub-dropdown-menu > li:last-child > a {
    border-bottom: none;
  }

         /* Fix for Departments dropdown inner lists & hierarchy alignment */
    .nav-links .dropdown-menu > li.dropdown-group {
      display: block !important;
      width: 100% !important;
      padding: 0 !important;
      margin: 0 !important;
    }
    .dropdown-group ul {
      display: block !important;
      width: 100% !important;
      padding-left: 0 !important;
      margin: 0 !important;
      list-style: none !important;
      border-top: 1px solid rgba(0,0,0,0.05); /* Gently separates Academic/Non-Academic titles */
    }
    .dropdown-group ul li {
      display: block !important;
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    .dropdown-group ul li a {
      display: block !important;
      width: 100% !important;
      padding: 10px 20px 10px 30px !important;
      box-sizing: border-box !important;
      border-bottom: 1px solid rgba(0,0,0,0.05);
      color: #333;
      font-size: 0.95rem !important;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .dropdown-group ul li a:hover {
      background: var(--green-light);
      color: var(--green);
    }


  /* Overlay behind the mobile menu */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
  }
  .nav-overlay.open {
    display: block;
  }

   /* 🟢 Fix: Ensures internal dropdowns don't overflow horizontally */
  .nav-links .dropdown-menu {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-links .dropdown-menu > li {
    display: block !important;
    width: 100% !important;
  }

  /* Hamburger turns into X */
  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .hamburger span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .hero {
    height: 70vh;
  }
  .slide-content h2 {
    font-size: 1.6rem;
  }

  .why-us-grid,
  .courses-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-links .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-links .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 1.5rem;
  }
  .slide-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Mobile nav header ────────────────────────────────────── */
.nav-mobile-header {
  display: none;
  position: fixed;
  top: 70px;
  right: -100%;
  width: 75%;
  max-width: 280px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--white);
  border-left: 4px solid var(--yellow);
  border-top: 4px solid var(--yellow);
  border-bottom: 2px solid rgba(0, 0, 0, 0.07);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile-header span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
}
.nav-mobile-header button {
  background: var(--yellow);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  line-height: 1;
}
.nav-mobile-header.open {
  display: flex;
  right: 0;
}

/* ═══════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════ */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-toggle-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.lang-toggle-btn:hover {
  background: #1a7a1a;
  border-color: #1a7a1a;
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 999;
  min-width: 180px;
  padding: 8px 0;
}
.lang-dropdown.visible {
  display: block;
}
.lang-dropdown .goog-te-gadget {
  font-family: inherit;
  font-size: 0.9rem;
  color: #333;
}
.lang-dropdown .goog-te-gadget-simple {
  border: none;
  background: transparent;
  padding: 0 12px;
}
.lang-dropdown .goog-te-gadget-simple span {
  color: #333;
}
.lang-dropdown .goog-te-menu-value span {
  color: #333;
}

/* ═══════════════════════════════════
   NAV DROPDOWNS (ENHANCED)
   ═══════════════════════════════════ */
.nav-links .nav-dropdown {
  position: relative;
}
.nav-links .dropdown-toggle .arrow {
  font-size: 0.7rem;
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.25s ease;
}
/* Rotate arrow when dropdown is open (mobile tap) */
.nav-links .nav-dropdown > .dropdown-toggle.open-arrow .arrow {
  transform: rotate(180deg);
}
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 0.5rem 0;
  border-left: 3px solid #1a7a1a;
}
.nav-links .dropdown-menu.open {
  display: block;
}
.nav-links .dropdown-menu li {
  display: block;
  margin: 0;
}
.nav-links .dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.nav-links .dropdown-menu a:hover {
  background: #f0f7f0;
  color: #1a7a1a;
}

/* Sub-dropdown */
.sub-dropdown {
  position: relative;
}
.sub-dropdown-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  padding: 0.4rem 0;
  border-left: 3px solid #1a7a1a;
}
.sub-dropdown-menu.open {
  display: block;
}
.sub-dropdown-menu li {
  display: block;
}
.sub-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.2rem;
  color: #333;
  font-size: 0.85rem;
}
.sub-dropdown-menu a:hover {
  background: #f0f7f0;
  color: #1a7a1a;
}

.dropdown-group {
  padding: 0.4rem 0;
}
.dropdown-group-title {
  display: block;
  padding: 0.4rem 1.2rem;
  font-weight: 700;
  color: #1a7a1a;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   PRINCIPAL'S MESSAGE (Unified Card)
   ═══════════════════════════════════════ */
.principal-section {
  background: #f0f4f8;
  padding: 5rem 1.5rem;
}

.principal-card {
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}

/* Gold accent bar at top */
.principal-accent {
  height: 5px;
  background: linear-gradient(90deg, #d4af37, #f5c518, #d4af37);
}

.principal-inner {
  display: flex;
  gap: 2.5rem;
  padding: 2.5rem 2rem;
  align-items: center;
}

/* Left: text */
.principal-text {
  flex: 2;
}

.principal-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a7a1a;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.principal-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2d3e50;
  margin-bottom: 0.9rem;
}

.principal-signature {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.95rem;
  color: #4a5568;
  font-style: italic;
  line-height: 1.6;
}

.principal-signature strong {
  display: block;
  font-style: normal;
  font-size: 1.1rem;
  color: #1a7a1a;
  margin-bottom: 3px;
}

/* Right: photo */
.principal-photo-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.principal-photo {
  width: 220px;
  height: 240px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 4px solid #f0f4f8;
}

/* Placeholder when no photo */
.principal-photo-placeholder {
  width: 220px;
  height: 240px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a7a1a, #0d3d0d);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 4px solid #f0f4f8;
}

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  .principal-section {
    padding: 2.5rem 1rem;
  }

  .principal-inner {
    flex-direction: column-reverse;
    padding: 1.5rem 1.25rem;
    text-align: center;
  }

  .principal-heading {
    font-size: 1.4rem;
  }

  .principal-body p {
    font-size: 0.95rem;
    text-align: left;
  }

  .principal-signature {
    text-align: left;
  }

  .principal-photo,
  .principal-photo-placeholder {
    width: 180px;
    height: 190px;
    border-radius: 12px;
  }
}

/* ═══════════════════════════════════
   PARTNERS SLIDER
   ═══════════════════════════════════ */
.partners-section {
  background: #f8fafc;
  padding: 2.5rem 1rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.partners-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a7a1a;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partners-slider-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.partners-track {
  display: flex;
  gap: 3rem;
  animation: partnersScroll 25s linear infinite;
  width: fit-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-item {
  flex-shrink: 0;
  width: 130px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.3s;
}

.partner-item:hover {
  opacity: 1;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ═══════════════════════════════════
   LOADING SCREEN ANIMATIONS
   ═══════════════════════════════════ */
@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.6;
  }
}

@keyframes dotBounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
}

@keyframes barShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Apply Button Styes */
.btn-apply {
  background: #f5c518;
  color: #1a1a2e;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-left: 4px;
}
.btn-apply:hover {
  background: #d4a800;
  color: #1a1a2e;
}

/* Navbar buttons - consistent alignment */
.nav-links .btn-apply,
.nav-links .btn-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius, 6px);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  height: 40px; /* Match with other nav items */
  margin: 0;
  vertical-align: middle;
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.nav-links .btn-apply {
  background: #f5c518;
  color: #1a1a2e;
  margin-right: 4px;
}

.nav-links .btn-apply:hover {
  background: #d4a800;
  color: #1a1a2e;
}

.nav-links .btn-portal {
  background: #1a7a1a;
  color: #ffffff;
}

.nav-links .btn-portal:hover {
  background: #145214;
  color: #ffffff;
}


/* ══════════════════════════════════════════════════════════
   INTAKE ANNOUNCEMENT POPUP
══════════════════════════════════════════════════════════ */

/* Overlay backdrop */
.intake-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: popupFadeIn 0.35s ease;
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Popup card */
.intake-popup {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: popupSlideUp 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes popupSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Scrollbar styling */
.intake-popup::-webkit-scrollbar { width: 4px; }
.intake-popup::-webkit-scrollbar-track { background: #f1f1f1; }
.intake-popup::-webkit-scrollbar-thumb { background: #1a7a1a; border-radius: 4px; }

/* Close button */
.intake-popup-close {
  position: sticky;
  top: 0.75rem;
  float: right;
  margin: 0.75rem 0.75rem 0 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #333;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
  flex-shrink: 0;
}

.intake-popup-close:hover {
  background: #c0392b;
  color: #fff;
}

/* Header */
.intake-popup-header {
  background: linear-gradient(135deg, #1a7a1a 0%, #145c14 100%);
  color: #fff;
  padding: 1.8rem 2rem 1.4rem;
  text-align: center;
  border-radius: 16px 16px 0 0;
  margin-top: -36px; /* overlap with close btn's sticky offset */
  padding-top: 2.2rem;
}

.intake-popup-badge {
  display: inline-block;
  background: #f5c518;
  color: #1a1a2e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 0.7rem;
}

.intake-popup-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.intake-popup-subtitle {
  font-size: 0.9rem;
  opacity: 0.88;
  margin: 0;
}

/* Countdown */
.intake-popup-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: #1a1a2e;
  padding: 1.1rem 1.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 62px;
}

.countdown-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #f5c518;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-lbl {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}

.countdown-sep {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(245, 197, 24, 0.5);
  margin: 0 2px;
  padding-bottom: 14px;
}

.intake-popup-deadline-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #145c14;
  padding: 5px 0;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Body */
.intake-popup-body {
  padding: 1.4rem 1.8rem 0.6rem;
}

.intake-popup-desc {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.intake-popup-details {
  background: #f8fdf8;
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
}

.intake-popup-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #333;
  padding: 0.35rem 0;
}

.intake-popup-detail-row + .intake-popup-detail-row {
  border-top: 1px solid #e8f5e8;
}

.intake-popup-detail-icon {
  flex-shrink: 0;
}

/* Programme level pills */
.intake-popup-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.intake-popup-levels span {
  background: #e8f5e8;
  color: #1a7a1a;
  border: 1px solid #a5d6a7;
  border-radius: 100px;
  font-size: 0.77rem;
  font-weight: 600;
  padding: 3px 11px;
}

/* Section label (Departments, etc.) */
.intake-popup-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a7a1a;
  margin-bottom: 0.55rem;
}

/* Departments wrapper */
.intake-popup-depts-wrap {
  margin-bottom: 1rem;
}

/* Department outlined cards grid */
.intake-popup-depts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.intake-popup-dept-card {
  display: block;
  border: 1.5px solid #a5d6a7;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #1e3c2c;
  background: #fff;
  line-height: 1.35;
}

/* How to apply */
.intake-popup-how {
  background: #fffbf0;
  border-left: 3px solid #f5c518;
  border-radius: 0 8px 8px 0;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.86rem;
}

.intake-popup-how strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #1a1a2e;
}

.intake-popup-how ul {
  list-style: disc;
  padding-left: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.intake-popup-how ul li a {
  color: #1a7a1a;
  font-weight: 600;
  text-decoration: underline;
}

/* Contact line */
.intake-popup-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: #555;
  margin-bottom: 0.4rem;
}

/* Actions */
.intake-popup-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.8rem 1.6rem;
  flex-wrap: wrap;
}

.intake-popup-btn-primary {
  flex: 1;
  text-align: center;
  background: #1a7a1a;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  min-width: 120px;
}

.intake-popup-btn-primary:hover {
  background: #145c14;
  color: #fff;
}

.intake-popup-btn-secondary {
  flex: 1;
  text-align: center;
  background: transparent;
  color: #888;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  min-width: 100px;
}

.intake-popup-btn-secondary:hover {
  border-color: #999;
  color: #555;
}

/* Mobile adjustments */
@media (max-width: 540px) {
  .intake-popup {
    border-radius: 12px;
    max-height: 95vh;
  }
  .intake-popup-title { font-size: 1.2rem; }
  .countdown-num { font-size: 1.7rem; }
  .countdown-unit { min-width: 50px; }
  .intake-popup-body { padding: 1.1rem 1.1rem 0.4rem; }
  .intake-popup-actions { padding: 0.8rem 1.1rem 1.3rem; flex-direction: column; }
  .intake-popup-btn-primary,
  .intake-popup-btn-secondary { width: 100%; }
  .intake-popup-depts { grid-template-columns: 1fr; }
}
