* {
    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/index-hero.webp'); */
    background-image: url('../images/index-hero2.webp');
    background-size: cover;
    background-position: center;
    color: white; 
    height: 120vh;
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center; 
}

/* Dark overlay to improve text visibility */
.hero::before {
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    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; 
    padding: 2rem; 
    color: white; 
}

.hero h1 {
    font-size: 2.9rem;
    margin-bottom: 1rem; 
    opacity: 0;
    animation: slideInDown 1.5s ease-in-out forwards;
    animation-delay: 0.2s;
}
@keyframes slideInDown { 
    0% { transform: translateY(-50%); 
        opacity: 0; 
    } 
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    } 
}

.hero p {
    font-size: 1.3rem; 
    font-weight: 600;
    margin-bottom: 1.5rem; 
    margin-bottom: 40px;
    opacity: 0;
    animation: slideInUp 1.5s ease-in-out forwards;
    animation-delay: 0.2s;
    color: #fff;
}

.one {
    color: #F09C11;
    font-weight: 600;
}

.two {
    color: #2D3B92;
}

.hero-button {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: large;
    transition: background-color 0.3s ease;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease-in-out;
    opacity: 0;
    animation: fadeIn 3.5s ease-in-out forwards;
    border: none;
}

.hero-button-one {
    background-color: #F09C11;
}

.hero-button-two {
    background-color: #2D3B92;
}

.hero-button-one:hover {
    background-color:#8b590a;
    transform: translateY(-3px);
    transform: scale(1.02);
}

.hero-button-two:hover {
    background-color:#0c1864;
    transform: translateY(-3px);
    transform: scale(1.02);
}

/* 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);
    }
} 

/* HERO SECTION END*/


/* ABOUT SECTION*/
.about-section {
    padding: 70px 0;
    background-color: #f2f4f5;
}

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

.about-description {
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-description1 {
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-button {
    background-color: #F09C11;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.about-button:hover {
    background-color: #8b590a;
    transform: scale(1.05);
}

.about-image {
    transition: transform 0.4s ease;
    border-radius: 15px;
    width: 100%;   
    max-width: 500px;          
    height: 400px; 
    object-fit: cover;
    object-position: center;
    border: 10px solid #50AAE3;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}

/* ABOUT SECTION END */


/* VISION */
.vision {
    background-color: #dfe1e2;
    position: relative;
    padding: 70px 0;
}

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

.vision p {
    margin-bottom: 40px;
}

.vision-button {
    background-color: #F09C11;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.support-us {
    background-color: #2D3B92;
}

.vision-button:hover {
    background-color: #8b590a;
    transform: scale(1.05);
}

.support-us:hover {
    background-color: #0c1864;
    transform: scale(1.05);
}

/* Base styles for the circles */
.circle {
    position: absolute;
    border-radius: 50%;
}

/* Top-right circle */
.top-right {
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background-color: #50AAE3;
}

/* Bottom-left circle */
.bottom-left {
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background-color: #4B8534;
}


/* VISION END */


/* WHAT WE STAND FOR */
.card-hover {
    transition: .3s;
}

.card-hover:hover {
    transform: scale(1.02);
}
/* WHAT WE STAND FOR END */


/* EVENTS */
#events .section-header {
    font-weight: bold;
    color: #2D3B92;
}

.row-padding{
    padding: 0 20px;
}

.events-description {
    padding-top: 160px;
}

.event-section img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    border-radius: 6px;
}

.view-events {
    background-color: white;
    border: 2px solid #F09C11;
    color: #F09C11;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
}

.view-events:hover {
    background-color: #F09C11;
    padding: 12px 25px;
    color: #fff;
    border: none;
    font-weight: 600;
    border: 2px solid #F09C11;
}

/* EVENTS END */


/* PARTNER */
.partner-section {
    margin-top: 30px;
    margin-bottom: 70px;
}

.partner-content h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #2D3B92;
}

.partner-bg {
    background-color: #4B8534;
}

.company-name2 {
    padding: 60px 0;
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
}



/* Media query <= 600px */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .hero {
        height: 80vh;
    }
    .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 h1 {
        font-size: 2rem;
        padding-top: 150px;
        font-weight: bold;
    }
    .hero p {
        font-size: 1.1rem; 
        color: #f2e3ca;
    }
    .one {
        color: #f2e3ca;
    }
    .two {
        color: #f2e3ca;
    }
    span {
        color:#fff;
        font-weight: 700;
    }
    .hero-button {
        display: none;
    }

    /* About */
    #about .about-title {
        padding-bottom: 0;
    }

    #about .about-description,
    #about .about-description1,
    #about .about-title {
    text-align: center; 
    }

    #about img {
    order: 3; /* Image comes after paragraphs */
    max-width: 100%; /* Ensure the image scales properly */
    height: auto;
    border: 5px solid #50AAE3 !important;
    }

    #about .about-button {
    display: none;
    }

    .about-section {
        padding: 30px 0;
        background-color: #f2f4f5;
    }

    /* Vision */

    .vision {
        padding: 30px 0;
    }
    
    .vision p {
        margin-bottom: 20px;
    }
    
    .vision-button {
        display: none;
    }
    
    .support-us {
        background-color: #2D3B92;
    }

    .custom-img {
        transition: transform 0.4s ease;
        width: 100%;   
        max-width: 400px !important;          
        object-fit: cover;
        object-position: center;
        border: 5px solid #F09C11 !important;
    }


    /* Events */
    .events-description {
        padding-top: 0px;
        text-align: center;
    }
    .events-description h2 {
        font-size: 20px;
        color: #F09C11;
    }
    #events .section-header {
        margin-bottom: 30px !important;
    }
    .view-events {
        background-color: #F09C11;
        background-color: white;
        color: #fff;
        color: #F09C11;
        padding: 6px 12px;
        border-radius: 10px;
        font-weight: 600;
    }
    .view  {
        margin-top: 20px !important;
    }

    /* Donate */
    #donate .container{
        padding: 20px 10px !important;
    }


    /* Partner */
    .partner-section {
        margin-top: 30px;
        margin-bottom: 70px;
    }

    .partner-content h1 {
        font-size: 2rem;
        margin-bottom: 30px;
        color: #2D3B92;
    }

    .partner-bg {
        background-color: #4B8534;
    }

    .company-name2 {
        padding: 30px 0;
        /* font-family: 'Cinzel', serif; */
        font-size: 2.5rem;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
    }

    /* Base styles for the circles */
    .circle {
        position: absolute;
        border-radius: 50%;
    }

    /* Top-right circle */
    .top-right {
        top: -20px;
        right: 20px;
        width: 60px;
        height: 60px;
        background-color: #50AAE3;
    }

    /* Bottom-left circle */
    .bottom-left {
        bottom: -20px;
        left: 20px;
        width: 60px;
        height: 60px;
        background-color: #4B8534;
    }
}


@media (min-width: 601px) and (max-width: 768px) {
    body {
        font-size: 17px;
    }
    .hero p {
        color: #fff;
    }

    .one {
        color: #fff;
    }
    .two {
        color: #fff;
    }

    .hero-button {
        display: none;
    }

    /* About */
    #about .about-description,
    #about .about-description1,
    #about .about-title {
    text-align: center; 
    max-width: 100%;
    }

    #about img {
    width: 100%;
    max-width: 100%; /* Ensure the image scales properly */
    }

    #about .about-button {
    display: none;
    }

    /* Vision */

    .vision {
        max-width: 100%;
    }
    
    .vision-button {
        display: none;
    }

    /* Events */
    .events-description {
        padding-top: 0px;
        /* text-align: center; */
    }

    #events h1 {
        margin-bottom: 30px !important;
    }

    .events-description h2 {
        color: #F09C11;
    }
    .events-description p {
        padding-bottom: 20px;
    }

    /* Top-right circle */
    .top-right {
        top: -20px;
        right: -10px;
        width: 90px;
        height: 90px;
        background-color: #50AAE3;
    }

    /* Bottom-left circle */
    .bottom-left {
        bottom: -20px;
        left: -20px;
        width: 90px;
        height: 90px;
        background-color: #4B8534;
    }

    
}


@media (min-width: 769px) and (max-width: 991px) {
    /* Removes the support us button */
    .d-flex a:nth-of-type(2) {
        display: none;
    }
    .vision a  {
        margin-bottom: 50px;
    }  
    .vision p {
        margin-bottom: 30px;
    }
    .events-description {
        padding-top: 0px;
    }
    .events-description h2 {
        color: #F09C11;
        color: #4B8534;
    }



}


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


