/* Sawa Cultural Foundation - Vibrant Tech Aesthetic (Nada Al-Qadhi Style) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800;900&family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    /* Design Tokens - Yellow & Charcoal Tech Aesthetic */
    --bg-primary: #fffef7;
    --bg-secondary: #ffffff;
    --bg-dark: #0b0c10;

    --text-primary: #111827;
    --text-secondary: #475569;

    --primary: #E9DD1D;
    --secondary: #E9DD1D;
    --accent: #958f39;
    --gradient: linear-gradient(135deg, #E9DD1D, #E9DD1D);

    --border-color: rgba(234, 179, 8, 0.15);

    /* Fonts */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Poppins', sans-serif;

    /* Layout properties */
    --bg-color: var(--bg-primary);
    --bg-element: var(--bg-secondary);
    --text-color: var(--text-primary);
    --text-muted: var(--text-secondary);
    --border: var(--border-color);

    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.3s ease;
    --border-radius: 12px;
}

/* Dark Theme overrides */
[data-theme="dark"] {
    --bg-color: var(--bg-dark);
    --bg-element: rgba(255, 255, 255, 0.03);
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);

    --primary: #fbbf24;
    --secondary: #fef08a;
    --accent: #fbbf24;
    --gradient: linear-gradient(135deg, #fcd34d, #fbbf24);
}

/* Resets */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}

html {
    scroll-behavior: initial;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body[dir="rtl"] {
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-quick);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Background Particles Container */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Text Gradient Effect */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Buttons */
.btn-cta {
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient);
    color: #111827;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.25);
    transition: var(--transition-quick);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(234, 179, 8, 0.25);
}

.btn-outline {
    font-size: 1rem;
    font-weight: 700;
    background: transparent;
    color: var(--text-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--primary);
    transition: var(--transition-quick);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: #111827;
}

/* Header & Menu */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-quick);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] header {
    background: rgba(31, 20, 14, 0.95);
}

.nav-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-family: var(--font-en);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.logo span:last-child {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item a {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-color);
    font-family: var(--font-ar);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    border: none;
    background: transparent;
    display: inline-block;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--primary) !important;
}

[data-theme="dark"] .nav-item a:hover,
[data-theme="dark"] .nav-item a.active {
    color: var(--primary) !important;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-item a:hover::after,
.nav-item a.active::after {
    width: 100% !important;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pill-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    background: var(--bg-element);
}

.btn-icon {
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition-quick);
}

.btn-icon:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
}

/* Vertical Social Bar (Nada Aesthetic - Text Version) */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.social-sidebar::before,
.social-sidebar::after {
    content: '';
    width: 2px;
    height: 80px;
    background: var(--border);
    margin: 0 auto;
}

.social-link {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-color);
    opacity: 0.6;
    transition: var(--transition-quick);
    text-decoration: none;
}

.social-link:hover {
    opacity: 1;
    color: var(--secondary);
}

@media (max-width: 992px) {
    .social-sidebar {
        display: none;
    }
}

/* Cinematic Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 4rem;
    /* Space for the social sidebar on the left */
    background-image: linear-gradient(to bottom, rgba(255, 254, 247, 0.45), rgba(255, 254, 247, 0.2)), url('../../images/BK.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

[data-theme="dark"] .hero {
    background-image: linear-gradient(to bottom, rgba(11, 12, 16, 0.85), rgba(11, 12, 16, 0.7)), url('../../images/BK.png');
}

@media (max-width: 992px) {
    .hero {
        padding-right: 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-text .greeting {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

.hero-text .typewriter-container {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

@media (max-width: 992px) {
    .hero-text p {
        margin: 0 auto 2.5rem;
    }
}

/* Institutional Hero Image */
.institutional-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    z-index: 1;
}

.institutional-img {
    width: 100%;
    height: 380px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

/* Cultural Background Shapes in Hero */
.cultural-shape {
    position: absolute;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(234, 179, 8, 0.1));
    animation: floating-cultural 8s ease-in-out infinite alternate;
}

.cultural-arch {
    top: -120px;
    left: -140px;
    width: 450px;
    height: 450px;
    opacity: 0.95;
    z-index: 1;
    /* خلف الصورة */
}

.cultural-star {
    bottom: -50px;
    right: -40px;
    width: 180px;
    height: 180px;
    opacity: 0.95;
    z-index: 3;
    /* أمام الصورة */
    animation-delay: 2s;
}

.cultural-pattern-backdrop {
    position: absolute;
    top: 25px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    z-index: 0;
    opacity: 0.45;
    /* زيادة وضوح الإطار الخشبي المشربي خلف الصورة */
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(234, 179, 8, 0.15) 10px, rgba(234, 179, 8, 0.15) 11px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(234, 179, 8, 0.15) 10px, rgba(234, 179, 8, 0.15) 11px);
}

[data-theme="dark"] .cultural-pattern-backdrop {
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(251, 191, 36, 0.05) 10px, rgba(251, 191, 36, 0.05) 11px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(251, 191, 36, 0.05) 10px, rgba(251, 191, 36, 0.05) 11px);
}

[data-theme="dark"] .cultural-shape {
    filter: drop-shadow(0 10px 25px rgba(251, 191, 36, 0.08));
}

@keyframes floating-cultural {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-12px) rotate(4deg);
    }
}

.stats-glass-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

[data-theme="dark"] .stats-glass-card {
    background: rgba(26, 26, 26, 0.85);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-num {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .stats-glass-card {
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
        width: 80%;
    }
}

/* Typography & Layout Elements */
section {
    padding: 100px 0;
    position: relative;
}

.section-tag {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4rem;
    text-align: center;
}

/* Glassmorphism Cards */
.minimal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 992px) {
    .minimal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .minimal-grid {
        grid-template-columns: 1fr;
    }
}

.minimal-card {
    background: var(--bg-element);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-quick);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .minimal-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.minimal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(92, 58, 33, 0.12);
    border-color: var(--primary);
}

.card-img-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.minimal-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-tag {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-quick);
}

.card-link i {
    transition: var(--transition-quick);
}

.card-link:hover {
    color: var(--secondary);
}

.card-link:hover i {
    transform: translateX(-5px);
}

/* Timeline elements (Experience / Awards) */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.timeline-list::before {
    content: '';
    position: absolute;
    top: 0;
    right: 20px;
    /* RTL */
    width: 2px;
    height: 100%;
    background: var(--gradient);
}

.timeline-row {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 2rem 3rem 2rem 2rem;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-quick);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.timeline-row::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
}

.timeline-row:hover {
    transform: translateX(-10px);
    border-color: var(--primary);
}

.timeline-year-text {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-title-text h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.timeline-title-text span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

.timeline-desc-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Footer layout */
footer {
    background: var(--bg-dark);
    color: #f8fafc;
    padding: 80px 0 20px;
    border-top: 5px solid;
    border-image: var(--gradient) 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-en);
}

.footer-logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col ul a {
    font-size: 0.95rem;
    color: #cbd5e1;
    transition: var(--transition-quick);
}

.footer-col ul a:hover {
    color: var(--secondary);
    padding-right: 5px;
}

.footer-social-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    font-size: 1.15rem;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    flex-shrink: 0;
}

.social-icon-btn.social-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(24, 119, 242, 0.45);
}

.social-icon-btn.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(225, 48, 108, 0.45);
}

.social-icon-btn.social-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.45);
}

.social-icon-btn.social-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(10, 102, 194, 0.45);
}

.social-icon-btn.social-email:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #111;
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(234, 179, 8, 0.45);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Responsive CSS */
/* Responsive Mobile Header & Menu CSS */
@media (max-width: 992px) {
    header {
        padding: 0.85rem 0 !important;
    }

    .logo {
        font-size: 0.95rem;
        letter-spacing: -0.3px;
    }

    .header-controls {
        gap: 0.5rem;
    }

    .desktop-contact-btn {
        display: none !important;
    }

    .mobile-contact-item {
        display: block !important;
        width: 100%;
        max-width: 340px;
        margin-top: 0.5rem;
    }

    .mobile-contact-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.85rem 1.5rem !important;
        font-size: 1.05rem !important;
        border-radius: 50px !important;
        background: linear-gradient(135deg, var(--primary) 0%, #ca8a04 100%) !important;
        color: #111827 !important;
        font-weight: 900 !important;
        box-shadow: 0 8px 25px rgba(234, 179, 8, 0.35) !important;
        text-decoration: none;
    }

    .btn-lang-toggle {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.78rem !important;
        gap: 0.35rem !important;
        border-radius: 50px !important;
    }

    .btn-lang-toggle i {
        font-size: 0.85rem !important;
    }

    .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: rgba(233, 221, 29, 0.12);
        border: 1.5px solid rgba(233, 221, 29, 0.35);
        color: var(--text-color);
        font-size: 1.25rem;
        cursor: pointer;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 4px 15px rgba(233, 221, 29, 0.1);
        z-index: 1001;
    }

    .hamburger:hover,
    .hamburger.active {
        background: #E9DD1D;
        color: #111827;
        border-color: #E9DD1D;
        box-shadow: 0 8px 22px rgba(233, 221, 29, 0.35);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 254, 247, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 6.5rem 1.75rem 3rem;
        gap: 1.25rem;
        border: none;
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

    [data-theme="dark"] .nav-links {
        background: rgba(11, 12, 16, 0.98);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        max-width: 340px;
        text-align: center;
    }

    .nav-item a {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--text-primary);
        background: rgba(233, 221, 29, 0.08);
        border: 1px solid rgba(233, 221, 29, 0.25);
        border-radius: 18px;
        transition: all 0.35s ease;
    }

    .nav-item a::after {
        display: none;
    }

    .nav-item a:hover,
    .nav-item a.active {
        background: linear-gradient(135deg, #E9DD1D 0%, #f59e0b 100%);
        color: #111827 !important;
        font-weight: 900;
        border-color: transparent;
        box-shadow: 0 8px 25px rgba(233, 221, 29, 0.35);
        transform: translateY(-3px);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 0.82rem;
    }

    .header-controls .btn-cta {
        padding: 0.38rem 0.75rem;
        font-size: 0.72rem;
    }

    .hamburger {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
}


.footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}


/* Admin Dashboard styles */
.admin-grid-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 992px) {
    .admin-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.admin-nav-sidebar {
    border: 1px solid var(--border);
    background: var(--bg-element);
    padding: 2rem 1.5rem;
    border-radius: 24px;
    height: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.admin-side-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-side-btn {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: right;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-quick);
    border: 1px solid transparent;
}

.admin-side-btn:hover {
    background: rgba(234, 179, 8, 0.05);
    color: var(--primary);
    border-color: rgba(234, 179, 8, 0.15);
}

.admin-side-btn.active {
    background: var(--gradient);
    color: #111827;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.15);
    border-color: transparent;
}

.admin-panel-card {
    border: 1px solid var(--border);
    background: var(--bg-element);
    padding: 3rem;
    border-radius: 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
}

.admin-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

.admin-title-row h2 {
    font-size: 1.60rem;
    font-weight: 900;
    color: var(--text-primary);
}

/* Minimalist Admin Tables */
.minimal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    text-align: right;
}

.minimal-table th {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--border);
}

.minimal-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-primary);
    vertical-align: middle;
}

.minimal-table tr {
    transition: var(--transition-quick);
}

.minimal-table tr:hover td {
    background: rgba(234, 179, 8, 0.02);
}

.minimal-table tr:last-child td {
    border-bottom: none;
}

/* Inline actions row buttons */
.action-row-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-inline-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(234, 179, 8, 0.05);
    border: 1px solid rgba(234, 179, 8, 0.12);
    color: var(--primary);
    transition: var(--transition-quick);
}

.btn-inline-action:hover {
    background: var(--primary);
    color: #111827;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(234, 179, 8, 0.15);
}

.btn-inline-delete {
    background: rgba(239, 68, 68, 0.05) !important;
    border-color: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
}

.btn-inline-delete:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2) !important;
}

/* Admin Form Elements */
.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.admin-form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.admin-form-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-quick);
}

.admin-form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .admin-form-input {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .admin-form-input:focus {
    background: rgba(255, 255, 255, 0.04);
}

/* Admin Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.btn-close {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-quick);
    line-height: 1;
}

.btn-close:hover {
    color: #ef4444;
}

/* Toast */
.toast-msg {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--gradient);
    color: #111827;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    z-index: 20000;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-quick);
    pointer-events: none;
}

.toast-msg.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Featured Projects Section */
.project-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .project-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .project-featured-grid {
        grid-template-columns: 1fr;
    }
}

.project-featured-card {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.03);
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

[data-theme="dark"] .project-featured-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.project-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.05), rgba(251, 191, 36, 0.05));
    opacity: 0;
    transition: var(--transition-quick);
    z-index: 0;
    pointer-events: none;
}

.project-featured-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(234, 179, 8, 0.15);
}

[data-theme="dark"] .project-featured-card:hover {
    box-shadow: 0 25px 50px rgba(234, 179, 8, 0.25);
}

.project-featured-card:hover::before {
    opacity: 1;
}

.project-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    z-index: 1;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-featured-card:hover .project-img-container img {
    transform: scale(1.12);
}

.project-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-quick);
}

.project-featured-card:hover .project-img-overlay {
    opacity: 1;
}

.project-overlay-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: scale(0.8);
    transition: var(--transition-quick);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-featured-card:hover .project-overlay-icon {
    transform: scale(1);
}

.project-badge-tag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    border: 1px solid rgba(234, 179, 8, 0.3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-card-info {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 1;
}

.project-card-title {
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
    transition: var(--transition-quick);
}

.project-featured-card:hover .project-card-title {
    color: var(--primary);
}

.project-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.project-mini-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.mini-stat-pill {
    background: rgba(234, 179, 8, 0.05);
    border: 1px solid rgba(234, 179, 8, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

[data-theme="dark"] .mini-stat-pill {
    background: rgba(251, 191, 36, 0.03);
    border-color: rgba(251, 191, 36, 0.1);
}

.pill-val {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.pill-key {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.2rem;
}

.project-card-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.btn-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1.5px solid var(--border-color);
    background: transparent;
    transition: var(--transition-quick);
    width: 100%;
    justify-content: center;
}

.project-featured-card:hover .btn-card-action {
    background: var(--gradient);
    color: #111827;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.2);
}

.btn-card-action i {
    transition: transform 0.3s ease;
}

.project-featured-card:hover .btn-card-action i {
    transform: translateX(-5px);
}

/* Premium Project Details Page Styling */
.project-details-header {
    padding: 180px 0 60px;
    background: transparent;
}

.details-title-large {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .details-title-large {
        font-size: 2.25rem;
    }
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-item p {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .project-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.parallax-img-container {
    width: calc(100% - 8rem);
    max-width: 1360px;
    margin: 0 auto 5rem;
    height: 65vh;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.08);
}

.parallax-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@media (max-width: 992px) {
    .parallax-img-container {
        width: calc(100% - 3rem);
        height: 45vh;
        border-radius: 20px;
    }
}

/* Split Grid Layout */
.split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

/* Rich Content and Article Styles */
.rich-content h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.rich-content h3 i {
    color: var(--primary);
}

.rich-content h3:first-child {
    margin-top: 0;
}

.rich-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Bullet list and step design */
.rich-content ul {
    margin-bottom: 3rem;
}

.rich-content li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    padding-right: 2.25rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.6;
    position: relative;
}

.rich-content li i {
    font-size: 1.2rem;
    position: absolute;
    right: 0;
    top: 6px;
}

/* Sidebar widgets */
.project-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.project-stats-widget {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.03);
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.widget-stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-stat-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.widget-stat-value {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.project-support-widget {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.03);
}

.project-support-widget h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-support-widget p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.65;
}

/* Photo Gallery Layout */
.gallery-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-box {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.12);
    border-color: var(--primary);
}

.gallery-box:hover img {
    transform: scale(1.08);
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 16/10;
}

@media (max-width: 768px) {
    .gallery-layout {
        grid-template-columns: 1fr;
    }

    .gallery-large {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}

/* Premium Timeline Layout */
.premium-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.premium-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 35px;
    /* RTL alignment */
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
    border-radius: 3px;
}

.timeline-row-premium {
    position: relative;
    display: flex;
    margin-bottom: 3.5rem;
    padding-right: 80px;
    /* Space for the node */
}

.timeline-row-premium:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    top: 25px;
    right: 22px;
    width: 30px;
    height: 30px;
    background: var(--bg-primary);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition-smooth);
}

.node-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.timeline-row-premium:hover .timeline-node {
    border-color: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.4);
}

.timeline-row-premium:hover .node-dot {
    background: var(--secondary);
    transform: scale(1.2);
}

.timeline-card-premium {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem;
    width: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

[data-theme="dark"] .timeline-card-premium {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.timeline-card-premium:hover {
    transform: translateX(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(234, 179, 8, 0.12);
}

[data-theme="dark"] .timeline-card-premium:hover {
    box-shadow: 0 20px 45px rgba(251, 191, 36, 0.12);
}

.award-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.award-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    transition: var(--transition-quick);
}

[data-theme="dark"] .award-icon-box {
    background: rgba(251, 191, 36, 0.04);
    border-color: rgba(251, 191, 36, 0.15);
}

.timeline-row-premium:hover .award-icon-box {
    background: var(--gradient);
    color: #111827;
    border-color: transparent;
    transform: rotate(-10deg) scale(1.05);
}

.award-year-badge {
    font-family: var(--font-en);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
    background: rgba(234, 179, 8, 0.06);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .award-year-badge {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
}

.timeline-row-premium:hover .award-year-badge {
    background: var(--secondary);
    color: #fff;
    border-color: transparent;
}

.award-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.award-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.4;
}

.award-org {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.award-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .premium-timeline::before {
        right: 20px;
    }

    .timeline-row-premium {
        padding-right: 50px;
    }

    .timeline-node {
        right: 7px;
    }
}

/* Premium Contact Section */
.contact-info-cards {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    background: rgba(234, 179, 8, 0.04);
    border-color: rgba(234, 179, 8, 0.15);
    transform: translateX(-5px);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: var(--transition-quick);
}

.contact-info-card:hover .info-card-icon {
    background: var(--gradient);
    color: #111827;
    border-color: transparent;
}

.info-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-card-details span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.info-card-details p {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 800;
    margin: 0 !important;
}

.contact-card-glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(234, 179, 8, 0.1);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.contact-form-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form-input {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-quick);
}

.contact-form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.1);
}

.contact-form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-contact-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient);
    color: #111827;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-quick);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.2);
}

.btn-contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(234, 179, 8, 0.35);
}

.btn-contact-submit i {
    transition: transform 0.3s ease;
}

.btn-contact-submit:hover i {
    transform: translateX(-5px);
}

/* About Page Hero Section Professional Redesign */
.about-hero-section {
    position: relative;
    padding: 150px 0 90px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(234, 179, 8, 0.06) 0%, transparent 70%);
}

.about-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('../../images/about2.png') center/cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    filter: saturate(1.2);
}

[data-theme="dark"] .about-hero-bg-overlay {
    opacity: 0.22;
}

.about-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.28;
}

.about-hero-glow-1 {
    top: -100px;
    right: 10%;
    background: #eab308;
}

.about-hero-glow-2 {
    bottom: -150px;
    left: 10%;
    background: #ca8a04;
}

.about-hero-tag-wrapper {
    margin-bottom: 1rem;
}

.about-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #d97706;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.08);
}

[data-theme="dark"] .about-hero-tag {
    color: var(--primary);
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
}

.about-hero-title {
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.title-sub-head {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.title-main-head {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 1.75rem;
    line-height: 1.85;
}

.about-hero-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.1rem;
    max-width: 920px;
    margin: 0 auto 1.25rem;
}

.about-pillar-card {
    background: #ffffff;
    border: 2px solid rgba(234, 179, 8, 0.35);
    border-radius: 20px;
    padding: 1.1rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.12);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

[data-theme="dark"] .about-pillar-card {
    background: #0f172a;
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.about-pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(234, 179, 8, 0.22);
}

/* Projects Page Hero Section Professional Redesign */
.projects-hero-section {
    position: relative;
    padding: 150px 0 90px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(234, 179, 8, 0.06) 0%, transparent 70%);
}

.projects-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('../../images/bk_2.png') center/cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    filter: saturate(1.2);
}

[data-theme="dark"] .projects-hero-bg-overlay {
    opacity: 0.22;
}

.projects-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.28;
}

.projects-hero-glow-1 {
    top: -100px;
    right: 10%;
    background: #eab308;
}

.projects-hero-glow-2 {
    bottom: -150px;
    left: 10%;
    background: #ca8a04;
}

.projects-hero-tag-wrapper {
    margin-bottom: 1rem;
}

.projects-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #d97706;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.08);
}

[data-theme="dark"] .projects-hero-tag {
    color: var(--primary);
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
}

.projects-hero-title {
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.projects-hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.85;
}

.projects-hero-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.1rem;
    max-width: 920px;
    margin: 0 auto 1.25rem;
}

.projects-pillar-card {
    background: #ffffff;
    border: 2px solid rgba(234, 179, 8, 0.35);
    border-radius: 20px;
    padding: 1.1rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.12);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

[data-theme="dark"] .projects-pillar-card {
    background: #0f172a;
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.projects-pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(234, 179, 8, 0.22);
}

.projects-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.22) 0%, rgba(202, 138, 4, 0.1) 100%);
    border: 1px solid rgba(234, 179, 8, 0.4);
    color: var(--primary);
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-text strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.pillar-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.about-vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.vision-card,
.mission-card {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.03);
    position: relative;
    overflow: hidden;
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.vision-card h3 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-primary);
}

.mission-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Strategic Goals Styling */
.goals-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
}

.goal-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.75rem;
    position: relative;
    padding-right: 2.5rem;
}

.goal-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.goal-item-icon {
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--primary);
    font-size: 1.25rem;
}

.goal-item h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.goal-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--bg-element);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.03);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(234, 179, 8, 0.1);
}

.value-card i {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card span {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Section Premium Redesign */
.team-creative-section {
    position: relative;
}

.team-bg-glow {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 221, 29, 0.14) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.team-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7rem 2.5rem;
    margin-top: 7.5rem;
}

@media (max-width: 992px) {
    .team-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 6.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid-premium {
        grid-template-columns: 1fr;
        gap: 6.5rem;
    }
}

.team-member-card {
    background: #ffffff;
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: 28px;
    padding: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden !important;
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
}

[data-theme="dark"] .team-member-card {
    background: #0f172a;
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.team-member-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 65px rgba(234, 179, 8, 0.25);
}

.team-card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #eab308 0%, #f59e0b 50%, #ca8a04 100%);
    z-index: 3;
    transition: all 0.4s ease;
}

.team-member-card:hover .team-card-top-accent {
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.8);
}

.member-img-wrapper {
    width: 100%;
    height: 290px;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: auto;
    border: none;
    border-bottom: 3px solid rgba(234, 179, 8, 0.4);
    padding: 0;
    background: var(--bg-element);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 0 1.5rem 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.member-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-member-card:hover .member-img-wrapper img {
    transform: scale(1.08);
}

.member-role {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #b45309;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    margin: 0 1.5rem 0.85rem;
    transition: all 0.35s ease;
}

.team-member-card:hover .member-role {
    background: var(--primary);
    color: #111;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.35);
}

[data-theme="dark"] .member-role {
    color: var(--primary);
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.3);
}

.member-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 1.5rem 0.75rem;
    line-height: 1.3;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

.team-member-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 1rem;
    margin: 0 1.5rem;
    width: calc(100% - 3rem);
    border-top: 1px dashed rgba(233, 221, 29, 0.35);
}

.team-member-social .social-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(233, 221, 29, 0.12);
    border: 1px solid rgba(233, 221, 29, 0.3);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.35s ease;
}

[data-theme="dark"] .team-member-social .social-btn {
    color: #E9DD1D;
    background: rgba(255, 255, 255, 0.05);
}

.team-member-social .social-btn:hover {
    background: #E9DD1D;
    color: #111827;
    border-color: #E9DD1D;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(233, 221, 29, 0.35);
}

/* New Goals Layout Grid & Cards */
.goals-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 1024px) {
    .goals-grid-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.goal-card-new {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    /* Top gold border accent on hover */
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.02);
    overflow: hidden;
}

[data-theme="dark"] .goal-card-new {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.goal-card-new:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    border-top-color: var(--primary);
    box-shadow: 0 25px 50px rgba(234, 179, 8, 0.12);
}

[data-theme="dark"] .goal-card-new:hover {
    box-shadow: 0 25px 50px rgba(251, 191, 36, 0.12);
}

.goal-card-number {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    /* Opposing side in RTL */
    font-family: var(--font-en);
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(234, 179, 8, 0.06);
    line-height: 1;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 0;
    direction: ltr;
    text-align: left;
}

[data-theme="dark"] .goal-card-number {
    color: rgba(255, 255, 255, 0.03);
}

.goal-card-new:hover .goal-card-number {
    color: rgba(234, 179, 8, 0.15);
    transform: translateY(-5px) scale(1.05);
}

.goal-icon-circle-new {
    width: 60px;
    height: 60px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-quick);
}

.goal-card-new:hover .goal-icon-circle-new {
    background: var(--gradient);
    color: #111827;
    border-color: transparent;
    transform: scale(1.05);
}

.goal-card-new h4 {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-quick);
}

.goal-card-new:hover h4 {
    color: var(--primary);
}

.goal-card-new p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* New Values Layout Grid */
.values-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .values-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid-new {
        grid-template-columns: 1fr;
    }
}

.value-card-new {
    background: var(--bg-element);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card-new:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.1);
}

.value-icon-circle-new {
    width: 60px;
    height: 60px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-quick);
}

.value-card-new:hover .value-icon-circle-new {
    background: var(--gradient);
    color: #111827;
    border-color: transparent;
}

.value-card-new span {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Premium Story Section Grid */
.story-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .story-grid-premium {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Left Side: Visual Showcase */
.story-visual-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.story-image-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/5;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.08);
    border: 1px solid var(--border);
    z-index: 2;
}

.story-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.story-image-card:hover img {
    transform: scale(1.05);
}

.story-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(202, 138, 4, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.story-floating-badge {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    /* Overlap outside card */
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 20px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 3;
    transition: var(--transition-smooth);
}

.story-floating-badge:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.story-floating-badge i {
    font-size: 1.6rem;
    color: var(--primary);
}

.story-floating-badge .badge-num {
    display: block;
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.story-floating-badge .badge-lbl {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.story-backdrop-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    max-width: 440px;
    border: 2px dashed rgba(234, 179, 8, 0.2);
    border-radius: 32px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 576px) {
    .story-floating-badge {
        right: 1rem;
        bottom: 1rem;
    }
}

/* Right Side: Narrative */
.story-heading {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.story-lead-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.story-milestones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 2rem;
}

@media (max-width: 576px) {
    .story-milestones {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.milestone-box {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.milestone-icon {
    width: 42px;
    height: 42px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.milestone-info h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.milestone-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 !important;
}

/* Force goals, values, vision, mission, team, and story visibility to override any GSAP/JS conflicts */
.goal-card-new,
.value-card-new,
.vision-card,
.mission-card,
.team-member-card,
.story-visual-wrapper,
.story-narrative-wrapper {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Projects Catalog Page Styling */
.projects-hero-section {
    padding-top: 180px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 10% 20%, rgba(234, 179, 8, 0.04) 0%, transparent 60%);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.projects-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.projects-hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.projects-catalog-section {
    background: var(--bg-secondary);
    padding: 5rem 0 8rem 0;
    min-height: 70vh;
}

/* Glassmorphic Filter Bar */
.filter-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    background: rgba(234, 179, 8, 0.04);
    border: 1px solid var(--border);
    padding: 0.6rem;
    border-radius: 50px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .filter-bar-container {
    background: rgba(255, 255, 255, 0.02);
}

.filter-btn {
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-ar);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.25);
}

[data-theme="dark"] .filter-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.25);
}

/* Projects Premium Grid */
.projects-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 1024px) {
    .projects-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .projects-grid-premium {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Project Item Card */
.project-item-card {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    opacity: 1;
    transform: scale(1);
}

.project-item-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(234, 179, 8, 0.12);
}

[data-theme="dark"] .project-item-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

/* Image Wrapper */
.project-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-item-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

/* Project Tag Overlay */
.project-tag-overlay {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Project Card Info */
.project-card-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-type {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
}

.project-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: var(--transition-quick);
}

.project-item-card:hover .project-card-title {
    color: var(--primary);
}

.project-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Project Stats Container */
.project-stats-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.stat-badge {
    background: rgba(234, 179, 8, 0.05);
    border: 1px solid var(--border);
    padding: 0.45rem 0.9rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 70px;
    text-align: center;
}

[data-theme="dark"] .stat-badge {
    background: rgba(255, 255, 255, 0.02);
}

.stat-badge-val {
    font-family: var(--font-en);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-badge-key {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    white-space: nowrap;
}

/* Project Card Link */
.project-card-link {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-quick);
    margin-top: auto;
}

.project-card-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.project-item-card:hover .project-card-link {
    color: var(--primary);
}

.project-item-card:hover .project-card-link i {
    transform: translateX(-6px);
}

/* Awards/Achievements Timeline Page Styling */
.awards-hero-section {
    padding-top: 180px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 90% 20%, rgba(234, 179, 8, 0.04) 0%, transparent 60%);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.awards-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.awards-hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.awards-catalog-section {
    background: transparent;
    padding: 6rem 0 8rem 0;
}

/* Premium Timeline Layout (One-sided RTL) */
.premium-timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-central-line {
    position: absolute;
    top: 0;
    right: 40px;
    /* Aligned to the right in RTL */
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
    border-radius: 3px;
}

.timeline-item-row {
    position: relative;
    padding-right: 80px;
    /* Space for line and node */
    margin-bottom: 4.5rem;
}

.timeline-item-row:last-child {
    margin-bottom: 0;
}

/* Timeline Node */
.timeline-node {
    position: absolute;
    top: 2rem;
    right: 22px;
    /* Centered on the 3px line (40px + 1.5px - 20px) */
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.95rem;
    z-index: 2;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.15);
    transition: var(--transition-quick);
}

.timeline-item-row:hover .timeline-node {
    background: var(--gradient);
    color: #111827;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
}

/* Award Premium Card */
.award-premium-card {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.03);
    overflow: hidden;
}

.award-premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(234, 179, 8, 0.12);
}

[data-theme="dark"] .award-premium-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

/* Big Year Watermark */
.award-year-watermark {
    position: absolute;
    top: 2rem;
    left: 3rem;
    /* Left side in RTL */
    font-family: var(--font-en);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(234, 179, 8, 0.06);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    direction: ltr;
    text-align: left;
}

[data-theme="dark"] .award-year-watermark {
    color: rgba(255, 255, 255, 0.02);
}

/* Card Header */
.award-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.award-org-badge {
    background: rgba(234, 179, 8, 0.05);
    border: 1px solid var(--border);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

[data-theme="dark"] .award-org-badge {
    background: rgba(255, 255, 255, 0.02);
}

.award-year-mobile {
    display: none;
}

/* Card Content */
.award-card-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-quick);
}

.award-premium-card:hover .award-card-title {
    color: var(--primary);
}

.award-card-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Image Box */
.award-image-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    max-width: 480px;
    border: 1px solid var(--border);
    z-index: 1;
}

.award-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.award-premium-card:hover .award-image-box img {
    transform: scale(1.08);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .premium-timeline-wrapper {
        padding: 1rem 0;
    }

    .timeline-central-line {
        right: 20px;
    }

    .timeline-item-row {
        padding-right: 50px;
        margin-bottom: 3rem;
    }

    .timeline-node {
        right: 2px;
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .award-premium-card {
        padding: 2rem;
    }

    .award-year-watermark {
        display: none;
    }

    .award-year-mobile {
        display: inline-block;
        font-family: var(--font-en);
        font-size: 0.9rem;
        font-weight: 800;
        color: var(--primary);
    }
}

/* Detailed Projects catalog Section */
.projects-detailed-catalog {
    background: transparent;
    padding: 6rem 0;
}

.detailed-project-section {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 4.5rem;
    margin: 0 auto 5rem auto;
    /* Center it and add a bottom margin for the gap! */
    max-width: 1040px;
    /* Centered card width */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    width: calc(100% - 3rem);
    /* Responsive margin on sides */
}

.detailed-project-section:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(234, 179, 8, 0.05);
}

[data-theme="dark"] .detailed-project-section {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .detailed-project-section:hover {
    box-shadow: 0 20px 60px rgba(234, 179, 8, 0.08);
}

@media (max-width: 768px) {
    .detailed-project-section {
        padding: 2.5rem 1.5rem;
        margin-bottom: 3rem;
        border-radius: 24px;
    }
}

.project-title-header {
    text-align: center;
    width: 100%;
    margin-bottom: 2.5rem;
}

/* Details content */
.project-tag-pill {
    background: rgba(234, 179, 8, 0.05);
    border: 1px solid var(--border);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .project-tag-pill {
    background: rgba(255, 255, 255, 0.02);
}

.project-title-large {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.project-summary-box {
    margin-bottom: 2.5rem;
}

.summary-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.description-full-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Split Info (Objectives & Outcomes) */
.project-split-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .project-split-info {
        grid-template-columns: 1fr;
    }
}

.info-block {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-right: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--border-radius) 4px 4px var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: var(--transition-quick);
}

.info-block:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.05);
}

.info-block h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.clean-bullet-list {
    list-style: none;
    padding: 0;
}

.clean-bullet-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.clean-bullet-list li i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.outcomes-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Supporting Orgs */
.supporting-orgs-box {
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-right: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius) 4px 4px var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: var(--transition-quick);
}

.supporting-orgs-box:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.04);
}

[data-theme="dark"] .supporting-orgs-box {
    background: rgba(255, 255, 255, 0.01);
}

.orgs-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.orgs-names {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Visuals Content column */
.project-visuals-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Main Cover frame */
.project-main-cover-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 860px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(234, 179, 8, 0.06);
    margin: 0 auto;
}

[data-theme="dark"] .project-main-cover-frame {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.main-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-main-cover-frame:hover .main-cover-img {
    transform: scale(1.05);
}

/* Stats Showcase Grid */
.stats-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .stats-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.detailed-stat-card {
    background: var(--bg-element);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(234, 179, 8, 0.03);
}

.stat-number {
    font-family: var(--font-en);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 10px rgba(234, 179, 8, 0.1);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Photo Gallery Row */
.project-images-gallery-row {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.gallery-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.gallery-images-flex {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.gallery-images-flex::-webkit-scrollbar {
    height: 6px;
}

.gallery-images-flex::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

.gallery-img-card {
    flex-shrink: 0;
    width: 140px;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.gallery-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-img-card:hover img {
    transform: scale(1.1);
}

/* Responsive Detailed projects overrides */
.project-vertical-layout {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.gallery-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .gallery-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-title-large {
        font-size: 2rem;
    }

    .project-split-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-images-grid {
        grid-template-columns: 1fr;
    }
}

/* Force visible overrides for the new project components on the projects page */
.detailed-project-section,
.project-details-content,
.project-visuals-content,
.project-main-cover-frame,
.detailed-stat-card,
.gallery-img-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Custom Gallery Labels & Sizing */
.gallery-img-card {
    position: relative;
    width: 100% !important;
    aspect-ratio: 1.5;
    height: auto !important;
    border-radius: 16px !important;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition-quick);
}

.gallery-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding: 0.55rem 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    pointer-events: none;
    direction: rtl;
}

.summary-label-gold {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Table Responsive Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
}

/* Traditional Yemeni Cultural Design Ornaments */
.cultural-divider {
    height: 40px;
    width: 100%;
    max-width: 250px;
    margin: 3rem auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' fill='none' stroke='%23E9DD1D' stroke-width='1.2'%3E%3Cpath d='M10 10 Q25 0 50 10 T90 10'/%3E%3Cpath d='M10 10 Q25 20 50 10 T90 10'/%3E%3Ccircle cx='50' cy='10' r='2' fill='%23E9DD1D'/%3E%3Ccircle cx='30' cy='10' r='1' fill='%23E9DD1D'/%3E%3Ccircle cx='70' cy='10' r='1' fill='%23E9DD1D'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

[data-theme="dark"] .cultural-divider {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' fill='none' stroke='%23fbbf24' stroke-width='1.2'%3E%3Cpath d='M10 10 Q25 0 50 10 T90 10'/%3E%3Cpath d='M10 10 Q25 20 50 10 T90 10'/%3E%3Ccircle cx='50' cy='10' r='2' fill='%23fbbf24'/%3E%3Ccircle cx='30' cy='10' r='1' fill='%23fbbf24'/%3E%3Ccircle cx='70' cy='10' r='1' fill='%23fbbf24'/%3E%3C/svg%3E");
}

/* Yemeni Qamariya pattern overlays */
.qamariya-bg-overlay {
    position: relative;
    overflow: hidden;
}

.qamariya-bg-overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23E9DD1D' stroke-width='0.4' stroke-opacity='0.05'%3E%3Ccircle cx='50' cy='50' r='40' stroke-dasharray='1 1'/%3E%3Cpath d='M50 10 A40 40 0 0 0 10 50 A40 40 0 0 0 50 90 A40 40 0 0 0 90 50 A40 40 0 0 0 50 10'/%3E%3Crect x='30' y='30' width='40' height='40' transform='rotate(45 50 50)'/%3E%3Ccircle cx='50' cy='50' r='10'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

[data-theme="dark"] .qamariya-bg-overlay::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23fbbf24' stroke-width='0.4' stroke-opacity='0.03'%3E%3Ccircle cx='50' cy='50' r='40' stroke-dasharray='1 1'/%3E%3Cpath d='M50 10 A40 40 0 0 0 10 50 A40 40 0 0 0 50 90 A40 40 0 0 0 90 50 A40 40 0 0 0 50 10'/%3E%3Crect x='30' y='30' width='40' height='40' transform='rotate(45 50 50)'/%3E%3Ccircle cx='50' cy='50' r='10'/%3E%3C/svg%3E");
}


/* Slide Down keyframes for details panel */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Vision & Mission Creative Redesign Styles
   ========================================================================== */
.vm-creative-section {
    position: relative;
    padding: 5rem 0;
    background: transparent;
    overflow: hidden;
}

.vm-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.14;
    pointer-events: none;
    z-index: 1;
}

.vm-bg-glow-1 {
    top: 10%;
    right: 5%;
    width: 420px;
    height: 420px;
    background: #eab308;
}

.vm-bg-glow-2 {
    bottom: 10%;
    left: 5%;
    width: 380px;
    height: 380px;
    background: #d97706;
}

.vm-header-wrapper {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4.5rem;
    position: relative;
}

.vm-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #d97706;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.08);
}

[data-theme="dark"] .vm-badge-tag {
    color: var(--primary);
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
}

.vm-title {
    font-size: 3.25rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.vm-title-highlight {
    background: linear-gradient(135deg, #d97706 0%, #ca8a04 50%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vm-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.85;
}

.vm-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    align-items: stretch;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.vm-card {
    position: relative;
    background: url('../../images/frame.png') center/100% 100% no-repeat transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 5.5rem 4.5rem 4.5rem 4.5rem;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
}

@media (max-width: 768px) {
    .vm-card {
        padding: 4.25rem 2.75rem 3.5rem 2.75rem;
    }
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: none !important;
    border: none !important;
    filter: drop-shadow(0 25px 45px rgba(233, 221, 29, 0.28));
}

.vm-card-top-bar {
    display: none !important;
}

.vm-card-watermark {
    display: none !important;
}

.vm-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 2;
}

.vm-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.vm-card:hover .vm-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.vm-icon-vision {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.18), rgba(217, 119, 6, 0.08));
    color: #d97706;
    border: 1.5px solid rgba(234, 179, 8, 0.35);
}

.vm-icon-mission {
    background: linear-gradient(135deg, rgba(202, 138, 4, 0.18), rgba(245, 158, 11, 0.08));
    color: #b45309;
    border: 1.5px solid rgba(202, 138, 4, 0.35);
}

[data-theme="dark"] .vm-icon-vision,
[data-theme="dark"] .vm-icon-mission {
    color: #fbbf24;
}

.vm-title-meta {
    flex-grow: 1;
}

.vm-card-category {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.vm-card-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
}

.vm-badge-pill {
    background: rgba(234, 179, 8, 0.12);
    color: #d97706;
    border: 1px solid rgba(234, 179, 8, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

[data-theme="dark"] .vm-badge-pill {
    color: #fbbf24;
}

.vm-card-body {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vm-main-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-color);
    font-weight: 600;
    background: transparent !important;
    padding: 0.5rem 0;
    border-radius: 0;
    border-right: none !important;
}

.vm-pillars-wrapper {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border);
    position: relative;
    z-index: 2;
}

.vm-pillars-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vm-pillars-title i {
    color: #d97706;
}

[data-theme="dark"] .vm-pillars-title i {
    color: #fbbf24;
}

.vm-pillars-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.vm-pillars-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.vm-pillar-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(234, 179, 8, 0.12);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.vm-pillar-icon-mission {
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
}

[data-theme="dark"] .vm-pillar-icon,
[data-theme="dark"] .vm-pillar-icon-mission {
    color: #fbbf24;
}

.vm-pillars-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.35;
}

.vm-pillars-list span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.15rem;
}

.vm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.vm-card-num {
    font-family: var(--font-en);
    font-size: 1.15rem;
    font-weight: 900;
    color: rgba(217, 119, 6, 0.45);
}

.vm-bridge-banner {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(217, 119, 6, 0.03) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 26px;
    padding: 1.75rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.02);
}

@media (max-width: 820px) {
    .vm-bridge-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

.vm-bridge-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.vm-bridge-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #d97706, #eab308);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.3);
    flex-shrink: 0;
}

.vm-bridge-text h4 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.vm-bridge-text p {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

.vm-bridge-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vm-tag-item {
    background: var(--bg-element);
    border: 1px solid var(--border);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.vm-tag-item i {
    color: #d97706;
    font-size: 0.85rem;
}

[data-theme="dark"] .vm-tag-item i {
    color: #fbbf24;
}

/* ==========================================================================
   Strategic Goals Creative Heritage Section Styles (Vibrant Sawa Yellow Edition)
   ========================================================================== */
.sg-creative-section {
    position: relative;
    padding: 6rem 0;
    width: 100%;
    background: transparent;
    overflow: hidden;
}

.sg-creative-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../../images/bk_5.png') center/cover no-repeat;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .sg-creative-section::before {
    opacity: 0.25;
}

.sg-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}

.sg-bg-glow-1 {
    top: 15%;
    left: 8%;
    width: 420px;
    height: 420px;
    background: #E9DD1D;
}

.sg-bg-glow-2 {
    bottom: 10%;
    right: 8%;
    width: 380px;
    height: 380px;
    background: #facc15;
}

.sg-header-wrapper {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4.5rem;
    position: relative;
}

.sg-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233, 221, 29, 0.18);
    border: 1px solid rgba(233, 221, 29, 0.5);
    color: #b45309;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 18px rgba(233, 221, 29, 0.15);
}

[data-theme="dark"] .sg-badge-tag {
    color: #E9DD1D;
    background: rgba(233, 221, 29, 0.15);
    border-color: rgba(233, 221, 29, 0.4);
}

.sg-title {
    font-size: 3.25rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.sg-title-highlight {
    background: linear-gradient(135deg, #E9DD1D 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .sg-title-highlight {
    background: linear-gradient(135deg, #fef08a 0%, #E9DD1D 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sg-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.85;
}

.sg-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2.5rem;
}

.sg-card {
    position: relative;
    background: var(--bg-element);
    border: 1px solid rgba(233, 221, 29, 0.25);
    border-radius: 28px;
    padding: 2.75rem 2.25rem 2rem;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(233, 221, 29, 0.2), 0 0 20px rgba(233, 221, 29, 0.12);
    border-color: rgba(233, 221, 29, 0.7);
}

.sg-card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E9DD1D 0%, #f59e0b 50%, #d97706 100%);
}

.sg-qamariya-corner {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(233, 221, 29, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sg-num-stamp {
    position: absolute;
    top: 1.75rem;
    left: 1.75rem;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(233, 221, 29, 0.22), rgba(217, 119, 6, 0.08));
    border: 1.5px solid rgba(233, 221, 29, 0.5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ar);
    font-size: 1.1rem;
    font-weight: 900;
    color: #ca8a04;
    box-shadow: 0 4px 12px rgba(233, 221, 29, 0.15);
    z-index: 3;
}

[data-theme="dark"] .sg-num-stamp {
    color: #E9DD1D;
    border-color: rgba(233, 221, 29, 0.6);
}

.sg-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-left: 65px;
    position: relative;
    z-index: 2;
}

.sg-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(233, 221, 29, 0.25) 0%, rgba(202, 138, 4, 0.1) 100%);
    border: 1.5px solid rgba(233, 221, 29, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ca8a04;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(233, 221, 29, 0.18);
    transition: transform 0.35s ease;
}

.sg-card:hover .sg-icon-box {
    transform: scale(1.12) rotate(6deg);
    background: linear-gradient(135deg, #E9DD1D 0%, #f59e0b 100%);
    color: #111827;
    box-shadow: 0 12px 30px rgba(233, 221, 29, 0.4);
}

[data-theme="dark"] .sg-icon-box {
    color: #E9DD1D;
    border-color: rgba(233, 221, 29, 0.5);
}

.sg-tag-pill {
    background: rgba(233, 221, 29, 0.15);
    color: #b45309;
    border: 1px solid rgba(233, 221, 29, 0.4);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

[data-theme="dark"] .sg-tag-pill {
    color: #E9DD1D;
    border-color: rgba(233, 221, 29, 0.35);
}

.sg-card-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.sg-card-desc {
    font-size: 1.025rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.sg-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(233, 221, 29, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sg-footer-note {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ca8a04;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

[data-theme="dark"] .sg-footer-note {
    color: #E9DD1D;
}

/* Projects Page Hero Background */
.projects-hero-section,
.project-details-hero {
    position: relative;
    padding: 240px 0 230px !important;
    background: transparent !important;
}

.projects-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('../../images/project.png') center/cover no-repeat;
    opacity: 0.40;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .projects-hero-bg-overlay {
    opacity: 0.25;
}

/* 1. Large Project Cards (projects.php) */
.project-big-card {
    position: relative;
    background: var(--bg-element);
    border: 1.5px solid rgba(233, 221, 29, 0.35);
    border-radius: 32px;
    padding: 3.25rem 3rem;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

[data-theme="dark"] .project-big-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 70%, rgba(233, 221, 29, 0.08) 100%);
    border-color: rgba(233, 221, 29, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.project-big-card:hover {
    transform: translateY(-8px);
    border-color: #E9DD1D;
    box-shadow: 0 30px 65px rgba(233, 221, 29, 0.22);
}

.project-card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E9DD1D 0%, #f59e0b 50%, #d97706 100%);
}

.project-big-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .project-big-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-big-card {
        padding: 2.25rem 1.75rem;
    }
}

.project-big-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(233, 221, 29, 0.25);
}

.project-big-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-big-card:hover .project-big-img-wrapper img {
    transform: scale(1.06);
}

.project-img-badges {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 2;
}

.badge-item {
    background: rgba(17, 17, 17, 0.85);
    color: #fff;
    border: 1px solid rgba(233, 221, 29, 0.4);
    backdrop-filter: blur(12px);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-item.badge-year {
    color: #E9DD1D;
}

.badge-item.badge-featured {
    color: #f59e0b;
    background: rgba(234, 179, 8, 0.2);
    border-color: rgba(234, 179, 8, 0.6);
}

.project-big-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.project-card-header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.meta-tag-pill {
    background: rgba(233, 221, 29, 0.15);
    color: #b45309;
    border: 1px solid rgba(233, 221, 29, 0.4);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
}

[data-theme="dark"] .meta-tag-pill {
    color: #E9DD1D;
}

.meta-year-pill {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.project-big-title {
    font-size: 2.35rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.project-big-desc {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Partners Box (الشركاء) */
.project-partners-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(233, 221, 29, 0.08);
    border: 1px solid rgba(233, 221, 29, 0.3);
    border-radius: 20px;
    padding: 1.1rem 1.5rem;
    margin-bottom: 2.25rem;
    width: 100%;
}

.partners-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(233, 221, 29, 0.2);
    border: 1px solid rgba(233, 221, 29, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    font-size: 1.25rem;
    flex-shrink: 0;
}

[data-theme="dark"] .partners-icon-box {
    color: #E9DD1D;
}

.partners-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.partners-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: #d97706;
    text-transform: uppercase;
}

[data-theme="dark"] .partners-label {
    color: #E9DD1D;
}

.partners-names {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

/* CTA Button to Details Page */
.btn-project-details-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #E9DD1D 0%, #f59e0b 100%);
    color: #111827 !important;
    font-size: 1.05rem;
    font-weight: 900;
    padding: 0.9rem 2.25rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(233, 221, 29, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-project-details-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(233, 221, 29, 0.5);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
}

/* 2. Dedicated Project Details Page Styles (project-details.php) */
.project-details-meta-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    background: var(--bg-element);
    border: 1.5px solid rgba(233, 221, 29, 0.3);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    margin-bottom: 3.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

@media (max-width: 992px) {
    .project-details-meta-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .project-details-meta-bar {
        grid-template-columns: 1fr;
    }
}

.details-meta-item {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.details-meta-item .meta-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(233, 221, 29, 0.15);
    border: 1px solid rgba(233, 221, 29, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    font-size: 1.35rem;
    flex-shrink: 0;
}

[data-theme="dark"] .details-meta-item .meta-icon {
    color: #E9DD1D;
}

.details-meta-item .meta-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.details-meta-item .meta-value {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.project-details-main-img-frame {
    position: relative;
    width: 100%;
    max-height: 520px;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 4.5rem;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(233, 221, 29, 0.3);
}

.project-details-main-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-details-split-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 4.5rem;
}

@media (max-width: 992px) {
    .project-details-split-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

.details-content-block {
    margin-bottom: 3.5rem;
}

.details-content-block .block-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.details-content-block .block-title i {
    color: #d97706;
}

[data-theme="dark"] .details-content-block .block-title i {
    color: #E9DD1D;
}

.details-content-block .block-paragraph {
    font-size: 1.15rem;
    line-height: 1.95;
    color: var(--text-color);
}

.details-check-list,
.details-process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.details-check-list li,
.details-process-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-color);
    background: var(--bg-element);
    border: 1.5px solid var(--border);
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.details-check-list li:hover,
.details-process-list li:hover {
    border-color: rgba(233, 221, 29, 0.45);
    transform: translateX(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.details-check-list li i,
.details-process-list li i {
    position: static !important;
    color: #d97706;
    font-size: 1.35rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

[data-theme="dark"] .details-check-list li i,
[data-theme="dark"] .details-process-list li i {
    color: #E9DD1D;
}

.results-highlight-box {
    background: rgba(233, 221, 29, 0.12);
    border: 1.5px solid rgba(233, 221, 29, 0.4);
    border-radius: 20px;
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-primary);
    font-weight: 600;
}

.sidebar-block-card {
    background: var(--bg-element);
    border: 1.5px solid rgba(233, 221, 29, 0.3);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.sidebar-block-card .sidebar-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-block-card .sidebar-title i {
    color: #d97706;
}

[data-theme="dark"] .sidebar-block-card .sidebar-title i {
    color: #E9DD1D;
}

.stats-pills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-pill-item {
    background: rgba(233, 221, 29, 0.1);
    border: 1px solid rgba(233, 221, 29, 0.3);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
}

.stat-pill-item .stat-num-val {
    display: block;
    font-size: 1.85rem;
    font-weight: 900;
    color: #d97706;
}

[data-theme="dark"] .stat-pill-item .stat-num-val {
    color: #E9DD1D;
}

.stat-pill-item .stat-label-key {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 700;
}

.details-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item-frame {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item-frame:hover img {
    transform: scale(1.08);
}

.cta-sidebar-box {
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, #fffdf0 100%);
}

[data-theme="dark"] .cta-sidebar-box {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.cta-sidebar-box .cta-icon {
    font-size: 2.5rem;
    color: #d97706;
    margin-bottom: 1rem;
}

.cta-sidebar-box h4 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cta-sidebar-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-details-footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px dashed var(--border);
}

/* Project Extension Connector & Child Card Styles */
.project-extension-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: -2.5rem 0;
    position: relative;
    z-index: 5;
    pointer-events: none;
}

.project-extension-connector .connector-line {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, #E9DD1D 0%, #0d9488 100%);
    border-radius: 2px;
}

.project-extension-connector .connector-badge {
    background: rgba(13, 148, 136, 0.95);
    color: #ffffff;
    border: 1px solid rgba(45, 212, 191, 0.5);
    backdrop-filter: blur(12px);
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.2rem 0;
}

.project-extension-connector .connector-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.15);
    border: 1.5px solid rgba(13, 148, 136, 0.4);
    color: #0d9488;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
    animation: bounceDown 1.8s infinite;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}

[data-theme="dark"] .project-extension-connector .connector-arrow {
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.18);
    border-color: rgba(45, 212, 191, 0.45);
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(6px);
    }

    60% {
        transform: translateY(3px);
    }
}

.project-extension-card {
    border-color: rgba(13, 148, 136, 0.35) !important;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%) !important;
    transform: scale(0.98);
}

[data-theme="dark"] .project-extension-card {
    background: linear-gradient(145deg, #111827 0%, #042f2e 100%) !important;
    border-color: rgba(45, 212, 191, 0.35) !important;
}

.project-extension-card:hover {
    border-color: #0d9488 !important;
    transform: scale(0.99) translateY(-6px);
    box-shadow: 0 25px 60px rgba(13, 148, 136, 0.22) !important;
}

/* ==========================================================================
   Ultra-Creative Project Details Page Enhancements
   ========================================================================== */

/* Minimalist Ultra-Clean Sub-Nav Bar */
.details-quick-nav-wrapper {
    position: relative;
    z-index: 10;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.details-quick-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    background: var(--bg-element);
    border: 1.5px solid rgba(233, 221, 29, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.65rem 2rem;
    margin: 0 auto;
    max-width: 920px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.details-quick-nav-bar a {
    position: relative;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    padding: 0.4rem 0.25rem;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.details-quick-nav-bar a i {
    color: #d97706;
    font-size: 0.95rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .details-quick-nav-bar a i {
    color: #E9DD1D;
}

/* Hover & Active States: Clean text gold color + bottom line indicator, NO background box! */
.details-quick-nav-bar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #E9DD1D 0%, #d97706 100%);
    border-radius: 50px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.details-quick-nav-bar a:hover,
.details-quick-nav-bar a.active {
    color: #d97706 !important;
}

[data-theme="dark"] .details-quick-nav-bar a:hover,
[data-theme="dark"] .details-quick-nav-bar a.active {
    color: #E9DD1D !important;
}

.details-quick-nav-bar a:hover::after,
.details-quick-nav-bar a.active::after {
    width: 100%;
}

.details-quick-nav-bar a:hover i,
.details-quick-nav-bar a.active i {
    transform: translateY(-2px);
    color: #d97706;
}

[data-theme="dark"] .details-quick-nav-bar a:hover i,
[data-theme="dark"] .details-quick-nav-bar a.active i {
    color: #E9DD1D;
}

.details-creative-card,
.sidebar-block-card {
    scroll-margin-top: 140px !important;
}

/* Dedicated Partners Grid Showcase Section */
.partners-grid-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .partners-grid-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid-showcase {
        grid-template-columns: 1fr;
    }
}

.partner-logo-card {
    background: var(--bg-element);
    border: 1.5px solid rgba(233, 221, 29, 0.35);
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.partner-logo-card:hover {
    transform: translateY(-6px);
    border-color: #E9DD1D;
    box-shadow: 0 15px 35px rgba(233, 221, 29, 0.22);
}

.partner-logo-frame {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    background: #ffffff;
    border: 1.5px solid rgba(233, 221, 29, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .partner-logo-frame {
    background: #0f172a;
    border-color: rgba(233, 221, 29, 0.5);
}

.partner-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-logo-card:hover .partner-logo-frame {
    transform: scale(1.06);
}

.partner-name-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.partner-type-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* Creative Details Card */
.details-creative-card {
    position: relative;
    background: var(--bg-element);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2.75rem;
    margin-bottom: 3rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    overflow: hidden;
}

[data-theme="dark"] .details-creative-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.details-creative-card:hover {
    border-color: rgba(233, 221, 29, 0.45);
    box-shadow: 0 20px 45px rgba(233, 221, 29, 0.12);
}

.card-top-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E9DD1D 0%, #f59e0b 50%, #d97706 100%);
}

.block-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.block-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(233, 221, 29, 0.25) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1.5px solid rgba(233, 221, 29, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    font-size: 1.35rem;
    box-shadow: 0 6px 18px rgba(233, 221, 29, 0.15);
    flex-shrink: 0;
}

[data-theme="dark"] .block-icon-badge {
    color: #E9DD1D;
}

.block-title-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
}

/* Golden Trophy Award Card Showcase */
.golden-award-card {
    position: relative;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(202, 138, 4, 0.05) 100%);
    border: 1.5px solid rgba(234, 179, 8, 0.45);
    border-radius: 24px;
    padding: 2.25rem;
    margin-top: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.1);
    overflow: hidden;
}

.award-trophy-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #E9DD1D 0%, #f59e0b 100%);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(233, 221, 29, 0.4);
    flex-shrink: 0;
}

.award-details-content h4 {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.award-rank-badge {
    display: inline-block;
    background: #ca8a04;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.award-details-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-color);
    margin: 0;
}

/* ==========================================================================
   PUBLIC OUTPUTS SYSTEM (outputs.php & output-details.php)
   ========================================================================== */

/* 1. Outputs Hero Section */
.outputs-hero-section {
    position: relative;
    padding: 150px 0 90px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(234, 179, 8, 0.06) 0%, transparent 70%);
}

.outputs-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('../../images/about2.png') center/cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    filter: saturate(1.2);
}

[data-theme="dark"] .outputs-hero-bg-overlay {
    opacity: 0.22;
}

.outputs-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.28;
}

.outputs-hero-glow-1 {
    top: -100px;
    right: 10%;
    background: #eab308;
}

.outputs-hero-glow-2 {
    bottom: -150px;
    left: 10%;
    background: #ca8a04;
}

.outputs-hero-tag-wrapper {
    margin-bottom: 1rem;
}

.outputs-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #d97706;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.08);
}

[data-theme="dark"] .outputs-hero-tag {
    color: var(--primary);
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
}

.outputs-hero-title {
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.outputs-hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.85;
}

/* 2. Outputs Main & Filter Bar */
.outputs-main-section {
    padding: 4rem 0 7rem;
}

.outputs-filter-bar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.outputs-filter-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-element);
    padding: 0.5rem 0.75rem;
    border-radius: 60px;
    border: 1.5px solid rgba(234, 179, 8, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    justify-content: center;
}

.outputs-filter-bar .filter-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.outputs-filter-bar .filter-btn:hover {
    color: var(--primary);
    background: rgba(234, 179, 8, 0.08);
}

.outputs-filter-bar .filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, #ca8a04 100%);
    color: #111827;
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.3);
}

.filter-count {
    background: rgba(17, 24, 39, 0.15);
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* 3. Outputs Grid & Cards */
.outputs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.25rem;
}

.output-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.output-card-inner {
    background: #ffffff;
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

[data-theme="dark"] .output-card-inner {
    background: #0f172a;
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.output-card-inner:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(234, 179, 8, 0.22);
}

.output-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #1e293b;
}

.output-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.output-card-inner:hover .output-img-wrapper img {
    transform: scale(1.07);
}

.output-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.7) 100%);
}

.output-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    backdrop-filter: blur(12px);
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.badge-digital {
    background: rgba(13, 148, 136, 0.92);
    color: #ffffff;
    border: 1px solid rgba(45, 212, 191, 0.5);
}

.badge-cultural {
    background: rgba(234, 179, 8, 0.95);
    color: #111827;
    border: 1px solid rgba(254, 240, 138, 0.6);
}

.badge-view {
    background: rgba(99, 102, 241, 0.92);
    color: #ffffff;
    border: 1px solid rgba(165, 180, 252, 0.5);
}

.output-year-badge {
    position: absolute;
    bottom: 0.85rem;
    right: 1rem;
    background: rgba(17, 24, 39, 0.85);
    color: #eab308;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(234, 179, 8, 0.4);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.output-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.output-project-pill {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.output-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.45;
}

.output-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.output-card-title a:hover {
    color: var(--primary);
}

.output-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.output-card-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

[data-theme="dark"] .output-card-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.btn-output-action {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.35s ease;
    font-family: inherit;
}

.btn-cta-digital {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
}

.btn-cta-digital:hover {
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
    transform: translateY(-2px);
}

.btn-cta-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-cta-whatsapp:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-cta-view {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.25);
}

.btn-cta-view:hover {
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

/* 4. Output Details Standalone Page */
.output-details-hero {
    padding: 130px 0 20px;
}

.output-details-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
}

.output-details-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.output-details-breadcrumb a:hover {
    color: var(--primary);
}

.output-details-breadcrumb .divider {
    font-size: 0.75rem;
    opacity: 0.6;
}

.output-details-section {
    padding: 2rem 0 6rem;
}

.output-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .output-details-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.meta-badges-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.meta-badges-row .output-type-badge {
    position: static;
    box-shadow: none;
}

.meta-project-tag,
.meta-phase-tag {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
}

.output-details-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.output-details-subtitle-en {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.output-big-cover-frame {
    width: 100%;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(234, 179, 8, 0.3);
}

.output-big-cover-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-section-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.output-description-box,
.output-video-box,
.output-files-box,
.output-gallery-box {
    background: var(--bg-element);
    border: 1.5px solid rgba(234, 179, 8, 0.25);
    border-radius: 24px;
    padding: 2.25rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.description-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-color);
}

.related-files-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-item-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(234, 179, 8, 0.06);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 16px;
    padding: 1rem 1.35rem;
}

.file-item-card .file-icon {
    font-size: 1.75rem;
    color: var(--primary);
}

.file-item-card .file-info {
    flex: 1;
}

.file-item-card .file-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
}

.file-item-card .file-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-file-download {
    background: var(--primary);
    color: #111827;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.output-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.gallery-item-wrapper {
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.gallery-item-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar Info Card */
.output-sidebar-card {
    background: var(--bg-element);
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 120px;
}

.sidebar-card-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;

    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.meta-spec-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 700;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 800;
}

.price-tag {
    color: var(--primary);
    font-size: 1.1rem;
}

.status-available {
    color: #10b981;
}

.btn-details-cta {
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.25);
}

.btn-details-download {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #ffffff !important;
}

.btn-details-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
}

.btn-details-view {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff !important;
}

/* ==========================================================================
   ADMIN DASHBOARD OUTPUTS MANAGEMENT (admin-outputs.php)
   ========================================================================== */
.admin-dashboard-page {
    background: #f8fafc;
    min-height: 100vh;
}

[data-theme="dark"] .admin-dashboard-page {
    background: #090d16;
}

.admin-navbar {
    position: relative !important;
    background: #ffffff;
    border-bottom: 1.5px solid rgba(234, 179, 8, 0.3);
    padding: 1.1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .admin-navbar {
    background: #0f172a;
}

.admin-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-brand h2 {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0;
    color: var(--text-primary);
}

.admin-user-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-admin-nav {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--bg-element);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.btn-admin-nav:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-admin-logout {
    color: #ef4444;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-main-content {
    padding: 2.5rem 0 5rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: #ffffff;
    border: 1.5px solid rgba(234, 179, 8, 0.25);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .admin-stat-card {
    background: #0f172a;
    border-color: rgba(234, 179, 8, 0.3);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-total {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.icon-digital {
    background: rgba(13, 148, 136, 0.15);
    color: #0d9488;
}

.icon-cultural {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.icon-view {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.admin-toolbar-card {
    background: #ffffff;
    border: 1.5px solid rgba(234, 179, 8, 0.25);
    border-radius: 20px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
}

[data-theme="dark"] .admin-toolbar-card {
    background: #0f172a;
}

.toolbar-search-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 380px;
}

.search-input-wrapper i {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.65rem 2.75rem 0.65rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-element);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
}

.admin-select {
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-element);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-table-wrapper {
    background: #ffffff;
    border: 1.5px solid rgba(234, 179, 8, 0.3);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .admin-table-wrapper {
    background: #0f172a;
}

.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.admin-data-table th {
    background: rgba(234, 179, 8, 0.08);
    padding: 1.1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    border-bottom: 1.5px solid rgba(234, 179, 8, 0.2);
}

.admin-data-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    vertical-align: middle;
}

.col-img img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.table-actions-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-view-item {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.btn-edit-item {
    background: rgba(234, 179, 8, 0.15);
    color: #ca8a04;
}

.btn-duplicate-item {
    background: rgba(13, 148, 136, 0.15);
    color: #0d9488;
}

.btn-delete-item {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.btn-action:hover {
    transform: translateY(-2px);
}

/* Modal Form styling */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.admin-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal-container {
    background: #ffffff;
    border: 2px solid rgba(234, 179, 8, 0.4);
    border-radius: 28px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .admin-modal-container {
    background: #0f172a;
}

.admin-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-modal-header h3 {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0;
    color: var(--text-primary);
}

.btn-close-modal {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.admin-modal-form {
    padding: 2rem;
}

.form-section-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {

    .form-grid-3,
    .form-grid-2,
    .form-grid-4 {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-element);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* ==========================================================================
   GOOGLE TRANSLATE AUTOMATIC TRANSLATION & CUSTOM SWITCHER
   ========================================================================== */
.lang-switch-wrapper {
    position: relative;
    display: inline-block;
}

.btn-lang-toggle {
    background: rgba(234, 179, 8, 0.12);
    border: 1.5px solid rgba(234, 179, 8, 0.35);
    color: var(--primary);
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-lang-toggle:hover {
    background: var(--primary);
    color: #111827;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.3);
    transform: translateY(-2px);
}

/* Hide Google Translate original top bar, frames, tooltips, and default widgets */
body {
    top: 0 !important;
}

.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
    display: none !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

.google-translate-hidden {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

/* ==========================================================================
   HERO FIXED SUBTITLE - Professional Animation
   ========================================================================== */

@keyframes subtitleBreathe {

    0%,
    100% {
        opacity: 0.88;
        letter-spacing: 0;
    }

    50% {
        opacity: 1;
        letter-spacing: 0.012em;
    }
}

.hero-subtitle-fixed {
    /* Entrance animation handled by GSAP in main.js */
    animation: subtitleBreathe 7s ease-in-out 2s infinite;
    position: relative;
    padding-right: 1.2rem;
    border-right: 3px solid transparent;
    border-image: linear-gradient(to bottom, var(--primary), rgba(234, 179, 8, 0.05)) 1;
}

/* ==========================================================================
   HEADER RESPONSIVE & MOBILE OFF-CANVAS DRAWER STYLING
   ========================================================================== */

/* Header viewport containment */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(253, 251, 247, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-quick);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] header {
    background: rgba(11, 12, 16, 0.96);
}

.nav-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
    max-width: 100%;
    overflow: hidden;
}

/* Mobile Media Queries (Under 992px) */
@media (max-width: 992px) {
    header {
        padding: 0.75rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-grid {
        gap: 0.5rem !important;
    }

    /* Logo responsiveness on mobile - Clamp scaling & flex shrink */
    .logo {
        font-size: clamp(0.72rem, 3.2vw, 0.95rem) !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Keep controls inside viewport without pushing left */
    .header-controls {
        gap: 0.4rem !important;
        flex-shrink: 0 !important;
    }

    /* Hide desktop contact button on mobile, show hamburger */
    .desktop-contact-btn {
        display: none !important;
    }

    .hamburger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: rgba(234, 179, 8, 0.12);
        color: var(--text-color);
        font-size: 1.1rem;
        border: 1px solid var(--border);
        transition: all 0.3s ease;
        z-index: 1002;
    }

    .hamburger:hover,
    .hamburger.active {
        background: var(--primary);
        color: #111827;
    }

    /* Language Switcher button adjustment on mobile */
    .btn-lang-toggle {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    /* Mobile Drawer Menu Overlay (RTL Safe Transform & Visibility) */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 82%;
        max-width: 320px;
        height: 100vh;
        background: #0f172a;
        color: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5.5rem 1.75rem 2.5rem 1.75rem;
        gap: 0.5rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
        z-index: 1001;
        overflow-y: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Active Mobile Drawer Slide In */
    .nav-links.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-links .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links .nav-item:last-child {
        border-bottom: none;
    }

    .nav-links .nav-item a {
        display: block;
        padding: 1rem 0.5rem;
        font-size: 1.1rem;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.85);
        width: 100%;
    }

    .nav-links .nav-item a:hover,
    .nav-links .nav-item a.active {
        color: var(--primary) !important;
        padding-right: 0.5rem;
    }

    .nav-links .nav-item a::after {
        display: none !important;
    }

    /* Mobile contact button inside drawer */
    .mobile-contact-item {
        display: block !important;
        margin-top: 1.5rem;
        border-bottom: none !important;
    }

    .mobile-contact-btn {
        display: flex !important;
        width: 100%;
        justify-content: center;
        padding: 0.9rem;
        font-size: 1rem;
        text-align: center;
    }
}

/* Extra small mobile screens (Under 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.9rem;
    }

    .logo {
        font-size: 0.95rem;
    }

    .btn-lang-toggle span {
        font-size: 0.75rem;
    }

    .hamburger {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* Mobile Layout Containment - Prevent horizontal jitter and floating elements overflow */
@media (max-width: 992px) {
    .cultural-arch,
    .cultural-star {
        display: none !important;
    }

    .cultural-pattern-backdrop,
    .stats-glass-card,
    .cultural-floating-badge {
        right: 0 !important;
        left: 0 !important;
        max-width: 100% !important;
    }

    /* Mobile Hero Buttons Centering & Image Scaling */
    .hero-text {
        text-align: center !important;
    }

    .hero-subtitle-fixed {
        margin-left: auto !important;
        margin-right: auto !important;
        border-right: none !important;
        padding-right: 0 !important;
    }

    .hero-cta-group {
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .hero-cta-group .btn-cta,
    .hero-cta-group .btn-outline {
        justify-content: center !important;
        font-size: 0.95rem !important;
        padding: 0.8rem 1.75rem !important;
    }

    .institutional-image-container {
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        padding: 0 0.5rem !important;
    }

    .institutional-img {
        width: 100% !important;
        height: auto !important;
        max-height: 280px !important;
        object-fit: contain !important;
        border-radius: 20px !important;
        background: transparent !important;
    }

    .cultural-img-card img {
        height: auto !important;
        max-height: 320px !important;
        object-fit: cover !important;
    }
}

/* Story Mini Cards Grid (كيف بدأت سوا؟) */
.story-mini-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .story-mini-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .vm-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }

    .vm-card {
        padding: 2.25rem 1.5rem 1.75rem 1.5rem !important;
        background: var(--bg-element) !important;
        border: 1.5px solid rgba(234, 179, 8, 0.35) !important;
        border-radius: 28px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
        filter: none !important;
        min-height: auto !important;
    }

    .vm-card-header {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.85rem !important;
        align-items: center !important;
        margin-bottom: 1.25rem !important;
    }

    .vm-title-meta {
        flex: 1 1 auto !important;
        min-width: 120px !important;
    }

    .vm-badge-pill {
        align-self: center !important;
        margin: 0 !important;
    }

    .vm-card-title {
        font-size: 1.5rem !important;
    }

    .vm-card-body {
        margin-bottom: 1.25rem !important;
    }

    .vm-main-text {
        font-size: 0.98rem !important;
        line-height: 1.85 !important;
        padding: 0 !important;
    }

    .vm-card-footer {
        margin-top: 1rem !important;
        padding-top: 0.85rem !important;
    }

    .vm-bridge-banner {
        flex-direction: column !important;
        padding: 1.5rem !important;
        text-align: center !important;
        gap: 1.25rem !important;
    }

    .vm-bridge-content {
        flex-direction: column !important;
        text-align: center !important;
    }

    .vm-bridge-tags {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

/* Featured Projects Box & Grid Responsiveness (أبرز المشاريع) */
.featured-project-hero-box {
    max-width: 1050px;
    margin: 0 auto 3.5rem;
    border-radius: 36px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-element);
    border: 1px solid var(--border);
}

.featured-project-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .featured-project-hero-box {
        padding: 1.75rem 1.1rem !important;
        border-radius: 24px !important;
        margin-bottom: 2rem !important;
    }

    .featured-project-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }

    .featured-project-hero-grid > div {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .featured-project-hero-grid img {
        max-height: 250px !important;
        border-radius: 20px !important;
    }

    .featured-project-hero-grid h3 {
        font-size: 1.65rem !important;
        text-align: center !important;
    }

    .featured-project-hero-grid p {
        font-size: 0.98rem !important;
        text-align: center !important;
        margin-bottom: 1.75rem !important;
    }

    .featured-project-hero-grid .btn-cta {
        margin: 0 auto !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   PROJECT DETAILS PAGE RESPONSIVE & MOBILE STYLING (project-details.php)
   ========================================================================== */
.details-quick-nav-bar {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.65rem 1rem;
    border-radius: 50px;
    background: var(--bg-element);
    border: 1px solid rgba(234, 179, 8, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.details-quick-nav-bar::-webkit-scrollbar {
    display: none;
}

.details-quick-nav-bar a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.details-quick-nav-bar a.active,
.details-quick-nav-bar a:hover {
    background: var(--primary);
    color: #111827 !important;
}

@media (max-width: 992px) {
    .project-details-hero {
        padding: 140px 0 50px !important;
    }

    .project-details-hero h1 {
        font-size: 2.15rem !important;
        line-height: 1.3 !important;
    }

    .project-details-hero p {
        font-size: 1rem !important;
        margin-top: 1rem !important;
    }

    .details-quick-nav-wrapper {
        position: sticky;
        top: 60px;
        z-index: 990;
        margin-bottom: 1.5rem;
    }

    .project-details-meta-bar {
        grid-template-columns: 1fr !important;
        padding: 1.25rem 1rem !important;
        gap: 1.15rem !important;
        margin-bottom: 2rem !important;
        border-radius: 20px !important;
    }

    .details-meta-item {
        gap: 0.85rem !important;
    }

    .details-meta-item .meta-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
        border-radius: 12px !important;
    }

    .details-meta-item .meta-label {
        font-size: 0.78rem !important;
    }

    .details-meta-item .meta-value {
        font-size: 0.92rem !important;
    }

    .project-details-main-img-frame {
        max-height: 260px !important;
        margin-bottom: 2rem !important;
        border-radius: 20px !important;
    }

    .project-details-split-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .details-creative-card,
    .sidebar-block-card {
        padding: 1.5rem 1.1rem !important;
        border-radius: 20px !important;
        margin-bottom: 1.75rem !important;
    }

    .details-check-list li,
    .details-process-list li {
        padding: 1rem !important;
        font-size: 0.95rem !important;
        gap: 0.85rem !important;
        border-radius: 16px !important;
    }

    .details-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }

    .results-highlight-box {
        padding: 1.35rem 1.1rem !important;
        font-size: 0.98rem !important;
        border-radius: 16px !important;
    }
}

/* Contact Form Mobile Inputs Stacking (الاسم والبريد الإلكتروني) */
.contact-inputs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .contact-inputs-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Project Details Title & Subtitle Responsive Classes */
.project-details-title {
    font-size: 2.85rem;
    font-weight: 900;
}

.project-details-subtitle {
    font-size: 1.15rem;
}

.golden-award-card {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.12) 0%, rgba(202, 138, 4, 0.05) 100%);
    border: 1.5px solid rgba(234, 179, 8, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

@media (max-width: 992px) {
    .project-details-title {
        font-size: 1.65rem !important;
        line-height: 1.35 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .project-details-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.75 !important;
    }

    .phases-timeline-visual {
        padding-right: 0.5rem !important;
        border-right-width: 2px !important;
    }

    .timeline-phase-node {
        padding: 1.25rem 1rem !important;
        border-radius: 18px !important;
        margin-bottom: 1.25rem !important;
    }

    .golden-award-card {
        flex-direction: column !important;
        padding: 1.1rem !important;
        gap: 0.85rem !important;
        border-radius: 16px !important;
    }
}