@font-face {
    font-family: 'Li Shohid Tahmid Tamin Unicode';
    src: url('../fronts/LiShohidTahmidTaminUnicode.woff2') format('woff2'),
        url('../fronts/LiShohidTahmidTaminUnicode.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Li Shadhinata2 2.0 Unicode';
    src: url('../fronts/LiShadhinata220Unicode.woff2') format('woff2'),
        url('../fronts/LiShadhinata220Unicode.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Li Purno Pran Unicode';
    src: url('../fronts/LiPurnoPranUnicode.woff2') format('woff2'),
        url('../fronts/LiPurnoPranUnicode.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Li Shadhinata2 2.0 Unicode';
    font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Li Shadhinata2 2.0 Unicode';
}

p {
    font-family: 'Li Purno Pran Unicode';
}


:root {
    --primary: #dc3545;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;

    /* Light mode colors */
    --bg-color: #ffffff;
    --text-color: #212529;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    --hover-bg: #f8f9fa;

    /* Dark mode colors */
    --dark-bg-color: #121212;
    --dark-text-color: #e0e0e0;
    --dark-card-bg: #1e1e1e;
    --dark-border-color: #333333;
    --dark-hover-bg: #2a2a2a;
}

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

.btn-primary:hover {
    background-color: #bd2130;
    border-color: #b21f2d;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('{{ asset(' images/hero-bg.jpg') }}');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
}

.stats-card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.donor-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.blood-badge {
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.blood-A-plus {
    background: #ffebee;
    color: #c62828;
}

.blood-A-minus {
    background: #ffebee;
    color: #c62828;
}

.blood-B-plus {
    background: #e8f5e9;
    color: #2e7d32;
}

.blood-B-minus {
    background: #e8f5e9;
    color: #2e7d32;
}

.blood-AB-plus {
    background: #e3f2fd;
    color: #1565c0;
}

.blood-AB-minus {
    background: #e3f2fd;
    color: #1565c0;
}

.blood-O-plus {
    background: #fff3e0;
    color: #ef6c00;
}

.blood-O-minus {
    background: #fff3e0;
    color: #ef6c00;
}

.footer-bg {
    background-color: var(--bg-color);
}

/* Dark mode styles */
body.dark-mode {
    --bg-color: var(--dark-bg-color);
    --text-color: var(--dark-text-color);
    --card-bg: var(--dark-card-bg);
    --border-color: var(--dark-border-color);
    --hover-bg: var(--dark-hover-bg);
}

body.dark-mode .footer-bg {
    background-color: var(--dark-bg-color);
}

body.dark-mode .navbar {
    background-color: var(--dark-card-bg) !important;
}

body.dark-mode .navbar-dark {
    --bs-navbar-color: rgba(255, 255, 255, .55);
    --bs-navbar-hover-color: rgba(255, 255, 255, .75);
    --bs-navbar-active-color: #fff;
    --bs-navbar-disabled-color: rgba(255, 255, 255, .25);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.language-switcher {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.language-switcher:hover {
    background-color: var(--hover-bg);
}

.theme-switcher {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.theme-switcher:hover {
    background-color: var(--hover-bg);
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 991.98px) {
    .mobile-menu-btn {
        display: block;
    }
}


/* Hero section */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    /* padding: 90px 0; */
    background:
        radial-gradient(circle at top left, rgba(255, 0, 76, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 0, 0, 0.12), transparent 30%),
        linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #fff0f0 100%);
}

body.dark-mode .hero-slider-section {
    background:
        radial-gradient(circle at top left, rgba(255, 0, 76, 0.10), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 0, 0, 0.08), transparent 30%),
        linear-gradient(135deg, #111827 0%, #0f172a 50%, #111827 100%);
}

.hero-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

body.dark-mode .hero-glass {
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    color: #111827;
}

body.dark-mode .hero-title {
    color: #ffffff;
}

.hero-text {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.8;
}

body.dark-mode .hero-text {
    color: #d1d5db;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    transition: all 0.35s ease;
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.25);
}

.hero-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(220, 38, 38, 0.35);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #fecaca;
    transition: all 0.35s ease;
}

.hero-btn-secondary:hover {
    background: #fee2e2;
    transform: translateY(-3px);
}

body.dark-mode .hero-btn-secondary {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

body.dark-mode .hero-btn-secondary:hover {
    background: rgba(55, 65, 81, 0.9);
}

.hero-image {
    animation: floatImage 5s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.15));
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-badge {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

body.dark-mode .hero-badge {
    background: rgba(220, 38, 38, 0.15);
    color: #fca5a5;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ef4444;
    opacity: .4;
    transition: .3s;
}

.swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 999px;
    opacity: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.3;
}

.hero-shape-1 {
    width: 280px;
    height: 280px;
    background: #15d62f;
    top: -80px;
    left: -60px;
}

.hero-shape-2 {
    width: 350px;
    height: 350px;
    background: #fb7185;
    bottom: -120px;
    right: -80px;
}

@media(max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}


.faq-content {
    transition: all 0.35s ease-in-out;
}

.faq-content.max-h-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.faq-btn .icon {
    transition: transform 0.35s ease;
}

/* Hover effect */
.faq-btn:hover {
    background-color: #fef2f2 !important;
}

.dark .faq-btn:hover {
    background-color: #2a2a2a !important;
}


/* Donation Call To Action */
.calltoactionDonation h3,
p {
    font-family: 'Li Shohid Tahmid Tamin Unicode';
}


.DonationInfo h2,
p {
    font-family: 'Li Shadhinata2 2.0 Unicode';
}


.ticker-animation {
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}