/* General Body Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #4A4A4A;
}

/* Top Contact Bar */
.top-bar {
    background-color: #f8f9fa; /* A light grey */
    font-size: 0.9rem;
    color: #6c757d;
}

/* Navbar Styling */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 500;
    color: #4A4A4A;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #E85A4F; /* A warm red color */
}

.btn-donation {
    background-color: #E85A4F;
    color: white;
    border-radius: 8px;
    padding: 8px 25px;
    transition: background-color 0.3s;
}

.btn-donation:hover {
    background-color: #d73a2e;
    color: white;
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('asset/img/home_banner.png');
}

/* Ensure content is above the overlay */
.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    text-align: left !important;
    margin-left: 0;
    padding-left: 5rem;
    bottom: -100px;
}

.hero-section h1 {
    color: #fff;
}

.hero-section .lead {
    color: #f1f1f1;
}

.hero-section .btn-light {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
}

.hero-section .btn-outline-light {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    border-width: 2px;
}


/* Mission & Values Section */
.mission-values-section {
    background-color: #fff;
}

.section-title {
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 700px;
    color: #6c757d;
}

.feature-card {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    max-height: 100px;
    margin-bottom: 1.5rem !important;
}

.card-title {
    color: #333;
    margin-bottom: 1rem;
}

/* Specific card background colors */
.card-safe {
    background-color: #FEF1F0; /* Light Pink */
}
.card-community {
    background-color: #FFF9E5; /* Light Yellow */
}
.card-care {
    background-color: #F0F9FF; /* Light Blue */
}

/* Hero Content Section */
.hero-content-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content-section .container {
    position: relative;
    z-index: 2;
}

.hero-content-section h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content-section .lead {
    color: #f1f1f1;
    font-size: 1.25rem;
    line-height: 1.6;
}

.hero-content-section .btn-light {
    background-color: #E85A4F;
    border-color: #E85A4F;
    color: white;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.hero-content-section .btn-light:hover {
    background-color: #d73a2e;
    border-color: #d73a2e;
    color: white;
    transform: translateY(-2px);
}

/* Statistics Section */
.statistics-section {
    background-color: #f8f9fa;
}

.stat-box {
    background-color: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-number {
    color: #E85A4F;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0;
}

/* Donation Section */
.donation-section {
    background-color: white;
}

.donation-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.donation-icon {
    color: #E85A4F;
}

.monetary-donation {
    background-color: #FFFAF4;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.monetary-donation h4 {
    color: #333;
}

.monetary-donation .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
}

.monetary-donation .form-control:focus {
    border-color: #E85A4F;
    box-shadow: 0 0 0 0.2rem rgba(232, 90, 79, 0.25);
}

/* Stories Section */
.stories-section {
    background-color: white;
}

#testimonialCarousel {
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: #E85A4F;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #E85A4F;
    border: none;
    margin: 0 5px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.carousel-indicators button.active {
    opacity: 1;
}

.testimonial-card {
    background-color: #E3F2FD;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.quote-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #BBDEFB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976D2;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 1rem;
}

.testimonial-author strong {
    color: #333;
    font-size: 1.1rem;
}

/* Volunteer Section */
.volunteer-section {
    background-color: #f8f9fa;
}

.volunteer-card {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    text-align: left;
}

.volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.volunteer-icon {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volunteer-card h5 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.volunteer-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Life Gallery Section */
.life-gallery-section {
    background-color: white;
}

.gallery-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 250px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.view-all-link {
    color: #E85A4F;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #d73a2e;
    text-decoration: none;
}

/* Volunteer Application Section */
.volunteer-application-section {
    background-color: #f8f9fa;
}

.volunteer-application-card {
    background-color: #EFF5FF;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.volunteer-benefits {
    background-color: #EFF5FF;
}

.volunteer-benefits h3 {
    color: #333;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.5;
}

.benefit-item i {
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.volunteer-form {
    background-color: white;
}

.volunteer-form h3 {
    color: #333;
}

.volunteer-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.volunteer-form .form-control:focus {
    border-color: #E85A4F;
    box-shadow: 0 0 0 0.2rem rgba(232, 90, 79, 0.25);
    outline: none;
}

.volunteer-form .form-control::placeholder {
    color: #999;
}

.volunteer-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Footer Section */
.footer-section {
    background-color: #1e3a8a;
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.logo-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-description {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    color: #e5e7eb;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #E85A4F;
    width: 20px;
}

.footer-bottom {
    background-color: #1e40af;
    padding: 20px 0;
    margin-top: 40px;
}

.copyright-text {
    color: #e5e7eb;
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal-links {
    color: #e5e7eb;
}

.footer-legal-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: white;
}

/* Gallery Page Styles */
.gallery-main-section {
    background-color: white;
    padding: 80px 0;
}

.gallery-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 200px;
    margin-bottom: 2rem;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.view-more-link {
    color: #E85A4F;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s;
    padding: 12px 30px;
    border: 2px solid #E85A4F;
    border-radius: 8px;
    display: inline-block;
}

.view-more-link:hover {
    color: white;
    background-color: #E85A4F;
    text-decoration: none;
}

/* Donation Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    color: #333;
    font-weight: 600;
}

.bank-details {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-item .label {
    font-weight: 500;
    color: #666;
    flex: 1;
}

.detail-item .value {
    font-weight: 600;
    color: #333;
    font-family: 'Courier New', monospace;
    background-color: white;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    flex: 2;
    text-align: right;
}

.qr-code-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qr-code {
    width: 200px;
    height: 200px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.qr-text {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin: 0;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 15px 15px;
}
