/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand Colors */
  --primary-color: #2c3e50;
  --secondary-color: #f39c12;
  --accent-color: #c0392b;
  --background-color: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --white: #ffffff;

  /* Typography */
  --font-primary: "Playfair Display", serif;
  --font-secondary: "Source Sans Pro", sans-serif;
  --font-decorative: "Dancing Script", cursive;

  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 249, 250, 0.95) 100%
  );
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(44, 62, 80, 0.1);
  box-shadow: 0 2px 20px rgba(44, 62, 80, 0.08);
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  margin: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.05) 0%,
    rgba(243, 156, 18, 0.05) 100%
  );
  border: 1px solid rgba(44, 62, 80, 0.1);
  transition: var(--transition);
}

.nav-logo:hover {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.1) 0%,
    rgba(243, 156, 18, 0.1) 100%
  );
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
}

.logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(243, 156, 18, 0.3);
  transition: var(--transition);
}

.nav-logo:hover .logo {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 16px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(44, 62, 80, 0.1);
  box-shadow: 0 2px 10px rgba(44, 62, 80, 0.05);
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  display: block;
  letter-spacing: 0.3px;
}

.nav-link:hover {
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 20px;
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.nav-link:hover::before {
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(44, 62, 80, 0.1);
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.bar {
  width: 25px;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  margin: 3px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger:hover .bar {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
}

/* ===== HERO SECTION - INNOVATION 1: LAYERED HERO DESIGN ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  margin: 0;
  padding: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.8),
    rgba(243, 156, 18, 0.6)
  );
  z-index: -1;
  margin: 0;
  padding: 0;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ===== ABOUT SECTION - INNOVATION 2: CARD-BASED MODULAR LAYOUT ===== */
.about {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  display: grid;
  gap: 2rem;
}

.about-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-left: 4px solid var(--secondary-color);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.about-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-image {
  position: relative;
}

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  clip-path: inset(0% 0% 5% 5%);
  box-shadow: var(--box-shadow);
}

/* ===== HISTORY SECTION - INNOVATION 3: VERTICAL TIMELINE DESIGN ===== */
.history {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--background-color) 100%
  );
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
  box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -30px;
}

.timeline-marker i {
  font-size: 1.2rem;
  color: var(--white);
}

.timeline-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.timeline-date {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===== IMPACT SECTION ===== */
.impact {
  padding: var(--section-padding);
  background-color: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.impact-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(44, 62, 80, 0.15);
}

.impact-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.impact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0% 0% 5% 5%);
  transition: var(--transition);
}

.impact-card:hover .impact-img {
  transform: scale(1.05);
}

.impact-content {
  padding: 2rem;
}

.impact-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.impact-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--secondary-color);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--font-primary);
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* ===== SUBSCRIBE SECTION ===== */
.subscribe {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
}

.subscribe .section-title,
.subscribe .section-subtitle {
  color: var(--white);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.support-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.support-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.support-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.support-icon i {
  font-size: 2rem;
  color: var(--white);
}

.support-card h3 {
  margin-bottom: 1rem;
  color: var(--white);
}

.support-card p {
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

/* ===== CONTACT SECTION - INNOVATION 4: INTERACTIVE MAP INTEGRATION ===== */
.contact {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 2rem;
}

.contact-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 4px solid var(--secondary-color);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-icon i {
  font-size: 1.2rem;
  color: var(--white);
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-map:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo-text {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-description {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 90px;
    flex-direction: column;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(248, 249, 250, 0.95) 100%
    );
    backdrop-filter: blur(15px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 30px rgba(44, 62, 80, 0.15);
    padding: 2rem 0;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(44, 62, 80, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 3rem !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-marker {
    left: -10px !important;
    right: auto !important;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .support-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .container {
    padding: 0 15px;
  }

  .about-card,
  .contact-card,
  .support-card {
    padding: 1.5rem;
  }
}

/* ===== INNOVATION 5: GRADIENT TRANSITIONS BETWEEN SECTIONS ===== */
.about::before,
.history::before,
.impact::before,
.subscribe::before,
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(248, 249, 250, 0.8) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.subscribe::before {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(44, 62, 80, 0.8) 100%
  );
}

/* ===== SMOOTH SCROLLING AND ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-card,
.timeline-content,
.impact-card,
.support-card,
.contact-card {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #ffd700;
    --text-light: #333333;
  }
}
