@import 'colors.css';

/********** Template CSS **********/

* {
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    max-width: 100%;

}

html {
    max-width: 100%;
    overflow-x: hidden;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background-color: #1e1e2f;
    color: #fff;
    font-weight: bold;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #2d2d44;
    color: var(--primary);
    border-color: var(--secondary);
    box-shadow: 0 0 12px var(--secondary), 0 0 24px var(--secondary), inset 0 0 6px var(--secondary);
    transform: translateY(-3px);
}
@media (max-width: 1024px) {
    .back-to-top {
        right: 25px;
        bottom: 25px;
        padding: 0.7rem 0.9rem;
        font-size: 17px;
    }
}

/* 900px and below */
@media (max-width: 900px) {
    .back-to-top {
        right: 22px;
        bottom: 22px;
        padding: 0.65rem 0.85rem;
        font-size: 16px;
    }
}

/* 768px and below (Tablets) */
@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        padding: 0.6rem 0.8rem;
        font-size: 15px;
    }
}

/* 480px and below (Mobiles) */
@media (max-width: 480px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        padding: 0.5rem 0.7rem;
        font-size: 14px;
    }
}

/* 425px and below */
@media (max-width: 425px) {
    .back-to-top {
        right: 14px;
        bottom: 14px;
        padding: 0.45rem 0.65rem;
        font-size: 13px;
    }
}

/* 375px and below */
@media (max-width: 375px) {
    .back-to-top {
        right: 12px;
        bottom: 12px;
        padding: 0.4rem 0.6rem;
        font-size: 12px;
    }
}

/* 360px and below */
@media (max-width: 360px) {
    .back-to-top {
        right: 10px;
        bottom: 10px;
        padding: 0.35rem 0.55rem;
        font-size: 11.5px;
    }
}

/* 320px and below (Smallest Devices) */
@media (max-width: 320px) {
    .back-to-top {
        right: 8px;
        bottom: 8px;
        padding: 0.3rem 0.5rem;
        font-size: 11px;
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.main_heading_pages {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Donate Buttton For All Page */
/* Donate Button - Base Style */
/* Removed empty ruleset for .donate-container */

.donate-button {
    position: fixed;
    right: 20px;
    top: 50%;
    padding: 4px 6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1000;
}

.donate-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(238, 9, 121, 0.5);
}

.donate-visible .donate-button {
    opacity: 1;
    pointer-events: auto;
}

.hearts {
    text-align: center !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
    .donate-button {
        right: 18px;
        padding: 6px 10px;
        font-size: 15px;
    }
}

/* 900px and below */
@media screen and (max-width: 900px) {
    .donate-button {
        right: 16px;
        padding: 6px 8px;
        font-size: 15px;
    }
}

/* 768px and below (Tablets) */
@media screen and (max-width: 768px) {
    .donate-button {
        right: 14px;
        padding: 5px 8px;
        font-size: 14px;
    }
}

/* 480px and below (Big Mobiles) */
@media screen and (max-width: 480px) {
    .donate-button {
        right: 12px;
        padding: 4px 6px;
        font-size: 13px;
    }
}

/* 425px and below */
@media screen and (max-width: 425px) {
    .donate-button {
        right: 10px;
        padding: 4px 5px;
        font-size: 12px;
    }
}

/* 375px and below */
@media screen and (max-width: 375px) {
    .donate-button {
        right: 8px;
        padding: 4px 4px;
        font-size: 11px;
    }
}

/* 360px and below */
@media screen and (max-width: 360px) {
    .donate-button {
        right: 6px;
        padding: 3px 4px;
        font-size: 10.5px;
    }
}

/* 320px and below (Smallest phones) */
@media screen and (max-width: 320px) {
    .donate-button {
        right: 5px;
        padding: 3px 3px;
        font-size: 10px;
    }
}

/* Donate Buttton For All Page End*/


/*navbar*/

.footer-column h4 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-column h4::after {
    content: "";
    display: block;
    width: 154px;
    height: 2.5px;
    background-color: #ffffff;
    /* Or any color you like */
    margin-top: 5px;
}

.mainNav__dropdown {
    position: relative;
}

.dropdown-content {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    /* ensures it drops below the navbar */
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    /* curvy corners */
    min-width: 200px;
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.mainNav__dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.mainNav {
    position: fixed !important;
}

.dropdown-item {
    padding: 12px 9px;
    text-decoration: none;
    display: block;
    color: #333;
    border-radius: 8px;
    font-size: 14px;
    /* slight rounding for each item */
    transition: background-color 0.2s ease;
    text-transform: none;

}

.dropdown-item:hover {
    background-color: var(--primary);
    color: #fff !important;
    text-transform: none;

}

.mainNav.donate-btn {
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-transform: none;
    margin-left: 2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.mainNav__links a.donate-btn:hover {
    background-color: var(--secondary);
    color: black !important;
    transform: scale(1.05);


}

.mainNav {
    height: 80px;
    position: absolute;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
    /* text-transform: uppercase; */
    padding: 10px 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    left: 5rem;
    right: 5rem;
   
}

.mainNav__link:hover {

    color: var(--primary);
}


@media (max-width: 375px) {
    .mainNav {
        height: 63px;
        width: 100% !important;
        left: 0rem;
        right: 0rem;
        top: 0rem;
    }
}
@media screen and (max-width: 799px) {
    .mainNav {
        padding: 0;
        margin-bottom: 0 !important;
    }
}

.mainNav__logo {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 18px;
}

.mainNav__links {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 799px) {
    .mainNav__links {
        display: none;
    }
}

.mainNav__link {
    letter-spacing: 2px;
    font-size: 16px;
    margin-left: 20px;
    font-weight: 600;
    box-shadow: inset 0px -10px 0px rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease, transform 0.2s ease;
    padding: 2px 4px;
    transform: translateY(0px);
}

.mainNav__links a {
    color: #000000;
    letter-spacing: 0;
}

.mainNav_link a:hover {
    color: var(--primary) !important;

}

.mainNav__links a.donate-btn {

    background-color: var(--primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    text-transform: none;
    margin-left: 2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* 
.mainNav__link:hover {
     transform: translateY(-5px);
    text-decoration: underline;
    color: var(--primary);  
    

} */
.mainNav__icon {
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    padding-left: 10px;
}

@media screen and (max-width: 799px) {
    .mainNav__icon {
        display: block;
    }
}

/* MOBILE & TABLET RESPONSIVENESS */
@media screen and (max-width: 799px) {
    .mainNav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background-color: white;
        padding: 1rem 2rem;
        display: none;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 99;
    }

    .mainNav__links.active {
        display: flex;
    }

    .mainNav__dropdown {
        width: 100%;
    }

    .mainNav__link,
    .dropdown-item {
        margin: 10px 0;
        padding-left: 0;
    }

    .dropdown-content {
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
        padding-left: 1rem;
        display: none;
    }

    .mainNav__dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown-item {
        background-color: transparent;
        color: #333;
    }
}

@media screen and (max-width: 1024px) {
    .mainNav__links {
        display: none;
    }

    .mainNav__icon {
        display: block;
    }

    .mainNav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background-color: white;
        padding: 1rem 2rem;
        display: none;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 99;
    }

    
.mainNav__links a.donate-btn {

    background-color: var(--primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    text-transform: none;
    margin-left: 0rem !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
    .mainNav__links.active {
        display: flex;
    }

    .mainNav__dropdown {
        width: 100%;
    }
.mainNav__dropdown{
    margin: 10px 0;
    padding-left: 0;
}
    .mainNav__link,
    .dropdown-item {
        margin: 10px 0;
        padding-left: 0;
    }

    .dropdown-content {
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
        padding-left: 1rem;
        display: none;
    }

    .mainNav__dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown-item {
        background-color: transparent;
        color: #333;
    }
}

/*nav bar end*/
.mainHeading {
    background: -moz-linear-gradient(45deg, #fff154 0%, #26c9f2 29%, var(--primary) 66%, #ffa079 100%);
    background: -webkit-linear-gradient(45deg, #fff154 0%, #26c9f2 29%, var(--primary) 66%, #ffa079 100%);
    background: linear-gradient(45deg, #fff154 0%, #26c9f2 29%, var(--primary) 66%, #ffa079 100%);
    background-size: 400% 400%;
    -webkit-animation: Gradient 15s ease infinite;
    -moz-animation: Gradient 15s ease infinite;
    animation: Gradient 15s ease infinite;
    /*min-height: calc(100vh - 2rem);*/
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-evenly;
    overflow: hidden;
    position: relative;
}

.mainHeading::before,
.mainHeading::after {
    content: "";
    width: 70vmax;
    height: 70vmax;
    position: absolute;
    background: rgba(255, 255, 255, 0.07);
    left: -20vmin;
    top: -20vmin;
    animation: morph 15s linear infinite alternate, spin 20s linear infinite;
    z-index: 1;
    will-change: border-radius, transform;
    transform-origin: 55% 55%;
    pointer-events: none;
}

.mainHeading::after {
    width: 70vmin;
    height: 70vmin;
    left: auto;
    right: -10vmin;
    top: auto;
    bottom: 0;
    animation: morph 10s linear infinite alternate, spin 26s linear infinite reverse;
    transform-origin: 20% 20%;
}

@-webkit-keyframes Gradient {
    0% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0 50%
    }
}

@-moz-keyframes Gradient {
    0% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0 50%
    }
}

@keyframes Gradient {
    0% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0 50%
    }
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    }

    100% {
        border-radius: 40% 60%;
    }
}

@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

.st0 {
    display: none;
}

.st1 {
    display: inline;
}

.st2 {
    opacity: 1;
}

.st3 {
    fill: #FFFFFF;
}

.st4 {
    clip-path: url(#SVGID_2_);
    fill: #FFFFFF;
}

.st5 {
    clip-path: url(#SVGID_4_);
}

.st6 {
    clip-path: url(#SVGID_6_);
}

.st7 {
    clip-path: url(#SVGID_8_);
}

.st8 {
    clip-path: url(#SVGID_10_);
}

.st9 {
    fill: none;
}

.st10 {
    clip-path: url(#SVGID_12_);
}

.st11 {
    opacity: 1;
}

.st12 {
    clip-path: url(#SVGID_14_);
}

.st13 {
    opacity: 1;
}

.st14 {
    clip-path: url(#SVGID_16_);
}

.st15 {
    opacity: 1;
    fill: #FFFFFF;
    enable-background: new;
}

.mainHeading {
    width: 100%;
    height: 100%;
    position: relative;
    /* background-image: linear-gradient(to top, var(--primary) 30%, var(--light-green) 70%); */
}

@media screen and (max-width: 799px) {
   
}

.mainHeading__content {
    height: 95vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 799px) {
    .mainHeading__content {
        min-height: 0px;
    }
}

.mainHeading__text {
    z-index: 3;
    color: #637498;
    background-image: linear-gradient(to bottom, #fff75f 20%, var(--secondary) 80%);
    padding: 40px;
    max-width: 30%;
    backdrop-filter: blur(8px);
    position: relative;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Adds a subtle shadow */
    border: 1px solid rgba(99, 116, 152, 0.2);
    /* Adds a border for better definition */
    display: flex;
    flex-direction: column;
    margin-bottom: 3%;
    justify-content: end;
}

@keyframes dropFromTop {
    0% {
        opacity: 0;
        transform: translateY(-200px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line {
    0% {
        right: 0;
        width: 100%;
        opacity: 0;
    }
}

@media screen and (max-width: 799px) {
    .mainHeading__text {
        padding: 20px;
        margin: 90px 0 40px 0;
    }
}

@keyframes text {
    0% {
        opacity: 0;
        transform: translateX(200px);
    }
}

.mainHeading__preTitle {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #6c6c6c;
}

.mainHeading__title {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-size: 40px;
    color: #8bc34ab0;
}

.first-word::after {
    content: "";
    /* Line break */
    white-space: pre;
}

@media screen and (max-width: 799px) {
    .mainHeading__title {
        margin-bottom: 16px;
        font-size: 28px;
    }
}

.mainHeading__description {
    letter-spacing: 0.5px;
    font-size: 16px;
    line-height: 26px;
}

@media screen and (max-width: 799px) {
    .mainHeading__description {
        font-size: 14px;
    }
}

element.style {
    display: none;
}
.mainHeading__image {
    right: -55px;
    width: 107%;
    height: 152%;
    transform: translatey(80px);
    position: absolute;
    /* overflow: hidden; */
    /* border-top-left-radius: 150px; */
    /* border-bottom-right-radius: 150px; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    top: -6rem;
}

.mainHeading__image {
    position: absolute;
    right: -55px;
    width: 107%;
    height: 152%;
    transform: translateY(80px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    top: -6rem;
}

/* Extra small devices (up to 320px) */
@media (max-width: 320px) {
    .mainHeading__image {
        right: -30px;
        width: 120%;
        height: 130%;
        transform: translateY(40px);
        top: -4rem;
    }
}

/* Small devices (321px - 375px) */
@media (min-width: 321px) and (max-width: 375px) {
    .mainHeading__image {
        right: -35px;
        width: 118%;
        height: 135%;
        transform: translateY(50px);
        top: -4.5rem;
    }
}

/* Medium devices (376px - 425px) */
@media (min-width: 376px) and (max-width: 425px) {
    .mainHeading__image {
        right: -40px;
        width: 115%;
        height: 140%;
        transform: translateY(60px);
        top: -5rem;
    }
}

/* Tablets (426px - 768px) */
@media (min-width: 426px) and (max-width: 768px) {
    .mainHeading__image {
        right: -45px;
        width: 110%;
        height: 145%;
        transform: translateY(70px);
        top: -5.5rem;
    }
}

@media (max-width: 320px) {
    .mainHeading__image {
        position: static;
        width: 100%;
        height: 368px;
        border-top-left-radius: 80px;
        border-bottom-right-radius: 80px;
        top: 0;
        /* margin-bottom: 0 !important; */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .carousel__images {
        flex-direction: column;
        align-items: center;
    }

    .mainHeading__carousel {
        margin-top: 2rem;
        margin-bottom: 0 !important;
    }

    .mainNav {

        width: 100% !important;
        left: 0rem;
        right: 0rem;
    }

    .mainNav__logo {
        margin-left: 7px;
    }

    .mainNav__icon {
        width: 48px;
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .mainHeading__image {
        position: static;
        width: 100%;
        height: auto;
        border-radius: 20px;
    }
    .carousel__images {
        flex-direction: column;
        align-items: center;
    }

    .mainHeading__carousel {
        margin-top: 32px;
        margin-bottom: 0 !important;
    }

    .mainNav {
        width: 100% !important;
        left: 0rem;
        right: 0rem;
    }

    .mainNav__logo {
        margin-left: 7px;
    }

    .mainNav__icon {
        width: 48px;
        padding-right: 10px;
    }
}

@media (max-width: 375px) {
    .mainHeading__image {
        position: static;
        width: 100%;
        height: 368px;
        transform: translateY(0);
        border-top-left-radius: 80px;
        border-bottom-right-radius: 80px;
        top: 0;
                margin-top:20px;

        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .carousel__images {
        flex-direction: column;
        align-items: center;
    }

    .mainHeading__carousel {
        margin-top: 2rem;
        margin-bottom: 0 !important;
    }

    .mainNav {
        width: 100% !important;
        left: 0rem;
        right: 0rem;
    }

    .mainNav__logo {
        margin-left: 7px;
    }

    .mainNav__icon {
        width: 48px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 799px) {
    .mainHeading__image {
        height: 100%;
        width: 70%;
        transform: translatey(80px);
        right: -6%;
    }
}

@keyframes image {
    0% {
        opacity: 0;
        transform: translatey(200px);
    }
}

.mainHeading__image:before,
.mainHeading__image:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0%;
    top: 100%;
    background-image: linear-gradient(to top, var(--primary) 0%, var(--light-green) 100%);
    opacity: 1;
    left: 0;
}


@keyframes imageBefore {
    0% {
        height: 100%;
        top: 0;
    }
}

.mainHeading__image:after {
    background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    height: 100%;
    top: 0;
    opacity: 0.2;
}

.mainHeading__image img {
    width: 100%;
    height: 100%;
}

.cta {
    padding: 16px 32px;
    color: white;
    background-color: var(--primary);
    border: 1px solid rgba(233, 233, 233, 0.4);
    letter-spacing: 2px;
    font-weight: 700;
    margin-top: 32px;
    font-size: 20px;
    letter-spacing: 0;
    cursor: pointer;
    box-shadow: inset 0px 0px 0px rgba(99, 116, 152, 0.2);
    transition: all 0.4s ease;
    border-radius: 8px;
}

.cta:hover {
    border: 1px solid rgba(27, 155, 2, 0.1);
    box-shadow: inset 0px -80px 0px rgba(0, 30, 94, 0.1);
    transform: translateY(-5px);
    color: var(--primary);
    background-color: White;
}

@media screen and (max-width: 799px) {
    .cta {
        margin-top: 16px;
    }
}




/* CAROAUSEL HEADER */
.mainHeading__carousel {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 53%;
    justify-content: space-between;
    align-items: flex-end;
}

.carousel__button--prev {
    height: fit-content;
    margin-bottom: 30%;
    z-index: 4;
    width: 50px;
    height: 50px;
    background-color: #fff317a9;
    border-radius: 50%;
    border: none;
}

.carousel__button--next {
    z-index: 4;
    height: fit-content;
    margin-bottom: 30%;
    width: 50px;
    height: 50px;
    background-color: #fff317a9;
    border-radius: 50%;
    border: none;

}


/* Tablet view (768px to 1024px) */
@media screen and (max-width: 1024px) {
    .mainHeading {

    }

    .mainHeading__content {
        flex-direction: column;
        align-items: center;
        height: auto;
        text-align: center;
    }

    .mainHeading__text {
        max-width: 100%;
        padding: 20px;
        margin: 0 0;
        margin-bottom: 1rem;
        height: 30rem;
    }

    .mainHeading__title {
        font-size: 28px;
    }

    .mainHeading__description {
        font-size: 15px;
        line-height: 24px;
    }

    .mainHeading__carousel {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        width: 100%;
        gap: 1.5rem;
        /* margin-bottom: 2rem; */
    }

    .mainHeading__carousel figure {
        width: 100%;
        height: auto;
    }

    .mainHeading__image {
        position: static;
        width: 100%;
        height: auto;
        transform: matrix(1, 0, 0, 1, 0, 0);
        border-radius: 20px;
    }

    .mainHeading__image img {
        width: 100%;
        height: auto;
    }

    .carousel__button {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .carousel__button--prev {
        height: fit-content;
        margin-bottom: 0%;
        z-index: 4;
        width: 50px;
        height: 50px;
        background-color: #fff317a9;
        border-radius: 50%;
        border: none;
    }

    .carousel__button--next {
        z-index: 4;
        height: fit-content;
        margin-bottom: 0%;
        width: 50px;
        height: 50px;
        background-color: #fff317a9;
        border-radius: 50%;
        border: none;

    }

    .cta {
        align-self: center;
        margin: 20px 0;
    }
}

/* Mobile view */
@media screen and (max-width: 768px) {
    .mainHeading {
        padding-top: 0px;
    }

    .mainHeading__text {
        max-width: 100%;
        padding: 20px;
        margin: 0 0;
        margin-bottom: 1rem;
        height: 30rem;
    }

    .mainHeading__carousel {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        gap: 1rem;
        margin-bottom: 0 !important;
    }

    .mainHeading__carousel figure {
        width:127%;
        height: 233px;
    }

    .carousel__button {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .carousel__button--prev {
        height: fit-content;
        margin-bottom: 0%;
        z-index: 4;
        width: 50px;
        height: 50px;
        background-color: #fff317a9;
        border-radius: 50%;
        border: none;
    }

    .carousel__button--next {
        z-index: 4;
        height: fit-content;
        margin-bottom: 0%;
        width: 50px;
        height: 50px;
        background-color: #fff317a9;
        border-radius: 50%;
        border: none;

    }


    .mainHeading__image {
        position: static;
        width: 100%;
        height: auto;
        transform: matrix(1, 0, 0, 1, 0, 0);
        border-radius: 20px;
    }

    .mainHeading__image img {
        width: 100%;
        height: auto;
    }

    .mainHeading__title {
        font-size: 24px;
        text-align: center;
    }

    .mainHeading__description {
        font-size: 14px;
        text-align: center;
    }

    .cta {
        align-self: center;
    }
}







/* NEW CSS OVERRIDES */

.padding_overall {

    padding: 4rem 8rem 0 8rem;
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .padding_overall {
        padding: 4rem 4rem 0 4rem;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .padding_overall {
        padding: 3rem 1.5rem 0 1.5rem;
    }
}

.text-primary {
    color: var(--primary) !important;
}

.text-title {
    font-size: 2.5rem;
    font-weight: 600;
}

.text-subTitle {
    font-size: 24px !important;
}

.text-content {
    font-size: 17px !important;
    text-align: justify;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    color: white !important;
    background-color: var(--primary) !important;

}

/* .btn-primary {
    color: #fff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
} */

.border-primary {
    border-color: var(--primary) !important;
}

@media (max-width: 375px) {
   .text-title {
    font-size: 1.8rem;
    font-weight: 600;
}

.text-subTitle {
    font-size: 20px !important;
}
.text-content {
    font-size: 16px !important;
    text-align: justify;
}
}
/* SEPERATOR LINE */

/* .separator {
    margin-top: 5px;
    margin-bottom: 20px;
    border: 0;
    width: max-content;
}

.separator--line {
    border: 0;
    border-bottom: 5px solid var(--primary);

    width: 0;
    animation: separator-width 1s ease-out forwards;
}

@keyframes separator-width {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
} */


.separator--line {
    border: none;
    height: 4px;
    width: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 1rem auto;
    animation: slideInLine 1s ease forwards;
    opacity: 0;
}

/* When you want to trigger the animation */
.separator--line.animate {
    animation: slideInLine 3s ease forwards;
}

@keyframes slideInLine {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        width: 50%;
        opacity: 0.5;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

/* LINE END*/






/* ABOUT US SECTION */

.about-section {

    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    flex: 1 1 40%;
    position: relative;

}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}




.image-wrapper {
    background: linear-gradient(135deg, var(--light-green), var(--primary));
    padding: 12px;
    border: 4px solid transparent;
    border-radius: 20px;
    background-clip: padding-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 16px;
    border: 4px solid #fff;
}




/* Hover effect */
.image-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.about-content {
    flex: 1 1 50%;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0077cc;
}

.about-content p {

    word-break: break-all;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Initial hidden states */
.image-wrapper,
.about-content>* {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease;
}

.image-wrapper {
    transform: translateX(-100px);
    /* Image slides from left */
}

/* Animate in when visible */
.image-wrapper.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-content.animate>* {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays for each text element */
.about-content.animate h2 {
    transition-delay: 0.2s;
}

.about-content.animate h1 {
    transition-delay: 0.4s;
}

.about-content.animate p:nth-of-type(1) {
    transition-delay: 0.6s;
}

.about-content.animate p:nth-of-type(2) {
    transition-delay: 0.8s;
}


/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image img {
        width: 100%;
        height: auto;
    }

    .about-content {
        flex: none;
        width: 100%;
        padding: 20px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    .about-image {
        max-width: 300px;
    }
}
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-image img {
        width: 100%;
        height: auto;
    }

    .about-content {
        flex: none;
        width: 100%;
        max-width: 700px;
        padding: 20px;
        margin: 0 auto;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }

    .about-content p {
        font-size: 1.1rem;
    }
}
/* ABOUT US SECTION END */

/* OUR WORK SECTION */



.main {
    margin: 0 auto;
    width: 100%;
    max-width: 1600px;
    /* Limits width on ultra-wide screens */
    padding: 2rem;
    box-sizing: border-box;
}


.cards {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping for responsiveness */
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem;
}

.cards_item {
    display: flex;
    flex: 1 1 300px;
    /* Basis + flexibility */
    max-width: 400px;
    /* Prevents stretching too much */
    box-sizing: border-box;
    border-radius: 28px;

}


.card_image {
    display: flex;
    height: 250px;
    width: 100%;
    box-shadow: 0 50px 100px 0 var(--violet);
}

.card_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fixed typo 'fir' */
}


.card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-color: var(--purple);
    border-radius: 5px 25px 5px 50px;
    border-color: #000000;
    box-shadow: 0 8px 15px rgb(76 76 76 / 49%);
    width: 100%;
}


.card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.card_text:focus,
.card:focus {
    outline: 2px dashed var(--aqua);
}

.card:focus,
.card:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 15px rgb(76 76 76 / 49%);
}

.card_content {
    padding: 0.5rem 1rem 1rem;
    color: var(--white);
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.card_title {
    top: 0;
    right: 0;
    height: auto;
    color: white;
    padding: 0.5rem;
    border-radius: 0px 5px 0px 0px;
    transform-origin: left top;
    font-weight: 600;
    font-size: 1.325rem;
    overflow: hidden;
    z-index: 1;
    background-color: var(--primary);
    margin: 0;
    /* Slide-in animation */
    animation: slideInFromRight 0.8s ease-out forwards;
}

.card_title:hover {

    animation: slideInFromRight 0.8s ease-out forwards;
}

.card_text {
    line-height: 1.5;
    text-size-adjust: 0.2px;

}

.card_text p:first-of-type:first-letter {
    font-size: 1.8em;
    text-align: justify;
    align-items: center;
    margin-right: 0.05em;
    word-break: break-all;
}



.card_text strong {
    color: var(--aqua);
}

.upcharge {
    position: relative;
    font-weight: 600;
    background-color: var(--violet);
    padding: 0.5rem 0.75rem;
    color: var(--trueBlack);
    border-radius: 0 10px;
    z-index: 0;
    overflow: hidden;
}

.upcharge::after,
.upcharge::before {
    content: "+";
    display: block;
    line-height: 0;
    font-size: 3rem;
    position: absolute;
    color: var(--purple);
    z-index: -1;
    opacity: 0.3;
}

.upcharge::before {
    left: 0;
    top: 0.5rem;
}

.upcharge::after {
    right: 0;
    bottom: 1.25rem;
}

.note {
    display: block;
    text-align: center;
    padding: 0.5rem;
    font-weight: 900;
    background-image: linear-gradient(-45deg,
            transparent 10%,
            var(--aqua) 10.5%,
            var(--aqua) 90%,
            transparent 90.5%);
    color: var(--black);
    font-size: 1.3em;
    font-style: italic;
    margin-top: 1rem;
}

@keyframes fly-in {
    0% {
        top: 0;
        right: 0;
        font-size: 1.325rem;
    }

    25% {
        top: 0;
        right: -200%;
        font-size: 1.325rem;
    }

    26% {
        font-size: 2rem;
    }

    100% {
        top: 2rem;
        right: 0;
        font-size: 2rem;
    }
}

@keyframes fly-out {
    0% {
        top: 2rem;
        right: 0;
        font-size: 2rem;
    }

    50% {
        top: 0;
        right: -200%;
        font-size: 1.325rem;
    }

    100% {
        top: 0;
        right: 0;
        font-size: 1.325rem;
    }
}

@media screen and (min-width: 1800px) {
    .main {
        max-width: 1800px;
        padding: 3rem;
    }

    .cards_item {
        max-width: 350px;
    }

    .card {
        transform: scale(1);
    }
}

@media screen and (max-width: 768px) {
    .cards_item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .card_image {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .main {
        padding: 1rem;
    }

    .cards {
        gap: 1.5rem;
    }

    .card_title {
        font-size: 1.1rem;
    }

    .card_text {
        font-size: 0.95rem;
    }
}

/* OUR WORK SECTION END */


/* 
WHAT WE DO START */


.ag-courses_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    padding: 10px 0;
}

.ag-courses-item_title img {
    background-color: #FFFFFF;
    padding: 5px;
    border-radius: 8px;
}

.ag-courses_item {

    flex: 1;
    margin: 0 15px 30px;

    overflow: hidden;

    width: 300px;

    border-radius: 28px;
    border: rgba(0, 0, 0, 0.2) solid 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ag-courses-item_link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 20px;
    background-color: #ffffff;

    overflow: hidden;
    height: 470px;
    position: relative;
}

.ag-courses-item_link:hover .text-ag-color {
    color: #FFF;

}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
    text-decoration: none;
    color: #FFF;
}

.ag-courses-item_link:hover .ag-courses-item_bg {
    -webkit-transform: scale(10);
    -ms-transform: scale(10);
    transform: scale(10);
}

.text-ag-color {
    color: var(--primary);
}

.ag-courses-item_title {
    min-height: 87px;

    overflow: hidden;

    font-weight: 500;
    font-size: 20px;
    color: rgb(61, 61, 61);

    z-index: 2;
    position: relative;
}

.agcontent p {
    font-size: 16px;
    text-align: justify;
    align-items: start;
    line-height: 1.5;
    word-break: break-all;
}

.ag-courses-item_link:hover p {
    color: rgb(255, 255, 255);
}

.agtext h4 {
    font-size: 20px;
}


.ag-courses-item_date-box {
    font-size: 16px;
    color: #FFF;

    z-index: 2;
    position: relative;
}



.ag-courses-item_bg {
    height: 140px;
    width: 128px;
    background-color: var(--primary);

    z-index: 1;
    position: absolute;
    top: -75px;
    right: -75px;

    border-radius: 50%;

    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
    background-color: var(--primary);
}

.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
    background-color: var(--primary);
}




@media only screen and (max-width: 979px) {
    .ag-courses_item {
        -ms-flex-preferred-size: calc(50% - 30px);
        flex-basis: calc(50% - 30px);
    }

    .ag-courses-item_title {
        font-size: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .ag-format-container {
        width: 96%;
    }

    .ag-courses-item_link {
        height: auto;
    }

}

@media only screen and (max-width: 639px) {
    .ag-courses_item {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }

    .ag-courses-item_title {
        min-height: 72px;
        line-height: 1;

        font-size: 24px;
    }

    .ag-courses-item_link {
        padding: 22px 40px;
    }

    .ag-courses-item_date-box {
        font-size: 16px;
    }
}

/* WHAT WE DO END */

/* OUR PROGRAMMES START */


/* .programme-card {
    margin: 20px 0 50px;
    border-radius: 5px;
    border-top: solid 10px #fff75f;
    border-bottom: solid 3px #dedede;
    border-left: solid 1px #dedede;
    border-right: solid 1px #dedede;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(230, 230, 230, 1);
    -moz-box-shadow: 0px 0px 8px 2px rgba(230, 230, 230, 1);
    box-shadow: 0px 0px 8px 2px rgba(230, 230, 230, 1);
} */

.programme-card {
    position: relative;
    margin: 20px 0 50px;
    border-radius: 5px;
    border-bottom: solid 3px #dedede;
    border-left: solid 1px #dedede;
    border-right: solid 1px #dedede;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(230, 230, 230, 1);
    -moz-box-shadow: 0px 0px 8px 2px rgba(230, 230, 230, 1);
    box-shadow: 0px 0px 8px 2px rgba(230, 230, 230, 1);
    background-color: #fff;
    /* optional */
}

.programme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    /* height of the original top border */
    width: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.programme-title {
    font-size: 30px;
    font-weight: 100;
    margin: 5px;
    padding: 0;
    text-align: center;
}

.programme-desc {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 2em;
    padding: 0;
    margin: 0;
    text-align: center;
}



.programme {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.programme-text {
    border-left: 1px dashed #dedede;
    padding: 0 40px;
    margin: 20px 0;
}

.programme-text p {
    margin-top: 10px;
    line-height: 1.5em;
    text-align: justify;
  
    word-break: break-all;
}

.pro-icon {
    margin: auto;
    justify-content: center;
    align-items: center;

}

@media(max-width:767px) {
    .programme-card {
        padding-top: 30px;
    }

    .programme-text {
        border-left: none;
    }
}

/* OUR PROGRAMMES END */


/*OUR IMPACT START*/
@import url('https://fonts.googleapis.com/css?family=Nuto:400,700');

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* Container Section */
.area {
    background-color: #4158D0;
    background-image: linear-gradient(43deg, #4158D0 0%, var(--primary, #C850C0) 46%, var(--secondary, #FFCC70) 100%);
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    box-sizing: border-box;
    flex-direction: column;
}

/* Heading Text */
.context {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0 1rem;
    box-sizing: border-box;
}

.context h1 {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.8rem, 5vw, 4rem);
    /* Responsive font */
    backdrop-filter: blur(10px);
    font-weight: 600;
}

/* Background Animation Container */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Floating Circles */
.circles li {
    position: absolute;
    display: block;
    list-style: none;
    background: rgba(255, 255, 255, 0.1);
    animation: animate 25s linear infinite;
    bottom: -150px;
    border-radius: 80px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Floating circles with responsive positions and sizes */
.circles li:nth-child(1) {
    left: 25vw;
    width: 6vw;
    height: 6vw;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10vw;
    width: 2vw;
    height: 2vw;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70vw;
    width: 2vw;
    height: 2vw;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40vw;
    width: 5vw;
    height: 5vw;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65vw;
    width: 2vw;
    height: 2vw;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75vw;
    width: 7vw;
    height: 7vw;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35vw;
    width: 8vw;
    height: 8vw;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50vw;
    width: 2.5vw;
    height: 2.5vw;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20vw;
    width: 1.5vw;
    height: 1.5vw;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85vw;
    width: 9vw;
    height: 9vw;
    animation-delay: 0s;
    animation-duration: 11s;
}

/* Optional: Clamp circle sizes for very large/small screens */
@media screen and (max-width: 400px) {

    .circles li {
        width: clamp(10px, 4vw, 40px) !important;
        height: clamp(10px, 4vw, 40px) !important;
    }
}

@media screen and (min-width: 2000px) {
    .circles li {
        width: clamp(30px, 2vw, 150px) !important;
        height: clamp(30px, 2vw, 150px) !important;
    }
}

/*OUR IMPACT END*/

/*Counter START*/


.wrapper_counter {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 2rem);
    padding: 1rem;
    box-sizing: border-box;
}

.container_counter {
    z-index: 2;
    width: clamp(140px, 20vw, 300px);
    height: clamp(160px, 15vw, 250px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 1em 0;
    position: relative;
    font-size: clamp(0.85rem, 1vw, 1rem);
    border-radius: 0.5em;
    background: transparent;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.2),
        0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    text-align: center;
}

.container_counter i {
    color: #E9331F;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

.container_counter span.num {
    color: white;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.container_counter span.text {
    color: white;
    font-size: clamp(0.9rem, 1.5vw, 1.25rem);
    font-weight: 600;
    padding: 0.5em 0;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .container_counter {
        width: clamp(160px, 28vw, 220px);
        height: clamp(180px, 30vw, 250px);
        font-size: clamp(0.8rem, 1.2vw, 1rem);
    }
}

/* Large Mobile / Small Tablets */
@media screen and (max-width: 768px) {
    .container_counter {
        width: calc(50% - 1rem);
        height: clamp(180px, 35vmin, 240px);
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .container_counter {
        width: 100%;
        height: clamp(150px, 30vmin, 200px);
        font-size: clamp(0.75rem, 2vw, 1rem);
    }
}


/*Counter END*/

/* Project section css start  */
.project_heading {
    height: 50vh !important;
}

.project_title {
    color: #fff !important;
}

.card-container {
    width: 100%;
    padding-top: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.card-container:hover {
    transform: scale(1.02);
}

.card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    border: 1px solid white;
}

@media (min-width: 768px) {
    .card-inner {
        flex-direction: row;
        max-width: 72rem;
        gap: 2rem;
    }
}

/* Swiper/Image Section */
.card-slider {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .card-slider {
        width: 33.3333%;
    }
}

.swiper,
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Content Section */
.card-content {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .card-content {
        width: 66.6667%;
    }
}

.card-content h3 {
    font-weight: 900;
    color: #1f2937;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .card-content h3 {
        font-size: 2rem;
    }
}

.card-content .location,
.card-content .theme {
    color: #6b7280;
    font-weight: 500;
    font-size: 1rem;
}

.card-content .location i {
    margin-right: 0.5rem;
}

.card-content .description {
    color: #6b7280;
    font-size: 1rem;
    text-align: justify;
    word-break:break-all;
    padding: 0% !important;
}

@media (min-width: 768px) {
    .card-content .description {
        font-size: 1.125rem;
    }
}

/* Button Section */
.card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.card-buttons a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.btn-read-more {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: white;
    border-radius: 0.5rem;
}

.btn-read-more:hover {
    background-color: var(--primary);
    color: white;
}

.btn-contact-now {
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}

.btn-contact-now:hover {
    background-color: white;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-view-all {
    display: flex;
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.btn-view-all:hover {
    background-color: var(--secondary);
    color: black;
}

.view-more-btn {

    display: flex;
    justify-content: center;
}
@media (max-width: 1024px) {
    .card-inner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .card-slider {
        width: 100%;
    }

    .card-content {
        width: 100%;
    }

    .card-content h3 {
        font-size: 1.75rem;
    }

    .card-content .description {
        font-size: 1rem;
    }

    .btn-read-more,
    .btn-contact-now {
        font-size: 0.9rem;
        padding: 0.4rem 0.9rem;
    }
}
/* Project section css End  */

/* -------galley css start------ */
.gallery-image {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-image img {
    height: 250px;
    width: 350px;
    transform: scale(1.0);
    transition: transform 0.4s ease;
}

.img-box {
    box-sizing: content-box;
    margin: 10px;
    height: 250px;
    width: 350px;
    overflow: hidden;
    display: inline-block;
    color: white;
    position: relative;
    background-color: white;
    border-radius: 6px;
}

.caption {
    position: absolute;
    bottom: 5px;
    left: 20px;
    opacity: 0.0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.transparent-box {
    height: 250px;
    width: 350px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
}

.img-box:hover img {
    transform: scale(1.1);
}

.img-box:hover .transparent-box {
    background-color: rgba(0, 0, 0, 0.5);
}

.img-box:hover .caption {
    transform: translateY(-20px);
    opacity: 1.0;
}

.img-box:hover {
    cursor: pointer;
}

.caption>p:nth-child(2) {
    font-size: 0.8em;
}

.opacity-low {
    opacity: 0.5;
}

@media (max-width: 360px) {
    .gallery-image {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .img-box {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .gallery-image img,
    .transparent-box {
        width: 100%;
        height: auto;
    }

    .caption {
        left: 10px;
        bottom: 10px;
    }

    .caption p {
        font-size: 14px;
        line-height: 1.2;
    }

    .caption>p:nth-child(2) {
        font-size: 12px;
    }
}

/* -------galley css End------ */
/*TESTIMONIAL START*/
main {
    padding: 0 32px 64px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

/* Testimonial Cards */
.testimonial_card {
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    min-height: 500px;
    box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
        0px 5px 8px 0px rgba(0, 0, 0, 0.14),
        0px 1px 14px 0px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 4 / 5;
    /* Maintains a 4:5 aspect ratio */
    height: auto;
}

/* Individual Background Images */
.testimonial_card {
    background-image: url('../img/madhukarSir1.JPG');
}

.vandanaMam {
    background-image: url('../img/vandanaMam.JPG') !important;
}

.testimonial_info {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #fff;
    transform: translateY(100%) translateY(-88px) translateZ(0);
    transition: transform 0.5s ease-out;
}

.testimonial_info:before {
    content: '';
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../img/madhukarSir1.JPG');
    filter: blur(10px);
    background-size: contain;
    background-position: center;
    opacity: 0.25;
    transform: translateY(-100%) translateY(88px) translateZ(0);
    transition: transform 0.5s ease-out;

    background-repeat: no-repeat;
}

@media (max-width: 320px) {
    .testimonial_card {
        max-width: 80%;
        min-height: 350px;
        /* smaller height for compact screens */
        aspect-ratio: 4 / 5;
    }

    .testimonial_info {
        height: 350px;
    }

    .testimonial_card_title {
        font-size: 18px;
    }

    .testimonial_card_subTitle {
        font-size: 14px;
    }

    .description {
        font-size: 13px;
    }
}

.vandanaMam_info:before {
    background-image: url('../img/vandanaMam.JPG') !important;
}

.testimonial_card:hover .testimonial_info,
.testimonial_card:hover .testimonial_info:before {
    transform: translateY(0) translateZ(0);
}

/* Text Styles */
.testimonial_card_title {
    margin: 0;
    padding: 12px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: rgba(0, 0, 0, 0.87);
}

.testimonial_card_subTitle {
    margin: 0;
    padding: 0 24px 16px;
    font-size: 18px;
    font-weight: bold;

    color: rgba(0, 0, 0, 0.87);
}

.description {
    margin: 0;
    padding: 0 24px 24px;
    font-size: 16px;
    line-height: 1.5;
}

/* Media Queries for Tablets and Mobiles */
@media (max-width: 768px) {
    main {
        padding: 0 16px 48px;
    }

    .testimonial_card {
        max-width: min-content;
        min-height: 450px;
        aspect-ratio: 4 / 5;
    }

    .testimonial_info {
        height: 450px;
    }

    .testimonial_card_title {
        font-size: 22px;
    }

    .testimonial_card_subTitle {
        font-size: 17px;
    }

    .description {
        font-size: 15px;
    }
}

/* 425px - Large Mobile */
@media (max-width: 425px) {
    .testimonial_card {
        max-width: 90%;
        min-height: 400px;
    }

    .testimonial_info {
        height: 400px;
    }

    .testimonial_card_title {
        font-size: 20px;
    }

    .testimonial_card_subTitle {
        font-size: 16px;
    }

    .description {
        font-size: 14px;
    }
}

/* 375px - Medium Mobile */
@media (max-width: 375px) {
    .testimonial_card {
        max-width: 90%;
        min-height: 380px;
    }

    .testimonial_info {
        height: 380px;
    }

    .testimonial_card_title {
        font-size: 19px;
    }

    .testimonial_card_subTitle {
        font-size: 15px;
    }

    .description {
        font-size: 13px;
    }
}

/* 320px - Small Mobile */
@media (max-width: 320px) {
    .testimonial_card {
        max-width: 90%;
        min-height: 350px;
    }

    .testimonial_info {
        height: 350px;
    }

    .testimonial_card_title {
        font-size: 18px;
    }

    .testimonial_card_subTitle {
        font-size: 14px;
    }

    .description {
        font-size: 12px;
    }
}

/*TESTIMONIAL END*/
/* ---------------OUR WOrk START---------------------- */
#features {
    margin: auto;
    width: 90vw;
    /* More fluid for smaller screens */
    max-width: 1000px;
}

/* Core Card Style */
.feature-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: auto;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    opacity: 0;
    transform: translateX(100px);
}

.feature-card.fade-in-left {
    transform: translateX(-100px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Icon Style */
.feature-card .icon {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 20px;
}

/* Text Section */
.feature-card .description {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
}

.feature-card .description h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.feature-card .description p {
    font-size: 15px;
    text-align: justify;
    margin: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.feature-card:hover .icon {
    color: var(--secondary);
    /* or your custom --primary color */
    transition: color 0.3s ease;
}

/* ---------- RESPONSIVE DESIGN ---------- */

/* Tablets (768px and below) */
@media screen and (max-width: 768px) {
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
    }

    .feature-card .icon {
        margin: 0 0 15px 0;
        font-size: 40px;
    }

    .feature-card .description {
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .feature-card .description h2 {
        font-size: 18px;
    }

    .feature-card .description p {
        font-size: 14px;
    }
}

/* Mobile (max-width 480px) */
@media screen and (max-width: 480px) {
    .feature-card .icon {
        font-size: 35px;
    }

    .feature-card .description h2 {
        font-size: 16px;
    }

    .feature-card .description p {
        font-size: 13px;
    }
}

/* ---------------OUR WOrk END---------------------- */

/* FOOTER START */

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.waves {
    width: 100%;
    height: 15vh;
    /*Fix for safari gap*/
    min-height: 100px;
    max-height: 150px;
    margin-top: 4rem;

}


/* Animation */

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }

    .waves .content {
        height: 30vh;
    }

    .waves h1 {
        font-size: 24px;
    }
}

.footer-section {
    position: relative;
    background-color: var(--primary);
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    width: 100%;
    height: 64px;
    margin-top: -40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    /* max-width: 1280px; */
    margin: 0 auto;
    padding: 3rem 1rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.footer-brand {
    flex: 1 1 250px;
    color: #fff;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand svg {
    width: 32px;
    margin-right: 10px;
}

.footer-brand p {
    text-align: justify;
    max-width: 400px;
    font-size: 1rem;
    margin: 0.75rem 0;
    word-break: break-all;
}

.footer-links {
    display: flex;
    flex: 2 1 500px;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    min-width: 150px;
    flex: 1;
}

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-column a:hover {
    color: #fff75f;
}

.footer-bottom {
    border-top: 1px solid white;
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icons a img:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Responsive Tweaks */
@media (min-width: 640px) {
    .footer-content {
        padding: 3rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        padding-left: 6rem;
        padding-right: 6rem;
    }

    .footer-grid {
        flex-wrap: nowrap;
    }
}


/* FOOTER END */


/* social icons */
.social-icons1 {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    padding: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.social-icons1.visible {
    opacity: 1;
    pointer-events: auto;
}

.social-icons1 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #f0f0f0;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons1 a:hover {
    /* Green */
    color: #fff;
}

@media (max-width: 1024px) {
    .social-icons1 a {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}

/* 900px and below */
@media (max-width: 900px) {
    .social-icons1 a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* 768px and below (Tablets) */
@media (max-width: 768px) {
    .social-icons1 {
        gap: 10px;
        padding: 0.4rem;
    }
    .social-icons1 a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
}

/* 480px to 425px (Big Mobiles) */
@media (max-width: 480px) {
    .social-icons1 a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* 425px and below (Mobiles) */
@media (max-width: 425px) {
    .social-icons1 {
        gap: 8px;
    }
    .social-icons1 a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* 375px and below */
@media (max-width: 375px) {
    .social-icons1 a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* 360px and below */
@media (max-width: 360px) {
    .social-icons1 {
        gap: 6px;
        padding: 0.3rem;
    }
    .social-icons1 a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* 320px and below (Smallest Devices) */
@media (max-width: 320px) {
    .social-icons1 {
        gap: 5px;
        padding: 0.25rem;
    }
    .social-icons1 a {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}
/* socail icons End */


/*BREADCRUMB*/

.breadcrumb-nav {
    padding: 10px 60px;
    width: 100%;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #888;
}

.breadcrumb li a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: rgb(255, 255, 255);
    font-size: 22px;

}

.breadcrumb .active {
    color: #555;
    font-weight: bold;
}

/*BREADCRUMB END*/
/* socail icons End */

/* ---------------------------project css start----------------------------- */
.project_info{
    margin-top: 40px !important;
}
.mainHeading__project-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
    /* adjust as needed */
}


.project-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    background-color: #f0f0f0;
}

.project-card {
    margin-top: 30px !important;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 95%;
    height: 24rem;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #fff;
}

@media (min-width: 768px) {
    .project-card {
        flex-direction: row;
        max-width: 1200px;
    }
}

.swiper-container {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    height: 95%;
    width: 95%;
    object-fit: cover;
    border-radius: 12px;
}

.project-card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card-content h3 {
    font-size: 24px;
    color: #1f2937;
    margin: 0;
}

.location {
    color: #6b7280;
    font-weight: 500;
}

.description {
    color: #4b5563;
    text-align: justify;
    word-break: break-word;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.project-card .btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

/* .btn-primary1 {
    background-color: white;
    color: #1D4ED8;
    border-color: #1D4ED8;
  }

  .btn-primary1:hover {
    background-color: #1D4ED8;
    color: white;
  }

  .btn-secondary2 {
    background-color: #2563EB;
    color: white;
  }

  .btn-secondary2:hover {
    background-color: #1E40AF;
  } */
/* Image container styles */
.swiper-container {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

/* Each slide fills height & centers content */
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Image styles */
.swiper-slide img {
    height: 95%;
    /* 95% height of its parent */
    width: 95%;
    /* 95% width for padding space */
    object-fit: cover;
    /* Ensures image covers the box while keeping aspect ratio */
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* Optional: soft shadow */
}

/* ---------------------------project css End----------------------------- */

/* ---------------------------ABOUT IMAGE CARD css start----------------------------- */
.profile-card {
    width: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 1);
    border: 2px solid;
    border-color: #fff154;
}

.profile-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-name {
    position: absolute;
    bottom: 0;
    font-size: 30px;
    width: 100%;
    font-weight: bold;
    font-weight: bold;
    color: var(--primary);
    padding: 10px;
    text-align: start;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.profile-image:hover .profile-name {
    transform: translateY(0%);
     background-color: var(--primary);
    padding: 4px;
}

.profile-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
}

/* ---------------------------ABOUT IMAGE CARD css END----------------------------- */

/* ---------------------------gallery IMAGE CARD css start----------------------------- */
.filter-button {
    padding: 1em;
    /* Adjust as needed */
    font-size: 18px;
    /* Adjust as needed */
    background-color: #efefef;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    display: inline-block;
    /* Added to allow centering */
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 600;
}

/* .filter-button:hover {
    background-color: #dadada;
}

.filter-button.active {
    background-color: #dadada;
} */

.button-container {
    text-align: center;
    margin-bottom: 30px;
}

.filter-button {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s, text-decoration 0.3s;
    border-radius: 5px;
}

.filter-button:hover,
.filter-button.active {
    background-color: var(--primary);
    /* blue background */
    color: #fff;
    /* white text */
    text-decoration: underline;
    /* add underline */
    transform: scale(1.05);
}

.button-container {
    text-align: center;
    /* Centers the buttons */
}

.filter-gallery {
    display: block;
}

.image-container {
    margin-top: 1em;
    column-count: 3;
    cursor:pointer;
    /*column-count helps to create a grid layout*/
    column-gap: 10px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
}
/* The overlay itself */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* For zooming the image */
.overlay-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(1); /* Start with the normal size */
    transition: transform 0.3s ease-in-out; /* Smooth zoom transition */
}

/* When the image is zoomed-in */
.overlay-image.zoomed {
    transform: scale(2); /* Zoomed in */
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-button:hover {
    opacity: 1;
}


@media (max-width: 768px) {
    .image-container {
        column-count: 1;
        /*adjusted to 1 column for mobile*/
    }
}

/* ---------------------------gallery IMAGE CARD css End----------------------------- */


/* ----------------------CONTACT CARDS ---------------------*/

/* General Reset */


/* Contact Form Container */
.contact-form-container {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.contact_title {
    color: white !important;
}

/* Heading and description */
.contact-form-wrapper h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    color: #333;
}

.project_heading {
    height: 54vh !important;
}

.form-description {
    text-align: center;
    margin-bottom: 30px;
    color: #777;
}

/* Form fields */
.form-field {
    margin-bottom: 20px;
    width: 100%;
}

.form-field label {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #8ac43f;
    box-shadow: 0 0 5px #8ac43f;
}

/* Button */
.submit-btn {
    background-color: var(--primary-color, #8ac43f);
    color: #fff;
    padding: 15px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    color: #000;
    background-color: #fff317;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px;
    }

    .contact-form-wrapper h2 {
        font-size: 24px;
    }
}

.contact-section {
    margin: 30px;
    padding: 20px;
}

.contact-data-card_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    margin: 0;
    width: 100%;
}

.contact-data-card_item {
    flex: 1 1 calc(33.333% - 20px);
    aspect-ratio: 1 / 1;
    /* Makes card perfectly square */
    overflow: hidden;
    border-radius: 28px;
    border: rgba(0, 0, 0, 0.2) solid 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    display: flex;
    transition: transform 0.3s ease;
    min-width: 200px;
    /* Minimum width 320px */
    max-width: 300px;
    /* Optional: to control very big screens */
}

.contact-data-card_item:hover {
    transform: scale(1.05);
}

.contact-data-card_item_link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 8px;
    width: 100%;
    height: 100%;
    position: relative;
}

.contact-data-card_item_link:hover .contact-data-card_item_bg {
    transform: none;
}

.contact-data-card_item_title {
    text-align: left;
    z-index: 2;
    position: relative;
}

.contact-data-card_item_title img {
    background-color: #ffffff;
    padding: 5px;
    border-radius: 8px;
    width: 70px;
}

.contact-data-card_item_title h4 {
    font-size: 20px;
    color: var(--primary);
}

.text-contact-color {
    color: var(--primary);
}

.contactcontent p {
    font-size: 16px;
    text-align: justify;
    line-height: 1.5;
    word-break: break-word;
}

/* Responsive Styles Only */

/* For Laptop and Tablet Screens (max-width: 1024px) */
@media (max-width: 1024px) {
    .contact-form-container {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .contact-data-card_box {
        justify-content: center;
        gap: 20px;
    }

    .contact-data-card_item {
        flex: 1 1 45%;
        max-width: 400px;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: 600px;
    }
}

/* For Tablets and Large Mobiles (max-width: 767px) */
@media (max-width: 767px) {
    .contact-form-container {
        padding: 20px;
    }

    .contact-data-card_box {
        align-items: center;
    }

    .contact-data-card_item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .contact-form-wrapper {
        width: 100%;
    }

    .contact-form-wrapper h2 {
        font-size: 24px;
    }
}

/* For Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .contact-data-card_item_link {
        padding: 20px 15px;
    }

    .contact-data-card_item_title img {
        width: 50px;
    }

    .contact-data-card_item_title h4 {
        font-size: 18px;
    }

    .contactcontent p {
        font-size: 14px;
    }

    .form-field input,
    .form-field textarea {
        font-size: 15px;
    }

    .submit-btn {
        font-size: 16px;
        padding: 12px;
    }
}

/* For Very Small Mobile Devices (max-width: 320px) */
@media (max-width: 320px) {
    .contact-data-card_item_link {
        padding: 15px 10px;
    }

    .contact-data-card_item_title img {
        width: 40px;
    }

    .contact-data-card_item_title h4 {
        font-size: 16px;
    }

    .contactcontent p {
        font-size: 13px;
    }

    .contact-form-wrapper h2 {
        font-size: 22px;
    }
}


/* Mobile view */


/*--------Contact Card END ---------------------*/

/* about sec -vedio start */
.video-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    
  }
  
  .video-card iframe {
    width: 100%;
    height: 260px;
    border: none;
    border-radius: 5px;
  }
  .video-card-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .video-card {
    flex: 1 1 300px;
  }
/* about sec -vedio end */

/* NEW TESTOMONIAL start */
.human-resources {
    --bg-color: #DCE9FF;
    --bg-color-light: #f1f7ff;
    --text-color-hover: #4C5656;
    --box-shadow-color: rgba(220, 233, 255, 0.48);
  }
  
  .card-profile {
    width: 370px;
    background: #e1ffd0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-out;
    text-decoration: none;
    color: #4C5656;
  }
  
  .card-profile:hover {
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11),
                0 24px 46px var(--box-shadow-color);
  }
  
  .card-profile .circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .card-profile .circle img {
   border: var(--primary) 1px;
    height: 100%;
    object-fit: cover;
  }
  
  .card-profile p {
    margin: 6px 0;
    text-align: center;
  }
  
  .card-profile .name {
    font-weight: bold;
    font-size: 18px;
  }
  
  .card-profile .role {
    font-size: 16px;
    color: #333;
  }
  
  .card-profile .desc {
    font-size: 16px;
    color: #222;
    margin-top: 10px;
  }
  
  /* Responsive Layout */
  .body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  /* privacy policy */
  .privacy-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
  }
  
  .privacy-container h4 {
    margin-top: 25px;
    color: #005a9c;
    font-size: 1.3em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
  }
  
  .privacy-container p,
  .privacy-container li {
    font-size: 1rem;
    margin: 10px 0;
  }
  
  .privacy-container ul {
    padding-left: 20px;
    list-style: disc;
  }
  
  .privacy-container a {
    color: #0077cc;
    text-decoration: none;
  }
  
  .privacy-container a:hover {
    text-decoration: underline;
  }
  
  .privacy-container b {
    color: #000;
  }
  
  @media (max-width: 600px) {
    .privacy-container {
      padding: 20px;
      margin: 20px;
    }
  
    .privacy-container h4 {
      font-size: 1.1em;
    }
  
    .privacy-container p,
    .privacy-container li {
      font-size: 0.95rem;
    }
  }
  /* Terms and condition */
  .terms-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  .terms-container p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .custom-accordion details {
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 12px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
  }
  
  .custom-accordion summary {
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1rem;
    background-color: #e8f0ff;
    border-bottom: 1px solid #ccc;
    list-style: none;
  }
  
  .custom-accordion summary:hover {
    background-color: #d0e5ff;
  }
  
  .custom-accordion .accordion-content {
    padding: 15px 20px;
    font-size: 0.96rem;
    background-color: #fff;
    border-top: 1px solid #ddd;
  }
  
  /* **********************get involved Register form********* */

.clearfix:after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
}

.form_wrapper {
  background: #fff;
  width: 550px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 25px;
  margin: 8% auto 0;
  position: relative;
  z-index: 1;
  border-top: 5px solid var(--primary);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  transform-origin: 50% 0%;
  transform: scale3d(1, 1, 1);
  transition: none;
  animation: expand 0.8s 0.6s ease-out forwards;
  opacity: 0;
}

.form_wrapper h2 {
  font-size: 1.5em;
  line-height: 1.5em;
  margin: 0;
}

.form_wrapper .title_container {
  text-align: center;
  padding-bottom: 15px;
}

.form_wrapper h3 {
  font-size: 1.1em;
  font-weight: normal;
  line-height: 1.5em;
  margin: 0;
}

.form_wrapper label {
  font-size: 12px;
}

.form_wrapper .row {
  margin: 10px -15px;
}

.form_wrapper .row > div {
  padding: 0 15px;
  box-sizing: border-box;
}

.form_wrapper .col_half {
  width: 50%;
  float: left;
}

.form_wrapper .input_field {
  position: relative;
  margin-bottom: 20px;
  animation: bounce 0.6s ease-out;
}

.form_wrapper .input_field > span {
  position: absolute;
  left: 0;
  top: 0;
  color: #333;
  height: 100%;
  border-right: 1px solid #cccccc;
  text-align: center;
  width: 30px;
}

.form_wrapper .input_field > span > i,
.form_wrapper .textarea_field > span > i {
  padding-top: 10px;
}

.form_wrapper input[type="text"],
.form_wrapper input[type="email"],
.form_wrapper input[type="mobile"] {
  width: 100%;
  padding: 8px 10px 9px 35px;
  height: 35px;
  border: 1px solid #cccccc;
  box-sizing: border-box;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.form_wrapper input[type="text"]:hover,
.form_wrapper input[type="email"]:hover,
.form_wrapper input[type="mobile"]:hover {
  background: #fafafa;
}

.form_wrapper input[type="text"]:focus,
.form_wrapper input[type="email"]:focus,
.form_wrapper input[type="mobile"]:focus {
  box-shadow: 0 0 2px 1px rgba(255, 169, 0, 0.5);
  border: 1px solid var(--primary);
  background: #fafafa;
}

.form_wrapper input[type="submit"] {
    background: var(--primary);
  height: 35px;
  line-height: 35px;
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.form_wrapper input[type="submit"]:hover,
.form_wrapper input[type="submit"]:focus {
  background: #e6a90a;
}

.form_wrapper input[type="checkbox"],
.form_wrapper input[type="radio"] {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.form_container .row .col_half.last {
  border-left: 1px solid #cccccc;
}

.checkbox_option label {
  margin-right: 1em;
  position: relative;
}

.checkbox_option label:before {
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
  vertical-align: -2px;
  border: 2px solid #cccccc;
  padding: 0.12em;
  background-color: transparent;
  background-clip: content-box;
  transition: all 0.2s ease;
}

.checkbox_option label:after {
  border-right: 2px solid #000000;
  border-top: 2px solid #000000;
  content: "";
  height: 20px;
  left: 2px;
  position: absolute;
  top: 7px;
  transform: scaleX(-1) rotate(135deg);
  transform-origin: left top;
  width: 7px;
  display: none;
}

.checkbox_option input:hover + label:before {
  border-color: #000000;
}

.checkbox_option input:checked + label:before {
  border-color: #000000;
}

.checkbox_option input:checked + label:after {
  animation: check 0.8s ease 0s running;
  display: block;
  width: 7px;
  height: 20px;
  border-color: #000000;
}

.radio_option label {
  margin-right: 1em;
}

.radio_option label:before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.5em;
  border-radius: 100%;
  vertical-align: -3px;
  border: 2px solid #cccccc;
  padding: 0.44em;
  background-color: transparent;
  background-clip: content-box;
  transition: all 0.2s ease;
}

.radio_option input:hover + label:before,
.radio_option input:checked + label:before {
  border-color: #000000;
}

.radio_option input:checked + label:before {
  background-color: #000000;
}

.select_option {
  position: relative;
  width: 100%;
}

.select_option select {
  display: inline-block;
  width: 100%;
  height: 35px;
  padding: 0px 15px;
  cursor: pointer;
  color: #7b7b7b;
  border: 1px solid #cccccc;
  border-radius: 0;
  background: #fff;
  appearance: none;
  transition: all 0.2s ease;
}

.select_option select::-ms-expand {
  display: none;
}

.select_option select:hover,
.select_option select:focus {
  color: #000000;
  background: #fafafa;
  border-color: #000000;
  outline: none;
}

.select_arrow {
  position: absolute;
  top: calc(50% - 4px);
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-width: 8px 5px 0 5px;
  border-style: solid;
  border-color: #7b7b7b transparent transparent transparent;
}

.select_option select:hover + .select_arrow,
.select_option select:focus + .select_arrow {
  border-top-color: #000000;
}

.credit {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 15px;
  color: #f5ba1a;
}

.credit a {
  color: #e6a90a;
}

@keyframes check {
  0% { height: 0; width: 0; }
  25% { height: 0; width: 7px; }
  50% { height: 20px; width: 7px; }
}

@keyframes expand {
  0% { transform: scale3d(1, 0, 1); opacity: 0; }
  25% { transform: scale3d(1, 1.2, 1); }
  50% { transform: scale3d(1, 0.85, 1); }
  75% { transform: scale3d(1, 1.05, 1); }
  100% { transform: scale3d(1, 1, 1); opacity: 1; }
}

@keyframes bounce {
  0% { transform: translate3d(0, -25px, 0); opacity: 0; }
  25% { transform: translate3d(0, 10px, 0); }
  50% { transform: translate3d(0, -6px, 0); }
  75% { transform: translate3d(0, 2px, 0); }
  100% { transform: translate3d(0, 0, 0); opacity: 1; }
}

@media (max-width: 600px) {
  .form_wrapper .col_half {
    width: 100%;
    float: none;
  }

  .bottom_row .col_half {
    width: 50%;
    float: left;
  }

  .form_container .row .col_half.last {
    border-left: none;
  }

  .remember_me {
    padding-bottom: 20px;
  }
}


.support-cause-section {
  padding: 48px  84px;
  background-color: #f9f9f9;
}

.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.page-title h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-title p {
  font-size: 1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.donation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 20px;
}

.bank-details p {
  margin-bottom: 8px;
}

.bank-details strong {
  color: var(--primary);
}

.highlight {
  background-color: #fff9c4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.donation-steps {
  background-color: #f0f2f5;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}

.donation-steps h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.donation-steps ol {
  padding-left: 20px;
  color: #444;
}

.ways-list {
  list-style: none;
  padding-left: 0;
  color: #333;
}

.ways-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.ways-list strong {
  color: var(--primary);
}

.contact-btn {
    text-align: center;
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--secondary);
}
.support-cause-section, .card {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ===== Responsive Media Queries ===== */

@media (max-width: 1024px) {
  .page-title h1 {
    font-size: 2rem;
  }

  .card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .support-cause-section {
    padding: 50px 15px;
  }

  .donation-cards {
    grid-template-columns: 1fr;
  }

  .card-content {
    padding: 18px;
  }

  .card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .page-title h1 {
    font-size: 1.8rem;
  }

  .page-title p {
    font-size: 0.95rem;
  }

  .card-image {
    height: 180px;
  }

  .contact-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 425px) {
  .card-image {
    height: 160px;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-content {
    padding: 15px;
  }

  .highlight {
    font-size: 0.9rem;
  }
}

  /* **********************get involved Register form********* */

  /* ***********filter button in project page******* */
  .filter-btn {
  transition: all 0.3s ease;
  min-width: 150px;
  font-weight: 500;
  border-radius: 50px;
  padding: 10px 20px;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
  color: #fff;
}

.filter-btn.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-color:  var(--primary);
}

.filter-btn.btn-outline-primary {
  color:  var(--primary);
  border-color:  var(--primary);
  background-color: transparent;
}

.filter-btn.btn-outline-primary:hover {
  background-color: #fff;
  color: #fff;
}

  /* ***********filter button in project page******* */

  .mainHeading .scroll-button {
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mainHeading .scroll-button > span {
  color: #000;
  font-size: 2rem;
}
