/* Hero Section */
* {
    padding: 0;
    margin: 0;
}

.programs-span {
    color: orange;
}

.banner-div {
    width: 95% !important;
    height: auto;
    position: relative;
    margin: auto;
    padding: 20px 0 0 0;
}

.banner-div img {
    width: 100% !important;
    height: 100%;
}

.program-section-slide {
    height: 70vh;
}

.program-section-slide img {
    height: 100%;
    width: 100%;
    object-position: center;
}

.gaushala-hero {
    margin: 0 auto;
    width: 95%;
    height: auto;
    display: flex;
    align-items: start;
    justify-content: space-between;
    color: black;
    padding: 180px 0 40px 0;
    position: relative;
}

.gaushala-hero-underdiv-box {
    width: 70%;
}

.gaushala-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: capitalize;
    text-shadow: 10px 0px 15px rgba(128, 128, 128, 0.466);
    color: #1e3a8a;
}


.donate-btn {
    /* width: 200px; */
    padding: 20px 40px;
    background-color: orangered;
    border: none;
    font-size: 20px;
    color: white;
    box-shadow: 0 0 20px 0 gray;
    border-radius: 5px;
    position: relative;
    z-index: 100;
    transition: all 0.2s ease;
    /* overflow: hidden; */
}

.donate-btn::after {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 10px;
    background-color: aqua;
    z-index: -1;
    transition: all 0.5s ease;
    transform: skewX(-10deg);
}

.donate-btn:hover::after {
    width: 50%;
}

.donate-btn:hover {
    color: navy;
    transform: scale(0.9);
    font-weight: bold;
}

.span-red {
    color: red;
}

.span-blue {
    color: blue;
}

.about-section {
    padding: 20px 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}


.upper-about-section-content {
    width: 95%;
    position: relative;
    margin: 0 auto;
    padding: 30px 0;
}

.upper-about-section-content p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 2rem;
    text-align: center;
    font-style: italic;
}




.about-container {
    width: 95%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    gap: 40px;
    margin: 0 auto;
}

.about-image {
    flex-grow: 1 0;
    width: 45%;
    height: 450px;
    position: relative;
    z-index: -1;
}

.before-div {
    width: 100%;
    height: 450px;
    top: -20px;
    position: absolute;
    right: -4%;
    background-color: gray;
    z-index: -1;
    /* transform: translateX(20px); */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.about-content {
    flex-grow: 1 0;
    width: 50%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-direction: column;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: orange;
    text-transform: capitalize;
}

.about-content p {
    font-size: 1rem;
    line-height: 2.4rem;
    color: #4a5568;
}


/* Slider Section */
.slider-section {
    background-color: #f7fafc;
    margin: 0 auto;
    width: 100%;
}

.slider-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: transparent;
    color: white;
    text-shadow: 0 0 50px black;
}

.slide-content h2 {
    font-size: 2.5rem;
    color: white;
}

.slide-content p {
    color: orangered;
    text-shadow: 0 0 20px white;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}



/* Donation Section */
.donation-section {
    width: 100%;
    margin: auto;
    padding: 4rem 0rem;
    background: linear-gradient(to bottom, white, rgb(199, 199, 222));
}

.donation-section h2 {
    width: 95%;
    margin: 0 auto;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3a8a;
    text-shadow: 0px 0px 5px gray;
    border: 1px solid black;
    padding: 10px 0;
}

.donation-cards {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.donation-card:hover {
    box-shadow: 0 10px 20px 0px gray;
    transform: scale(0.98);
}

.donation-card {
    border-radius: 10px;
    background: #fff;
    width: 280px;
    padding: 20px 10px;
    position: relative;
    height: auto;
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.donation-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}



.donation-card h3 {
    font-size: 1.5rem;
    padding: 10px 0;
}

.donation-card ul {
    width: 90%;
    font-size: 1.1rem;
    line-height: 1.7rem;
    padding: 10px 20px;
}

.card-donate-btn {
    width: auto;
    padding: 13px 30px;
    border-radius: 10px;
    background-color: aqua;
    color: black;
    border-width: 5px;
    border-style: solid;
    border-color: white;
    box-shadow: 0 0 10px 0px gray;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
}

.card-donate-btn:hover {
    background-color: aquamarine;
}

.donate-now-btn {
    z-index: 10;
    position: absolute;
    right: 10%;
    top: 8%;
}

.donation-card-underdiv {
    flex-grow: 1;
}

/* Gallery Sections */
.gallery-section,
.video-gallery-section {
    padding: 4rem 0rem;
    background-color: #f7fafc;
}

.gallery-section h2,
.video-gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.gallery-container,
.video-gallery-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-track,
.video-gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item,
.video-item {
    min-width: 300px;
    margin: 0 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img,
.video-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media screen and (max-width:1200px) {
    .donate-now-btn {
        z-index: 10;
        position: absolute;
        right: 10%;
        top: 5%;
    }
}

@media screen and (max-width:1024px) {
    .donation-section h2 {
        padding: 2rem 0 !important;
    }

    .donate-now-btn {
        top: 8.5%;
        right: 44%;
    }

    .donate-btn {
        font-size: 18px;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .gaushala-hero {
        height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .slide img {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .donation-cards {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .video-item {
        min-width: calc(100% - 2rem);
    }

    .about-container {
        flex-direction: column;
    }

    .about-image {
        width: 95%;
    }

    .about-content {
        width: 95%;
    }

    .gaushala-hero h1 {
        font-size: 2rem;
    }

    .donate-btn {

        padding: 10px 20px;
        font-size: 15px !important;
    }

    .upper-about-section-content p {
        font-size: 1.3rem;
    }

    .about-content h2,
    .gallery-section h2,
    .section-header h2 {
        font-size: 2rem !important;
    }

    .donation-section h2 {
        font-size: 2rem;
        padding: 2rem 0 4rem 0 !important;
    }

    .donation-card h3 {
        font-size: 1.5rem;
    }

    .card-donate-btn {
        padding: 10px 20px;
        font-size: 1.1rem;
    }

    .donation-section h2 {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0px 100px 0px;
        position: relative;
    }

    .donate-now-btn {
        top: 8.5%;
        right: 44%;
    }
}

@media screen and (max-width:550px) {
    .gaushala-hero h1 {
        font-size: 1.7rem;
    }

    .donate-btn {
        padding: 10px 20px;
        font-size: 14px !important;
    }

    .upper-about-section-content p {
        font-size: 1.2rem;
    }

    .about-content h2,
    .gallery-section h2,
    .section-header h2 {
        font-size: 1.7rem !important;
    }

    .donation-section h2 {
        font-size: 1.7rem;
    }

    .donation-card h3 {
        font-size: 1.4rem;
    }

    .donation-card ul {
        font-size: 1rem;
    }

    .card-donate-btn {
        padding: 10px 20px;
        font-size: 1.1rem;
    }

    .donation-section h2 {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0px 100px 0px;
        position: relative;
    }

    .donate-now-btn {
        top: 5%;
        right: 38%;
    }

}