:root {
  --color-sage: #4A6B5D;
  --color-earth-dark: #3D2C24;
  --color-earth-light: #705345;
  --color-sand: #F7F4EF;
  --color-gold: #D4A359;
  --color-gold-hover: #b88a44;
  --color-sky-blue: #5C8399;
  --color-sky-light: #EBF2F6;
  --color-text-dark: #2C2C2C;
  --color-white: #FFFFFF;
  --color-bronze:#a44318;
  
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Nunito', sans-serif;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-sand);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-earth-dark);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px;
  margin: 10px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
}
.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
}

.btn-sage {
  background-color: var(--color-sage);
  color: var(--color-white);
}
.btn-sage:hover {
  background-color: #3b574a;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-earth-dark);
}

/* Header & Navigation */
header {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bronze);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-sage);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo-image {
  width: 70px;
  height: 70px;
  background-image: url('../img/logo.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-earth-dark);
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-sage);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-sage);
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--color-earth-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Page Views Management */
.page-view {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.page-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
              url('../img/home_2.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--color-white);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Component Styles */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: var(--color-earth-light);
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

/* Mission Banner */
.mission-banner {
  background-color: var(--color-sage);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.mission-banner h2 {
  color: var(--color-white);
  font-size: 2rem;
}

.mission-banner p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.25rem;
}

/* Animal Sponsorship Cards */
.tier-badge {
  display: inline-block;
  background: var(--color-sky-light);
  color: var(--color-sky-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* Financials List */
.financials-box {
  background: var(--color-sky-light);
  border-left: 4px solid var(--color-sky-blue);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

/* Partner Logos */
.partner-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Footer */
footer {
  background-color: var(--color-earth-dark);
  color: var(--color-sand);
  padding: 3rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Responsive Queries */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 1rem;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    display: none;
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}