/*Fonts*/
@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');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

body {
    overflow-x: hidden !important;
}

:root {
    --primary: #006400;
    --padding: 100px;
}

::-webkit-scrollbar {
    width: 8px; /* Adjust the width to your preference */
    height: 8px; /* For horizontal scrollbar (optional) */
}

/* Customize the scrollbar track */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
}

/* Customize the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: #888; /* Thumb color */
    border-radius: 10px; /* Optional: rounded corners */
}

/* Optional: When hovering over the scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker color when hovering */
}

/*Menu*/
.menu-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 80px;
    z-index: 9999;
}

.menu {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--padding);
}

.menu a.btn-group {
    color: #fff;
    text-decoration: none;
    background: var(--primary);
    width: 200px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
}

.menu img {
    width: auto;
    height: 60px;
}

/*Hero Section*/
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 80px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Active slide visibility */
.active {
    opacity: 1;
}

/*Cards*/
.cards-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px var(--padding);
    position: relative;
}

.cards-container .card-3 {
    width: 33.333%;
    height: 150px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    border: 1px solid var(--primary);
}

.cards-container .card-3.active {
    background: var(--primary);
    color: #fff;
}

.card-3 img {
    width: 35px;
    height: 35px;
}

.card-3 h4 {
    margin: 10px;
    font-size: 16px;
}

/*Modal*/
.modal-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-container.hide {
    display: none;
}

.modal-container .donor-modal {
    width: 600px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
    position: relative;
}

/* Styling the table */
.donors-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.donors-table th, .donors-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.donors-table th {
    background-color: var(--primary);
    color: white;
    text-transform: uppercase;
}

.donors-table img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.btn-modal-close {
    width: 40px;
    height: 40px;
    background: #0A0A0A;
    border-radius: 50%;
    color: #fff;
    position: absolute;
    top: 20px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-modal-close img {
    width: 20px;
    height: 20px;
}

/*Footer*/
footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

footer p {
    width: 100%;
    text-align: center;
    font-size: 15px;
}

footer p:nth-child(2) {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
    margin-top: 10px;
}
