/* ============================================================
   FGSC-MM  —  Clean & Organized
   Google Fonts: Cormorant Garamond (headings) + DM Sans (body)
   Colors: deep forest bg · sage green accents · cream text
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

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

html, body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #f8faf4;
  color: #1a2410;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1c3d28; }
::-webkit-scrollbar-thumb { background: #6fcf87; border-radius: 3px; }


/* ============================================================
   PAGE TITLE BAR  (same visual pattern used on every inner page)
   ============================================================ */

.page-header {
  width: 100%;
  background: linear-gradient(135deg, #1c3d28 0%, #2d5a3d 55%, #d9a441 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  opacity: 0.3;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.page-header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.page-header-logo {
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fdfdf8;
  padding: 10px;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.page-header-text {
  text-align: left;
}

.page-header-fullname {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.72rem, 1.6vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fdfdf8;
  opacity: 0.9;
  margin: 0 0 6px;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 0;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1;
  animation: slideInScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-header-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #d9f2df;
  margin-top: 10px;
}

@keyframes slideInScale {
  0% { opacity: 0; transform: translateY(-30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}


/* ============================================================
   MENU BUTTON
   ============================================================ */

.menu-btn {
  position: fixed;
  top: 22px;
  left: 22px;
  padding: 10px 16px;
  width: auto;
  height: auto;
  background: rgba(15, 35, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 10px;
  cursor: pointer;
  z-index: 10000;
  color: #6fcf87;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  border: 1px solid rgba(120, 180, 120, 0.2);
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(120, 180, 120, 0.12);
  border-color: rgba(120, 180, 120, 0.45);
  transform: scale(1.05);
}



/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 275px;
  height: 100vh;
  background: #1c3d28;
  border-right: 1px solid rgba(120, 180, 120, 0.12);
  transition: left 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 6px 0 40px rgba(0,0,0,0.5);
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6fcf87, transparent);
  opacity: 0.55;
  z-index: 10;
}

.sidebar.active { left: 0; }

.sidebar-header {
  position: relative;
  z-index: 2;
  padding: 30px 20px 22px;
  border-bottom: 1px solid rgba(120, 180, 120, 0.1);
  display: flex;
  align-items: center;
  gap: 13px;
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(120, 180, 120, 0.1);
  border: 1px solid rgba(120, 180, 120, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 700;
  color: #6fcf87;
  flex-shrink: 0;
}

.sidebar-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-title span:first-child {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: #c8e8c4;
}

.sidebar-title span:last-child {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(168, 213, 162, 0.4);
  text-transform: uppercase;
}

.close-btn {
  position: absolute;
  top: 22px;
  right: 16px;
  width: 28px;
  height: 28px;
  font-size: 14px;
  color: rgba(168, 213, 162, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  z-index: 3;
}

.close-btn:hover {
  color: #6fcf87;
  border-color: rgba(120, 180, 120, 0.2);
  background: rgba(120, 180, 120, 0.08);
  transform: rotate(90deg);
}

.nav-links {
  list-style: none;
  padding: 18px 14px;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  position: relative;
  z-index: 2;
}

.nav-links::-webkit-scrollbar { width: 3px; }
.nav-links::-webkit-scrollbar-thumb { background: rgba(120, 180, 120, 0.15); }

.nav-links li { margin: 2px 0; }

.nav-links li a {
  text-decoration: none;
  color: rgba(168, 213, 162, 0.55);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.nav-links li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6fcf87;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.25s ease;
  transform: scale(0);
}

.nav-links li a span { position: relative; z-index: 1; }

.nav-links li a:hover {
  color: #c8e8c4;
  background: rgba(120, 180, 120, 0.07);
  border-color: rgba(120, 180, 120, 0.12);
  padding-left: 18px;
}

.nav-links li a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-links li a.active {
  color: #6fcf87;
  background: rgba(120, 180, 120, 0.1);
  border-color: rgba(120, 180, 120, 0.2);
  border-left: 2px solid #6fcf87;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(120, 180, 120, 0.08);
  text-align: center;
  z-index: 2;
}

.sidebar-footer p {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(120, 180, 120, 0.2);
  text-transform: uppercase;
  margin: 0;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 8, 0.6);
  z-index: 9998;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

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


/* ============================================================
   COURSES SECTION
   ============================================================ */

.course {
  width: 100%;
  min-height: 100vh;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("images/home/DSC_9771.JPG") center/cover fixed;
}

.course h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.course > p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 50px;
}

.row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.course-col {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(168, 213, 162, 0.2);
  padding: 28px 22px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  text-align: center;
  backdrop-filter: blur(8px);
}

.course-col:hover {
  transform: translateY(-6px);
  background: rgba(168, 213, 162, 0.1);
  border-color: rgba(168, 213, 162, 0.45);
}

.course-col img.course-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.05);
}

.course-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #6fcf87;
  margin-bottom: 8px;
}

.course-col p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}


/* ============================================================
   MISSION / VISION / VALUES
   ============================================================ */

.about-school {
  width: 100%;
  padding: 80px 40px;
  position: relative;
  background:
    linear-gradient(rgba(15,31,20,0.82), rgba(15,31,20,0.82)),
    url("images/home/iqbal.JPG") center/cover fixed;
}

.school-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.school-col {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168, 213, 162, 0.15);
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.school-col:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 213, 162, 0.4);
  background: rgba(168, 213, 162, 0.06);
}

.school-col img.school-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 2px solid rgba(168, 213, 162, 0.3);
}

.school-col h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #6fcf87;
  margin-bottom: 12px;
}

.school-col p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}


/* ============================================================
   PRINCIPAL / WELCOME SECTION
   ============================================================ */

.welcome-section {
  width: 100%;
  padding: 90px 8%;
  position: relative;
  overflow: hidden;
  background: #f4f6f0;
}

.welcome-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(244,246,240,0.86), rgba(244,246,240,0.86)),
    url("images/home/welcome-bg.jpg") center 68% / cover no-repeat;
}

.welcome-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.welcome-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.welcome-image::before {
  content: '';
  position: absolute;
  width: 85%;
  height: 85%;
  border: 4px solid rgba(120, 180, 120, 0.35);
  top: -16px;
  left: -16px;
  z-index: 1;
  border-radius: 4px;
  transition: 0.4s;
}

.welcome-image::after {
  content: '';
  position: absolute;
  width: 85%;
  height: 85%;
  border: 4px solid rgba(15, 60, 30, 0.2);
  bottom: 50px;
  right: -16px;
  z-index: 1;
  border-radius: 4px;
  transition: 0.4s;
}

.welcome-image:hover::before { transform: translate(-6px, -6px); }
.welcome-image:hover::after  { transform: translate(6px, 6px); }

.welcome-image img {
  width: 100%;
  max-width: 460px;
  border-radius: 14px;
  position: relative;
  z-index: 2;
  border: 6px solid #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.welcome-image:hover img { transform: scale(1.02) translateY(-4px); }

.image-caption {
  width: 100%;
  max-width: 460px;
  background: #1c3d28;
  color: #c8e8c4;
  text-align: center;
  padding: 16px 20px;
  border-radius: 0 0 14px 14px;
  position: relative;
  z-index: 2;
}

.image-caption h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.image-caption p {
  font-size: 0.9rem;
  color: #6fcf87;
  opacity: 0.85;
}

.welcome-content { flex: 1; min-width: 300px; }

.welcome-content h2, .welcome-content h3:not(.quote) {
  font-family: 'Cormorant Garamond', serif;
  color: #1c3d28;
}

.welcome-content h3:not(.quote) {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.welcome-content h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4a7a50;
  margin-bottom: 24px;
}

.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #1a3a20;
  border-left: 3px solid #6fcf87;
  padding-left: 18px;
  margin-bottom: 24px;
  line-height: 1.6;
  font-weight: 400;
}

.welcome-content p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #3a4a38;
  margin-bottom: 28px;
}

.director-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c3d28;
  margin-bottom: 4px;
}

.director-info span {
  font-size: 0.9rem;
  color: #7a9a7a;
  font-style: italic;
}


/* ============================================================
   INFO CARDS
   ============================================================ */

.info-section {
  padding: 80px 40px;
  background: #f0f4ec;
}

.info-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.info-card {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  padding: 36px 24px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(120, 180, 120, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: rgba(120, 180, 120, 0.4);
}

.info-card .icon {
  font-size: 52px;
  margin-bottom: 18px;
  color: #5a9a60;
  transition: transform 0.3s ease;
}

.info-card:hover .icon { transform: scale(1.12); }
.icon.blue { color: #5a9a60; }

.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a2a1a;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.9rem;
  color: #5a6a58;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

.btn-read {
  display: inline-block;
  padding: 11px 22px;
  background: #1c3d28;
  color: #6fcf87;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: auto;
}

.btn-read:hover {
  background: #2d5a3d;
  transform: scale(1.04);
}


/* ============================================================
   IMAGE SLIDER
   ============================================================ */

.slider {
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.slider-track {
  display: flex;
  animation: scrollTrack 35s linear infinite;
}

.slider-track img {
  width: 250px;
  height: 160px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.slider-track img:hover { transform: scale(1.05); }

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


/* ============================================================
   TIMELINE MODAL
   ============================================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #f5f2ea;
  padding: 36px;
  border-radius: 16px;
  width: 92%;
  max-width: 960px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  overflow-x: auto;
}

.close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  font-weight: 600;
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
  line-height: 1;
}

.close:hover { color: #c0392b; }

.timeline-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #1a2410;
  margin-bottom: 30px;
}

.timeline-title span { font-style: italic; color: #4a7a50; }

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 20px 0;
  border-top: 2px solid #4a7a50;
}

.event { flex: 1; text-align: center; padding: 0 12px; }

.event h3 {
  font-family: 'Cormorant Garamond', serif;
  color: #4a7a50;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.event .circle {
  width: 26px;
  height: 26px;
  background: #6fcf87;
  border: 3px solid #4a7a50;
  border-radius: 50%;
  margin: 0 auto 14px;
}

.event p {
  background: #1c3d28;
  color: #c8e8c4;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: #142a1c;
  color: #c8e8c4;
  padding: 56px 40px 28px;
  border-top: 1px solid rgba(120, 180, 120, 0.12);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
}

.footer-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6fcf87;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(168, 213, 162, 0.2);
  display: inline-block;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin: 9px 0; }

.footer-col ul li a {
  text-decoration: none;
  color: rgba(200, 232, 196, 0.5);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-col ul li a:hover { color: #6fcf87; }

.map-container iframe {
  border-radius: 12px;
  width: 100%;
  min-width: 260px;
  height: 200px;
  border: none;
  opacity: 0.9;
}

.footer-text {
  text-align: center;
  margin-top: 32px;
  color: rgba(168, 213, 162, 0.35);
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-text strong { color: rgba(168, 213, 162, 0.6); }

.social-icons {
  margin-top: 18px;
  text-align: center;
}

.social-icons a {
  display: inline-block;
  margin: 0 10px;
  font-size: 18px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.social-icons a:hover { transform: scale(1.2); opacity: 1; }
.social-icons a.facebook { color: #1877f2; }


.social-icons a.instagram { color: #E1306C; }
/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  .page-header { padding: 90px 20px 40px; }
  .page-header-brand { gap: 14px; }
  .page-header-logo { width: 72px; height: 72px; }
  .page-header-fullname { font-size: 0.68rem; letter-spacing: 0.08em; margin-bottom: 4px; }
  .page-header h1 { font-size: 2.2rem; letter-spacing: 0.08em; }
  .page-header-tagline { font-size: 0.72rem; letter-spacing: 0.28em; margin-top: 6px; }

  .menu-btn { top: 14px; left: 14px; width: 42px; height: 42px; }

  .course, .about-school {
    padding: 50px 20px;
    background-attachment: scroll;
  }

  .row { flex-direction: column; align-items: center; }
  .course-col { max-width: 100%; }

  .school-row { flex-direction: column; align-items: center; }
  .school-col { max-width: 100%; min-width: unset; }

  .welcome-section { padding: 50px 20px; }
  .welcome-container { flex-direction: column; gap: 28px; text-align: center; }
  .welcome-image { min-width: unset; width: 100%; }
  .welcome-image img { max-width: 100%; }
  .welcome-image::before, .welcome-image::after { display: none; }
  .image-caption { max-width: 100%; }
  .welcome-content { min-width: unset; width: 100%; }
  .welcome-content h3:not(.quote) { font-size: 1.8rem; }
  .quote { border-left: none; border-top: 2px solid #6fcf87; padding: 14px 0 0; }

  .info-section { padding: 50px 20px; }
  .info-container { flex-direction: column; align-items: center; }
  .info-card { max-width: 100%; }

  .left-popup { width: 100%; left: -100%; }

  .footer-container { flex-direction: column; }
  footer { padding: 40px 24px 24px; }

  .timeline {
    flex-direction: column;
    align-items: center;
    border-top: none;
    border-left: 2px solid #4a7a50;
    padding-left: 20px;
    gap: 20px;
  }
}

@media (max-width: 400px) {
  .page-header h1 { font-size: 1.6rem; }
  .page-header-logo { width: 58px; height: 58px; }
  .page-header-fullname { font-size: 0.58rem; letter-spacing: 0.04em; }
  .page-header-brand { gap: 10px; }
  .info-card { padding: 24px 16px; }
}.footer-bottom a { color:rgba(255,255,255,0.6); text-decoration:none; }
.footer-bottom a:hover { color:#d9a441; }

.meet-team-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #d9a441, #b9852f);
  color: #142a1c;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(217,164,65,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.meet-team-btn:hover {
  background: linear-gradient(135deg, #6fcf87, #4caf7d);
  color: #142a1c;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(111,207,135,0.4);
}
.footer-bottom { text-align: center; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); }
