/* === GLOBAL RESETS === */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #222;
  background-color: #fafafa;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: #1b3a5e;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === NAVBAR === */
.site-header {
  background-color: #1b3a5e; /* deep blue */
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.site-header nav a {
  color: #f4f4f4;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-header nav a:hover {
  color: #90caf9; /* lighter blue hover */
}

.donate-btn {
  background-color: #ffb300;
  color: #1b3a5e !important;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.donate-btn:hover {
  background-color: #ffd54f;
}
/* === PAGE SECTIONS === */
.page-section {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.page-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.page-section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* --- Hero Header --- */
.hero {
    background: url("../static/images/anselmo.jpg") center/cover no-repeat;
    height: 60vh;
    position: relative;
    color: white;
    /*border-top: 1px solid #0070ba;   /* new top blue border */
    /*border-bottom: 4px solid #0070ba; /* existing bottom blue border */
}

.hero .overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.donate-btn {
    background: #ffc439;
    color: #111;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
}

.donate-btn:hover {
    background: #ffb347;
}

/* --- Sections --- */
section {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: auto;
}

h2 {
    color: #0070ba;
    text-align: center;
    margin-bottom: 1rem;
}

/* === MEET OUR CHILDREN === */
.children-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.child-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.child-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.child-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.child-card h3 {
  margin: 0.75rem 0 0.25rem 0;
  color: #1b3a5e;
}

.child-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 1rem 1.5rem 1rem;
}

/* === FAQ PAGE === */
.faq-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item h3 {
  color: #1b3a5e;
  margin-top: 0;
}

.faq-item p {
  color: #444;
  line-height: 1.6;
}
/* === ABOUT PAGE === */
.alt-bg {
  background-color: #f0f4f8;
  border-radius: 12px;
  padding: 3rem 1.5rem;
}

.about-founder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.about-founder img {
  width: 500px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.founder-text {
  max-width: 500px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

.about-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.about-image-section img {
  width: 350px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.about-image-section p {
  max-width: 500px;
  color: #444;
  line-height: 1.6;
}

/* Swiper in About page */
.about-swiper {
  margin-top: 2rem;
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.about-swiper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* --- About Layout --- */
.content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.content-row .text {
    flex: 1;
    min-width: 250px;
}

.content-row .image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.content-row img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Gallery --- */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.image-gallery img {
    width: 45%;
    max-width: 400px;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.caption {
    text-align: center;
    font-style: italic;
    color: #555;
}

.swiper {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
}

.swiper-slide img {
    width: 100%;
    height: 500px; /* adjust as needed */
    object-fit: contain;
    border-radius: 1.0rem;
}

/* --- Donate Section --- */
.donate-section {
    background: #f0f8ff;
    border-top: 3px solid #0070ba;
    border-bottom: 3px solid #0070ba;
    text-align: center;
}

.donate-section form {
    margin-top: 1.5rem;
}

#location {
    text-align: center;
    padding: 2rem 1rem;
}

#map {
  width: 100%;
  height: 400px; /* or whatever fits your layout */
  border-radius: 8px;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


/* --- Footer --- */
footer {
    background: #0070ba;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    position: relative;
    border-top: 4px solid #005b96; /* darker blue accent line */
}

.footer-quote {
    font-style: italic;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    color: #dceeff; /* soft, light-blue tone for text */
    margin: 1rem auto 0;
    max-width: 600px;
}

.footer-quote-author {
    color: #ffffff;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 700px) {
    .hero h1 { font-size: 1.8rem; }
    .image-gallery img { width: 90%; }
    .content-row { flex-direction: column; }
}
