/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* ===== CSS Variables — Trinidad & Tobago Sunset ===== */
:root {
  --primary: #D4451A;
  --primary-dark: #B33A15;
  --secondary: #F4A024;
  --secondary-dark: #D98A1A;
  --accent: #8B1A7E;
  --accent-dark: #6E1464;
  --bg: #FFF8F0;
  --text: #1A1A2E;
  --text-light: #3D3D56;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(26, 26, 46, 0.08);
  --shadow-hover: 0 8px 30px rgba(26, 26, 46, 0.14);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

/* ===== Header / Nav ===== */
.header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span { color: var(--secondary); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Container ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Hero — Sunset Gradient ===== */
.hero {
  background: linear-gradient(rgba(26,26,78,0.55), rgba(212,69,26,0.4)), url('/images/hero-banner.png') center/cover no-repeat;
  padding: 6rem 2rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 80%, rgba(244, 160, 36, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero .logo-img-hero {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hero .logo-img-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 69, 26, 0.35);
}

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

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 160, 36, 0.35);
}

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

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ===== Section Styling ===== */
.section { padding: 5rem 2rem; }
.section-light { background: var(--white); }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hibiscus accent divider */
.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* ===== Cards Grid ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

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

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-top-color: var(--primary);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.card p {
  color: var(--text-light);
  line-height: 1.7;
}

.card .btn {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
}

/* ===== About Teaser ===== */
.about-teaser {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
}

.about-teaser-text { flex: 1; }

.about-teaser-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-teaser-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-teaser-image {
  flex: 0 0 320px;
  height: 320px;
  background: linear-gradient(135deg, var(--accent), var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem;
}

/* ===== Service Detail Sections ===== */
.service-detail {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.service-detail:nth-child(even) { border-left-color: var(--secondary); }
.service-detail:nth-child(3n) { border-left-color: var(--accent); }

.service-detail h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-detail:nth-child(even) h2 { color: var(--secondary-dark); }
.service-detail:nth-child(3n) h2 { color: var(--accent); }

.service-detail p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.service-detail ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-detail ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text-light);
}

.service-detail ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

/* ===== About Page ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-content .highlight {
  background: linear-gradient(135deg, #FFF0E6, #FFF8F0);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
  font-style: italic;
  color: var(--text);
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-item strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.contact-form-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e8ddd4;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, #1A1A4E 0%, #8B1A7E 40%, #D4451A 75%, #F4A024 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
  background: #1A1A2E;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer a { color: var(--secondary); }
.footer a:hover { color: #f7b84d; }

.footer-links {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer .community-line {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #1A1A4E, #8B1A7E, #D4451A);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
  border-bottom: 4px solid transparent;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-bottom-color: var(--secondary);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--bg);
  box-shadow: 0 2px 10px rgba(26, 26, 46, 0.12);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-service {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Donate Section ===== */
.donate-section {
  background: linear-gradient(135deg, #FFF0E6 0%, #FFF8F0 50%, #FFF5EE 100%);
}

.donate-home-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.btn-donate {
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--primary);
  color: var(--white);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(212, 69, 26, 0.3);
}

.btn-donate:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 69, 26, 0.4);
}

.donate-secure-note {
  margin-top: 0.75rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.donate-content {
  max-width: 800px;
  margin: 0 auto;
}

.donate-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.donate-content > p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

.donate-impact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}

.donate-impact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.donate-impact-card .card-icon { margin-bottom: 0.75rem; }

.donate-impact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.donate-impact-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

.donate-cta-box {
  background: linear-gradient(135deg, #FFF0E6, #FFF8F0);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  border: 2px solid rgba(212, 69, 26, 0.15);
}

.donate-cta-box h2 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.donate-cta-box p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.donate-note {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
}

.donate-note p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .nav-links.open { display: flex; }
  .header .container { position: relative; }

  .hero { padding: 4rem 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .hero .logo-img-hero { width: 72px; height: 72px; }

  .about-teaser {
    flex-direction: column;
    text-align: center;
  }

  .about-teaser-image {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.6rem; }
  .page-header h1 { font-size: 1.8rem; }
}
