:root {
    --primary-color: #005792;
    --secondary-color: #00b4d8;
    --text-color: #333;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Top Bar Styles */
.top-bar {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.top-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.top-links a:hover {
    color: var(--primary-color);
}

/* Header Styles */
header {
    padding: 20px 0;
    background: white;
}

.logo img {
    max-height: 320px;
    height:180px;
    width:100%;
}

.header-right h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.header-right p {
    color: var(--text-color);
    font-size: 1.2rem;
}

/* Navigation Styles */
.navbar {
    padding: 0;
    background-color: var(--primary-color) !important;
}

.navbar-nav {
    width: 100%;
    justify-content: space-between;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown-menu {
    margin-top: 0;
    border: none;
    border-radius: 0;
    background-color: var(--primary-color);
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    color: white;
    padding: 12px 20px;
    transition: background-color 0.3s;
}

.navbar-nav .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}




/* Hero Section Styles */
.hero {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,87,146,0.8) 0%, rgba(0,87,146,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

/* Button Styles */
.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

.btn-warning {
    background-color: #ffd700;
    border: none;
    color: var(--text-color) !important;
}

.btn-info {
    background-color: #00ff9d;
    border: none;
    color: var(--text-color) !important;
}

/* Welcome Section Styles */
.welcome {
    background-color: white;
    padding: 60px 0;
    text-align: center;
}

.welcome h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.5rem;
    color: #666;
    font-style: italic;
}

/* Cards Section Styles */
.cards {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.card {
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-body {
    padding: 30px;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

.info-card {
    padding: 40px 30px;
    height: 100%;
}

.info-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.info-card p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.bg-danger {
    background-color: #e74c3c !important;
}

.bg-warning {
    background-color: #f1c40f !important;
}

@media (max-width: 768px) {
    .info-card {
        padding: 30px 20px;
    }
}

/* Search Box Styles */
.input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
}

.input-group .form-control,
.input-group .form-select {
    border: none;
    padding: 12px 15px;
}

.input-group .btn {
    padding: 12px 25px;
}


/* Features & Events Section */
.section-title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.navigation-arrows .btn {
    padding: 5px 10px;
    color: var(--primary-color);
    border: 1px solid #ddd;
}

.featured-project {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.project-stats {
    font-size: 0.9rem;
    color: #666;
}

.project-stats span {
    margin-left: 15px;
}

.volunteer-section {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.volunteer-count {
    color: #666;
    font-size: 0.9rem;
}

.event-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-item img {
    border-radius: 5px;
}

.event-details {
    font-size: 0.9rem;
}

.event-details h5 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.event-details p {
    color: #666;
}

.event-date {
    text-align: center;
    min-width: 60px;
}

/* Donation Categories Section */
.donation-categories h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.category-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card .icon {
    color: var(--primary-color);
}

.category-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card p {
    color: #666;
    margin-bottom: 20px;
}

.category-card .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0;
}

.category-card .btn-link:hover {
    text-decoration: underline;
}

.volunteer-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.video-error-placeholder {
    background: #000;
    padding: 40px 20px;
    border-radius: 4px;
    color: white;
}

.error-content h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.error-content p {
    margin: 0;
    opacity: 0.8;
}

.volunteer-count {
    color: #666;
    font-size: 14px;
}

.volunteer-count i {
    margin-right: 5px;
}

.btn-warning {
    background: #ffa500;
    border: none;
    color: #fff;
}

.btn-warning:hover {
    background: #ff9100;
    color: #fff;
}


/* About Section Styles */

/* About Section Full Width with Background Image */
.about-section {
    width: 100%;
    padding: 50px 0;
    background: url('../../uploads/site_default_assets/breadcrumb_section.jpg') no-repeat center center/cover;
    position: relative;
}

/* Optional: Dark Overlay for better text visibility */
.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* semi-transparent black */
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2; /* keeps text above overlay */
}

.about-content .subtitle {
    color: #fff;
    text-transform: uppercase;
    font-size: 37px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
}

/*.about-content h2:after {
    content: '';
    width: 100px;
    height: 10px;
    background: #ffd700;
    position: absolute;
    bottom: -5px;
    left: 0;
}*/

.about-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-content ul li {
    margin-bottom: 10px;
    font-size: 18px;
}


/*.about-content .subtitle {
    color: #666;
    text-transform: uppercase;
    font-size: 27px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    position: relative;
}

.about-content h2:after {
    content: '';
    width: 100px;
    height: 10px;
    background: #ffd700;
    position: absolute;
    bottom: -5px;
    left: 0;
    z-index: -1;
}

.about-content ul li {
    margin-bottom: 10px;
}
*/



/** services ****/

/* Thoughtful Services Section */
.thoughtful-services-section {
    background-color: #fff;
}

.thoughtful-services-section h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.thoughtful-services-section .lead {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* General card styling (for both service-card and Bootstrap card) */
.service-card,
.thoughtful-services-section .card {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover,
.thoughtful-services-section .card:hover {
    border-color: #9c27b0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Card image wrapper (for old services) */
.service-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Card images (for both structures) */
.service-card img,
.thoughtful-services-section .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.service-card:hover img,
.thoughtful-services-section .card:hover img {
    transform: scale(1.08);
}

/* Titles */
.service-title,
.thoughtful-services-section .card-title {
    color: #333;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Descriptions */
.service-description,
.thoughtful-services-section .card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}


/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =================== Re-added Styles =================== */

/* Testimonial Styles */
.testimonial {
    background-color: #f8f9fa;
}

.testimonial-item {
    padding: 30px;
    gap: 30px;
}

.author-img img {
    width: 100px;
    height: 100px;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.testimonial-content {
    color: #666;
}

.venue-time {
    color: #333;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #666;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

/* Donation Categories */
.donation-categories {
    background-color: #f8f9fa;
}

.section-title {
    color: #2c3e50;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
}

.category-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card.active {
    border: 1px solid #ffa500;
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
}

.category-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.category-card h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
}

.category-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #ffa500;
}

.btn-success {
    background-color: #28a745;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
}

.footer h3 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Social Links */
.social-links a {
    color: white;
    text-decoration: none;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

/* Contact Info */
.contact-info li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    font-size: 18px;
}

/* Copyright */
.copyright {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Media Queries */
@media (max-width: 768px) {
    .footer h3 {
        font-size: 20px;
    }

    .social-links {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .category-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: auto;
    }

    .testimonial-item {
        flex-direction: column;
        text-align: center;
    }

    .features-events .col-md-4 {
        margin-bottom: 30px;
    }

    .event-item {
        margin-bottom: 15px;
    }

    .header-right {
        text-align: center;
        margin-top: 20px;
    }

    .hero-content {
        text-align: center;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2,
    .welcome h2 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .top-links {
        justify-content: center;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .logo img {
    max-height: 320px;
    height: 115px;
    width: 100%;
}
}

@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        background-color: transparent;
        border: none;
        padding-left: 20px;
        box-shadow: none;
    }

    .navbar-nav .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
    }

    .navbar-nav .dropdown-item:hover {
        background-color: transparent;
        color: white;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
}