/* Global Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Gallery Section Styling */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.gallery-section h2 {
    margin-bottom: 30px;
    font-weight: 600;
    color: #003366;
    font-size: 2.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay i {
    font-size: 3rem;
}

/* Modal Styling */
.modal-content img {
    width: 100%;
    border-radius: 12px;
}

/* Top Bar */
.top-bar {
    background: #f8f9fa;
    padding: 12px 0;
    font-size: 16px;
    color: #333;
}

.top-bar a {
    color: #0056b3;
    margin-right: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar .social-icons a {
    color: #333;
    margin-left: 12px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.top-bar .social-icons a:hover {
    color: #0056b3;
}

/* Navbar */
.navbar {
    background: rgb(118 138 237);
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 60px;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    margin-right: 25px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgb(239, 144, 37);
}

.btn-donate {
    background: rgb(239 144 37) !important;
    color: black !important;
    font-weight: bold !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    transition: background 0.3s ease !important;
}

.btn-donate:hover {
    background: rgb(238, 176, 105) !important;
    color: white !important;
}

/* Search Bar */
.search-box {
    width: 300px;
}

.search-box input {
    border-radius: 25px;
    border: none;
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Sticky Navbar */
.sticky-top {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Dropdown Menu */
.dropdown-menu {
    background: #768aed !important;
}

.dropdown-menu .dropdown-item {
    color: white !important;
}

.dropdown-menu .dropdown-item:hover {
    background: rgb(239 144 37) !important;
    color: black !important;
}

/* Dropdown hover effect */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    display: none; /* Default state is hidden */
    position: absolute;
    z-index: 1000;
}


/* Section Styling */
.about-section, .services-section, .values-section, .contact-section {
    padding: 80px 0;
}

.services-section {
    background: #f8f9fa;
}

.service-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Footer Styling */
.footer {
    background: rgb(148 199 169);
    color: white;
    padding: 60px 0;
}

.footer h5 {
    color: rgb(239 144, 37);
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 1.75rem;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: rgb(239 144, 37);
}

.social-icons a {
    font-size: 22px;
    margin-right: 18px;
    color: white;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: rgb(239 144, 37);
}

.newsletter input {
    border-radius: 25px;
    padding: 12px;
    border: none;
    width: 80%;
    margin-right: 10px;
}

.btn-subscribe {
    background: rgb(239 144, 37);
    color: black;
    border-radius: 25px;
    padding: 12px 25px;
    border: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-subscribe:hover {
    background: #e6b800;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.875rem;
}

/* Team Section */
.team-member {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.team-member h5 {
    font-size: 1.25rem;
    font-weight: bold;
}

.team-member p {
    font-size: 1rem;
    color: #666;
}

/* Contact Section */
.contact-form input,
.contact-form textarea {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 18px;
    width: 100%;
    font-size: 1rem;
}

.contact-form button {
    background: rgb(239 144, 37);
    color: black;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #e6b800;
}

/* Values Section */
.values-section {
    background-color: #0e0158;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.values-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.values-section p {
    font-size: 1.125rem;
    line-height: 1.6;
}
