:root {
    --primary-color: #4a6fa5;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-text: #777;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
}

/* Navbar Styles */
.glass-navbar {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1030;
}

.nav-link {
    position: relative;
    font-size: 1rem;
    color: #f8f9fa !important;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: goldenrod;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown-menu {
    font-size: 0.95rem;
}

.animate-dropdown {
    animation: fadeInDown 0.3s ease both;
    border-radius: 12px;
    background-color: #1f1f1f;
}

.dropdown-item {
    color: whitesmoke;
}

.dropdown-item:hover {
    background-color: #343a40;
    color: goldenrod;
}

/* Sidebar Styles */
.sidebar {
    background-color: black;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 56px);
    position: fixed;
    top: 56px;
    left: 0;
    width: 250px;
    transition: transform 0.3s ease;
    z-index: 1020;
    overflow-y: auto;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar.show {
    transform: translateX(0);
}

.sidebar .nav-link {
    color: white;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    background-color: rgba(74, 111, 165, 0.1);
    color: goldenrod;
}

.sidebar .nav-link.active {
    background-color: rgba(74, 111, 165, 0.1);
    border-left: 3px solid goldenrod;
    color: goldenrod;
    font-weight: 500;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    padding: 0 1rem 0 1rem;
    transition: margin-left 0.3s ease;
    min-height: calc(100vh - 56px);
}

.main-content.full-width {
    margin-left: 0;
}

/* Sidebar Toggle Buttons */
.sidebar-toggle {
    position: fixed;
    left: 10px;
    top: 65px;
    z-index: 1040;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: var(--primary-color);
    color: white;
}

.sidebar-hide-toggle {
    position: fixed;
    left: 260px;
    top: 70px;
    z-index: 1040;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar.hidden + .sidebar-hide-toggle {
    left: 20px;
}

.sidebar-hide-toggle:hover {
    background-color: var(--primary-color);
    color: white;
}

footer {
    transition: margin-left 0.3s ease;
}

.sidebar.hidden ~ footer {
    margin-left: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: flex;
    }

    .sidebar-hide-toggle {
        display: none !important;
    }
}

@media (min-width: 993px) {
    .sidebar-toggle {
        display: none;
    }

    .sidebar-hide-toggle {
        display: flex;
    }
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Button */
.home-btn {
    background-color: goldenrod;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 20px;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.home-btn:hover {
    background-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* General Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    padding: 0;
    text-align: center;
}

h1 {
    margin: 0;
    font-weight: 300;
}

.album-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #410046;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Contact Page Styles */
.contact-header {
    background: linear-gradient(rgba(74, 111, 165, 0.8), rgba(74, 111, 165, 0.8));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 50px 0 40px;
    text-align: center;
    margin-bottom: 30px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 100%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.contact-info h2,
.contact-form h2 {
    color: var(--primary-color);
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.contact-info h2::after,
.contact-form h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 3px;
    background: goldenrod;
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
    padding: 12px;
    border-radius: 8px;
}

.info-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.info-item i {
    color: goldenrod;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 50%;
    padding: 12px;
}

.info-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #333;
}

.info-text p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.email-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.email-wrapper a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-wrapper a:hover {
    color: goldenrod;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: goldenrod;
    color: white;
    transform: translateY(-3px);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: goldenrod;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.2);
    outline: none;
}

form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: goldenrod;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.submit-btn:hover {
    background-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

.map-container {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 150px;
    border: 0;
}

/* Images */
.rounded-circle {
    object-fit: cover;
    width: 120px;
    height: 120px;
}

.carousel-img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Full Height Slide */
.full-height-slide {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay-content {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 2rem;
}

.image-box {
    position: relative;
    overflow: hidden;
    width: 220px;
}

.grid-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-box:hover .grid-image {
    transform: scale(1.05);
}

.caption {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: bold;
}

/* Carousel Full Width */
#heroCarousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.carousel-inner {
    width: 100%;
}

/* Countdown Section Background and Layout */
.event-countdown-section {
    position: relative;
    text-align: center;
    padding: 2.5rem 1rem; /* Reduced from 5rem */
    background: linear-gradient(to right top, #0c1e61, #1a2a6c, #1c4670);
    color: #fff;
    overflow: hidden;
}

/* Countdown Grid Wrapper */
#countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Slightly smaller gap */
    margin: 0 auto;
    padding: 5px;
}

/* Countdown Box Styles */
.countdown-box {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 1rem 0.75rem; /* Reduced vertical padding */
    min-width: 80px;
    text-align: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-4px);
}

.countdown-box span {
    font-size: 2rem; /* Reduced from 2.5rem */
    font-weight: 600;
    color: #fff;
}

.countdown-box small {
    font-size: 0.8rem;
    color: #f8f9fa;
}

/* Countdown Title */
.countdown-title,
.event-countdown-section h2 {
    font-size: 1.6rem; /* Reduced from 2rem */
    margin-bottom: 1.5rem;
    text-shadow: 0 0 4px #000;
}

/* Social Media Icons */
.social-icons a {
    font-size: 1.3rem; /* Slightly smaller */
    color: #d4af37;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .countdown-box {
        min-width: 65px;
        padding: 0.75rem 0.5rem;
    }

    .countdown-box span {
        font-size: 1.5rem;
    }

    .countdown-box small {
        font-size: 0.7rem;
    }

    .countdown-title {
        font-size: 1.25rem;
    }
}

/* Swiper Slide Container */
.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

/* Each Slide */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    height: auto;
}

/* Card Styling */
.modern-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.modern-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Image Container */
.image-box {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 260px;
    width: 100%;
}

/* Image Inside */
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-card:hover .image-box img {
    transform: scale(1.05);
}

/* Caption Tag */
.caption-tag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #ffc107;
    color: #212529;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .image-box {
        height: 180px;
    }
}


/* Make all cards full width on mobile */
@media (max-width: 768px) {
    .row > [class^="col-"] {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card {
        margin-left: 0;
        margin-right: 0;
        padding: 15px;
    }

    /* Contact section specific mobile styles */
    #contact-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .contact-container {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 0 10px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 20px;
    }

    .contact-header {
        padding: 60px 0 40px;
    }

    .contact-header h1 {
        font-size: 1.8rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-item i {
        margin-bottom: 10px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .map-container iframe {
        height: 250px;
    }

    .full-height-slide {
        height: 60vh;
    }

    .overlay-content {
        height: 60vh;
        padding: 1rem;
    }

    .overlay-content h1 {
        font-size: 1.8rem;
    }

    .overlay-content .lead {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .contact-header {
        padding: 80px 0 60px;
        margin-bottom: 40px;
    }

    .contact-header h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .contact-header p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto;
    }

    .contact-info, .contact-form {
        min-width: calc(50% - 15px);
        padding: 30px;
    }

    .contact-container {
        gap: 30px;
        margin: 40px 0;
    }

    .info-item {
        margin-bottom: 25px;
        padding: 15px;
        flex-direction: row;
    }

    .info-item i {
        margin-bottom: 0;
    }

    .social-links {
        justify-content: flex-start;
    }

    .submit-btn {
        width: auto;
        padding: 12px 30px;
    }

    .map-container {
        margin: 40px 0;
    }

    .map-container iframe {
        height: 400px;
    }
}

@media (min-width: 993px) {
    .sidebar-toggle {
        display: none;
    }

    .sidebar-hide-toggle {
        display: flex;
    }
}

/* Add these to your existing CSS */

/* Swiper container enhancements */
.swiper {
    width: 100%;
    padding: 0 15px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.9) !important;
    border: 2px solid #212529;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Image overlay effect */
.image-overlay {
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.image-box:hover .image-overlay {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper {
        padding: 0;
    }
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Gradient background for the container */
.bg-gradient-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #343a40 100%);
}
/* Give Section Styles */
.give-hero {
    padding: 80px 0;
    margin-bottom: 40px;
    background-size: cover;
    background-position: center;
}

.giving-method-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.giving-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.payment-method-option {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method-option:hover {
    border-color: var(--primary-color);
    background: rgba(74, 111, 165, 0.05);
}

.payment-method-option.active {
    border-color: var(--primary-color);
    background: rgba(74, 111, 165, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .give-hero {
        padding: 60px 0;
    }

    .payment-methods-container {
        flex-direction: column;
    }
}