:root {
    --bg-color: #FAFAFA;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --accent-color: #d89634;
    /* Extracted from the logo's gold block */
    --accent-hover: #b87b27;
    --dark-primary: #292621;
    /* Slightly warm dark matching the logo text */

    --header-bg: rgba(255, 255, 255, 0.85);
    --header-blur: blur(12px);

    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);

    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- User Header Styles --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: var(--header-blur);
    -webkit-backdrop-filter: var(--header-blur);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.block-header-layout-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.block-header-layout-desktop>div:first-child,
.block-header-layout-desktop>a:first-child {
    flex-shrink: 0;
}

.block-header__logo {
    display: inline-flex;
    align-items: center;
}

.block-header__nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    padding-left: 2rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.block-header-logo__image {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.block-header__nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.block-header-item {
    display: flex;
    align-items: center;
}

.block-header-item__label {
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.item-content-wrapper {
    position: relative;
    padding: 0.5rem 0;
}

.item-content {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.item-content:hover {
    color: var(--accent-color);
}

.item-content-wrapper--active .item-content {
    color: var(--dark-primary);
    font-weight: 600;
}

.item-content-wrapper--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 4px;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-top: 5rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(216, 150, 52, 0.08) 0%, rgba(216, 150, 52, 0) 60%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(41, 38, 33, 0.04) 0%, rgba(41, 38, 33, 0) 60%);
    z-index: -1;
}

.hero-content {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--dark-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 540px;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--dark-primary);
    color: #fff;
    box-shadow: 0 8px 24px -6px rgba(41, 38, 33, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(216, 150, 52, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-primary);
    border: 2px solid var(--dark-primary);
}

.btn-outline:hover {
    background-color: var(--dark-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Hero Visual & Glassmorphism */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem 4rem;
    box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: float 8s ease-in-out infinite;
    max-width: 480px;
    width: 100%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    opacity: 0.8;
}

.blob-1 {
    width: 280px;
    height: 280px;
    background: rgba(216, 150, 52, 0.3);
    /* Accent blob */
    top: -60px;
    right: -80px;
}

.blob-2 {
    width: 320px;
    height: 320px;
    background: rgba(41, 38, 33, 0.1);
    /* Dark blob */
    bottom: -100px;
    left: -80px;
}

.hero-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
    z-index: 10;
}

/* --- Features Section --- */
.features {
    padding: 8rem 0;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card {
    padding: 3rem;
    background: var(--bg-color);
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.08);
    border-color: rgba(216, 150, 52, 0.3);
}

.feature-icon-wrapper {
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(216, 150, 52, 0.1);
    color: var(--accent-color);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--dark-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Workshops Section --- */
.workshops-section {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    color: var(--dark-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.block-blog-list__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.block-blog-list-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.block-blog-list-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(216, 150, 52, 0.2);
}

.block-blog-list-item__cover-image-container {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    display: block;
}

.block-blog-list-item__cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.block-blog-list-item:hover .block-blog-list-item__cover-image {
    transform: scale(1.05);
}

.block-blog-list-item__content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.block-blog-list-item__title {
    font-size: 1.4rem;
    color: var(--dark-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: var(--transition);
}

.block-blog-list-item:hover .block-blog-list-item__title {
    color: var(--accent-color);
}

.block-blog-list-item__description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
    text-align: justify;
}

/* Pagination */
.block-blog-list__pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination__button {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.pagination__button:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.pagination__trigger--current {
    background: var(--dark-primary);
    color: #fff;
    border-color: var(--dark-primary);
}

.pagination__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 3rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    height: 48px;
    filter: brightness(0) invert(1);
    margin-bottom: 2rem;
}

.footer-desc {
    max-width: 340px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex: 3;
    justify-content: flex-end;
}

.link-group h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
    font-weight: 600;
}

.link-group a {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-subtitle {
        margin: 0 auto 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-visual {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .block-header__nav {
        display: none;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        gap: 3rem;
        flex-wrap: wrap;
    }
}

/* --- Pleural Conference Section --- */
.pleural-conference-section {
    padding: 6rem 0;
    margin-top: 2rem;
    background-color: #ffffff;
    margin-bottom: 6rem;
}

/* Reset complicated inline grid from Zyro and use standard Flexbox layout */
.pleural-conference-section .block-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

/* Base resets for the elements */
.pleural-conference-section .layout-element {
    position: static !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* Explicit Ordering to match Design */
.pleural-conference-section .layout-element:has(#z4JuLX) {
    order: 1;
    margin-bottom: 1rem !important;
}

.pleural-conference-section .layout-element:has(#zZ5HfB) {
    order: 2;
    margin-bottom: 3rem !important;
}

.pleural-conference-section .layout-element:has(#zSmwRL) {
    order: 3;
    width: calc(50% - 1rem) !important;
    max-width: 430px !important;
    margin: 0 !important;
}

.pleural-conference-section .layout-element:has(#z28tzy) {
    order: 4;
    width: calc(50% - 1rem) !important;
    max-width: 430px !important;
    margin: 0 !important;
}

.pleural-conference-section .layout-element:has(#zx4SiC) {
    order: 5;
    margin-top: 3rem !important;
}

.pleural-conference-section .layout-element:has(a#zKCSMW) {
    order: 6;
    margin-bottom: 2rem !important;
    display: flex !important;
    justify-content: center !important;
}

.pleural-conference-section .layout-element:has(#zvKypV) {
    order: 7;
}


/* Wrapper alignment */
.pleural-conference-section .image-wrapper,
.pleural-conference-section .text-box {
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Image resets */
.pleural-conference-section .image__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* Main Title - First Pleural... */
#zZ5HfB h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
    color: var(--dark-primary) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Logo - GPTI */
#z4JuLX .image__image {
    max-width: 350px;
    margin: 0 auto;
}

.image-wrapper--mobile,
.image-wrapper--desktop {
    display: inline-block !important;
}

.pleural-conference-section .image-wrapper--mobile {
    display: none !important;
}

/* Description text (Footer text) */
#zvKypV h3 {
    font-size: 1.1rem !important;
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

/* Speakers Images */
#zSmwRL,
#z28tzy {
    width: 100% !important;
}

#zSmwRL .image__image,
#z28tzy .image__image {
    transition: var(--transition);
    border-radius: 0;
}

#zSmwRL .image__image:hover,
#z28tzy .image__image:hover {
    transform: translateY(-5px);
}

/* Sub-text (Enjoy lectures...) */
#zx4SiC h3 {
    font-size: 1.25rem !important;
    color: var(--dark-primary) !important;
    font-weight: 700 !important;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5 !important;
    text-align: center !important;
}

/* YouTube Button */
a#zKCSMW {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #b48a62 !important;
    color: #ffffff !important;
    padding: 0.8rem 2.5rem !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    text-transform: none !important;
    transition: var(--transition) !important;
    text-decoration: none;
    margin: 0 auto;
    width: auto !important;
    height: auto !important;
}

a#zKCSMW:hover {
    background-color: #9c7550 !important;
    transform: translateY(-2px);
}


/* --- Empowering Education Section --- */
.empowering-education-section {
    padding: 8rem 2rem;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

/* Background Image Overlay via HTML */
.empowering-education-section .block-background__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Optional: Fixed background creates parallax, remove if not desired */
    /* background-attachment: fixed doesn't apply to img tags, so we use object-fit and position absolute, scrolling with document. If parallax is needed, it would require fixed position or CSS background. Since the user asked specifically for تصعد وتنزل, it should scroll normally. */
}

.empowering-education-section .block-background__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 25, 21, 0.85);
    /* Dark overlay */
    z-index: 2;
}

/* Reset complicated inline grid from Zyro and use standard CSS Grid layout */
.empowering-education-section .block-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 0 1.5rem;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base resets for the elements */
.empowering-education-section .layout-element {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Hide background SVG grid shapes which clutter standard flex design */
.empowering-education-section .layout-element:has(.grid-shape),
.empowering-education-section .grid-shape {
    display: none !important;
}

.empowering-education-section .text-box {
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* --- Row 1 & 2: Main Title & Subtitle --- */
.empowering-education-section .layout-element:has(#zBSYpg) {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 1rem !important;
}

.empowering-education-section .layout-element:has(#z_qoKd) {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 2rem !important;
}

#zBSYpg h1 {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#z_qoKd p {
    font-size: 1.15rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* --- Row 3: Explore Button --- */
.empowering-education-section .layout-element:has(a#z_XpND) {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    justify-content: center;
    margin-bottom: 5rem !important;
}

a#z_XpND {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    color: #ffffff !important;
    padding: 0.8rem 3rem !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    border-radius: 50px !important;
    transition: var(--transition) !important;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    width: auto !important;
    height: auto !important;
    text-transform: none;
    letter-spacing: 0.5px;
}

a#z_XpND:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
}

/* --- Row 4 & 5: Glassmorphism Cards --- */
/* Left Card: Professional Training Programs */
.empowering-education-section .layout-element:has(#zKTSx_) {
    grid-column: 1;
    grid-row: 4;
    background: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 2rem 1.5rem 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    backdrop-filter: blur(5px);
}

.empowering-education-section .layout-element:has(#zFmboF) {
    grid-column: 1;
    grid-row: 5;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 0.5rem 1.5rem 2rem !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    backdrop-filter: blur(5px);
}

/* Center Card: Scientific Research Initiatives / Quality... */
.empowering-education-section .layout-element:has(#zztesf),
.empowering-education-section .layout-element:has(#zZtEsF) {
    grid-column: 2;
    grid-row: 4;
    background: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 2rem 1.5rem 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    backdrop-filter: blur(5px);
}

.empowering-education-section .layout-element:has(#zFbJ5W) {
    grid-column: 2;
    grid-row: 5;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 0.5rem 1.5rem 2rem !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    backdrop-filter: blur(5px);
}

/* Right Card: Innovative Learning Solutions */
.empowering-education-section .layout-element:has(#zgjnaz),
.empowering-education-section .layout-element:has(#zGjNAz) {
    grid-column: 3;
    grid-row: 4;
    background: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 2rem 1.5rem 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    backdrop-filter: blur(5px);
}

.empowering-education-section .layout-element:has(#za4jy3) {
    grid-column: 3;
    grid-row: 5;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 0.5rem 1.5rem 2rem !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    backdrop-filter: blur(5px);
}

/* Card Typography Adjustments */
#zKTSx_ h6,
#zZtEsF h6,
#zztesf h6,
#zgjnaz h6,
#zGjNAz h6 {
    font-size: 1.1rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center;
    margin: 0 !important;
}

#zFmboF p,
#za4jy3 p,
#zFbJ5W p {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5;
    text-align: center;
    margin: 0 auto !important;
}

@media (max-width: 992px) {
    .empowering-education-section .block-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .empowering-education-section .layout-element:has(#zBSYpg),
    .empowering-education-section .layout-element:has(#z_qoKd),
    .empowering-education-section .layout-element:has(a#z_XpND) {
        grid-column: 1 / -1;
    }

    /* Stack cards on mobile with gaps between cards, but keep top/bottom connected */
    .empowering-education-section .layout-element:has(#zKTSx_) {
        grid-column: 1;
        grid-row: 4;
    }

    .empowering-education-section .layout-element:has(#zFmboF) {
        grid-column: 1;
        grid-row: 5;
        margin-bottom: 2rem !important;
    }

    .empowering-education-section .layout-element:has(#zztesf),
    .empowering-education-section .layout-element:has(#zZtEsF) {
        grid-column: 1;
        grid-row: 6;
    }

    .empowering-education-section .layout-element:has(#zFbJ5W) {
        grid-column: 1;
        grid-row: 7;
        margin-bottom: 2rem !important;
    }

    .empowering-education-section .layout-element:has(#zgjnaz),
    .empowering-education-section .layout-element:has(#zGjNAz) {
        grid-column: 1;
        grid-row: 8;
    }

    .empowering-education-section .layout-element:has(#za4jy3) {
        grid-column: 1;
        grid-row: 9;
    }
}

@media (max-width: 768px) {
    .empowering-education-section {
        padding: 6rem 1.5rem 4rem;
        background-attachment: scroll;
    }
}

/* --- Latest Events / Blogs Section --- */
.latest-events-section {
    padding: 0 0 6rem 0 !important;
    margin-top: -12.8rem !important;
    /* Pull up to touch the header */
    background-color: #ffffff;
}

.latest-events-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.latest-events-section .block-blog-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Base list layout */
.block-blog-list__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* Individual card */
.block-blog-list-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.block-blog-list-item:hover {
    transform: translateY(-5px);
}

/* Image container */
.block-blog-list-item__cover-image-container {
    display: block;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Allow image to dictate real height but align uniformly */
.block-blog-list-item__cover-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    /* Ensure identical container size */
    background-color: transparent !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-blog-list-item__cover-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Don't crop, but fit inside uniform container */
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.block-blog-list-item:hover .block-blog-list-item__cover-image {
    transform: scale(1.05);
}

/* Content */
.block-blog-list-item__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none;
}

.block-blog-list-item__title {
    font-size: 1.5rem;
    color: var(--dark-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.block-blog-list-item__description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Hide zyro specific inline block attributes that interfere with layout */
.block-blog-list-item .categories {
    display: none !important;
}

.blog-list-item-meta {
    display: none !important;
}

/* Pagination container */
.block-blog-list__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination__button {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.pagination__button:hover {
    background-color: #f5f5f5;
}

.pagination__trigger--current {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.pagination__trigger--current:hover {
    background-color: var(--accent-color);
}

@media (max-width: 768px) {
    .block-blog-list__list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Projects / Conferences Section --- */
.projects-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.projects-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: rgb(10, 16, 21);
    font-weight: 700;
}

.project-card {
    display: grid;
    grid-template-columns: 5fr 4.5fr;
    /* Matches roughly 50% image, 40% text */
    gap: 4rem;
    /* Gap between image and text */
    align-items: center;
}

.project-card__image-col {
    width: 100%;
}

.project-card__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    /* Clean, slightly rounded edges */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    transition: transform 0.5s ease;
}

.project-card__image:hover {
    transform: scale(1.02);
}

.project-card__text-col h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.project-card__text-col h5 a {
    color: var(--dark-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card__text-col h5 a:hover {
    color: var(--accent-color);
}

.project-card__text-col p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.project-card__text-col p strong {
    color: var(--dark-primary);
    font-weight: 700;
}

@media (max-width: 992px) {
    .project-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Empowering Section (Clean Design) --- */
.empowering-section {
    background-color: #ffffff;
    padding: 8rem 0;
}

.empowering-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.empowering-title {
    font-size: 48px;
    font-weight: 700;
    color: rgb(29, 30, 32);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.empowering-desc {
    font-size: 16px;
    color: rgb(86, 88, 94);
    line-height: 1.5;
    max-width: 500px;
}

.empowering-image-wrapper {
    width: 100%;
    margin-left: auto;
}

.empowering-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

@media (max-width: 992px) {
    .empowering-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .empowering-title {
        font-size: 2.5rem;
    }
}

/* --- Revolutionizing Education Section --- */
.revolutionizing-section {
    background-color: #f3e5d6;
    padding: 6rem 0;
    text-align: center;
}

.revolutionizing-container {
    max-width: 1224px;
}

.revolutionizing-title {
    font-size: 48px;
    color: rgb(29, 30, 32);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.revolutionizing-desc {
    font-size: 16px;
    color: rgb(86, 88, 94);
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.5;
}

.revolutionizing-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.rev-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
}

.rev-card img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    max-height: 304px;
}

.rev-card-content {
    background: #ffffff;
    width: 90%;
    padding: 40px 24px;
    margin-top: -5rem;
    /* This overlaps the white box onto the image */
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rev-card-title {
    font-size: 18px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    margin-bottom: 0.5rem;
}

.rev-card-text {
    font-size: 16px;
    color: rgb(86, 88, 94);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .revolutionizing-cards {
        flex-direction: column;
        align-items: center;
    }

    .rev-card {
        width: 100%;
        max-width: 400px;
    }
}

/* --- Revolutionizing Education Section --- */
.revolutionizing-section {
    background-color: #f3e5d6;
    padding: 6rem 0;
    text-align: center;
}

.revolutionizing-container {
    max-width: 1000px;
}

.revolutionizing-title {
    font-size: 2.2rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1rem;
}

.revolutionizing-desc {
    font-size: 0.95rem;
    color: #56585e;
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.revolutionizing-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.rev-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
}

.rev-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 250px;
}

.rev-card-content {
    background: #ffffff;
    width: 85%;
    padding: 1.5rem;
    margin-top: -3.5rem;
    /* This overlaps the white box onto the image */
    position: relative;
    z-index: 2;
}

.rev-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.rev-card-text {
    font-size: 0.85rem;
    color: #56585e;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .revolutionizing-cards {
        flex-direction: column;
        align-items: center;
    }

    .rev-card {
        width: 100%;
        max-width: 400px;
    }
}


/* --- Revolutionizing Education Section --- */
.revolutionizing-section {
    background-color: #f3e5d6;
    padding: 6rem 0;
    text-align: center;
}

.revolutionizing-container {
    max-width: 1000px;
}

.revolutionizing-title {
    font-size: 2.2rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1rem;
}

.revolutionizing-desc {
    font-size: 0.95rem;
    color: #56585e;
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.revolutionizing-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.rev-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
}

.rev-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 250px;
}

.rev-card-content {
    background: #ffffff;
    width: 85%;
    padding: 1.5rem;
    margin-top: -3.5rem;
    /* This overlaps the white box onto the image */
    position: relative;
    z-index: 2;
}

.rev-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.rev-card-text {
    font-size: 0.85rem;
    color: #56585e;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .revolutionizing-cards {
        flex-direction: column;
        align-items: center;
    }

    .rev-card {
        width: 100%;
        max-width: 400px;
    }
}


/* --- Revolutionizing Education Section --- */
.revolutionizing-section {
    background-color: #f3e5d6;
    padding: 6rem 0;
    text-align: center;
}

.revolutionizing-container {
    max-width: 1000px;
}

.revolutionizing-title {
    font-size: 2.2rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1rem;
}

.revolutionizing-desc {
    font-size: 0.95rem;
    color: #56585e;
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.revolutionizing-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.rev-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
}

.rev-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 250px;
}

.rev-card-content {
    background: #ffffff;
    width: 85%;
    padding: 1.5rem;
    margin-top: -3.5rem;
    /* This overlaps the white box onto the image */
    position: relative;
    z-index: 2;
}

.rev-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.rev-card-text {
    font-size: 0.85rem;
    color: #56585e;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .revolutionizing-cards {
        flex-direction: column;
        align-items: center;
    }

    .rev-card {
        width: 100%;
        max-width: 400px;
    }
}


/* --- Revolutionizing Education Section --- */
.revolutionizing-section {
    background-color: #f3e5d6;
    padding: 6rem 0;
    text-align: center;
}

.revolutionizing-container {
    max-width: 1000px;
}

.revolutionizing-title {
    font-size: 2.2rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1rem;
}

.revolutionizing-desc {
    font-size: 0.95rem;
    color: #56585e;
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.revolutionizing-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.rev-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
}

.rev-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 250px;
}

.rev-card-content {
    background: #ffffff;
    width: 85%;
    padding: 1.5rem;
    margin-top: -3.5rem;
    /* This overlaps the white box onto the image */
    position: relative;
    z-index: 2;
}

.rev-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.rev-card-text {
    font-size: 0.85rem;
    color: #56585e;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .revolutionizing-cards {
        flex-direction: column;
        align-items: center;
    }

    .rev-card {
        width: 100%;
        max-width: 400px;
    }
}


/* --- Revolutionizing Education Section --- */
.revolutionizing-section {
    background-color: #f3e5d6;
    padding: 6rem 0 0;
    text-align: center;
}

.revolutionizing-container {
    max-width: 1000px;
}

.revolutionizing-title {
    font-size: 2.2rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1rem;
}

.revolutionizing-desc {
    font-size: 0.95rem;
    color: #56585e;
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.revolutionizing-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.rev-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* padding-bottom removed */
}

.rev-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 250px;
}

.rev-card-content {
    background: #ffffff;
    width: 85%;
    padding: 1.5rem;
    margin-top: -3.5rem;
    /* This overlaps the white box onto the image */
    position: relative;
    z-index: 2;
}

.rev-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.rev-card-text {
    font-size: 0.85rem;
    color: #56585e;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .revolutionizing-cards {
        flex-direction: column;
        align-items: center;
    }

    .rev-card {
        width: 100%;
        max-width: 400px;
    }
}

/* --- Empowering Section --- */
.empowering-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.empowering-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 20px;
}

.empowering-text-content {
    flex: 1;
}

.empowering-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.empowering-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #56585e;
}

.empowering-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.empowering-image-wrapper img {
    max-width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .empowering-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .empowering-title {
        font-size: 2rem;
    }

    .empowering-image-wrapper {
        justify-content: center;
    }
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.lang-toggle-btn {
    background: #fff;
    border: 1.5px solid #b48a62;
    color: #b48a62;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lang-toggle-btn:hover {
    background: #b48a62;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(180, 138, 98, 0.3);
}

.lang-toggle-btn:active {
    transform: translateY(0);
}

/* RTL Adjustments */
[dir="rtl"] .block-header-layout-desktop {
    display: flex !important;
    flex-direction: row !important;
    /* In RTL, row starts from the right */
    justify-content: space-between !important;
}

[dir="rtl"] .block-header-logo {
    order: 1 !important;
    /* 1st position (Right side in RTL) */
    margin-right: 0 !important;
    margin-left: 0 !important;
}

[dir="rtl"] .block-header__nav {
    order: 2 !important;
    /* 2nd position (Middle) */
    padding-left: 0 !important;
    padding-right: 2rem !important;
    justify-content: flex-start !important;
}

[dir="rtl"] .lang-switcher {
    order: 3 !important;
    /* 3rd position (Left side in RTL) */
    margin-right: auto !important;
    /* Pushes the nav towards the logo on the right */
    margin-left: 0 !important;
}

[dir="rtl"] .block-header__nav-links {
    direction: rtl;
}

[dir="rtl"] .empowering-grid {
    direction: rtl;
}

[dir="rtl"] .text-box h1,
[dir="rtl"] .text-box h2,
[dir="rtl"] .text-box h3,
[dir="rtl"] .text-box p {
    text-align: right !important;
}

[dir="rtl"] .site-footer .footer-container {
    direction: rtl;
}

@media (max-width: 991px) {
    .block-header-layout-desktop {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .lang-switcher {
        margin-left: 0;
    }
}

/* --- RTL Support --- */
[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .site-header .container {
    display: flex;
}





[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .hero-actions {
    text-align: right;
    justify-content: flex-start;
}

[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle {
    text-align: center;
    /* Keep section headers centered usually */
}

[dir="rtl"] .feature-card {
    text-align: right;
}

[dir="rtl"] .feature-icon-wrapper {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .block-blog-list-item__content {
    text-align: right;
}

[dir="rtl"] .projects-title {
    text-align: right;
}

[dir="rtl"] .project-card__text-col {
    text-align: right;
}

[dir="rtl"] .empowering-title,
[dir="rtl"] .empowering-desc {
    text-align: right;
}

[dir="rtl"] .revolutionizing-title,
[dir="rtl"] .revolutionizing-desc {
    text-align: center;
}

[dir="rtl"] .rev-card-content {
    text-align: right;
}

[dir="rtl"] .footer-info,
[dir="rtl"] .link-group {
    text-align: right;
}

[dir="rtl"] .footer-container {
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 4rem;
}

[dir="rtl"] .footer-links {
    flex-direction: row-reverse;
    gap: 6rem;
    flex: 3;
    justify-content: flex-start;
}

[dir="rtl"] .footer-info {
    flex: 2;
    text-align: right;
}

[dir="rtl"] .footer-logo {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .link-group {
    text-align: right;
}

[dir="rtl"] .link-group a:hover {
    padding-left: 0;
    padding-right: 8px;
    /* Mirror hover jump effect */
}

[dir="rtl"] .post-container {
    text-align: right;
}

[dir="rtl"] .post-container h1,
[dir="rtl"] .post-container h2,
[dir="rtl"] .post-container h3,
[dir="rtl"] .post-container h4,
[dir="rtl"] .post-container p,
[dir="rtl"] .post-container li {
    text-align: right;
}

[dir="rtl"] .input__label {
    text-align: right;
}

[dir="rtl"] .gallery-simple {
    direction: ltr;
    /* Keeps gallery order or handle individually */
}

[dir="rtl"] .social-icons {
    flex-direction: row-reverse;
}

[dir="rtl"] .form__button {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] th:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 8px;
}

[dir="rtl"] th:last-child {
    border-top-right-radius: 0;
    border-top-left-radius: 8px;
}

[dir="rtl"] .verification-hero h2 {
    font-size: 2.2rem;
    /* Slightly smaller for Arabic to fit on one line */
    white-space: normal;
}

/* Global Text Justification for better readability across all pages */
p.body,
p.body-large,
.text-box p,
.text-box span,
.project-card__text-col p,
.post-content p,
.post-content li {
    text-align: justify;
}


.block-blog-list-item__description,
.project-card__text-col p,
.post-content p,
.post-content li,
p.body,
p.body-large,
.text-box p {
    text-align: justify !important;
}

.block-blog-header__description {
    text-align: justify !important;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}