/* === GLOBAL STYLES === */
:root { --navbar-height: 65px; } /* adjust to match your actual navbar */

body {
  background-color: #e4e4df;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2f3e2f;
  padding-top: var(--navbar-height);
}

h1, h2, h3 {
  font-family: 'Merriweather', serif;
  color: #3b5c3b;
}

.text-center { text-align: center; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem 1rem;
  margin: auto;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  height: 80px;
}

.navbar-brand {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #4caf50 !important;
  transition: color 0.3s ease;
}
.navbar-brand:hover { color: #3d8c40 !important; }

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: #555 !important;
  transition: color 0.3s ease, background 0.3s ease;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #4caf50 !important;
  background-color: rgba(76, 175, 80, 0.1);
  border-radius: 5px;
}

/* === AUTH BUTTONS === */
.auth-buttons a {
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 50px;
  margin-left: 10px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.auth-buttons .btn { border: none; }
.auth-buttons .btn-primary { background-color: #4caf50; }
.auth-buttons .btn-primary:hover { background-color: #3d8c40; }
.auth-buttons .btn-danger { background-color: #dc3545; }

/* === MAIN CONTAINER === */
.container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}
.container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #3b5c3b;
  margin-bottom: 2rem;
}
.container h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #497d49;
  border-left: 6px solid #80c080;
  padding-left: 10px;
  margin-bottom: 1.5rem;
}

/* === CARDS === */
.card {
  background: #fff;
  border: 1px solid #e2e8e2;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}
.card-img-top {
  height: 220px;
  object-fit: cover;
}
.ratio iframe { border-radius: 14px 14px 0 0; }
.card-body { padding: 1.25rem; }
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #478848;
  margin-bottom: .5rem;
}
.card-text {
  font-size: .95rem;
  line-height: 1.4;
  color: #666;
}
.card-text.text-muted {
  font-size: .85rem;
  color: #497d49;
  text-transform: uppercase;
  letter-spacing: .05rem;
  margin-bottom: .5rem;
}

/* === BUTTONS === */
.btn-primary {
  background: linear-gradient(135deg, #497d49, #345634);
  border: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #345634, #497d49);
  transform: translateY(-1px);
}
.btn-primary.rounded-pill {
  font-size: 0.85rem;
  padding: 6px 16px;
}

/* === HERO BANNER === */
.hero-slide {
  width: 100%;
  height: calc(95vh - var(--navbar-height));
  min-height: 450px;
  background: center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 900px;
}
.hero-slide h1,
.hero-slide p {
  color: #fff;
  margin-bottom: 1rem;
}
.btn-hero {
  background: linear-gradient(135deg, #4caf50, #3d8c40);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.btn-hero:hover { background: #2e6b2f; }

/* === FOOTER === */
.footer {
  background: #4caf50;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}
.footer a {
  color: #fff;
  text-decoration: underline;
}

.footer-section .form-control {
  max-width: 400px;
  background-color: #111;
  color: #fff;
  border-color: #fff;
}
.footer-section .form-control::placeholder { color: #ccc; }
.footer-section .btn-light {
  color: #000;
  font-weight: bold;
}

/* === TOGGLE TEXT === */
.more-text { transition: all 0.3s ease; }

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 1rem 0.75rem;
    height: auto; /* allow to expand */
  }
  .navbar-brand { font-size: 1.3rem; }

  /* Hero */
  .hero-slide {
    min-height: 350px;
    padding: 1rem;
  }
  .hero-slide h1 { font-size: 1.8rem; }
  .hero-slide p { font-size: 1rem; }

  /* Headings */
  .container h1 { font-size: 1.8rem; }
  .container h2 { font-size: 1.3rem; }

  /* Cards */
  .card-img-top { height: 160px; }
}

/* Stack columns below 576px */
@media (max-width: 576px) {
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.team-card-img {
  height: 430px;             /* choose your height */
  object-fit: cover;         /* crop instead of squish */
}


