@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --primary-color: #0e4f9e;
  --primary-dark: #093770;
  --secondary-color: #f9b941;
  --accent-color: #05a38f;
  --dark-color: #10233f;
  --ink-color: #253041;
  --light-color: #f8f9fa;
  --surface-color: #ffffff;
  --soft-bg: #f3f7fd;
  --shadow-soft: 0 18px 40px rgba(16, 35, 63, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-color);
  background:
    radial-gradient(circle at 8% 6%, rgba(14, 79, 158, 0.1), transparent 34%),
    radial-gradient(circle at 92% 20%, rgba(5, 163, 143, 0.08), transparent 36%),
    #f8fbff;
  padding-top: 96px;
  line-height: 1.75;
}

a {
  text-decoration: none;
}

.navbar {
  background: rgba(255, 255, 255, 0.93) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(14, 79, 158, 0.08);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eff4ff, #dbe9ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(8, 41, 84, 0.18);
}

.brand-mark img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.3px;
}

.brand-subtitle {
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.15px;
  color: #4f6e96;
  margin-top: 3px;
}

.nav-link {
  font-weight: 700;
  color: #38506f;
  border-radius: 999px;
  padding: 8px 14px !important;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--primary-dark);
  background: rgba(14, 79, 158, 0.08);
}

.nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(120deg, var(--primary-color), #1761bf);
  box-shadow: 0 8px 18px rgba(14, 79, 158, 0.24);
}

.hero-section {
  min-height: 86vh;
  background:
    linear-gradient(110deg, rgba(16, 35, 63, 0.9), rgba(16, 35, 63, 0.5)),
    url("../IMG/ensemble-relevons-haiti.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 35, 63, 0.92), rgba(16, 35, 63, 0.48));
}

.section-padding {
  padding: 92px 0;
}

.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
  color: var(--dark-color);
}

.section-subtitle {
  max-width: 740px;
  color: #5d6f85;
}

.info-card {
  border-left: 5px solid var(--accent-color);
  border-radius: 22px !important;
}

.program-card,
.card {
  border-radius: 20px !important;
  border: 1px solid rgba(14, 79, 158, 0.08) !important;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.program-card:hover,
.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(16, 35, 63, 0.15) !important;
}

.card-img-top {
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.staff-grid .card-img-top {
  height: 280px;
  object-fit: cover;
  object-position: center top;
}

.staff-grid .card-img-top.portrait-dorvilus,
.staff-grid .card-img-top.portrait-ruth,
.staff-grid .card-img-top.portrait-patricia,
.staff-grid .card-img-top.portrait-emma,
.staff-grid .card-img-top.portrait-sabrina {
  height: 280px;
  object-fit: contain;
  object-position: center center;
  background: #f8fbff;
}

.img-fluid {
  border-radius: 18px !important;
}

.impact-section {
  background:
    linear-gradient(rgba(16, 35, 63, 0.9), rgba(16, 35, 63, 0.9)),
    url("../IMG/prevention.jpg");
  background-size: cover;
  background-position: center;
}

.impact-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.donation-box {
  max-width: 920px;
  margin: 0 auto;
}

.newsletter-section {
  background: linear-gradient(135deg, #edf4ff, #e8fff7);
}

.newsletter-form .form-control {
  border-radius: 999px;
  padding-left: 24px;
}

.newsletter-form .btn {
  border-radius: 999px;
  padding-left: 32px;
  padding-right: 32px;
}

.footer {
  background:
    radial-gradient(circle at 18% 16%, rgba(249, 185, 65, 0.16), transparent 38%),
    #0f1f39 !important;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: #ffffff;
}

.form-control,
.form-select {
  border-radius: 14px;
  padding: 12px 16px;
  border-color: rgba(14, 79, 158, 0.2);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(14, 79, 158, 0.6);
  box-shadow: 0 0 0 0.25rem rgba(14, 79, 158, 0.16);
}

.btn {
  font-weight: 700;
  border-width: 0;
}

.btn-primary {
  background: linear-gradient(125deg, var(--primary-color), #1a66c8);
  box-shadow: 0 12px 24px rgba(14, 79, 158, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(125deg, #0c468a, #1759ad);
  transform: translateY(-1px);
}

.btn-outline-primary {
  border-width: 2px;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

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

.btn-don-hidden {
  display: none !important;
}

@media (max-width: 991px) {
  .brand-subtitle {
    display: none;
  }

  .nav-link {
    margin-bottom: 6px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 88px;
  }

  .hero-section {
    min-height: 74vh;
  }

  .display-4 {
    font-size: 2.2rem;
  }

  .section-padding {
    padding: 64px 0;
  }

  .card-img-top {
    height: 208px;
  }

  .staff-grid .card-img-top {
    height: 250px;
  }

  .staff-grid .card-img-top.portrait-dorvilus,
  .staff-grid .card-img-top.portrait-ruth,
  .staff-grid .card-img-top.portrait-patricia,
  .staff-grid .card-img-top.portrait-emma,
  .staff-grid .card-img-top.portrait-sabrina {
    height: 250px;
  }

  .brand-title {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-mark img {
    width: 48px;
    height: 48px;
  }
}
