:root {
  --primary: #005b8f;
  --primary-dark: #004266;
  --accent: #f4a623;
  --light-bg: #f5f7fa;
  --text-main: #222;
  --text-muted: #666;
  --white: #ffffff;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
  --radius: 6px;
  --transition: 0.2s ease-in-out;
  --max-width: 1200px;
  --nav-height: 72px;
  --hero-height: 520px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: #ffffff;
}

/* Top utility bar */
.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 6px 40px;
  background: #f0f3f7;
  font-size: 0.85rem;
}

.top-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
}

.top-link:hover {
  text-decoration: underline;
}

/* LOGO TITLE */
.logo-title {
  font-family: 'Dancing Script', cursive !important;
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  white-space: nowrap;
}

/* Main navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 12px 40px;
  border-bottom: 1px solid #e1e4ea;
  background: #ffffff;
  position: relative;
  z-index: 20;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image img {
  height: 90px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

/*.nav-links li {
  display: flex;
  align-items: center;
} */

/* Fix vertical alignment of nav items */
.nav-links li,
.nav-links a,
.dropdown-toggle {
  display: flex;
  align-items: center;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  padding-bottom: 0px;
}

.dropdown-toggle {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-toggle:hover {
  color: var(--primary);
}

.caret {
  font-size: 0.7rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  display: none;
  z-index: 30;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background: var(--light-bg);
}

/* Hero slider */
.hero-slider {
  position: relative;
  height: var(--hero-height);
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 67, 104, 0.35),
    rgba(0, 91, 143, 0.25)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  padding: 0 40px 40px 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-content h1 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.hero-content p {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero-button {
  display: inline-block;
  padding: 8px 15px;
  background: var(--accent);
  color: #3b2a00;
  text-decoration: none;
  border-radius: 300px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.hero-button:hover {
  background: #ffb63a;
  transform: translateY(-1px);
}

.learn-more-wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: 25px auto 5px;
  padding: 0 40px;
  display: flex;
  justify-content: flex-start; /* aligns with hero text */
}

.learn-more-small {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent); /* orange bubble */
  color: #3b2a00;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);

  /* slight right shift */
  margin-left: 5px;
}

.learn-more-small:hover {
  background: #ffb63a;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  transform: translateY(-2px);
}

/* Highlights */
.highlights {
  max-width: var(--max-width);
  margin: 40px auto 65px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 20px 22px;
}

.highlight-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.highlight-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e1e4ea;
  padding: 16px 40px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================
   CONTACT PAGE — TWO COLUMN STYLE
   ============================ */

.contact-page {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 40px;
}

/* Title */
.contact-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--primary);
}

/* Two-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* FORM SECTION */
.contact-form h2,
.contact-info h2 {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.4rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
}

.primary-btn {
  background: var(--primary);
  color: white;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
  transition: var(--transition);
}

.primary-btn:hover {
  background: var(--primary-dark);
}

/* CONTACT INFO SECTION */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-item i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-top: 4px;
}

.contact-item div {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* MOBILE — STACKED LAYOUT */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-page {
    padding: 0 20px;
  }
}

/* History Page */
.history-page {
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 0 40px;
}

.timeline-item img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  background: #f5f5f5;
}

/* Mission & Vision */
.mv-section {
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 0 40px;
}

.mv-section h1,
.mv-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.mv-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.mv-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

/* ============================
   MOBILE NAVIGATION FIX
   ============================ */
@media (max-width: 768px) {

  .main-nav {
    padding: 10px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .logo-image img {
    height: 60px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
    white-space: normal;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .dropdown-toggle {
    width: 100%;
    padding: 8px 0;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    border: 1px solid #e1e4ea;
  }

  .logo-title {
    font-size: 2rem;
  }
}

/* ============================
   GET INVOLVED PAGE STYLES
   ============================ */

.contribution-highlight {
  border: 2px solid var(--accent);
  padding: 22px 24px;
  border-radius: 8px;
  background: rgba(244, 166, 35, 0.12); /* soft orange tint */
  margin-top: 25px;
}

.thank-you-message {
  margin-top: 18px;
  font-size: 1rem;
  font-weight: 600;
  color: #a05a00;
}
