* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 18px;
    font-family: system-ui, "Arial", sans-serif;
    color: #222;
    line-height: 1.6;
}

h1 {
    font-weight: 600;
}


/* NAVBAR */
.navbar {
    font-size: large;
    font-weight: 600;
    transition: color 0.3s, font-weight 0.3s; 
    margin: 0;
    padding: 0;
}

.navbar {
    font-size: large;
    font-weight: 600;
    transition: color 0.3s, font-weight 0.3s; 
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-link:hover {
    color: #2D3B92;
}

.btn-donate {  
    font-size: large;
    background-color: #2D3B92; 
    color: white; 
    border: 1px solid #2D3B92;
    font-weight: bolder;
    padding: 10px 25px; 
    border-radius: 30px; 
    box-sizing: border-box; 
}

.btn-donate:hover { 
    font-size: large;
    background-color: white;
    color: #2D3B92;
    border: 1px solid #2D3B92;
    padding: 10px 25px;
    border-radius: 30px;
}

/* NAVBAR END*/


/* HERO SECTION */
.hero {
    margin-top: 70px;
    position: relative; 
    background-image: url('../images/people-meeting-barter-event-exchange-goods_23-2150208160.jpg');
    background-position: center;
    background-size:cover;
    color: white; 
    height: 120vh;
    display: flex; 
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
}

/* Dark overlay to improve text visibility */
.hero::before {
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-color: rgba(0, 0, 0, 0.4); 
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1; 
}

.hero-content {
    position: relative; 
    z-index: 2; 
    color: white;
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem; 
    margin-bottom: 10px; 
    opacity: 0;
    animation: slideInUp 1.5s ease-in-out forwards;
    color: whitesmoke;
}

.hero p {
    font-size: 18px; 
    margin-bottom: 20px;
    opacity: 0;
    animation: slideInUp 1.8s ease-in-out forwards;
    animation-delay: 0.2s;
    color: #f2e3ca;
}

.cta-btn {
    background-color: #386f22;
    background-color: #2D3B92;
    background-color: #af710e;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease-in-out;
}

.cta-btn:hover {
    background-color: #815206;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .hero {
        height: 70vh;
        width: 100%;
        max-width: 100%;
    }
}

/* HERO SECTION END*/



/* Our story */
.who-we-are {
    background-color: #e6f0f7;
    padding-top: 40px;
    padding-bottom: 40px;
}

.who-we-are-text {
    max-width: 70%;
    text-align: center;
    margin: 1rem auto;
}

.section-header {
    color: #2D3B92;
}


/* WHO WE ARE */



/* MISSION & VISION */
.vision {
    color: whitesmoke; 
    margin-top: 40px;
}

.vision h3 {
    color: rgb(233, 241, 234);
    font-family: 'Roboto', sans-serif;
    background-color: #2D3B92;
    border-radius: 10px;
    padding: 3px 0;
}

.vision p {
    padding-top: 10px;
}

/* MISSION & VISION END */


/* OUR OBJECTIVES */
.objectives-section {
    background: linear-gradient(90deg, #194508ee #4B8534 );
    /* background: linear-gradient(135deg, #086f87, #2D3B92); */
    background-color: #1c4e09ee;
    color: #fff;
    padding: 24px;
    border-radius: 10px;
}

.objectives-section img {
    border-radius: 10px;
}

.objectives-box h2 {
    margin-bottom: 24px;
    font-size: 24px;
}

.objectives-text {
    font-style: italic;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.2;
    color: #e6fcf5;
}

.objectives-author {
    color: #c3fae8;
}

.heading{
    font-weight: bold;
    color: #555;
    margin-bottom: 20px;
    color: #2D3B92;
  }

.objectives-container img {
    width: 100%;
    height: 300px;
    max-width: 100%;
    object-fit: cover;  
    object-position: center;
    transition: transform 0.3s ease-in-out;
}
  
.carousel-control-prev-icon,
.carousel-control-next-icon {
    /* background-color: #2D3B92; */
    background: none;
    border-radius: 50%;
    padding: 10px;
    color: white;
}

  /* OUR OBJECTIVES END */

  

/* FOUNDER-SECTION */

.founder-section {
    padding: 60px 0;
}

.founder-section h1 {
    color: #2D3B92;
    text-align: center;
}

.founder-section p {
    margin-top: 10px;
    text-align: center;
}

.founder-section a {
    text-decoration: none;
}

.founder-image {
    width: 100%;
    height: 480px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* @media (max-width: 600px) {
    .founder-image {
        text-align: center;
        width: 100%;
        height: 300px;
        border-radius: 8px;
        object-fit: cover;
        object-position: center;
        display: block;
    }
} */

/* FOUNDER-SECTION END */



/* TEAM */
.team {
    padding: 40px 0;
    text-align: center;
}

.team h1 {
    margin-bottom: 10px;
    color: #2D3B92;
}

.team p {
    margin-bottom: 30px;
    color: #333;
}

.team-member h5 {
    margin-top: 15px;
    margin-bottom: 0;
}

.team-member p {
    font-size: 14px;
    color: #555;
}

.team a {
    text-decoration: none;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 20px;
    display: inline-block; 
    color: #2D3B92; 
}

.team img {
    border-radius: 50%;        
    width: 120px;              
    height: 120px;             
    object-fit: cover;      
    margin-bottom: 15px;       
    transition: transform 0.3s ease-in-out; 
}

.team img:hover {
    transform: scale(1.1); 
}

.row.justify-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.col-md-3 {
    padding: 10px;
}

@media (max-width: 768px) {
    .team h1 {
        font-size: 2rem;
    }
    .team img {
        width: 120px; 
        height: 120px;
    }
}
 

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 
/* TEAM */



/* GET INVOLVED */
.get-involved {
    background: linear-gradient(140deg, #086f87, #273697);
    margin-top: 60px;
    margin-bottom: 60px;
    border-radius: 25px;
}

.get-involved h1 {
    color: white;
    /* font-family: "Great Vibes"; */
}

.get-involved p {
color: white;
}

.get-involved a {
    color: #2D3B92;
}

.get-involved .cta-btn {
    background-color: white; 
    color: #2D3B92; 
    padding: 12px 25px; 
    font-size: 16px; 
    text-align: center;
    display: inline-block;
    text-decoration: none; 
    border-radius: 25px; 
    transition: all 0.3s ease; 
}

/* Hover effect */
.get-involved .cta-btn:hover {
    background: linear-gradient(140deg, #086f87, #273697);
    color: white; 
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .values {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        flex-direction: column;
        gap: 30px;
        margin-top: 20px;
    }

    .stat {
        width: 100%;
    }

    .team {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        padding: 12px 25px;
    }
}

@media (max-width: 570px) {
    body {
        font-size: 16px;
    }

    .hero {
        height: 70vh;
    }
    .hero h1 {
        font-size: 2.5rem; 
        padding-top: 150px;
    }
    .hero::before {
        background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) -70%, rgba(0, 0, 0, 0) 100%);
    }
    .hero p {
        font-size: 1.1rem; 
    }

    /* Our story */
    .who-we-are-text {
        max-width: 90%;
        text-align: center;
    }
    .who-we-are {
        background-color: #e6f0f7;
        padding-top: 40px;
        padding-bottom: 20px;
    }

    /* Mission % Vision */
    .vision {
        color: whitesmoke; 
        margin-top: 20px;
        text-align: center;
    }

    /* Our Objectives */
    .objectives-box h2 {
        padding-top: 10px;
    }

    /* Team Members */
    .team .row.justify-content-center .col-md-3 {
        flex: 0 0 50%; /* Make each column take up 50% of the row */
        max-width: 50%; /* Ensure they don't exceed 50% */
    }
    
    .team .row {
        flex-wrap: wrap; /* Ensure wrapping to the next row when needed */
    }
    
    .team img {
        margin: auto; /* Center the images */
    }

    .team {
        padding-bottom: 10px !important;
    }

      /* Get Involved */
      .get-involved {
        border-radius: 0;
        padding: 20px !important;
    }
    
}

/* Center the donate button on small screens */
@media (max-width: 991.98px) {
    .center-donate {
      display: flex;
      justify-content: center; /* Horizontally center */
      margin-top: 10px; /* Optional: Add spacing */
      width: 100%; /* Take full width */
      margin-bottom: 10px;
    }
  }

