/* ======================
   GLOBAL STYLES 
   ====================== */
:root {
  /* Color Palette */
  --primary-color: #4a6fa5;
  --secondary-color: #166088;
  --accent-color: #4fc3a1;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --text-light: #6c757d;
  
  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  
  /* Gradients */
  --hero-gradient: linear-gradient(135deg, #4a6fa5 0%, #166088 100%);
  --card-gradient: linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  background-attachment: fixed;
}

/* ======================
   LAYOUT COMPONENTS 
   ====================== */
.glass-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 20px 20px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

/* ======================
   NAVIGATION 
   ====================== */
.glass-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: rotate(5deg) scale(1.05);
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 70%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

.donate-btn .btn {
  background: var(--accent-color);
  color: white;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(79, 195, 161, 0.3);
}

.donate-btn .btn:hover {
  background: #3da58a;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(79, 195, 161, 0.4);
}

/* ======================
   HERO SECTION 
   ====================== */
.hero {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-gradient);
  opacity: 0.1;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.slideshow-container {
  position: relative;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  line-height: 1.2;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  min-width: 150px;
}

.btn.primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 8px rgba(74, 111, 165, 0.3);
}

.btn.primary:hover {
  background: #3a5a8c;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(74, 111, 165, 0.4);
}

.btn.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(74, 111, 165, 0.3);
}

/* ======================
   CARDS & SECTIONS 
   ====================== */
.glass-card {
  background: var(--card-gradient);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2.5rem;
  margin: 2rem;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

section {
  padding: 4rem 0;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  text-align: center;
  position: relative;
  font-weight: 700;
}

h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--accent-color);
  margin: 1rem auto;
  border-radius: 2px;
}

h3 {
  font-size: 1.6rem;
  margin: 1.5rem 0 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* ======================
   TWO COLUMN LAYOUT 
   ====================== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* ======================
   VALUES SECTION 
   ====================== */
.values-section {
  padding: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.value-card {
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
}

.value-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin: 1.5rem 0;
  color: var(--secondary-color);
}

/* ======================
   GOALS SECTION 
   ====================== */
.goals-section {
  margin: 2rem;
}

.goals-list {
  list-style: none;
}

.goals-list li {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.7;
}

.goals-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* ======================
   SCOPE SECTION 
   ====================== */
.scope-section h3 i {
  color: var(--accent-color);
  margin-right: 0.8rem;
}

.scope-section ul {
  list-style: none;
  margin-top: 1rem;
}

.scope-section ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.scope-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1.5rem;
  line-height: 1;
}

/* ======================
   CONTACT SECTION 
   ====================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-section h3 i {
  color: var(--accent-color);
  margin-right: 0.8rem;
}

.contact-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(79, 195, 161, 0.2);
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

/* ======================
   FOOTER 
   ====================== */
.glass-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4rem 2rem 1.5rem;
  color: var(--text-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.4rem;
  margin-bottom: 1.8rem;
  color: var(--secondary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 1rem;
}

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.3rem 0;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icons a:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ======================
   RESPONSIVE DESIGN 
   ====================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .slideshow-container {
    height: 350px;
  }
  
  .two-column, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .glass-nav {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  nav ul {
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .glass-card {
    margin: 1rem 0.5rem;
    padding: 1.8rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
}