:root {
  /* ===== LOGO COLOR SYSTEM ===== */
  --primary: #22C55E;     /* Logo green (cross & inner swoosh) */
  --secondary: #1E88E5;   /* Logo blue (outer swoosh) */
  --accent: #6EE7B7;      /* Soft green highlight */
  --bg: #ffffff;          /* Light green-tinted background */
  --text: #052E1C;        /* Dark emerald (logo background tone) */

  --danger: #DC2626;
  --success: #22C55E;
}

* {
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= NAVBAR ================= */

.navbar {
  background: white;
  color: var(--text);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid #DCFCE7;
}

.logo a {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  font-weight: 600;
  color: var(--secondary);
  padding: 8px 10px;
  border-radius: 6px;
}

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

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--secondary);
}

.search-bar-container {
  display: flex;
  justify-content: center;
  margin: 25px 0 10px;
}

.search-filter-btn {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.search-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}


/* ================= LAYOUT ================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.center {
  text-align: center;
}

/* ================= GRID & CARDS ================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.18);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.card h3,
.card h4 {
  margin-top: 12px;
  margin-bottom: 6px;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
  );
  color: white;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.92;
}

.btn.danger {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
}

.btn.success {
  background: linear-gradient(135deg, #22C55E, #16A34A);
}

/* ================= FORMS ================= */

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input,
select,
textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #BBF7D0;
  font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

label {
  font-weight: 600;
  font-size: 14px;
}

/* ================= FILTER FORM ================= */

.filter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-form input,
.filter-form select {
  max-width: 220px;
}

/* ================= ALERTS ================= */

.success {
  background: #DCFCE7;
  color: #14532D;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ================= PAGINATION ================= */

.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* ================= ADMIN ================= */

.admin-links li {
  list-style: none;
  margin: 12px 0;
}

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

footer {
  background: linear-gradient(
    135deg,
    #0B4F2F,
    #052E1C
  );
  color: white;
  padding: 30px;
  margin-top: 60px;
}

footer h4 {
  margin-bottom: 10px;
}

footer a {
  color: #D1FAE5;
  font-size: 14px;
}

/* ================= MOBILE NAVBAR ================= */

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
  }

  .nav-links a {
    padding: 12px 16px;
    border-top: 1px solid #DCFCE7;
  }

  .nav-links.show {
    display: flex;
  }

  .container {
    padding: 20px;
  }
}

/* ================= SCROLL ANIMATIONS ================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ================= HOME LOGO ================= */

.home-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* ================= FULL WIDTH LOGO BANNER (FIXED) ================= */

/* ================= FULL WIDTH LOGO BANNER (NO CROP) ================= */

.logo-banner {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.logo-banner img {
  width: 100%;
  height: auto;      /* 🔑 show full image */
  display: block;
}

.home-logo-text {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}




/* ================= HOME / HERO SECTION ================= */

.hero-box {
  margin-top: 40px;
  padding: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #22C55E, #1E88E5);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.35);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-box::before,
.hero-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero-box::before {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
}

.hero-box::after {
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
}

.hero-title {
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 700;
  display: flex;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

/* ================= FEATURE CARDS ================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card p {
  margin: 0;
  font-size: 0.85em;
  font-weight: 600;
}

.feature-card small {
  display: block;
  margin-top: 5px;
  font-size: 0.75em;
  opacity: 0.85;
}

/* ================= ABOUT SECTION ================= */

.about-title {
  font-size: 2.5em;
  color: #1E88E5;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.about-underline {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, #22C55E, #1E88E5);
  margin: 0 auto;
  border-radius: 2px;
}

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

.about-card {
  padding: 35px;
  border-radius: 20px;
  color: white;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.25);
}

.about-card.green {
  background: linear-gradient(135deg, #22C55E, #16A34A);
}

.about-card.blue {
  background: linear-gradient(135deg, #1E88E5, #0B4FA3);
}

/* ================= WHY CHOOSE ================= */

.why-box {
  background: #F0FDF4;
  padding: 45px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.why-box h2 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.why-grid h4 {
  color: #1E88E5;
  margin-bottom: 8px;
}

/* ================= CTA ================= */

.cta-box {
  background: linear-gradient(135deg, #22C55E, #1E88E5);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.35);
}

.cta-btn {
  display: inline-block;
  background: white;
  color: #1E88E5;
  padding: 12px 35px;
  border-radius: 25px;
  font-weight: 600;
  margin-top: 20px;
}

