/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.8rem;
}
h3 {
  font-size: 2.2rem;
}
h4 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* ===== COLOR VARIABLES ===== */
:root {
  --primary-blue: #1e3a8a;
  --secondary-blue: #3b82f6;
  --accent-gold: #d97706;
  --warm-gold: #f59e0b;
  --pure-white: #ffffff;
  --light-gray: #f8fafc;
  --medium-gray: #e2e8f0;
  --dark-gray: #475569;
  --text-dark: #1e293b;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--pure-white);
  box-shadow: 0 2px 20px var(--shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-blue);
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  margin: 3px 0;
  transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  color: var(--pure-white);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--pure-white);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--warm-gold);
  font-weight: 300;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--pure-white);
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--pure-white);
}

.btn-primary:hover {
  background: var(--warm-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--pure-white);
  border: 2px solid var(--pure-white);
}

.btn-secondary:hover {
  background: var(--pure-white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.hero-image {
  text-align: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===== SECTION STYLES ===== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--dark-gray);
  font-weight: 300;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  color: var(--primary-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-text h3:first-child {
  margin-top: 0;
}

.values-list {
  list-style: none;
  margin: 1.5rem 0;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--pure-white);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

.values-list i {
  color: var(--accent-gold);
  font-size: 1.2rem;
  width: 20px;
}

.about-image {
  text-align: center;
}

.about-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px var(--shadow);
}

/* ===== HISTORY SECTION ===== */
.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.history-image {
  text-align: center;
}

.history-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px var(--shadow);
}

.history-text h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.timeline {
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 15px;
  border-left: 4px solid var(--accent-gold);
}

.timeline-year {
  background: var(--accent-gold);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  height: fit-content;
}

.timeline-content h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

/* ===== COMMUNITY SUPPORT SECTION ===== */
.community-support {
  background: var(--light-gray);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.support-card {
  background: var(--pure-white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px var(--shadow);
  transition: transform 0.3s ease;
}

.support-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-gold), var(--warm-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.card-icon i {
  font-size: 2rem;
  color: var(--pure-white);
}

.support-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.support-image {
  text-align: center;
  margin-top: 2rem;
  clip-path: inset(40px 0px 0px 0px round 5px);
}

.support-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px var(--shadow);
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px var(--shadow);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30, 58, 138, 0.9));
  color: var(--pure-white);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin-bottom: 0.5rem;
  color: var(--pure-white);
}

.gallery-overlay p {
  margin: 0;
  opacity: 0.9;
}

/* ===== SUBSCRIBE SECTION ===== */
.subscribe {
  background: var(--light-gray);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.support-option {
  background: var(--pure-white);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px var(--shadow);
  transition: transform 0.3s ease;
}

.support-option:hover {
  transform: translateY(-5px);
}

.option-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.option-icon i {
  font-size: 2rem;
  color: var(--pure-white);
}

.support-option h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.support-option p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--medium-gray);
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--accent-gold);
}

.newsletter-form .btn {
  padding: 12px 25px;
  font-size: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--pure-white);
}

.contact-details h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin: 0;
  color: var(--dark-gray);
}

.contact-image {
  text-align: center;
}

.contact-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px var(--shadow);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-blue);
  color: var(--pure-white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--warm-gold);
}

.footer-logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-section h3 {
  color: var(--warm-gold);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--pure-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--warm-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--secondary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .history-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--pure-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-options {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.8rem;
  }

  .nav-container {
    height: 70px;
  }

  .nav-menu {
    top: 70px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .support-card,
  .support-option {
    padding: 1.5rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #000080;
    --accent-gold: #ff8c00;
    --text-dark: #000000;
  }
}
