:root {
    --blue: #227ab8;
    --green: #3db65a;
    --white: #ffffff;
    --text-dark: #333;
    --dark: #0f172a;
    --accent-orange: #f59e0b;
    --accent-red: #ff416c;
    --gradient-main: linear-gradient(135deg, #227ab8, #3db65a);
    --gradient-soft: linear-gradient(135deg, rgba(34, 122, 184, 0.08), rgba(61, 182, 90, 0.08));
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 40px rgba(34, 122, 184, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 35px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    background: #f8fbff;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1400px; margin: auto; }

html[dir="rtl"] { direction: rtl; text-align: right; }
html[dir="ltr"] { direction: ltr; text-align: left; }

.lang-transition { opacity: 0.6; transition: opacity 0.2s ease; }

.top-bar {
    background: var(--gradient-main);
    padding: 12px 7%;
    color: #fff;
    font-size: 14px;
    position: relative;
    z-index: 100;
}
.top-bar::after {
    content: "";
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}
.top-flex { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.top-right { display: flex; flex-direction: column; gap: 4px; }
.top-title { font-size: 18px; font-weight: 800; }
.top-subtitle { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; letter-spacing: 0.2px; }
.top-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-social { display: flex; gap: 10px; }
.top-social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transition: var(--transition-normal);
    position: relative; overflow: hidden;
}
.top-social a::before {
    content: ""; position: absolute; inset: 0;
    background: #fff; border-radius: 50%;
    transform: scale(0); transition: var(--transition-normal);
}
.top-social a:hover::before { transform: scale(1); }
.top-social a:hover { color: var(--blue); transform: translateY(-3px); }
.top-social a i { position: relative; z-index: 1; }

.lang-selector select {
    padding: 10px 14px; border: none; border-radius: 50px;
    outline: none; cursor: pointer;
    background: rgba(255, 255, 255, 0.15); color: #fff;
    font-weight: 700; font-size: 13px;
    transition: var(--transition-normal);
    appearance: none; -webkit-appearance: none;
    padding-left: 30px; padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: left 12px center;
}
html[dir="ltr"] .lang-selector select { background-position: right 12px center; }
.lang-selector select:hover { background: rgba(255, 255, 255, 0.25); }
.lang-selector select option { color: #1e293b; background: #fff; font-weight: 600; }

.main-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky; top: 0; z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.03);
    transition: var(--transition-normal);
}
.main-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); padding: 8px 0; }
.nav-flex { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo img { width: 170px; transition: var(--transition-normal); filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
.logo img:hover { transform: scale(1.04); filter: drop-shadow(0 4px 12px rgba(34,122,184,0.2)); }

.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    text-decoration: none; color: #334155; font-weight: 700;
    padding: 10px 16px; border-radius: var(--radius-sm);
    transition: var(--transition-normal); position: relative;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; letter-spacing: -0.1px;
}
.nav-links > li > a::after {
    content: ""; position: absolute; bottom: 6px; left: 50%;
    transform: translateX(-50%) scaleX(0); width: 20px; height: 2px;
    background: var(--gradient-main); border-radius: 2px;
    transition: var(--transition-normal);
}
.nav-links > li > a:hover { background: rgba(34, 122, 184, 0.06); color: var(--blue); transform: translateY(-1px); }
.nav-links > li > a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-links > li > a.active { background: var(--gradient-main); color: #fff; box-shadow: 0 4px 15px rgba(34, 122, 184, 0.3); }
.nav-links > li > a.active::after { display: none; }
.dropdown-icon { font-size: 10px; transition: transform 0.3s ease; opacity: 0.6; }

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 230px; background: #fff; border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0,0,0,0.03);
    padding: 10px; opacity: 0; visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000; list-style: none;
    border: 1px solid rgba(34, 122, 184, 0.06);
}
.dropdown-menu::before {
    content: ""; position: absolute; top: -6px; right: 30px;
    width: 14px; height: 14px; background: #fff;
    transform: rotate(45deg); border-radius: 3px;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.03);
}
html[dir="ltr"] .dropdown-menu { right: auto; left: 0; }
html[dir="ltr"] .dropdown-menu::before { right: auto; left: 30px; }
.dropdown-menu li { width: 100%; }
.dropdown-menu li a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; color: #475569; text-decoration: none;
    font-weight: 600; font-size: 14px; border-radius: 10px;
    transition: all 0.25s ease; position: relative; overflow: hidden;
}
.dropdown-menu li a::before {
    content: ""; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%); width: 3px; height: 0;
    background: var(--gradient-main); border-radius: 10px;
    transition: height 0.3s ease;
}
html[dir="ltr"] .dropdown-menu li a::before { right: auto; left: 0; }
.dropdown-menu li a:hover { background: rgba(34, 122, 184, 0.05); color: var(--blue); padding-right: 24px; }
html[dir="ltr"] .dropdown-menu li a:hover { padding-right: 16px; padding-left: 24px; }
.dropdown-menu li a:hover::before { height: 60%; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown:hover .dropdown-icon { transform: rotate(180deg); }

.donate-btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; padding: 12px 26px; border-radius: 50px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff !important; text-decoration: none; font-weight: 700;
    font-size: 14px; box-shadow: 0 8px 25px rgba(34, 197, 94, 0.25);
    transition: var(--transition-normal); border: none; cursor: pointer;
}
.donate-btn::before {
    content: ""; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}
.donate-btn:hover::before { left: 100%; }
.donate-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(34, 197, 94, 0.4); }
.donate-btn i { font-size: 15px; }

/* ===== HERO SLIDER ===== */
.hero-slider-wrapper {
    position: relative;
    background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
    margin-bottom: 30px;
}

.hero-slider {
    width: 100%;
    height: 75vh;
    min-height: 520px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomSlider 10s linear infinite alternate;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

@keyframes zoomSlider {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Fix: Hero slider full width override */
.hero-slider-wrapper .slider-container.hero-slider,
.hero-slider-wrapper .hero-slider {
    max-width: 100%;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Ensure slide images cover full width */
.hero-slider .slide,
.hero-slider .slide img,
.hero-slider .hero-overlay {
    width: 100%;
    left: 0;
    right: 0;
}

/* Mobile fixes for full width */
@media(max-width:768px) {
    .hero-slider-wrapper .slider-container.hero-slider,
    .hero-slider-wrapper .hero-slider {
        max-width: 100%;
        padding: 0;
        margin: 0;
        width: 100%;
        border-radius: 0 0 25px 25px;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.65) 40%,
        rgba(15, 23, 42, 0.25) 70%,
        transparent 100%
    );
    z-index: 5;
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 7%;
    left: auto;
    transform: translateY(-50%);
    z-index: 20;
    width: 90%;
    max-width: 560px;
    text-align: right;
    color: #fff;
    padding: 20px;
}

.hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.3s;
}

.slide.active .hero-content .hero-badge {
    opacity: 1;
    transform: translateY(0);
}

.hero-badge::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(61, 182, 90, 0.4);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
        box-shadow: 0 0 0 8px rgba(61, 182, 90, 0);
    }
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.25;
    margin-bottom: 18px;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease 0.4s;
}

.slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.hero-content p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease 0.5s;
}

.slide.active .hero-content p {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--accent-orange), #f97316);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.35);
    transition: all 0.7s ease 0.6s, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .hero-btn {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.6s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 45px rgba(249, 115, 22, 0.45);
}

html[dir="ltr"] .hero-content {
    right: auto;
    left: 7%;
    text-align: left;
}

html[dir="ltr"] .hero-overlay {
    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.65) 40%,
        rgba(15, 23, 42, 0.25) 70%,
        transparent 100%
    );
}

/* Slider Navigation */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    z-index: 30;
    font-size: 18px;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-btn:hover {
    background: var(--gradient-main);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(34, 122, 184, 0.4);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev { right: 25px; }
.next { left: 25px; }

html[dir="ltr"] .prev { right: auto; left: 25px; }
html[dir="ltr"] .next { left: auto; right: 25px; }

/* Slider Dots */
.slider-dots-container {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.08);
}

.dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    transition: all .5s cubic-bezier(.4,0,.2,1);
    position: relative;
    border: 2px solid transparent;
}

.dots .dot::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    opacity: 0;
    transition: opacity .3s ease;
}

.dots .dot:hover {
    background: rgba(255,255,255,.7);
    transform: scale(1.3);
}

.dots .dot:hover::before {
    opacity: 1;
}

.dots .dot.active {
    width: 36px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,.3);
    border-color: var(--green);
}

.dots .dot.active::before {
    opacity: 1;
    inset: -6px;
}

/* ===== ENHANCED URGENT SECTION ===== */
.urgent-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 50%, #f8fbff 100%);
}

.urgent-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 122, 184, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.urgent-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(61, 182, 90, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* عنوان قسم "مشاريع عاجلة" بنصف عرض الصفحة ومتمركز */
.urgent-section .section-head {
    max-width: 50%;
    margin: 0 auto 40px;
    text-align: center;
}

@media(max-width:768px) {
    .urgent-section .section-head {
        max-width: 90%;
    }
}

.section-head .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(34, 122, 184, 0.08), rgba(61, 182, 90, 0.10));
    color: var(--blue);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(34, 122, 184, 0.1);
}

.section-head .section-badge i {
    color: var(--green);
    font-size: 12px;
}

.section-head h2 i {
    color: var(--accent-red);
    font-size: 32px;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* Slider Container */
.slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    z-index: 1;
}

.slider-viewport {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Enhanced Modern Card - CLEAN without progress circles */
.modern-card {
    min-width: calc(33.333% - 16px);
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modern-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: var(--transition-normal);
    z-index: 2;
    transform-origin: right;
}

.modern-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover .card-image img {
    transform: scale(1.15);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(239, 68, 68, 0.6); }
}

.card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--blue);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-category i {
    font-size: 10px;
}

.card-body {
    padding: 26px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.4;
}

.card-body p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
    flex: 1;
}

/* Price Box - Enhanced */
.price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(34, 122, 184, 0.06), rgba(61, 182, 90, 0.08));
    border-radius: 14px;
    border: 1px solid rgba(34, 122, 184, 0.1);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.modern-card:hover .price-box {
    background: linear-gradient(135deg, rgba(34, 122, 184, 0.1), rgba(61, 182, 90, 0.12));
    transform: scale(1.02);
}

.price-box span {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.price-box strong {
    font-size: 22px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Card Buttons */
.card-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.card-buttons a {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.card-buttons a i {
    font-size: 13px;
}

.more-btn {
    background: linear-gradient(135deg, #227ab8, #2d8ed3);
    color: #fff;
    box-shadow: 0 6px 18px rgba(34, 122, 184, 0.25);
}

.more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 122, 184, 0.35);
}

.donate-special {
    background: linear-gradient(135deg, #3db65a, #28a745) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(61, 182, 90, 0.3);
    position: relative;
    overflow: hidden;
}

.donate-special::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.donate-special:hover::before {
    left: 130%;
}

.donate-special:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(61, 182, 90, 0.4);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0,0,0,0.04);
    transition: var(--transition-normal);
    font-size: 1.1rem;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--gradient-main);
    color: #fff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 30px rgba(34, 122, 184, 0.35);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev { right: 10px; }
.slider-arrow.next { left: 10px; }

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(34, 122, 184, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.slider-dot:hover {
    background: rgba(34, 122, 184, 0.5);
    transform: scale(1.3);
}

.slider-dot.active {
    width: 32px;
    border-radius: 20px;
    background: var(--gradient-main);
    box-shadow: 0 0 15px rgba(34, 122, 184, 0.4);
    border-color: var(--green);
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(34, 122, 184, 0.2), transparent);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    margin-top: 6px;
}

/* SVG Defs */
.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Responsive */
@media(max-width:1200px) {
    .modern-card { min-width: calc(50% - 12px); }
    .slider-container { padding: 0 70px; }
}

@media(max-width:768px) {
    .modern-card { min-width: 100%; }
    .slider-container { padding: 0 50px; }
    .section-head h2 { font-size: 28px; }
    .slider-arrow { width: 44px; height: 44px; font-size: 0.9rem; }
    .stats-row { gap: 30px; }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-number { font-size: 28px; }
    .progress-bar-container { padding: 0 50px; }
}

@media(max-width:480px) {
    .slider-container { padding: 0 40px; }
    .section-head h2 { font-size: 24px; }
    .card-body h3 { font-size: 20px; }
    .price-box strong { font-size: 20px; }
    .progress-bar-container { padding: 0 40px; }
}
/* ===== ABOUT GALLERY ===== */
.about-gallery-section { padding: 60px 0; position: relative; overflow: hidden; }
.about-gallery-section::before {
    content: ""; position: absolute; width: 500px; height: 500px;
    background: radial-gradient(rgba(34, 122, 184, 0.06), transparent 70%);
    top: -180px; right: -150px; border-radius: 50%; pointer-events: none;
}
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; margin-top: 50px; }
.about-right-col { display: flex; flex-direction: column; gap: 14px; }
.about-box {
    background: #fff; padding: 28px 32px; border-radius: var(--radius-md);
    position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid rgba(34, 122, 184, 0.06); transition: var(--transition-normal);
}
.about-box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.about-box::before {
    content: ""; position: absolute; top: 0; right: 0;
    width: 4px; height: 100%; background: var(--gradient-main);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
html[dir="ltr"] .about-box::before { right: auto; left: 0; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.about-box h3 { font-size: 24px; color: #0f172a; margin-bottom: 10px; font-weight: 900; }
.about-box p { color: #64748b; line-height: 1.9; font-size: 15px; margin: 0; }
.about-cards-col { display: flex; flex-direction: column; gap: 10px; }
.about-mini-card {
    display: flex; align-items: center; gap: 14px; background: #fff;
    border-radius: var(--radius-sm); padding: 16px 18px;
    text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
    border: 1px solid rgba(34, 122, 184, 0.06); transition: var(--transition-normal);
    position: relative; overflow: hidden;
}
.about-mini-card::before {
    content: ""; position: absolute; top: 0; right: 0;
    width: 3px; height: 0; background: var(--gradient-main);
    border-radius: 0 var(--radius-sm) 0 0; transition: height 0.35s ease;
}
html[dir="ltr"] .about-mini-card::before { right: auto; left: 0; border-radius: var(--radius-sm) 0 0 0; }
.about-mini-card:hover { transform: translateX(-5px); box-shadow: var(--shadow-md); border-color: rgba(34, 122, 184, 0.12); }
html[dir="ltr"] .about-mini-card:hover { transform: translateX(5px); }
.about-mini-card:hover::before { height: 100%; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
html[dir="ltr"] .about-mini-card:hover::before { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.amc-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 122, 184, 0.1), rgba(61, 182, 90, 0.12));
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--blue); flex-shrink: 0;
    transition: var(--transition-normal);
}
.about-mini-card:hover .amc-icon { background: var(--gradient-main); color: #fff; transform: scale(1.08); }
.amc-text { flex: 1; min-width: 0; }
.amc-text h4 { font-size: 15px; font-weight: 800; color: #0f172a; margin-bottom: 3px; }
.amc-text p { font-size: 13px; color: #64748b; line-height: 1.5; margin: 0; }
.amc-arrow { font-size: 12px; color: #cbd5e1; flex-shrink: 0; transition: var(--transition-normal); margin-right: auto; }
html[dir="rtl"] .amc-arrow { margin-right: 0; margin-left: auto; }
.about-mini-card:hover .amc-arrow { color: var(--blue); transform: translateX(-4px); }
html[dir="ltr"] .about-mini-card:hover .amc-arrow { transform: translateX(4px); }
.about-mini-card--last {
    background: linear-gradient(135deg, #0f172a, #1a3350);
    border-color: rgba(34, 122, 184, 0.2); margin-top: 4px;
}
.about-mini-card--last .amc-text h4 { color: #fff; }
.about-mini-card--last .amc-text p { color: rgba(255,255,255,0.5); }
.about-mini-card--last .amc-arrow { color: rgba(255,255,255,0.2); }
.about-mini-card--last::before { background: linear-gradient(180deg, var(--green), var(--blue)); }
.about-mini-card--last:hover { box-shadow: 0 12px 36px rgba(34, 122, 184, 0.25); }
.about-mini-card--last:hover .amc-arrow { color: var(--green); }
.amc-icon--accent { background: var(--gradient-main) !important; color: #fff !important; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 200px 130px 130px; gap: 12px; align-self: start; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); transition: var(--transition-normal); cursor: pointer; display: block; box-shadow: var(--shadow-sm); }
.gallery-grid img:nth-child(1) { grid-column: span 2; grid-row: span 1; border-radius: var(--radius-md); }
.gallery-grid img:nth-child(4) { grid-row: span 2; }
.gallery-grid img:hover { transform: scale(1.04); box-shadow: 0 18px 42px rgba(34, 122, 184, 0.2); z-index: 2; position: relative; }

/* ===== WORK FIELDS 3D CAROUSEL ===== */
.work-fields-3d-section {
    position: relative; padding: 100px 5% 80px;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    overflow: hidden; min-height: 600px;
}
.work-fields-3d-section::before {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(-30deg, rgba(34,122,184,0.025), rgba(34,122,184,0.025) 2px, transparent 2px, transparent 40px);
    pointer-events: none;
}
.section-title { text-align: center; margin-bottom: 55px; position: relative; z-index: 1; }
.section-title .mini-title {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(34,122,184,0.08), rgba(61,182,90,0.10));
    color: var(--blue); padding: 8px 22px; border-radius: 50px;
    font-size: 14px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.5px;
}
.section-title .mini-title i { font-size: 10px; color: var(--green); }
.section-title h2 { font-size: 38px; font-weight: 900; color: #0f172a; line-height: 1.3; }

.carousel-3d-container { position: relative; max-width: 1200px; margin: 0 auto; perspective: 1400px; perspective-origin: 50% 50%; padding: 40px 0; }
.carousel-3d-wrapper { position: relative; width: 100%; height: 440px; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; }
.carousel-3d { position: relative; width: 360px; height: 100%; transform-style: preserve-3d; }
.carousel-card {
    position: absolute; width: 340px; height: 390px;
    left: 50%; top: 50%; margin-left: -170px; margin-top: -195px;
    cursor: pointer;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s linear 0.375s;
}
.carousel-card.active {
    transform: translateX(0) translateZ(220px) rotateY(0deg);
    z-index: 10; opacity: 1;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s;
}
.carousel-card.side-left {
    transform: translateX(-290px) translateZ(-80px) rotateY(42deg);
    z-index: 5; opacity: 0.75;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s;
}
.carousel-card.side-right {
    transform: translateX(290px) translateZ(-80px) rotateY(-42deg);
    z-index: 5; opacity: 0.75;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s;
}
.carousel-card.back {
    transform: translateX(0) translateZ(-320px) rotateY(0deg);
    z-index: 1; opacity: 0; pointer-events: none;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, z-index 0s linear 0.75s;
}
.card-3d-inner {
    background: #fff; padding: 42px 28px 35px; border-radius: var(--radius-lg);
    text-align: center; height: 100%; position: relative; overflow: hidden;
    border: 1px solid rgba(34,122,184,0.07); box-shadow: 0 12px 40px rgba(15,23,42,0.09);
    transition: transform 0.5s ease, box-shadow 0.5s ease; transform-origin: center center;
}
.card-3d-inner::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: var(--gradient-main); transform: scaleX(0); transform-origin: right; transition: transform 0.5s ease;
}
.carousel-card.active .card-3d-inner { transform: scale(1.04); box-shadow: 0 30px 70px rgba(34,122,184,0.22); }
.carousel-card.active .card-3d-inner::before { transform: scaleX(1); transform-origin: left; }
.carousel-card.side-left .card-3d-inner, .carousel-card.side-right .card-3d-inner { transform: scale(0.88); opacity: 0.75; }
.carousel-card.back .card-3d-inner { transform: scale(0.7); opacity: 0; }
.field-icon-3d {
    width: 100px; height: 100px; margin: 0 auto 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--blue); position: relative;
    background: linear-gradient(135deg, rgba(34,122,184,0.10), rgba(61,182,90,0.12));
    transition: 0.5s ease;
}
.carousel-card.active .field-icon-3d { background: var(--gradient-main); color: #fff; transform: scale(1.12) rotate(-3deg); box-shadow: 0 12px 30px rgba(34,122,184,0.3); }
.field-icon-3d::before { content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%; background: #fff; z-index: 0; }
.carousel-card.active .field-icon-3d::before { background: rgba(255,255,255,0.18); }
.field-icon-3d i { position: relative; z-index: 2; }
.carousel-card h3 { font-size: 24px; margin-bottom: 14px; color: #0f172a; font-weight: 900; transition: color 0.4s; }
.carousel-card p { color: #64748b; font-size: 16px; line-height: 1.85; transition: color 0.4s; }
.carousel-card.active h3 { color: var(--blue); }
.card-line-3d { display: block; width: 40px; height: 4px; border-radius: 20px; margin: 26px auto 0; background: var(--gradient-main); transition: width 0.4s ease; }
.carousel-card.active .card-line-3d { width: 65px; }
.carousel-3d-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; background: #fff; border: none;
    border-radius: 50%; cursor: pointer; z-index: 200;
    box-shadow: 0 4px 18px rgba(0,0,0,0.14); transition: var(--transition-normal);
    font-size: 1.1rem; color: var(--blue); display: flex; align-items: center; justify-content: center;
}
.carousel-3d-arrow:hover { background: var(--gradient-main); color: #fff; transform: translateY(-50%) scale(1.1); box-shadow: 0 8px 28px rgba(34,122,184,0.35); }
.carousel-prev { right: 10px; }
.carousel-next { left: 10px; }
.carousel-3d-dots { display: flex; justify-content: center; gap: 10px; margin-top: 44px; position: relative; z-index: 10; }
.carousel-3d-dots .carousel-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(34,122,184,0.25); cursor: pointer; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); border: 2px solid transparent; }
.carousel-3d-dots .carousel-dot:hover { background: rgba(34,122,184,0.55); transform: scale(1.2); }
.carousel-3d-dots .carousel-dot.active { width: 30px; border-radius: 20px; background: var(--gradient-main); box-shadow: 0 0 14px rgba(34,122,184,0.4); border-color: var(--green); }

/* ===== MODERN FOOTER ===== */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #0a0f1a, #0f172a, #12243d);
    padding: 90px 0 25px;
    overflow: hidden;
    margin-top: 100px;
    color: #fff;
}
.modern-footer::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(rgba(34, 122, 184, 0.1), transparent 70%);
    top: -300px;
    left: -250px;
    border-radius: 50%;
}
.modern-footer::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(rgba(61, 182, 90, 0.08), transparent 70%);
    bottom: -250px;
    right: -180px;
    border-radius: 50%;
}
.footer-overlay {
    position: absolute;
    inset: 0;
    background: url("photo/pattern.png");
    opacity: 0.03;
}
.footer-top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img {
    width: 200px;
    margin-bottom: 22px;
    filter: brightness(1.1);
}
.footer-brand p {
    color: #94a3b8;
    line-height: 1.9;
    margin-bottom: 25px;
    max-width: 320px;
    font-size: 15px;
}
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transition: var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.05);
}
.footer-social a:hover {
    transform: translateY(-4px) scale(1.08);
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(34, 122, 184, 0.3);
}
.footer-links-box h3 {
    font-size: 20px;
    margin-bottom: 22px;
    color: #fff;
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
}
.footer-links-box h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 3px;
}
html[dir="ltr"] .footer-links-box h3::after {
    right: auto;
    left: 0;
}
.footer-links-box a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 14px;
    transition: var(--transition-normal);
    font-size: 15px;
    position: relative;
    padding-right: 0;
}
html[dir="ltr"] .footer-links-box a {
    padding-right: auto;
    padding-left: 0;
}
.footer-links-box a:hover {
    color: #fff;
    transform: translateX(-5px);
    padding-right: 5px;
}
html[dir="ltr"] .footer-links-box a:hover {
    transform: translateX(5px);
    padding-right: 0;
    padding-left: 5px;
}
.footer-links-box a i {
    color: var(--blue);
    font-size: 13px;
    transition: var(--transition-normal);
}
.footer-links-box a:hover i {
    color: var(--green);
}
.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 25px;
}
.footer-bottom p {
    color: #64748b;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* ===== NEWS TICKER ===== */
.news-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #0b1f4d, #0f2a5e);
    display: flex;
    align-items: center;
    z-index: 999999;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.ticker-title {
    min-width: 130px;
    height: 100%;
    background: var(--gradient-main);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    box-shadow: 4px 0 15px rgba(0,0,0,0.15);
}
.ticker-title i {
    animation: tickerIconPulse 2s infinite;
}
@keyframes tickerIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 80px;
    white-space: nowrap;
    padding-right: 100%;
    animation: tickerMove 35s linear infinite;
}
.ticker-content span {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-right: 20px;
}
.ticker-content span::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(61, 182, 90, 0.5);
}
@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===== KAFELNI ===== */
.special-kafelni {
    position: relative;
    margin-inline: 8px;
}
.special-kafelni a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 75, 43, 0.3);
    transition: var(--transition-normal);
    letter-spacing: 0.3px;
}
.special-kafelni a:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(255, 75, 43, 0.5);
}
.special-kafelni i {
    font-size: 14px;
    animation: heartBeat 1.3s infinite;
}
.pulse-circle {
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: pulseEffect 2s infinite;
}
@keyframes pulseEffect {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(1.06); opacity: 0; }
    100% { transform: scale(1.1); opacity: 0; }
}
@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 10px;
    transition: var(--transition-normal);
    background: rgba(34, 122, 184, 0.06);
}
.menu-toggle:hover {
    background: rgba(34, 122, 184, 0.12);
}
.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: #1e293b;
    border-radius: 10px;
    transition: var(--transition-normal);
    transform-origin: center;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
}
.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue), var(--green)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #1a6aa0, #2da04a); }

/* ===== SELECTION ===== */
::selection { background: rgba(34, 122, 184, 0.2); color: #0f172a; }

/* ===== RESPONSIVE ===== */
@media(max-width:1200px) {
    .nav-links > li > a { padding: 10px 14px; font-size: 13px; }
    .hero-content h1 { font-size: 42px; }
}

@media(max-width:992px) {
    .nav-flex { flex-direction: row; justify-content: space-between; }
    .hero-slider { height: 65vh; min-height: 450px; }
    .hero-content { max-width: 480px; }
    .hero-content h1 { font-size: 36px; }
    .hero-content p { font-size: 16px; }
    .modern-card { min-width: calc(50% - 13px); }
    .about-gallery { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .section-title h2 { font-size: 36px; }
    .carousel-3d-wrapper { height: 400px; }
    .carousel-3d { width: 320px; }
    .carousel-card { width: 300px; height: 355px; margin-left: -150px; margin-top: -177px; }
    .card-3d-inner { padding: 34px 22px 28px; }
    .field-icon-3d { width: 84px; height: 84px; font-size: 34px; }
    .field-icon-3d::before { width: 60px; height: 60px; }
    .carousel-card h3 { font-size: 21px; }
    .carousel-card p { font-size: 14px; }
    .carousel-3d-arrow { width: 44px; height: 44px; }
    .carousel-prev { right: 5px; }
    .carousel-next { left: 5px; }
    .carousel-card.side-left { transform: translateX(-230px) translateZ(-60px) rotateY(38deg); }
    .carousel-card.side-right { transform: translateX(230px) translateZ(-60px) rotateY(-38deg); }
}

@media(max-width:991px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        padding: 100px 25px 30px;
        gap: 0;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        align-items: flex-start;
    }
    html[dir="ltr"] .nav-links {
        right: auto;
        left: -100%;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active { right: 0; }
    html[dir="ltr"] .nav-links.active { right: auto; left: 0; }
    .nav-links > li { width: 100%; border-bottom: 1px solid rgba(0, 0, 0, 0.04); }
    .nav-links > li > a {
        font-size: 15px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 14px 0;
        border-radius: 0;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(34, 122, 184, 0.03);
        border-radius: 12px;
        margin: 5px 0 10px;
        min-width: auto;
        display: none;
    }
    .dropdown-menu::before { display: none; }
    .dropdown.open .dropdown-menu { display: block; animation: slideDown 0.3s ease; }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .dropdown.open .dropdown-icon { transform: rotate(180deg); }
    .dropdown-menu li a { padding: 10px 16px; font-size: 14px; }
    .donate-btn { justify-content: center; margin-top: 10px; width: 100%; }
    body.menu-open { overflow: hidden; }
    .top-bar { display: none; }
    .special-kafelni { margin: 0 0 10px 0; }
    .special-kafelni a { justify-content: center; }
}

@media(max-width:768px) {
    .hero-slider { height: 60vh; min-height: 420px; border-radius: 0 0 25px 25px; }
    .slide img { border-radius: 0; }
    .hero-content {
        right: 50%;
        left: auto;
        transform: translate(50%, -50%);
        text-align: center;
        max-width: 90%;
        padding: 15px;
    }
    html[dir="ltr"] .hero-content {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    .hero-overlay {
        background: linear-gradient(
            to top,
            rgba(15, 23, 42, 0.9) 0%,
            rgba(15, 23, 42, 0.6) 50%,
            rgba(15, 23, 42, 0.3) 100%
        ) !important;
    }
    .hero-content h1 { font-size: 28px; margin-bottom: 14px; }
    .hero-content p { font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
    .hero-btn { width: auto; padding: 14px 28px; font-size: 15px; }
    .nav-btn { width: 42px; height: 42px; font-size: 14px; }
    .prev { right: 15px; }
    .next { left: 15px; }
    .section-head h2 { font-size: 28px; }
    .modern-card { min-width: 100%; }
    .urgent-slider-wrapper { padding: 0 45px; }
    .slider-arrow { width: 38px; height: 38px; font-size: 0.9rem; }
    .ticker-title { min-width: 90px; font-size: 14px; padding: 0 12px; }
    .ticker-content span { font-size: 13px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .gallery-grid img:nth-child(1) { grid-column: span 2; }
    .gallery-grid img:nth-child(4) { grid-row: span 1; }
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 35px; }
    .footer-brand p { margin: auto auto 22px; }
    .footer-social { justify-content: center; }
    .footer-links-box a { justify-content: center; }
    .footer-links-box h3::after { right: 50%; transform: translateX(50%); }
    .section-title h2 { font-size: 28px; }
    .carousel-3d-wrapper { height: 360px; }
    .carousel-3d { width: 280px; }
    .carousel-card { width: 260px; height: 315px; margin-left: -130px; margin-top: -157px; }
    .card-3d-inner { padding: 28px 18px 24px; border-radius: 22px; }
    .field-icon-3d { width: 72px; height: 72px; font-size: 28px; margin-bottom: 18px; }
    .field-icon-3d::before { width: 52px; height: 52px; }
    .carousel-card h3 { font-size: 18px; margin-bottom: 10px; }
    .carousel-card p { font-size: 13px; line-height: 1.65; }
    .card-line-3d { margin-top: 20px; }
    .carousel-3d-arrow { width: 40px; height: 40px; font-size: 0.95rem; }
    .carousel-3d-dots { margin-top: 28px; }
    .carousel-card.side-left { transform: translateX(-185px) translateZ(-50px) rotateY(32deg); }
    .carousel-card.side-right { transform: translateX(185px) translateZ(-50px) rotateY(-32deg); }
}

@media(max-width:540px) {
    .about-cards-col { grid-template-columns: 1fr; }
    .about-mini-card--last { grid-column: span 1; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 110px 110px; }
    .gallery-grid img:nth-child(1) { grid-column: span 2; }
}

@media(max-width:480px) {
    .section-head h2 { font-size: 24px; }
    .hero-slider { height: 55vh; min-height: 380px; }
    .hero-content h1 { font-size: 24px; }
    .hero-content p { font-size: 14px; }
    .hero-btn { padding: 12px 24px; font-size: 14px; }
    .card-body h3 { font-size: 20px; }
    .price-box strong { font-size: 20px; }
    .carousel-3d-wrapper { height: 330px; }
    .carousel-3d { width: 250px; }
    .carousel-card { width: 235px; height: 290px; margin-left: -117px; margin-top: -145px; }
    .card-3d-inner { padding: 24px 16px 20px; }
    .field-icon-3d { width: 64px; height: 64px; font-size: 26px; margin-bottom: 14px; }
    .field-icon-3d::before { width: 46px; height: 46px; }
    .carousel-card h3 { font-size: 17px; }
    .carousel-card p { font-size: 12px; }
    .carousel-3d-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
    .carousel-prev { right: 2px; }
    .carousel-next { left: 2px; }
    .carousel-card.side-left { transform: translateX(-155px) translateZ(-40px) rotateY(28deg); }
    .carousel-card.side-right { transform: translateX(155px) translateZ(-40px) rotateY(-28deg); }
}

/* ===== PERFORMANCE ===== */
.slide, .modern-card, .hero-btn, .donate-btn, .carousel-card { will-change: transform; }

/* ===== ACCESSIBILITY ===== */
a:focus-visible, button:focus-visible, select:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .slide img { animation: none; }
    .ticker-content { animation: none; }
}