﻿:root {
    --color-primary: #0d6b4f;
    --color-primary-dark: #083b2b;
    --color-primary-light: #0d8b5f;
    --color-accent: #c9a84c;
    --color-accent-light: #e8c84c;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f9f8;
    --color-bg-dark: #1a1a2e;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #f8fafc;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    --font-family: 'Cairo', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 100px;
}
[data-theme="dark"] {
    --color-bg: #0f172a;
    --color-bg-alt: #1e293b;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-border: #334155;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); overflow-x: hidden; }
body { font-family: var(--font-family); color: var(--color-text); background: var(--color-bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.rtl { direction: rtl; }
body.ltr { direction: ltr; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary); }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-header { margin-bottom: 40px; }
.section-header--center { text-align: center; }
.section-header--row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--color-text); margin-bottom: 10px; }
.section-title--light { color: var(--color-text-light); }
.section-tag { display: inline-block; background: var(--color-accent); color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.section-tag--light { background: rgba(255,255,255,0.2); }
.link-more { color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }
.link-more:hover { color: var(--color-primary-dark); }
.text-muted { color: var(--color-text-muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); font-family: var(--font-family); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--lg { padding: 16px 36px; font-size: 1.1rem; }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.alert { padding: 16px 24px; border-radius: var(--radius-sm); margin: 16px auto; font-weight: 500; }
.alert--success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }

.top-bar { background: var(--color-primary-dark); color: #fff; font-size: 0.85rem; padding: 8px 0; }
.top-bar__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.top-bar__contact { display: flex; gap: 20px; align-items: center; }
.top-bar__contact a { color: rgba(255,255,255,0.8); display: inline-flex; align-items: center; gap: 6px; }
.top-bar__contact a:hover { color: #fff; }
.top-bar__langs { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.lang-switcher__link { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 4px; color: rgba(255,255,255,0.8); font-size: 0.8rem; transition: var(--transition); }
.lang-switcher__link:hover, .lang-switcher__link.active { color: #fff; background: rgba(255,255,255,0.1); }
.lang-flag { font-size: 1rem; 
display: none;}
.lang-name { display: block; }
@media (min-width: 768px) { .lang-name { display: inline; } }

.header { background: var(--color-bg); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; height: var(--header-height); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__img { height: 52px; width: auto; }
.header .logo { height: 100%; }
.header .logo__img { height: 100%; width: auto; }
@media (min-width: 1024px) {
    .header .logo__img { position: relative; right: -11px; height: 113px; top: 11px; }
}
.logo__icon { font-size: 2rem; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text strong { font-size: 1rem; font-weight: 800; color: var(--color-primary); }
.logo__text small { font-size: 1rem; color: var(--color-text-muted); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 25px; height: 2px; background: var(--color-text); transition: var(--transition); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; list-style: none; gap: 2px; flex-wrap: nowrap; }
.nav__link { padding: 6px 8px; border-radius: var(--radius-sm); color: var(--color-text); font-weight: 700; font-size: 0.9rem; transition: var(--transition); white-space: nowrap; }
.nav__link:hover { background: var(--color-bg-alt); color: var(--color-primary); }
@media (max-width: 768px) {
    :root { --header-height: 60px; }
    .header { height: var(--header-height); }
    .header .logo__img { height: 44px; }
    .nav-toggle { display: flex; }
    .nav { display: none; position: absolute; top: var(--header-height); inset-inline: 0; background: var(--color-bg); box-shadow: var(--shadow-lg); flex-direction: column; padding: 20px; z-index: 99; }
    .nav.open { display: flex; }
    .nav__list { flex-direction: column; width: 100%; }
    .nav__cta { width: 100%; }
    .logo__text strong { font-size: 0.9rem; }
    .logo__text small { font-size: 0.9rem; }
}
.nav__item--dropdown { position: relative; }
.nav__arrow { font-size: 0.6rem; margin-inline-start: 4px; transition: transform 0.2s; }
.nav__item--dropdown:hover .nav__arrow { transform: rotate(180deg); }
.nav__dropdown { display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 220px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px 0; z-index: 200; list-style: none; }
.nav__dropdown-link { display: block; padding: 8px 16px; font-size: 0.82rem; color: var(--color-text); transition: var(--transition); white-space: nowrap; }
.nav__dropdown-link:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.nav__dropdown-item { position: relative; }
.nav__subdropdown { display: none; position: absolute; top: 0; inset-inline-start: 100%; min-width: 200px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px 0; z-index: 200; list-style: none; }
.nav__subdropdown-link { display: block; padding: 8px 16px; font-size: 0.8rem; color: var(--color-text); transition: var(--transition); white-space: nowrap; }
.nav__subdropdown-link:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.nav__dropdown-item:hover .nav__subdropdown { display: block; }
.nav__item--dropdown:hover .nav__dropdown { display: block; }
@media (max-width: 768px) {
    .nav__dropdown { position: static; box-shadow: none; border: none; padding-inline-start: 16px; display: none; background: transparent; }
    .nav__subdropdown { position: static; box-shadow: none; border: none; padding-inline-start: 16px; background: transparent; }
    .nav__item--dropdown.open .nav__dropdown { display: block; }
    .nav__item--dropdown.open .nav__arrow { transform: rotate(180deg); }
    .nav__dropdown-item.open .nav__subdropdown { display: block; }
}

/* Hero slider moved to home.blade.php */


.stats { padding: 60px 0; }
.stats--achievements { background: var(--color-bg-alt); }
.stats--humanitarian { background: var(--color-bg-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stats__grid--6 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat-item { text-align: center; padding: 24px; }
.stat-item--dark { padding: 20px; background: rgba(255,255,255,0.05); border-radius: var(--radius-md); }
.stat-item__number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--color-primary); line-height: 1.2; }
.stat-item--dark .stat-item__number { color: var(--color-accent); }
.stat-item__label { display: block; font-size: 0.95rem; color: var(--color-text-muted); margin-top: 4px; }
.stat-item--dark .stat-item__label { color: rgba(255,255,255,0.7); }
@media (max-width: 768px) {
    .stat-item__number { font-size: 1.8rem; }
}

.projects__grid { display: flex; flex-wrap: wrap; gap: 24px; }
.projects__grid--single { justify-content: center; }
.projects__grid:not(.projects__grid--single) { justify-content: flex-start; }
.projects__grid .project-card { width: calc(33.333% - 16px); min-width: 320px; max-width: 460px; flex: 0 1 auto; }
.project-card { background: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--color-border); }
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.project-card__image { height: 200px; background-size: cover; background-position: center; }
.project-card__image--placeholder { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); }
.project-card__body { padding: 24px; }
.project-card__body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.project-card__body p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.project-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }



.stories { background: var(--color-bg); }
.stories__grid { display: flex; flex-wrap: wrap; gap: 24px; }
.stories__grid--single { justify-content: center; }
.stories__grid:not(.stories__grid--single) { justify-content: flex-start; }
.stories__grid .story-card { width: calc(33.333% - 16px); min-width: 300px; max-width: 420px; flex: 0 1 auto; }
.story-card { background: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: var(--transition); }
.story-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.story-card__image { height: 220px; background-size: cover; background-position: center; }
.story-card__body { padding: 20px; }
.story-card__body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.story-card__meta { color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 12px; }

.programs { background: var(--color-bg-alt); }
.programs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.program-card { background: var(--color-bg); border-radius: var(--radius-md); padding: 30px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: var(--transition); }
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.program-card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.program-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.program-card p { color: var(--color-text-muted); font-size: 0.9rem; }

.donate { background: var(--color-bg-dark); color: var(--color-text-light); padding: 32px 0; }
.donate__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 768px) { .donate__inner { grid-template-columns: 1fr; } }
.donate__content .section-tag { font-size: 0.75rem; }
.donate__content .section-title { font-size: 1.1rem; margin-bottom: 8px; }
.donate__text { font-size: 0.85rem; opacity: 0.9; margin-bottom: 16px; line-height: 1.5; }
.donate__methods h3 { margin-bottom: 6px; font-size: 0.85rem; font-weight: 600; }

.donate-form { background: var(--color-bg); color: var(--color-text); padding: 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.donate-form h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.donate-form label { display: block; margin-bottom: 8px; }
.donate-form label > span:first-child { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 2px; color: var(--color-text-muted); }
.donate-form input, .donate-form select, .donate-form textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.85rem; font-family: var(--font-family); transition: var(--transition); background: var(--color-bg); color: var(--color-text); }
.donate-form input:focus, .donate-form select:focus, .donate-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(13,107,79,0.1); }
.donate-form textarea { resize: vertical; min-height: 40px; }

.amount-presets { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 8px; }
.amount-preset { padding: 5px 14px; border: 2px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); cursor: pointer; font-weight: 600; font-size: 0.8rem; transition: var(--transition); font-family: var(--font-family); color: var(--color-text); }
.amount-preset:hover, .amount-preset.active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }

.checkbox-label { display: flex !important; align-items: center; gap: 6px; cursor: pointer; font-size: 0.8rem; }
.checkbox-label input[type="checkbox"] { width: auto; accent-color: var(--color-primary); }

.donate-form__options { display: flex; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }

.campaign-progress { margin-bottom: 12px; padding: 10px 14px; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); }
.campaign-progress h3 { font-size: 0.85rem; margin-bottom: 6px; }
.progress-bar { height: 6px; background: rgba(255,255,255,0.15); border-radius: 4px; overflow: hidden; margin-bottom: 4px; }
.progress-bar__fill { height: 100%; background: var(--color-accent); border-radius: 4px; transition: width 1.5s ease; }
.progress-stats { display: flex; justify-content: space-between; font-size: 0.7rem; opacity: 0.8; }

.latest-donations { margin-top: 40px; }
.latest-donations h3 { margin-bottom: 16px; font-size: 1.1rem; }
.donations-list { display: flex; flex-direction: column; gap: 8px; }
.donation-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); font-size: 0.9rem; }
.donation-item__donor { font-weight: 600; }
.donation-item__amount { color: var(--color-accent); font-weight: 700; font-size: 1rem; }
.donation-item__date { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

.contact { background: var(--color-bg-alt); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .contact__grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info__item { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--color-bg); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: var(--transition); }
.contact-info__item:hover { box-shadow: var(--shadow-md); transform: translateX(5px); }
.contact-info__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; border-radius: 50%; font-size: 1.3rem; }
.contact-info__item div strong { display: block; font-size: 0.9rem; }
.contact-info__item div span { font-size: 0.85rem; color: var(--color-text-muted); }

.contact-form { background: var(--color-bg); padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: var(--color-text-muted); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-family); background: var(--color-bg); color: var(--color-text); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(13,107,79,0.1); }

.newsletter { background: var(--color-primary-dark); color: #fff; }
.newsletter__inner { text-align: center; max-width: 500px; margin: 0 auto; }
.newsletter__inner h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.newsletter__inner p { opacity: 0.8; margin-bottom: 20px; font-size: 0.9rem; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input { flex: 1; padding: 14px 20px; border: none; border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-family); }

.footer { background: var(--color-bg-dark); color: var(--color-text-light); padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 16px 0; }
.footer__trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.footer__trust span { font-size: 0.78rem; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); padding: 4px 10px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.08); display:inline-flex;align-items:center;gap:6px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; color: #fff; font-size: 1rem; transition: var(--transition); }
.footer__social a:hover { background: var(--color-primary); }
.footer__nav h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer__nav a { display: block; color: rgba(255,255,255,0.6); padding: 4px 0; font-size: 0.9rem; }
.footer__nav a:hover { color: #fff; }
.footer__newsletter h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer__newsletter form { display: flex; }
.footer__newsletter input { flex: 1; padding: 10px 14px; border: none; border-start-start-radius: var(--radius-sm); border-end-start-radius: var(--radius-sm); font-size: 0.9rem; font-family: var(--font-family); }
.footer__newsletter button { padding: 10px 16px; background: var(--color-primary); color: #fff; border: none; cursor: pointer; border-start-end-radius: var(--radius-sm); border-end-end-radius: var(--radius-sm); }

.footer__bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: rgba(255,255,255,0.4); font-size: 0.85rem; }

.scroll-top { position: fixed; bottom: 80px; width: 44px; height: 44px; background: var(--color-primary); color: #fff; border: none; border-radius: 50%; cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 1.1rem; z-index: 999; box-shadow: var(--shadow-md); transition: var(--transition); inset-inline-end: 20px; }
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--color-primary-dark); transform: translateY(-3px); }

.dark-mode-toggle { position: fixed; bottom: 20px; width: 44px; height: 44px; background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-border); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; z-index: 999; box-shadow: var(--shadow-md); transition: var(--transition); inset-inline-end: 20px; }
.dark-mode-toggle:hover { box-shadow: var(--shadow-lg); }

.prose { max-width: 800px; margin: 0 auto; }
.prose h1 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.prose p { margin-bottom: 16px; line-height: 1.8; color: var(--color-text-muted); }
.prose img { border-radius: var(--radius-md); margin: 24px 0; }

.page-header { background: var(--color-bg-alt); padding: 40px 0; margin-bottom: 0; }
.page-header .section-title { margin-bottom: 0; }

.payment-methods-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.payment-method-card { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; cursor: default; transition: var(--transition); position: relative; }
.payment-method-card__icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.payment-method-card__icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.payment-method-card__icon i { color: var(--color-accent); font-size: 0.9rem; }
.payment-method-card__info { display: flex; flex-direction: column; gap: 1px; }
.payment-method-card__info strong { font-size: 0.8rem; }
.payment-method-card__info span { font-size: 0.7rem; opacity: 0.7; }
.payment-method-card__badge { position: absolute; top: 4px; inset-inline-end: 4px; background: #f59e0b; color: #000; font-size: 0.55rem; font-weight: 700; padding: 1px 6px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }

.payment-method-info { margin-top: 6px !important; padding: 8px 12px !important; border-radius: 6px; font-size: 0.75rem !important; line-height: 1.4; background: var(--color-bg-alt) !important; }
.payment-method-info i { margin-inline-start: 4px; }

@media (max-width: 768px) {
    .projects__grid:not(.projects__grid--single) { justify-content: center; }
    .project-card__body { text-align: center; }
    .project-card__actions { justify-content: center; }
    .stories__grid:not(.stories__grid--single) { justify-content: center; }
    .story-card__body { text-align: center; }
}

/* Prevent RTL horizontal scroll-position bug on mobile */
@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .header .logo__img { height: 100%; position: relative;
        top: 9px; }
}

/* ====== Scroll-X Container (Homepage) ====== */
.scroll-x { position: relative; }
.scroll-x__track { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 1.5rem; padding: 1rem 0.25rem 1.5rem; scrollbar-width: none; -ms-overflow-style: none; }
.scroll-x__track::-webkit-scrollbar { display: none; }
.scroll-x__item { flex: 0 0 280px; scroll-snap-align: start; min-width: 0; box-sizing: border-box; }
@media (min-width: 640px) { .scroll-x__item { width: 300px; } }
@media (min-width: 1024px) { .scroll-x__item { width: 340px; } }
@media (min-width: 1280px) { .scroll-x__item { width: 360px; } }
.scroll-x__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.95); border: 1px solid var(--color-border); box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; transition: all 0.2s; }
.scroll-x__btn:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.scroll-x__btn--prev { inset-inline-start: -20px; }
.scroll-x__btn--next { inset-inline-end: -20px; }

/* ====== Project Card Video Badge ====== */
.project-card__image { position: relative; }
.project-card__video-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.25); transition: background 0.2s; cursor: pointer; border-radius: 0; }
.project-card__video-badge:hover { background: rgba(0,0,0,0.4); }
.project-card__video-badge svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); opacity: 0.9; }
