/* Colors */
:root {
  --green: #228b22;
  --gold: #daa520;
  --pink: #ffc0cb;
  --light: #f9f9f9;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Open Sans", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: #228b22;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px; /* Tighter on mobile for full-width feel */
  }
}

.text-center {
  text-align: center;
}

/* Header */
/* ─────────────── Modern & Fully Responsive Header ─────────────── */

/* Header */
.header {
  background: var(--gold);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: background 0.3s ease;
}

/* Container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Logo */
.logo img {
  height: 70px; /* Smaller for better balance */
  width: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.4s ease;
}

.logo img:hover {
  transform: scale(1.08);
}

/* Navigation */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-list a {
  color: #111;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 8px 4px;
  transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--green);
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 60%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 12px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-size: 0.95rem;
}

.dropdown-menu li a:hover {
  background: #f8f9fa;
  color: var(--green);
}

/* Right Side: Donate + Toggle */
.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-donate {
  padding: 12px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--green);
  color: white;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(30,77,30,0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.nav-donate:hover {
  background: #164016;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(30,77,30,0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--green);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-toggle:hover {
  transform: rotate(90deg);
}

/* ─────────────── Mobile Menu ─────────────── */
.mobile-menu {
  display: none;
}

/* ─────────────── Mobile Menu ─────────────── */
/* ─────────────── Mobile Menu ─────────────── */
@media (max-width: 1024px) {
  /* container */
  .header-container {
    padding: 0 20px;
  }

  /* Hide desktop nav */
  .nav {
    display: none;
  }

  /* Show hamburger */
  .nav-toggle {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
  }

    /* Mobile menu container */
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gold); 
    border-top: 2px solid var(--foundation-green);
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }

  /* Menu list */
  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-menu-list a,
  .mobile-dropdown .dropdown-toggle {
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff; /* White text on purple */
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    transition: background 0.3s;
  }

  .mobile-menu-list a:hover,
  .mobile-dropdown .dropdown-toggle:hover {
    background: var(--foundation-green);
    color: var(--foundation-purple);
  }

   /* Mobile dropdown */
  .mobile-dropdown .dropdown-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #374151;
    text-align: left;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    margin-top: 0.5rem;
    padding-left: 1rem;
  }

  .mobile-dropdown-menu.active {
    display: flex;
  }
}

/* Global Buttons */
.btn {
  padding: 15px 65px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: #f5aa1d;
  color: white;
}

.btn-primary:hover {
  background: #fda502;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(34, 139, 34, 0.4);
}

.btn-secondary {
  background: var(--gold);
  color: #333;
}

.btn-secondary:hover {
  background: #c4941b;
  transform: translateY(-5px);
}

.btn-outline {
  border: 3px solid white;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: white;
  color: var(--green);
}

/* ====================== ABOUT USA CHAPTER PAGE ====================== */
/* ====================== ABOUT USA CHAPTER HERO - FULLY MOBILE OPTIMIZED ====================== */
.usa-hero {
    min-height: 92vh;
    background: linear-gradient(rgba(0,0,0,0.48), rgba(0,0,0,0.48)), 
                url('../images/wog-18.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34,139,34,0.25), rgba(218,165,32,0.35));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.flag-hero {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #f5d07a;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    animation: floatFlag 4s ease-in-out infinite;
}

.flag-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes floatFlag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.usa-hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.8rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 8px 25px rgba(0,0,0,0.45);
}

.chapter-subtitle {
    font-size: clamp(1.35rem, 3.5vw, 1.8rem);
    color: #f5d07a;
    font-weight: 600;
    margin-bottom: 20px;
}

.chapter-tagline {
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    max-width: 760px;
    margin: 0 auto 40px;
    line-height: 1.5;
    font-weight: 500;
}

.hero-cta .btn-large {
    padding: 18px 48px;
    font-size: 1.25rem;
    min-width: 280px;
}

/* ====================== MOBILE OPTIMIZATIONS ====================== */
@media (max-width: 768px) {
    .usa-hero {
        min-height: 78vh;
        padding-top: 80px;
    }
    
    .flag-hero {
        width: 140px;
        height: 140px;
    }
    
    .hero-cta {
        margin-top: 20px;
    }
    
    .hero-cta .btn-large {
        width: 100%;
        max-width: 340px;
        padding: 18px 32px;
    }
}

@media (max-width: 480px) {
    .flag-hero {
        width: 120px;
        height: 120px;
    }
}

/* ====================== MODERN 10-YEAR TIMELINE - LINE BEHIND CARDS ====================== */
.timeline-section {
    padding: 110px 0;
    background: var(--light);
}

.timeline-section h2 {
    color: var(--green);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 70px;
}

/* Scroll Container - No visible scrollbar */
.timeline-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 30px;
}

.timeline-scroll::-webkit-scrollbar {
    display: none;
}

/* Timeline Container */
.timeline {
    display: flex;
    gap: 48px;
    padding: 0 20px;
    width: max-content;
    position: relative;
}

/* Connecting Line - Runs BEHIND the cards */
.timeline::before {
    content: '';
    position: absolute;
    top: 180px; /* Adjust to align with year circles */
    left: 60px;
    right: 60px;
    height: 5px;
    background:var(--gold);
    z-index: 1;           /* Line is behind cards */
    border-radius: 10px;
}

/* Individual Card */
.timeline-item {
    background: white;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.09);
    min-width: 250px;
    overflow: hidden;
    position: relative;
    z-index: 2;           /* Cards sit on top of the line */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(34,139,34,0.18);
}

/* Image at top of card */
.timeline-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Year Circle */
.year-circle {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, #f5d07a, #228b22);
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -38px auto 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    position: relative;
    z-index: 3;           /* Year circle sits on top of everything */
}

.timeline-item p {
    padding: 0 24px 32px;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #444;
    text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
    .timeline-section {
        padding: 80px 0;
    }
    .timeline-item {
        min-width: 260px;
    }
    .timeline-item img {
        height: 160px;
    }
    .year-circle {
        width: 74px;
        height: 74px;
        font-size: 1.55rem;
    }
}

/* Executive Leadership Enhancements */
.team-executive {
  padding: 100px 0;
  background: white;
}

.team-executive h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.team-executive p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

.grid-4-lg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.executive-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  text-align: center;
  padding: 30px 20px;
}

.executive-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 35px 70px rgba(34, 139, 34, 0.2);
}

.executive-card img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--gold);
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.exec-title {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: bold;
  margin: 15px 0 10px;
}

.exec-bio {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  padding: 0 10px;
}

/* Mobile Executives – 1 column, larger images */
@media (max-width: 768px) {
  .team-executive {
    padding: 80px 0;
  }

  .grid-auto.grid-4-lg {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .executive-card img {
    width: 160px;
    height: 160px;
  }

  .exec-title {
    font-size: 1.4rem;
  }

  .exec-bio {
    font-size: 1.05rem;
  }
}

/* ====================== GET INVOLVED LOCALLY CTA ====================== */
.get-involved-local {
    padding: 110px 0;
    background: linear-gradient(rgba(34,139,34,0.92), rgba(218,165,32,0.88));
    color: white;
}

.get-involved-local h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.section-subtitle {
    max-width: 720px;
    margin: 0 auto 60px;
    font-size: 1.35rem;
    opacity: 0.95;
}

.involvement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.involvement-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.involvement-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.25);
}

.involvement-card i {
    font-size: 3.6rem;
    margin-bottom: 24px;
    display: block;
}

.involvement-card h3 {
    font-size: 1.65rem;
    margin-bottom: 16px;
}

.involvement-card p {
    margin-bottom: 28px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Desktop - 2 columns */
@media (min-width: 768px) {
    .involvement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .get-involved-local {
        padding: 80px 0;
    }
    
    .involvement-card {
        padding: 32px 24px;
    }
}

/* Footer */
.footer {
  background: #1a3d1a; /* Deep green for elegance */
  color: white;
  padding: 80px 0 30px;
  margin-top: 50px;
}

.footer-container {
  max-width: 1400px;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.footer-logo img {
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 15px;
}

.tax-info {
  font-size: 0.6rem;
  opacity: 0.8;
  font-style: italic;
}

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links a,
.footer-contact li {
  margin-bottom: 12px;
  display: block;
  color: #ddd;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact i {
  color: var(--gold);
  margin-right: 10px;
  width: 20px;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--gold);
  color: #333;
  transform: translateY(-5px);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.newsletter-form input {
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.newsletter-form .btn {
  padding: 14px;
  font-size: 1.1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: underline;
}

.footer-credit {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-credit a {
  color: var(--gold);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }
  .footer-grid {
    gap: 40px;
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .newsletter-form {
    align-items: center;
  }
  .newsletter-form input {
    width: 100%;
    max-width: 300px;
  }
}