/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --neutral-color: #f8fafc;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(30, 58, 138, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav-logo:hover {
  transform: translateY(-1px);
}

.nav-logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(30, 58, 138, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-logo:hover img {
  border-color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.nav-menu {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(30, 58, 138, 0.05);
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-color)
  );
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--primary-color);
  background: rgba(30, 58, 138, 0.1);
  font-weight: 600;
}

.nav-link.active::after {
  width: 80%;
  background: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(30, 58, 138, 0.05);
}

.bar {
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger:hover .bar {
  background: var(--secondary-color);
}

/* Hero Section - Innovation 1: Layered Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.8),
    rgba(245, 158, 11, 0.6)
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.stat p {
  font-size: 1rem;
  opacity: 0.8;
}

.cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--neutral-color);
}

.about h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 25px;
  color: var(--text-light);
  line-height: 1.8;
}

.about-text ul {
  list-style: none;
}

.about-text li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.about-text i {
  color: var(--secondary-color);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  clip-path: inset(0% 0% 5% 5%);
}

/* Activities Section - Innovation 2: 3D Flip Cards */
.activities {
  padding: 100px 0;
  background: var(--white);
}

.activities h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.activity-card {
  height: 300px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.activity-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-front {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--white);
}

.card-back {
  background: var(--white);
  color: var(--text-dark);
  transform: rotateY(180deg);
}

.card-front img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px;
  clip-path: inset(0% 0% 5% 5%);
}

.card-front h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-back h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.card-back ul {
  list-style: none;
  text-align: left;
}

.card-back li {
  margin-bottom: 8px;
  color: var(--text-light);
  position: relative;
  padding-left: 20px;
}

.card-back li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Stories Section - Innovation 3: Vertical Timeline */
.stories {
  padding: 100px 0;
  background: var(--neutral-color);
}

.stories h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item:nth-child(odd) .timeline-content {
  flex-direction: row;
}

.timeline-item:nth-child(even) .timeline-content {
  flex-direction: row-reverse;
}

.timeline-content {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -30px;
  border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -30px;
  border-right-color: var(--white);
}

.timeline-content img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  clip-path: inset(0% 0% 5% 5%);
}

.story-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.story-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.story-date {
  background: var(--secondary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Subscribe Section - Innovation 4: Floating Subscription Form */
.subscribe {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  position: relative;
  overflow: hidden;
}

.subscribe::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

.subscribe-content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.subscribe h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.subscribe p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.subscribe-form {
  max-width: 500px;
  margin: 0 auto 60px;
}

.form-group {
  display: flex;
  background: var(--white);
  border-radius: 50px;
  padding: 5px;
  box-shadow: var(--shadow-lg);
}

.form-group input {
  flex: 1;
  border: none;
  padding: 15px 20px;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
}

.form-group button {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-group button:hover {
  background: var(--accent-color);
}

.donation-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  max-width: 400px;
  margin: 0 auto;
}

.donation-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.donation-info p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.donate-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.donate-button:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 5px;
}

.contact-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-map {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.footer-logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-info p {
  opacity: 0.8;
  margin-bottom: 5px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 30px 0;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    padding: 15px 20px;
    margin: 5px 20px;
    border-radius: 15px;
    font-size: 1.1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    flex-direction: column;
    margin-left: 40px;
  }

  .timeline-content::before {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-card h1 {
    font-size: 2rem;
  }

  .hero-card p {
    font-size: 1rem;
  }

  .hero-card {
    padding: 20px 15px;
  }

  .container {
    padding: 0 15px;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .form-group {
    flex-direction: column;
    gap: 10px;
  }

  .form-group input,
  .form-group button {
    border-radius: 10px;
  }
}
