/* ============================================================
   Dr. Nibras Abo Alzahab Portfolio - Main Stylesheet
   Design: "Calligraphic Tech" | Brand: The Sage
   ============================================================ */

/* ---------- Font Faces ---------- */
@font-face {
    font-family: 'BlackChancery';
    src: url('../../fonts/BLKCHCRY.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../../fonts/MYRIADPRO-REGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../../fonts/MYRIADPRO-BOLD.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../../fonts/MYRIADPRO-SEMIBOLD.OTF') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../../fonts/MyriadPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ---------- CSS Custom Properties (Dark Theme Default) ---------- */
:root,
[data-theme="dark"] {
    --bg-primary: #231f20;
    --bg-secondary: #2a2627;
    --bg-tertiary: #332e2f;
    --bg-card: #2a2627;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #808080;
    --accent-green: #00b07b;
    --accent-green-hover: #00c98c;
    --accent-green-glow: rgba(0, 176, 123, 0.3);
    --accent-blue: #007a9c;
    --accent-blue-hover: #0092ba;
    --accent-blue-glow: rgba(0, 122, 156, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.6);
    --nav-bg: rgba(35, 31, 32, 0.95);
    --overlay: rgba(35, 31, 32, 0.7);
    --logo-filter: none;
}

[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eaeaea;
    --bg-card: #ffffff;
    --text-primary: #231f20;
    --text-secondary: #444444;
    --text-muted: #808080;
    --accent-green: #00946a;
    --accent-green-hover: #00b07b;
    --accent-green-glow: rgba(0, 148, 106, 0.2);
    --accent-blue: #007a9c;
    --accent-blue-hover: #005f7a;
    --accent-blue-glow: rgba(0, 122, 156, 0.15);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --overlay: rgba(245, 245, 245, 0.7);
    --logo-filter: invert(1);
}

/* ---------- Base Styles ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'MyriadPro', 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    scroll-padding-top: 100px;
}

[lang="ar"] body,
[dir="rtl"] body {
    font-family: 'Cairo', 'Amiri', 'Traditional Arabic', Arial, sans-serif;
    font-size: 20px;
    line-height: 1.8;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-green-hover);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--accent-green);
    color: #fff;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: 'BlackChancery', 'Georgia', serif;
    font-weight: normal;
    line-height: 1.3;
}

[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
    font-family: 'Cairo', 'Traditional Arabic', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.subsection-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.subsection-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ---------- Layout ---------- */
.section-padding {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

/* ---------- Navbar ---------- */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    z-index: 1050;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.nav-logo {
    height: 45px;
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo {
    height: 35px;
}

.navbar-toggler {
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.4rem 0.7rem;
}

.navbar-toggler i {
    color: var(--text-primary);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.btn-icon {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-icon:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 15px var(--accent-green-glow);
}

.btn-lang {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lang:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: var(--accent-green);
    color: #fff;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--accent-green);
    box-shadow: 0 0 20px var(--accent-green-glow);
}

.btn-outline-custom {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-blue-glow);
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg-primary);
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 70%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 100px;
}

.hero-photo-wrapper {
    position: relative;
    display: inline-block;
}

.hero-photo {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-blue);
    box-shadow: 0 0 40px var(--accent-green-glow), 0 0 80px var(--accent-blue-glow);
    transition: box-shadow 0.5s ease;
}

.hero-photo:hover {
    box-shadow: 0 0 60px var(--accent-green-glow), 0 0 100px var(--accent-blue-glow);
}

.hero-name {
    font-size: 3.5rem;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-degree {
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-typed-wrap {
    font-size: 1.3rem;
    color: var(--accent-green);
    min-height: 2rem;
    margin-bottom: 1rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 550px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--accent-green);
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* ---------- About Section ---------- */
.about-image-wrapper {
    position: relative;
    text-align: center;
}

.about-image {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
}

.about-watermark {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    opacity: 0.08;
    pointer-events: none;
}

.about-summary {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.highlight-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-box:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px var(--accent-green-glow);
    transform: translateY(-4px);
}

.highlight-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-green);
}

.highlight-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission Statement */
.mission-statement {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border-left: 4px solid var(--accent-green);
    position: relative;
}

[dir="rtl"] .mission-statement {
    border-left: none;
    border-right: 4px solid var(--accent-green);
}

.mission-quote blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.9;
    margin: 0;
}

/* Core Values Cards */
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
}

.value-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 30px var(--accent-green-glow);
    transform: translateY(-8px);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: #fff;
}

.value-card h4 {
    font-family: 'BlackChancery', 'Georgia', serif;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

[lang="ar"] .value-card h4,
[dir="rtl"] .value-card h4 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.value-arabic-title {
    font-family: 'Cairo', 'Amiri', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 1rem;
    direction: rtl;
}

.value-meaning {
    text-align: left;
}

[dir="rtl"] .value-meaning {
    text-align: right;
}

.value-meaning-en {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.value-meaning-ar {
    font-family: 'Cairo', 'Amiri', sans-serif;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    border-top: 1px solid var(--border-color);
    padding-top: 0.6rem;
    margin-bottom: 0;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---------- Timeline (Experience) ---------- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-green));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2.5rem;
    margin-bottom: 2rem;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-green);
    border: 3px solid var(--bg-primary);
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-green-glow);
}

.timeline-item.left .timeline-dot {
    right: -8px;
}

.timeline-item.right .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-blue-glow);
}

.timeline-header h3 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--accent-green);
}

[lang="ar"] .timeline-header h3,
[dir="rtl"] .timeline-header h3 {
    font-family: 'Cairo', sans-serif;
}

.timeline-company {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.timeline-location,
.timeline-duration {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 1rem;
}

.timeline-location i,
.timeline-duration i {
    color: var(--accent-blue);
    margin-right: 0.3rem;
}

.timeline-responsibilities {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0.8rem;
}

.timeline-responsibilities li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.timeline-responsibilities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ---------- Tags ---------- */
.tag {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--accent-blue);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

/* ---------- Skills ---------- */
.skills-tabs {
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skills-tabs .nav-link {
    color: var(--text-secondary) !important;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 0.6rem 1.3rem !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skills-tabs .nav-link:hover {
    border-color: var(--accent-green);
}

.skills-tabs .nav-link.active {
    background: var(--accent-green) !important;
    border-color: var(--accent-green) !important;
    color: #fff !important;
}

.skills-tabs .nav-link i {
    margin-right: 0.4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.8rem;
    padding: 1.5rem 0;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--accent-green);
    transform: translateX(4px);
}

.skill-item i {
    color: var(--accent-green);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.skill-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---------- Education ---------- */
.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
}

.education-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 25px var(--accent-blue-glow);
    transform: translateY(-6px);
}

.edu-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.education-card h3 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-green);
}

[lang="ar"] .education-card h3,
[dir="rtl"] .education-card h3 {
    font-family: 'Cairo', sans-serif;
}

.edu-institution {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.edu-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.edu-date i {
    color: var(--accent-blue);
}

.edu-highlights {
    list-style: none;
    padding: 0;
    text-align: left;
}

[dir="rtl"] .edu-highlights {
    text-align: right;
}

.edu-highlights li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.edu-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* ---------- Publications ---------- */
.pub-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pub-filter {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pub-filter:hover,
.pub-filter.active {
    background: var(--accent-green);
    color: #fff;
    border-color: var(--accent-green);
}

.pub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.pub-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-blue-glow);
}

.pub-card[style*="display: none"] {
    display: none !important;
}

.pub-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    background: var(--accent-blue);
    color: #fff;
}

.pub-type-badge.book {
    background: #8b5cf6;
}

.pub-type-badge.preprint {
    background: #f59e0b;
}

.pub-type-badge.workshop-paper {
    background: #ec4899;
}

.pub-title {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

[lang="ar"] .pub-title,
[dir="rtl"] .pub-title {
    font-family: 'Cairo', sans-serif;
}

.pub-authors {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.pub-venue {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pub-venue i {
    color: var(--accent-blue);
}

.pub-summary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.pub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}

.pub-actions {
    display: flex;
    gap: 1rem;
}

.pub-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-green);
}

.pub-link:hover {
    color: var(--accent-green-hover);
}

.pub-link i {
    margin-right: 0.3rem;
}

/* ---------- Community Section ---------- */
.initiative-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.initiative-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 25px var(--accent-green-glow);
}

.initiative-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.initiative-card h3 {
    font-family: 'MyriadPro', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

[lang="ar"] .initiative-card h3,
[dir="rtl"] .initiative-card h3 {
    font-family: 'Cairo', sans-serif;
}

.initiative-role {
    display: inline-block;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.initiative-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.memberships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.membership-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.membership-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
}

.membership-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.8rem;
}

.membership-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.membership-item h4 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

[lang="ar"] .membership-item h4,
[dir="rtl"] .membership-item h4 {
    font-family: 'Cairo', sans-serif;
}

.membership-role,
.membership-since {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.membership-role {
    color: var(--accent-green);
    font-weight: 600;
}

/* Awards */
.award-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.award-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.award-icon {
    color: #f59e0b;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.award-card h4 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

[lang="ar"] .award-card h4,
[dir="rtl"] .award-card h4 {
    font-family: 'Cairo', sans-serif;
}

.award-org {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.award-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-green);
}

/* ---------- Blog Cards ---------- */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
}

.blog-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 25px var(--accent-green-glow);
    transform: translateY(-6px);
}

.blog-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tertiary);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-blue);
    opacity: 0.3;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--accent-green);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.blog-card-body h3 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

[lang="ar"] .blog-card-body h3,
[dir="rtl"] .blog-card-body h3 {
    font-family: 'Cairo', sans-serif;
}

.blog-card-body h3 a {
    color: var(--text-primary);
}

.blog-card-body h3 a:hover {
    color: var(--accent-green);
}

.blog-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-meta i {
    color: var(--accent-blue);
    margin-right: 0.3rem;
}

/* ---------- Contact Section ---------- */
.contact-form .form-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 15px var(--accent-green-glow);
    background: var(--bg-card);
    color: var(--text-primary);
}

.contact-form .form-floating label {
    color: var(--text-muted);
}

.contact-info {
    padding: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--accent-green);
    margin-top: 0.2rem;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

[lang="ar"] .contact-item h4,
[dir="rtl"] .contact-item h4 {
    font-family: 'Cairo', sans-serif;
}

.contact-item a,
.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 0.8rem;
    margin: 1rem 0;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-green-glow);
}

.contact-collab h4 {
    font-family: 'MyriadPro', sans-serif;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

[lang="ar"] .contact-collab h4,
[dir="rtl"] .contact-collab h4 {
    font-family: 'Cairo', sans-serif;
}

.contact-collab ul {
    list-style: none;
    padding: 0;
}

.contact-collab li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-collab li i {
    color: var(--accent-green);
    margin-right: 0.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    max-width: 200px;
    filter: var(--logo-filter);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-heading {
    font-family: 'MyriadPro', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

[lang="ar"] .footer-heading,
[dir="rtl"] .footer-heading {
    font-family: 'Cairo', sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

.footer-initiative-link {
    display: inline-block;
    margin-right: 0.8rem;
}

.footer-initiative-logo {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-initiative-logo:hover {
    opacity: 1;
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0 1rem;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-photo {
        width: 250px;
        height: 250px;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 1rem !important;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 1.5rem;
    }

    /* Tablet Navigation */
    .navbar-nav {
        text-align: center;
    }

    .nav-actions {
        justify-content: center;
        margin-top: 1rem;
    }

    /* Tablet Hero */
    .hero-degree {
        font-size: 1.1rem;
    }

    /* Tablet Grids */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .memberships-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-photo {
        width: 200px;
        height: 200px;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .memberships-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pub-filters {
        gap: 0.3rem;
    }

    .pub-filter {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Mobile Navigation */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1rem !important;
    }

    .nav-actions {
        position: absolute;
        top: 15px;
        right: 80px;
        display: flex !important;
        gap: 8px;
        z-index: 1051;
    }

    .navbar-collapse {
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    /* Mobile Hero */
    .hero-section {
        padding-top: 0;
    }

    .hero-content {
        padding-top: 80px;
    }

    .navbar-toggler {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1052;
    }

    .hero-degree {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 250px;
    }

    /* Mobile Stats */
    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
    }

    .stat-item {
        text-align: center;
    }

    /* Mobile Sections */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile Cards */
    .skill-card,
    .publication-card,
    .gallery-card {
        margin-bottom: 1rem;
    }

    /* Mobile Footer */
    .footer-logo {
        max-width: 150px;
    }
}

/* ---------- Show More / Hidden Items ---------- */
.timeline-hidden,
.pub-hidden {
    display: none;
}

/* ---------- Logo Background Pill (for dark/light contrast) ---------- */
.membership-logo,
.initiative-logo,
.edu-logo,
.footer-initiative-logo {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 8px;
    object-fit: contain;
}

[data-theme="light"] .membership-logo,
[data-theme="light"] .initiative-logo,
[data-theme="light"] .edu-logo,
[data-theme="light"] .footer-initiative-logo {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ---------- Gallery Section ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    background: #2a2626;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 25px var(--accent-green-glow);
    transform: translateY(-6px);
}

.gallery-card-media {
    position: relative;
    height: 220px;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.gallery-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-media img {
    transform: scale(1.05);
}

.gallery-card-media .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 176, 123, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.gallery-card:hover .play-overlay {
    background: rgba(0, 176, 123, 1);
    box-shadow: 0 0 30px rgba(0, 176, 123, 0.5);
}

.gallery-card-body {
    padding: 1.2rem;
}

.gallery-card-body h3 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

[lang="ar"] .gallery-card-body h3,
[dir="rtl"] .gallery-card-body h3 {
    font-family: 'Cairo', sans-serif;
}

.gallery-card-body p {
    color: #ffffff;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.gallery-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.gallery-date i {
    font-size: 0.7rem;
}

.gallery-category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    background: var(--accent-blue);
    color: #fff;
    margin-bottom: 0.4rem;
}

.gallery-type-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox-content {
    max-width: 900px;
    width: 100%;
    position: relative;
}

.gallery-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.gallery-lightbox-close:hover {
    opacity: 1;
}

.gallery-lightbox img {
    width: 100%;
    border-radius: 12px;
}

.gallery-lightbox iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 12px;
}

.gallery-lightbox-info {
    background: #2a2626;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-lightbox-info h3 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

[lang="ar"] .gallery-lightbox-info h3,
[dir="rtl"] .gallery-lightbox-info h3 {
    font-family: 'Cairo', sans-serif;
}

.gallery-full-description {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.gallery-lightbox-info .gallery-date {
    color: rgba(255, 255, 255, 0.7);
}

/* Featured Gallery Carousel */
.featured-gallery-carousel {
    margin-bottom: 3rem;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1rem;
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
    position: relative;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.carousel-slide:hover .carousel-slide-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
}

.carousel-slide-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.carousel-slide-overlay h3 {
    font-family: 'MyriadPro', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

[lang="ar"] .carousel-slide-overlay h3,
[dir="rtl"] .carousel-slide-overlay h3 {
    font-family: 'Cairo', sans-serif;
}

.carousel-category {
    display: inline-block;
    background: rgba(0, 176, 123, 0.2);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-nav:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 350px;
    }
    
    .carousel-slide-overlay h3 {
        font-size: 1.3rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Gallery Sort Bar */
.gallery-sort-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.gallery-sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-sort-dropdown label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
}

.gallery-sort-select {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 12px;
}

.gallery-sort-select:hover {
    border-color: var(--accent-green);
    background-color: var(--bg-tertiary);
}

.gallery-sort-select:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 176, 123, 0.1);
}

.gallery-sort-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem;
}

[dir="rtl"] .gallery-sort-bar {
    justify-content: flex-start;
}

[dir="rtl"] .gallery-sort-select {
    background-position: left 0.7rem center;
    padding: 0.5rem 1rem 0.5rem 2rem;
}

@media (max-width: 768px) {
    .gallery-sort-bar {
        justify-content: center;
    }
    
    .gallery-sort-dropdown {
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        width: 100%;
        max-width: 300px;
    }
    
    .gallery-sort-dropdown label {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .gallery-sort-select {
        width: 100%;
        text-align: center;
    }
}

/* Gallery filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* ---------- Utility: Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}
