* {
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
    /* background: #fcf4f4; */
    background: #f8f9fa;
}

/* navabr start */
.navbar-brand img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    margin-right: 10px;
}

.navbar {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: #dc3545 !important;
}

/* https://source.unsplash.com/1600x800/?students,school */
/* linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), */

/* home page section */
.hero {
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.4)
        ),
        url("/frontend/img/group-photo.jpg") center/cover no-repeat;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
}

.hero p {
    font-size: 1.5rem;
}

.features i {
    font-size: 2rem;
    color: #dc3545;
}

/* register section start */
.register-body {
    background: linear-gradient(to right, #6c757d, #dc3545);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.register-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #dc3545;
}

/* registration page start */
.header-section {
    background: #dc3545;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.header-section h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

.register-section {
    padding: 80px 0;
}

.info-panel {
    background: #0d6efd;
    color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
}

.info-panel ul li {
    margin-bottom: 0.5rem;
}

.form-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.schedule li {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #ffc107;
}

/* about us section start */
.about-section {
    padding: 5px 0;
    background-color: #ffffff;
}

.about-img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlight {
    color: #0d6efd;
}

.feature-list li::before {
    content: "✔";
    margin-right: 10px;
    color: #0d6efd;
}

/* gallery section start */
.gallery-section {
    padding: 5px 0;
    background-color: #f8f9fa;
}

.gallery-title {
    margin-bottom: 40px;
}

.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* .gallery-img {
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
} */

.upload-form {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.gallery-item.d-none {
    display: none !important;
}

.gallery-card {
    transition: transform 0.2s ease;
}

.gallery-card:hover {
    transform: scale(1.03);
}

.modal-body {
    height: 100vh;
}

/* scholarship section start */
.scholarship-section {
    background-color: #f8f9fa;
    padding: 5px 0;
}

.scholarship-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.scholarship-card:hover {
    transform: translateY(-5px);
}

.winner-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-5px);
}

.winner-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.filter-btn {
    margin: 0 5px 10px;
}

.modal-body img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* .winner-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
} */

/* .winner-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
} */

.winner-section h4 {
    margin-bottom: 30px;
}

.btn-apply {
    margin-top: 15px;
}

.table thead {
    background-color: #0d6efd;
    color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.winner-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* events section start */
.event-section {
    padding: 5px 0;
    background-color: #fff;
}

.event-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    font-weight: bold;
    color: #0d6efd;
}

/* blood group section */
.blood-section {
    padding: 5px 0;
    background-color: #f8f9fa;
}

.blood-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blood-type {
    font-size: 28px;
    font-weight: bold;
    color: #dc3545;
    cursor: pointer;
}

.status {
    font-size: 14px;
    margin-bottom: 10px;
    color: #6c757d;
}

.donor-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: none;
}

.donor-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.donor-name {
    font-weight: 500;
}

.donor-contact {
    font-size: 13px;
    color: #888;
}

.blood-card.active .donor-list {
    display: block;
}

.search-bar {
    margin-bottom: 30px;
}

.form-section {
    margin-top: 50px;
}

/* committee section start */
.committee-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.committee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

.committee-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -60px;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #f8f9fa;
}

.section-title {
    font-size: 1.8 rem;
    font-weight: bold;
}

.bg-light-custom {
    background-color: #f8f9fa;
}

/* contact us section start */

.contact-section {
    padding: 5px 0;
}

.contact-info i {
    font-size: 1.2rem;
    color: #0d6efd;
    margin-right: 10px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: none;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

.footer {
    background-color: #212529;
    color: #fff;
    padding: 30px 0;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #f44336;
}

.social-icons a {
    font-size: 1.3rem;
    margin: 0 10px;
    display: inline-block;
}
