/* Global Styles */
:root {
    --primary-color: #B5292C;
    --secondary-color: #1cc88a;
    --dark-color: #5a5c69;
    --light-color: #f8f9fc;
    --accent-color: #f6c23e;
    --danger-color: #e74a3b;
    --success-color: #1cc88a;
    --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
    padding-top: 90px; /* Increased to match new navbar height */
    overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

p {
    margin-bottom: 1.2rem;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #2e59d9;
    border-color: #2653d4;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(78, 115, 223, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(78, 115, 223, 0.4);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* Navigation */
.navbar {
    padding: 1rem 1.5rem; /* Increased vertical padding */
    min-height: 80px; /* Increased minimum height */
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    display: flex;
    align-items: center;
}

.navbar-collapse {
    position: static; /* Reset any absolute positioning */
}

.navbar-nav {
    position: relative;
    z-index: 1; /* Ensure nav items are above other elements */
}

.navbar.scrolled {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.15);
    position: fixed;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 60px; /* Match logo height */
}

.header-logo {
    height: 55px; /* Slightly increased logo size */
    width: auto;
    transition: all 0.3s ease;
}

.mobile-logo {
    height: 40px;
    width: auto;
    display: none;
}

/* Mobile Menu Toggle Button */
.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.4rem 0.75rem;
    border-radius: 0.25rem;
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.1);
    outline: none;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    color: #1a1a2e !important;
    position: relative;
    margin: 0 0.2rem;
    z-index: 1; /* Ensure links are clickable */
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 50%;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px; /* Slightly increased for mobile */
    }
    
    .navbar {
        padding: 0.75rem 1rem; /* Adjusted for mobile */
        min-height: 70px; /* Slightly less on mobile */
    }
    
    .header-logo {
        height: 45px; /* Slightly smaller logo on mobile */
    }

    .mobile-logo {
        height: 45px; /* Match mobile logo size */
    }
    
    .navbar-collapse {
        background-color: #fff;
        padding: 1rem;
        margin: 0.5rem -1rem 0;
        border-radius: 0.25rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        flex-direction: column;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    
    .navbar-nav .btn {
        display: inline-block;
        margin: 0.5rem 0 0 0;
    }
}

/* Event Details Page */
.event-content {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.event-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.event-content p {
    color: #555;
    line-height: 1.8;
    white-space: pre-wrap; /* Preserve line breaks */
    word-wrap: break-word; /* Break long words if needed */
    overflow-wrap: break-word; /* Ensure text wraps within container */
    max-width: 100%; /* Ensure text doesn't overflow container */
}

/* Make sure images in the description are responsive */
.event-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 4px;
}

/* For code blocks if any */
.event-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
}

/* Links in description */
.event-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.event-content a:hover {
    color: #c0392b;
}

/* Hero Section */
.page-hero {
    height: 25vh;
    min-height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 90px; /* Increased to match new navbar height */
    margin-bottom: 60px;
}

.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 90px; /* Increased to match new navbar height */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Hero Carousel */
#heroCarousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    object-fit: cover;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.carousel-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 50%;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    transform: translateY(50%);
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    margin-bottom: 3rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 100% 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    #heroCarousel {
        height: 80vh;
        min-height: 500px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-caption .btn {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}


/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: #fff;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Mission Section */
.mission-section {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.mission-section .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.mission-section .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Stats Cards */
.mission-section .rounded-3 {
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mission-section .rounded-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.mission-section .display-4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* Facebook Updates */
.fb-desktop {
    position: relative;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fb-desktop h2 {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.fb-desktop h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.fb-posts {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .fb-desktop {
        margin-top: 2rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    .fb-desktop {
        position: sticky;
        top: 110px; /* Account for fixed navbar */
    }
}

/* Donation Section */
.donation-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #edb590 0%, #dbe0f0 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.donation-section .card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: var(--transition);
}

.donation-section .card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.donation-section .btn {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.donation-section .btn:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

/* Gallery Container */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 15px;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tablet View */
@media (max-width: 991px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .gallery-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
        max-width: 400px; /* Limit width for better readability */
        margin: 0 auto; /* Center the single column */
        gap: 20px; /* Add more space between rows */
    }
    
    .gallery-item {
        width: 100%; /* Ensure full width */
        max-width: 100%; /* Prevent overflow */
        margin: 0 auto; /* Center the items */
    }
}

/* For very small devices */
@media (max-width: 480px) {
    .gallery-container {
        padding: 0 10px;
    }
    
    .gallery-preview .section-title {
        font-size: 1.75rem;
    }
    
    .gallery-preview .lead {
        font-size: 1rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 1; /* Makes items square */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller desktops */
    }
}

@media (max-width: 767px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 12px;
        padding: 0 10px;
    }
    .gallery-preview {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns on mobile */
        gap: 8px;
        padding: 0 8px;
    }
    .gallery-preview {
        padding: 2.5rem 0;
    }
    .gallery-preview .section-title {
        font-size: 1.75rem;
    }
    .gallery-preview .lead {
        font-size: 1rem;
    }
}

/* For very small devices */
@media (max-width: 360px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Gallery Modal */
#galleryModal .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
}

#galleryModal .modal-content {
    background: transparent;
    border: none;
}

#galleryModal .modal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1060;
    border: none;
    padding: 0;
}

#galleryModal .btn-close {
    /* background: rgba(0, 0, 0, 0.7); */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0.5rem;
    margin: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#galleryModal .btn-close:hover {
    opacity: 1;
    /* background: rgba(0, 0, 0, 0.9); */
}

#galleryCarousel {
    max-height: 80vh;
}

#galleryCarousel .carousel-item img {
    max-height: 80vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

#galleryCarousel .carousel-control-prev,
#galleryCarousel .carousel-control-next {
    width: 10%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

#galleryCarousel .carousel-control-prev {
    border-radius: 8px 0 0 8px;
}

#galleryCarousel .carousel-control-next {
    border-radius: 0 8px 8px 0;
}

#galleryCarousel .carousel-control-prev:hover,
#galleryCarousel .carousel-control-next:hover {
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller desktops */
    }
}

@media (max-width: 767px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 12px;
        padding: 0 10px;
    }
    .gallery-preview {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns on mobile */
        gap: 8px;
        padding: 0 8px;
    }
    .gallery-preview {
        padding: 2.5rem 0;
    }
    .gallery-preview .section-title {
        font-size: 1.75rem;
    }
    .gallery-preview .lead {
        font-size: 1rem;
    }
}

/* For very small devices */
@media (max-width: 360px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #galleryModal .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
    
    #galleryCarousel .carousel-control-prev,
    #galleryCarousel .carousel-control-next {
        width: 15%;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        aspect-ratio: 1.2;
    }
    
    #galleryCarousel .carousel-control-prev,
    #galleryCarousel .carousel-control-next {
        width: 20%;
    }
    
    #galleryCarousel .carousel-item img {
        max-height: 60vh;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.cta-section .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2.5rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: #f8f9fc;
}

.contact-info h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0;
}

.contact-info a {
    color: var(--dark-color);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 5px;
    border: 1px solid #d1d3e2;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

textarea.form-control {
    min-height: 150px;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 4rem 0 1.5rem;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

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

footer ul li {
    margin-bottom: 0.8rem;
}

footer a {
    color: #adb5bd;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ===============================================
   Programs Page Styles
   =============================================== */

/* Program cards */
.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.program-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.program-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.program-meta {
    display: flex;
    justify-content: space-between;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.program-meta span {
    display: inline-flex;
    align-items: center;
}

.program-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.program-details-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.program-details-btn:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.program-details-btn i {
    transition: transform 0.3s ease;
}

.program-details-btn:hover i {
    transform: translateX(5px);
}

.program-categories {
    margin-bottom: 30px;
}

.category-btn {
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    padding: 8px 20px;
    margin: 0 5px 10px 0;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-btn.active, .category-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.program-features {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.feature-box {
    text-align: center;
    padding: 20px 15px;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(78, 115, 223, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 30px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    margin: 0 5px;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background: #f8f9fa;
}

/* ===============================================
   Gallery Page Styles
   =============================================== */

.gallery-section {
    padding: 100px 0;
}

.gallery-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.gallery-item {
    position: relative;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 115, 223, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 20px;
    text-align: center;
    color: #fff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.gallery-title {
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
    opacity: 0;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-description {
    transform: translateY(0);
    opacity: 1;
}

.gallery-view-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease 0.2s;
    opacity: 0;
}

.gallery-item:hover .gallery-view-btn {
    transform: translateY(0);
    opacity: 1;
}

.gallery-view-btn:hover {
    background: var(--secondary-color);
    color: #fff;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .video-play-btn {
    background: var(--primary-color);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-pagination {
    margin-top: 50px;
}

/* ===============================================
   Donation Page Styles
   =============================================== */

.donation-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/3.jpg');
    background-size: cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.amount-option input[type="radio"] { 
    display: none; 
}

.amount-option label {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amount-option input[type="radio"]:checked + label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.donation-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.impact-item {
    text-align: center;
    padding: 30px 20px;
    color: white;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 15px;
    max-height: 500px;
}

/* ===============================================
   Contact Page Styles
   =============================================== */

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/3.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.contact-info-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(78, 115, 223, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.form-control, .form-select {
    height: 50px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    margin-bottom: 20px;
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #2e59d9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
    
    .contact-hero {
        padding: 80px 0;
    }
}

/* ===============================================
   Animations
   =============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.25rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
    }
    
    .hero {
        height: auto;
        padding: 10rem 0 6rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .about-section, .mission-section, .donation-section, .gallery-preview, .contact-section {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    footer {
        text-align: center;
    }
    
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center !important;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}

/* Projects Section */
.projects-section {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.projects-section .section-title {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.projects-section .section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.project-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .projects-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .project-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        max-width: 400px;
        margin: 0 auto;
    }
}



/* Modal Styles */
#imageModal .modal-dialog {
    max-width: 90%;
    max-height: 90vh;
}

#imageModal .modal-body {
    padding: 0;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#imageModal .modal-body img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

#imageModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

#imageModal .modal-footer {
    border-top: none;
    padding-top: 0;
}

/* Navigation Buttons */
#prevImage, #nextImage {
    min-width: 120px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #imageModal .modal-dialog {
        margin: 0.5rem auto;
        max-width: 95%;
    }
    
    #imageModal .modal-body {
        max-height: 60vh;
    }
    
    #imageModal .modal-body img {
        max-height: 60vh;
    }
}


/* Program Cards */
.program-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.program-img {
    width: 100%;
    height: 200px;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.program-card:hover .program-img {
    transform: scale(1.05);
}

.program-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-meta {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    font-size: 14px;
    color: #6c757d;
}

.program-meta i {
    margin-right: 5px;
    color: #e74c3c;
}

.program-details-btn {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.program-details-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.program-details-btn:hover {
    color: #c0392b;
}

.program-details-btn:hover i {
    transform: translateX(5px);
}

/* Category Buttons */
.program-categories {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.category-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .program-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .program-categories::-webkit-scrollbar {
        display: none;
    }
    
    .category-btn {
        white-space: nowrap;
        flex: 0 0 auto;
    }
}

/* Experience Box */
.experience-box {
    position: absolute;
    bottom: -30px;
    right: 20px;
    max-width: 280px;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.experience-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #4a6bff);
    z-index: -1;
    opacity: 0.95;
}

.experience-box .counter {
    font-size: 3.5rem;
    line-height: 1;
    display: block;
    transition: all 0.3s ease;
}

.experience-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0;
}

.experience-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.2;
    transform: rotate(-15deg);
    transition: all 0.3s ease;
}

/* Hover Effects */
.experience-box:hover {
    transform: translateY(15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

.experience-box:hover .counter {
    transform: scale(1.05);
}

.experience-box:hover .experience-icon {
    opacity: 0.4;
    transform: rotate(0deg);
}

/* Counter Animation */
@keyframes countUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.counter.animated {
    animation: countUp 1s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .experience-box {
        max-width: 240px;
        padding: 15px !important;
    }
    
    .experience-box .counter {
        font-size: 2.8rem;
    }
    
    .experience-box p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .experience-box {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        margin-top: -30px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Index Page Gallery Preview */
.gallery-preview {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.gallery-preview .section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 1.5rem;
}

.gallery-preview .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.gallery-preview .lead {
    color: #6c757d;
    margin-bottom: 2.5rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px; /* Fixed height for all gallery items */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* View Full Gallery Button */
.gallery-preview .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.gallery-preview .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 767px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .gallery-item {
        height: 200px;
    }
}


/* Footer Logo Styles */
.logo-container {
    background-color: white;
    display: inline-block;
    padding: 1rem 2.5rem;  /* Increased horizontal padding */
    border-radius: 50px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1rem;
    min-width: 280px;  /* Added minimum width */
    text-align: center;  /* Center the logo */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-container {
        padding: 0.75rem 2rem;  /* Adjusted for medium screens */
        min-width: 240px;
    }
    .logo-container .footer-logo {
        height: 35px !important;
        max-width: 200px !important;  /* Increased max width */
    }
}

@media (max-width: 576px) {
    .logo-container {
        padding: 0.5rem 1.5rem;  /* Adjusted for small screens */
        min-width: 200px;
    }
    .logo-container .footer-logo {
        height: 30px !important;
        max-width: 180px !important;  /* Increased max width */
    }
}

/* Footer content alignment */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-container {
    margin-bottom: 1rem;
    width: 100%;
}

.footer-text {
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-container {
        display: flex;
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        width: 100%;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 0;
    margin: 0 0 2rem;
    background-color: transparent;
    border-radius: 0;
    font-size: 0.9rem;
}

.breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--dark-color);
}

.breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb .breadcrumb-item a:hover {
    color: #c23a2e;
    text-decoration: underline;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    display: inline-block;
    padding: 0 0.5rem;
    color: #6c757d;
    font-size: 1.2rem;
    line-height: 1;
}

.breadcrumb .breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .breadcrumb {
        padding: 0.75rem 0;
        font-size: 0.8rem;
    }
    
    .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.35rem;
    }
}

    body {
        padding-top: 80px;
        scroll-behavior: smooth;
    }

    @media (max-width: 991.98px) {
        body {
            padding-top: 70px;
        }
    }

    .page-hero {
    position: relative;
    background: url("assets/images/bannerimagelokarths.png") center center / cover no-repeat;
       min-height: 39vh;
    margin-right: -3px;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
        background: rgb(224 230 239 / 25%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb color fix */
.breadcrumb-item a {
    color: #ffffff;
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #f8f9fa;
}

