/* General Styles */
body {
    margin: 0;
    font-family: 'Coming Soon', sans-serif;
    background-color: #0B2F40;
    color: white;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: white;
}

.top-bar {
  background-color: #775729;
  padding: 20px;
  display: flex;
  align-items: center;
  color: white;
}

.top-bar img {
  height: 60px;
  margin-right: 15px;
}

.top-bar h1 {
  font-size: 20px;
  margin: 0;
  font-family: 'Fredoka', sans-serif;
}
.nav-bar {
  background-color: white;
  border-radius: 30px;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  padding: 19px 80px;
  gap: 150px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 15px 20px;
  gap: 20px;
}

@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.nav-bar a {
  color: black;
  text-decoration: none;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
    background-image: url('https://placehold.co/1920x1080/0B2F40/0B2F40?text=Hero+Background+Image');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px 120px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
      animation: fadeLeft 1s ease-in-out;

}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    box-sizing: border-box;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    margin-bottom: 60px;
     animation: fadeLeft 1s ease-in-out;

}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 25px;
    line-height: 1.2;
      animation: fadeLeft 1s ease-in-out;
}

.hero-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
      animation: fadeLeft 1s ease-in-out;

}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.section {
  padding: 40px 20px;
  color: white;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
 .section {
  min-height: 100vh; /* allows content to grow beyond */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

}

html {
  scroll-behavior: smooth;
}

.scroll-container {
  scroll-snap-type: y mandatory;
}

.section {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 80px 20px 40px;
  box-sizing: border-box;
}


.call-to-action {
    font-size: 1.2em;
    margin-top: 40px;
    font-weight: 600;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.8em;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* About Us Section */
.about-us-section {
    background-color: #0B2F40;
    padding: 80px 20px;
    color: white;
    text-align: center;
    animation: fadeLeft 1s ease-in-out;
}

.about-us-section .section-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeLeft 1s ease-in-out;
}

.about-image {
    flex: 1;
    min-width: 300px;
    animation: fadeLeft 1s ease-in-out;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: fadeLeft 1s ease-in-out;
}

/* ✅ About Image Replaced Below */
.about-image img {
    content: url('https://i.postimg.cc/6QXDHTpH/Screenshot-2025-05-25-115759.png');
}

.about-text {
    flex: 2;
    text-align: left;
    min-width: 300px;
    animation: fadeLeft 1s ease-in-out;
}

.about-text h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 300;
}

/* What We Do Section */
.what-we-do-section {
    background-color: #775729;
    padding: 80px 20px;
    text-align: center;
    color: #222;
    animation: fadeLeft 1s ease-in-out;
}

.what-we-do-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: white;
    animation: fadeLeft 1s ease-in-out;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 3em;
    color: #0B2F40;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.card p {
    font-size: 0.95em;
    color: #555;
    font-weight: 300;
}

/* Call to Action Section */
.cta-section {
    background-color: #0B2F40;
    padding: 100px 20px;
    text-align: center;
    color: white;
    background-image: url('https://placehold.co/1920x400/0B2F40/0B2F40?text=CTA+Background+Image');
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1em;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.volunteer-btn {
    background-color: #775729;
    color: white;
}

.volunteer-btn:hover {
    background-color: #6a4c25;
    transform: translateY(-3px);
}

.donate-btn {
    background-color: #324B5C;
    color: white;
}

.donate-btn:hover {
    background-color: #2a3e4c;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: #86868D;
    color: #222;
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    align-items: center;
    font-family: 'Fredoka', sans-serif;
    border-top: 0px solid #a856ec;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left h3 {
    color: #FFFFFF;
    margin-bottom: 22px;
    font-weight: bold;
    font-size: 24px;
}

.footer-left p {
    margin: 8px 0;
    font-size: 14px;
    color: #222;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.footer-left i {
    margin-right: 10px;
    color: #222;
}

.footer-left a {
    color: #222;
    text-decoration: none;
}

.footer-right {
    text-align: center;
    flex-shrink: 0;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.footer-brand {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 26px;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-left {
        margin-bottom: 20px;
    }

    .footer-left p {
        justify-content: center;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-left h3 {
        font-size: 20px;
    }

    .footer-left p {
        font-size: 12px;
    }

    .footer-brand {
        font-size: 22px;
    }
}

.handwritten-font {
    font-family: 'Coming Soon', sans-serif;
}
