:root {
    --primary-blue: #0d47a1;
    --soft-blue: #1976d2;
    --light-blue: #42a5f5;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    padding-top: 76px;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--soft-blue);
    border-color: var(--soft-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--soft-blue) 100%);
}

/* Photo Slider Carousel */
.hero-section #heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section #heroCarousel .carousel-inner {
    height: 100%;
    width: 100%;
}

/* Video container styling for full preview */
.hero-section #heroCarousel .carousel-item.video-item {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background-color: #000;
}

.hero-section #heroCarousel .carousel-item:not(.video-item) {
    overflow: hidden;
}

.hero-section #heroCarousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section #heroCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-section #heroCarousel .carousel-item video,
.hero-slide-video {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    padding: 0;
    background-color: #000;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-section #heroCarousel .carousel-indicators {
    z-index: 4;
    bottom: 30px;
    margin-bottom: 0;
}

.hero-section #heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-section #heroCarousel .carousel-indicators button.active {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.hero-section #heroCarousel .carousel-control-prev,
.hero-section #heroCarousel .carousel-control-next {
    z-index: 4;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-section #heroCarousel .carousel-control-prev {
    left: 20px;
}

.hero-section #heroCarousel .carousel-control-next {
    right: 20px;
}

.hero-section #heroCarousel .carousel-control-prev:hover,
.hero-section #heroCarousel .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.hero-section #heroCarousel .carousel-control-prev-icon,
.hero-section #heroCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.hero-section #heroCarousel .carousel-caption {
    bottom: 100px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px 25px;
    backdrop-filter: blur(5px);
}

.hero-section #heroCarousel .carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section #heroCarousel .carousel-caption p {
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 71, 161, 0.6), rgba(25, 118, 210, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
    position: relative;
    display: inline-block;
}

.hero-title-with-logo {
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
    display: inline-block;
}

.hero-title-text {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.hero-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    max-height: 180px;
    width: auto;
    height: auto;
    min-width: 300px;
    opacity: 0.6;
    z-index: 0;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-content p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title,
h1, h2, h3, h4, h5, h6,
.card-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-image-wrap {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--gray-100) 100%);
    border: 2px solid #d4af37;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    border-radius: 2px;
    opacity: 0.8;
}

.about-image {
    display: block;
    width: 100%;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-wrap:hover .about-image {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(13, 71, 161, 0.15);
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.15);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(212, 175, 55, 0.25), rgba(140, 100, 20, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: #1a1a1a;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Gallery lightbox: constrained, professional preview */
.gallery-lightbox-dialog {
    max-width: min(90vw, 720px);
    margin: 1rem auto;
}

.gallery-lightbox-content {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    position: relative;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.gallery-lightbox-prev {
    left: 12px;
}
.gallery-lightbox-next {
    right: 12px;
}

.gallery-lightbox-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.875rem;
}

.gallery-lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    z-index: 10;
}

.gallery-lightbox-body {
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.gallery-lightbox-inner {
    max-width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-media {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.gallery-lightbox-body video.gallery-lightbox-media {
    max-height: 75vh;
}

/* Donation Section */
.donation-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--soft-blue) 100%);
    color: white;
}

/* Donate Now button – gold accent, pill shape */
.btn-donate-now {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #fff;
    color: var(--primary-blue);
    border: 2px solid #d4af37;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-donate-now i {
    margin-right: 0.5rem;
    font-size: 1.1em;
}
.btn-donate-now:hover {
    background: #fff;
    color: var(--primary-blue);
    border-color: #c9a227;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}
.btn-donate-now:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.donation-form {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: var(--gray-800);
}

.form-label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.1);
}

.donation-amount-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.donation-amount-row .donation-amount-col {
    flex: 0 0 calc((100% - 6 * 0.5rem) / 7);
    min-width: 0;
    max-width: none;
}
@media (max-width: 1199px) {
    .donation-amount-row .donation-amount-col {
        flex: 0 0 calc((100% - 3 * 0.5rem) / 4);
    }
}
@media (max-width: 767px) {
    .donation-amount-row .donation-amount-col {
        flex: 0 0 calc((100% - 1 * 0.5rem) / 2);
    }
}
.amount-button {
    width: 100%;
    height: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 0.5rem 0.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-size: 0.7rem;
    line-height: 1.2;
    overflow: hidden;
}

.amount-button:hover {
    border-color: var(--primary-blue);
    background-color: var(--gray-100);
}

.amount-button.active {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    color: white;
}

.payment-provider {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    max-height: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

.payment-provider:hover {
    border-color: var(--primary-blue);
    background-color: var(--gray-100);
}

.payment-provider.active {
    border-color: var(--primary-blue);
    background-color: rgba(13, 71, 161, 0.05);
}

.payment-provider input[type="radio"] {
    margin-right: 0.75rem;
}

.payment-provider-icon {
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.payment-provider-icon-svg {
    font-size: 40px;
    line-height: 1;
}

.payment-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* (Mobile payment-specific label classes removed; using default layout) */

/* Transparency Section */
.transparency-section {
    background-color: var(--gray-100);
}

.transparency-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Partners Slider - Horizontal */
.partners-slider-container {
    overflow: hidden;
    width: 100%;
    margin: 3rem 0;
    padding: 2.5rem 0;
    position: relative;
}
.partners-slider-container::before,
.partners-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-100), transparent);
}

.partners-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-100), transparent);
}

.partners-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-slider-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    animation: slideHorizontal 30s linear infinite;
    width: fit-content;
    will-change: transform;
}

.partner-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    width: auto;
    min-width: 120px;
    height: 80px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.partner-logo-item:hover {
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.15);
    transform: translateY(-4px);
}

.partner-logo {
    max-height: 70px;
    max-width: 180px;
    height: auto;
    width: auto;
    transition: all 0.3s ease;
    object-fit: contain;
    display: block;
}

.partner-logo:hover {
    transform: scale(1.15);
}

@keyframes slideHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

/* Pause animation on hover */
.partners-slider-container:hover .partners-slider-track {
    animation-play-state: paused;
}


/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .partners-slider-track {
        gap: 3rem;
    }
    
    .partner-logo-item {
        min-width: 120px;
        height: 60px;
        padding: 0.75rem 1.5rem;
    }
    
    .partner-logo {
        max-height: 50px;
        max-width: 120px;
    }
    
    .partners-slider-container::before,
    .partners-slider-container::after {
        width: 50px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-section #heroCarousel .carousel-item {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-logo-bg {
        max-width: 400px;
        max-height: 150px;
        opacity: 0.4;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-section #heroCarousel .carousel-control-prev,
    .hero-section #heroCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-section #heroCarousel .carousel-control-prev {
        left: 10px;
    }
    
    .hero-section #heroCarousel .carousel-control-next {
        right: 10px;
    }
    
    .hero-section #heroCarousel .carousel-control-prev-icon,
    .hero-section #heroCarousel .carousel-control-next-icon {
        width: 15px;
        height: 15px;
    }
    
    .hero-section #heroCarousel .carousel-indicators {
        bottom: 20px;
    }
    
    .hero-section #heroCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .hero-section #heroCarousel .carousel-caption {
        bottom: 60px;
        padding: 10px 15px;
    }
    
    .hero-section #heroCarousel .carousel-caption h5 {
        font-size: 1.2rem;
    }
    
    .hero-section #heroCarousel .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .donation-form {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Map Section */
.location-section {
    background-color: var(--white);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 400px;
    width: 100%;
}

#map,
#map iframe,
.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 0;
}

.location-info {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.location-info h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.location-info p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.location-info i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* Pagination: compact nav buttons */
.pagination {
    margin-bottom: 0;
    flex-wrap: wrap;
}
.pagination .page-link {
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
}
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: 0.35rem 0.5rem;
}

/* Navigation Logo */
.navbar-logo {
    height: 56px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    border-radius: 14px;
    border: 2px solid #d4af37; /* thin gold frame */
}

.navbar-logo:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 44px;
        max-width: 200px;
    }
}

/* Navigation: pill-style buttons with golden strip – squeezed to the right */
.navbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-right: 0.5rem;
}
.navbar-collapse {
    flex-grow: 0;
    justify-content: flex-end;
}
.navbar-nav {
    margin-left: auto !important;
    margin-bottom: 0;
    gap: 0;
}
.navbar-nav .nav-item {
    margin-left: 0.08rem;
    margin-right: 0.08rem;
}
.navbar-nav .nav-link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.12);
    border: 2px solid #d4af37;
    border-radius: 999px;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #d4af37;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5);
}
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: none;
    display: none;
}
.navbar-nav .nav-link.dropdown-toggle::after {
    content: '';
    display: none;
}
.navbar-nav .dropdown .nav-link.dropdown-toggle {
    padding-right: 1.5rem;
}
.navbar-nav .dropdown .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.35em;
    vertical-align: middle;
    content: '';
    border: 0.35em solid transparent;
    border-top-color: currentColor;
    border-bottom: 0;
}

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 0.3rem 0.45rem;
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
}

/* Admin dropdown: same decoration as nav – golden strip, compact, pill-style */
.navbar .dropdown-menu {
    border: 2px solid #d4af37;
    border-radius: 14px;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.navbar .dropdown-menu li {
    list-style: none;
}
.navbar .dropdown-menu .dropdown-item {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 999px;
    border: 2px solid #d4af37;
    margin-bottom: 0.2rem;
    color: var(--gray-800);
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}
.navbar .dropdown-menu .dropdown-item:last-child,
.navbar .dropdown-menu li:last-child .dropdown-item {
    margin-bottom: 0;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: var(--primary-blue);
    color: #fff !important;
    border-color: #d4af37;
}
.navbar .dropdown-menu .dropdown-divider {
    margin: 0.3rem 0;
    border-color: rgba(212, 175, 55, 0.4);
}
/* Logout item in Admin dropdown – red highlight on hover */
.navbar .dropdown-item-logout:hover,
.navbar .dropdown-item-logout:focus-visible {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* Always-visible Donate button in navbar */
.navbar-donate-fixed {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-width: 2px;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

/* Footer Logo */
.footer-copyright {
    white-space: nowrap;
    font-size: clamp(0.75rem, 2.2vw, 1rem);
}

.footer-logo {
    max-width: 250px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    border: 2px solid #d4af37; /* thin gold frame */
}

@media (max-width: 768px) {
    .footer-logo {
        max-width: 200px;
        max-height: 60px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        font-size: 28px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Stock video watermark overlay (centre) – must sit on top of video */
.stock-video-wrap {
    position: relative;
    isolation: isolate;
}
.stock-video-wrap .stock-video-el {
    position: relative;
    z-index: 0;
    display: block;
}
.stock-video-wrap .stock-video-watermark {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.stock-video-wrap .stock-video-watermark img {
    max-width: 32%;
    max-height: 55%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
}
.stock-video-wrap .stock-video-watermark-text {
    display: none;
    font-size: clamp(14px, 4vw, 22px);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.75);
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* Gallery items: thin golden frame */
.gallery-item {
    border-radius: 14px;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.8);
}

/* Stock images/videos: golden frame (matches gallery) */
#stock .card-img-top,
#stock .stock-video-wrap {
    border-radius: 14px;
    border: 2px solid rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

/* Team page: thin rounded golden strip around member photos */
.team-photo-wrap {
    display: inline-block;
    padding: 3px;
    border: 3px solid #d4af37;
    border-radius: 50%;
    line-height: 0;
}

/* Ambassadors: same golden strip (uses .team-photo-wrap) */
.team-photo-wrap img,
.team-photo-wrap > div {
    display: block;
    border-radius: 50%;
}

/* Clickable profile photo (Team & Ambassadors) */
.profile-photo-trigger {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.profile-photo-trigger:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

/* Profile preview modal */
.profile-preview-modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.4);
}
.profile-preview-photo-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    display: flex;
}
.profile-preview-contact-row {
    margin-bottom: 0.25rem;
}
.profile-preview-icons-inline {
    display: inline-flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: center;
    gap: 0.25rem;
}
.profile-preview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    font-size: 0.7rem;
    border-radius: 50%;
    color: #fff;
    transition: opacity 0.2s, transform 0.2s;
    text-decoration: none;
    font-size: 0.75rem;
}
.profile-preview-icon:hover {
    opacity: 0.9;
    transform: scale(1.15);
}
.profile-preview-icon-wa {
    background: #25d366;
    color: #fff;
}
.profile-preview-icon-fb {
    background: #1877f2;
    color: #fff;
}
.profile-preview-icon-x {
    background: #000;
    color: #fff;
}
.profile-preview-icon-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}
.profile-preview-icon-tiktok {
    background: #000;
    color: #fff;
}
.profile-preview-icon--disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}
.profile-preview-icon--disabled:hover {
    transform: none;
    opacity: 0.4;
}
.profile-preview-social {
    gap: 0.5rem;
}
.profile-preview-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-800);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.profile-preview-social-link:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.1);
}
.profile-preview-social-link--disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}
.profile-preview-social-link--disabled:hover {
    background: var(--gray-200);
    color: var(--gray-800);
    transform: none;
}

