@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonts */

body {
    font-family: "Poppins", sans-serif;
}
p {
    line-height: 1.5rem;
    font-size: 14px;
}

/* Header */
.header  {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 6.5vh;
    background-color: #61bafa;
}
.header .header-contact {
    display: flex;
    column-gap: 30px;
}
.header .header-contact a{
    text-decoration: none;
    color: #fff;
    font-size: 14px; 
    font-weight: 500;  
}
.header .header-contact i {
    margin-right: 5px;
}
.header .header-socialmedia {
    margin-right: 100px;
    display: inline-block;
}
.header .header-socialmedia a:nth-child(1){
    margin-left: 25px;
}
.header .header-socialmedia a{
    margin-left: 8px;
    font-size: 14px;
    color: #fff;
}
@media only screen and (max-width: 700px){
    .header {
        display: none;
    }
}

/* Navbar */
.navbar {
    position: relative;
    /* height: 10vh; */
}
.navbar-nav {
    margin-left: auto; 
}
.navbar-nav .nav-item {
    margin-right: 50px;
}
.navbar-nav .nav-link.active:hover {
    color: #34a9ff;
    border-radius: 6px;
}
.navbar .img {
    margin-left: 40px;
    margin-top: -48px;
    margin-bottom: -10px;
}
@media only screen and (max-width: 768px) {
    .navbar .img {
        margin-left: 0 !important;
        margin-top: 0;
        margin-bottom: 10px;
    }
}
.navbar ul {
    list-style: none;
    padding: 0;
    margin-right: 0;
}
.navbar ul li {
    position: relative;
}
.navbar ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;

    display: block;

    font-size: 15px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding-top: 16px;
}
.footer {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}
@media(max-width: 600px){
    .footer {
        grid-template-columns: repeat(2,1fr);
    }
    .footer .our-address ul {
        padding-left: 0 !important;
    }
    .footer .our-address h6 {
        margin-top: 20px;
        padding-left: 0 !important;
    }
}
@media(max-width: 370px){
    .footer {
        grid-template-columns: repeat(1,1fr);
    }
    .footer .our-links {
        padding-left: 0 !important;
    }
    .footer .our-links h6{
        margin-top: 20px;
        padding-left: 0 !important;
    }
    .footer .our-links ul{
        padding-left: 0 !important;
    }
    .footer .our-address ul {
        padding-left: 0 !important;
    }
    .footer .our-address h6 {
        padding-left: 0 !important;
    }
}
.footer .social-links {
    display: flex;
    column-gap: 20px;
}
.footer .social-links a {
    color: #fff;
}
.footer .our-links {
    padding-left: 50px;
}
.footer .our-links h6 {
    padding-left: 28px;
}
.footer .our-links ul {
    list-style: none;
}
.footer .our-links li {
    padding-top: 10px;
}
.footer .our-links a{
    text-decoration: none;
    color: #fff;
    text-transform: capitalize;
}
.footer .our-address h6 {
    padding-left: 28px;
}
.footer .our-address ul {
    list-style: none;
}
.footer .our-address li {
    padding-top: 10px;
}
.footer .our-address li a {
    color: #fff;
    text-decoration: none;
}
.footer .our-address li i {
    margin-right: 10px;
}

/* About */
.wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}
.our-section {
    position: relative;
}
.our-section .vision-content {
    background-color: rgb(252, 250, 250);
    padding: 30px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 80%; /* Adjust as needed */
    max-width: 600px; /* Adjust as needed */
}
.our-vision .vision-content {
    left: 74%;
}
.our-why .vision-content    {
    position: absolute;
    right: 20%;
}
.our-section img {
    width: 100%;
    display: block;
}
@media (max-width: 767px) {
    .our-section .vision-content {
        position: relative;
        top: auto;
        transform: translate(0);
        width: 100%;
        max-width: none;
        padding: 20px;
        margin-top: -35px;
    }
    .our-vision .vision-content {
        margin-top: -15px;
        left: auto;
    }
    .our-why .vision-content {
        position: relative;
        right: auto;
    }
}

.our-section h6 {
    font-size: 18px;
    font-weight: 600;
}


.main-navigation  ul  li.current-menu-item:before {
  left: 0.5px;
  right: auto;
  width: 100%;
}

.main-navigation ul li a{
    position: relative;
}
.main-navigation ul li::before {
    position: absolute;
    content: '';
    bottom: -1px;
    width: 0;
    height: 2px;
    background-color: #34a9ff;
    display: block;
}

@media only screen and (max-width: 990px) {
    .main-navigation ul li::before {
        background-color: #fff;
    }
}

/* Home page */

.home-content {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 30px;
    margin-bottom: 20px;
}
@media only screen and (max-width: 768px) {
    .home-content {
        display: flex;
        flex-direction: column;
    }
    .home-content .why-content h4 {
        margin-top: 20px;
    }
}

.home-content .why-image img {
    border-radius: 30px;
    width: 100%;
}
.home-content .why-content h4{
    font-weight: 700;
}

.card-section {
    display: flex;
    column-gap: 30px;
}
@media only screen and (max-width: 768px) {
    .card-section {
        display: flex;
        flex-direction: column;
    }
}
.card-section .card {
    border: none;
}
.card-section img {
    width: 100%;
    height: 200px;
    border-radius: 20px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    grid-gap: 60px;
}
.testimonials .card {
    padding: 10px;
}
@media only screen and (max-width: 950px) {
    .testimonials {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        text-align: center;
        grid-gap: 60px;
    }
}

@media only screen and (max-width: 760px) {
    .testimonials {
        display: grid;
        grid-template-columns: repeat(1,1fr);
        text-align: center;
        grid-gap: 60px;
    }
}

.testimonials  .card-body img {
    width: 35%;
    border-radius: 100%;
}

/* Team page */

.staff-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}
/* @media only screen and (max-width: 950px) {
    .staff-details {
        grid-template-columns: repeat(2,1fr);
    }
}
@media only screen and (max-width: 600px) {
    .staff-details {
        grid-template-columns: repeat(1,1fr);
    }
} */
.staff-details .another {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 40px;
}
@media only screen and (max-width: 950px) {
    .staff-details .another {
        grid-template-columns: repeat(2,1fr);
    }
}
@media only screen and (max-width: 678px) {
    .staff-details .another {
        grid-template-columns: repeat(1,1fr);
    }
    .staff-details .conn {
        display: flex;
        flex-direction: column;
        row-gap: 40px;
    }
}
.staff-details .conn {
    margin-top: 30px;
    display: flex;
    column-gap: 40px;
}
.staff-details img{
    width: 45%;
    border-radius: 50%;
    margin: 0 auto;
}
.staff-details .card {
    padding: 1.5rem .5rem .5rem;
    text-align: center;
    border: none;
    transition: transform 0.3s ease-in-out;
}
.staff-details .card:hover img{
    box-shadow:  0 0 10px rgba(0 , 0 , 0 , 0.2);
}
.staff-details .card{
    box-shadow:  0 0 10px rgba(0 , 0 , 0 , 0.2);
}
.staff-details .card:hover {
    transform: scale(1.1);
}
.staff-details .card .card-title p {
    color: #34a9ff;
    font-weight: 600;
}
.staff-details .card .card-title h4 {
    font-size: 17px;
    font-weight: 700;
}
.staff-details .card .social {
    position: absolute;
    top: 40px;
    right: 70px;
    background-color: #fff;
    display: inline-block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #ff0040;
}


/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.gallery img {
    width: 100%;
    height: 300px; 
    object-fit: cover;
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}



/* Donor's page */

.table-title h4{
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 20px;
}
.table-title h5 {
    text-align: center;
    font-weight: 600;
    font-size: 17px;
    color: rgb(254, 140, 99);
}

table .table-head th{
    background-color: #34a9ff !important;
    color: #fff;
    font-weight: 500;
}
 
.table img {
    cursor: pointer;
}
@media screen and (max-width: 600px) {
    .table thead {
        display: none;
    }

    .table, .table tbody, .table tr, .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 15px;
    }

    .table td {
        text-align: left;
        border: none;
        position: relative;
        padding-left: 10%;
    }
    .table img {
        cursor: pointer;
    }
    .table td:before {
        position: absolute;
        left: 6px;
        content: attr(data-label);
        font-weight: bold;
    }
}

/* Contact Page */

.contact-button .btn-primary {
    border: none;
    background-color: #34a9ff;
}