:root {
    --bg: #0a1208;
    --bg2: #0e1a0b;
    --bg3: #111f0d;
    --panel: #006b3f;
    --panel2: #1a3317;
    --border: #2a4d22;
    --accent: #c9a84c;
    --accent2: #e2c06a;
    --gold: #c8a951;
    --gold2: #e8c97a;
    --text: #d4e8c2;
    --text-dim: rgba(255, 255, 255, 0.65);
    --text-mute: #5a7a4a;
    --white: #f0f7ec;
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.maine-section {
    background-color: #0c3d28;
}

.two-col,
.levels,
.response,
.tradition,
.aim,
.two-col-f {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 0rem;
}

#education,
#crisis {
    background: white;
}

#response {
    background: #faf7f0;
}

.bg-dark-cream {
    background-color: #f0ead8;
}


.dark p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.75);
}


.hero-h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5.5vw, 70px);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
}

/* ─── DECORATIVE SVG PATTERNS ─── */
.geo-pattern {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

/* ─── HEADER ─── */
.ban {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border);

    background: #0c3d28;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 64px;
}

.ban-geo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.07;
    pointer-events: none;
}

.arabic-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--accent), var(--gold), transparent);
}

.ban-label {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 1;
    animation: fadeUp 0.8s 0.2s forwards;
}

ban h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--white);
    opacity: 1;
    animation: fadeUp 0.9s 0.4s forwards;
}

ban h1 em {
    font-style: italic;
    color: var(--gold2);
}

.ban-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-style: italic;
    color: var(--text-dim);
    margin-top: 1.2rem;
    opacity: ban;
    animation: fadeUp 0.9s 0.6s forwards;
}

.ban-divider {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0.5rem auto;
    opacity: 1;
    animation: fadeUp 0.9s 0.8s forwards;
}
.ban-intro {
    max-width: 680px;
    font-size: 1.05rem;
    color: var(--text-dim);
    opacity: 1;
    animation: fadeUp 0.9s 1s forwards;
}


/* ─── MAIN LAYOUT ─── */


/* ─── SECTION STYLES ─── */
.section {
    padding: 1rem 2rem;
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    /* margin-bottom: 1rem; */
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 700;
    line-height: 0.8;
    color: #0c3d28;
}

.section-title em {
    font-style: italic;
    color: var(--gold2);
}

.section-title-dark {
    margin-bottom: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 700;
    line-height: 0.9;
    color: #ffffff;
}
.section-title-dark em {
    font-style: italic;
    color: var(--gold2);
}



p:last-child {
    margin-bottom: 0;
}

/* ─── TWO-COL LAYOUT ─── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    padding-top: 10px;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse>* {
    direction: ltr;
}

/* ─── IMAGE BLOCKS ─── */
.img-block {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.img-block img {
    width: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.75) saturate(0.8);
    transition: filter 0.4s;
    background: #ffffff;
    border-radius: 20px;
}
.img-block .first-img,.img-block .forth-img{
    height: 400px;
}
.img-block .thired-img{
    height: 320px;
}

.img-block:hover img {
    filter: brightness(0.85) saturate(1);
}

.img-block::after {
    content: '';
    position: absolute;
    inset: 0;
    /* border: 1px solid var(--border); */
    pointer-events: none;
    border-radius: 2px;
}

.img-caption {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    margin-top: 0.75rem;
    font-style: italic;
}

/* ─── FOUR LEVELS GRID ─── */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 1rem 0;
}

.level-card {
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 10px;
    padding: 20px 22px;
    transition: all 0.25s;
}

.level-card:hover {
    background: var(--panel2);
    border-color: var(--gold);
}

.level-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--border);
    line-height: 1;
    margin-bottom: 0;
    transition: color 0.3s;
}

.level-card:hover .level-num {
    color: var(--gold);
    opacity: 0.5;
}

.level-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 0;
}

.level-desc {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ─── CRISIS SECTION ─── */
.crisis-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 0;
}
.crisis-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 7px 20px;
    transition: border-color 0.3s, background 0.3s;
}

.crisis-item:hover {
    background: var(--panel2);
    border-left-color: var(--gold);
}

.crisis-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0;
}

.crisis-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin: 0;
}

/* ─── QUOTE BLOCK ─── */
.quote-block {
    margin: 1rem 0;
    padding: 1.5rem 1rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    position: relative;
}

.quote-block::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    line-height: 1;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--white);
    line-height: 1.5;
}

.quote-attr {
    margin-top: 0rem;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ─── FULL-WIDTH IMAGE BANNER ─── */
.img-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 420px;
    overflow: hidden;
    position: relative;
}

.img-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.7) hue-rotate(20deg);
}

.img-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}

.img-banner-text {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
}

.img-banner-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--white);
    font-style: italic;
}

/* ─── SCHOLARS GRID ─── */
.scholars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0.5rem 0;
}

.scholar-card {
    background: var(--panel);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s;
}

.scholar-card:hover {
    transform: translateY(-4px);
}

.scholar-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.scholar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(0.6) sepia(0.3);
    transition: filter 0.3s;
}

.scholar-card:hover .scholar-img img {
    filter: brightness(0.8) saturate(0.8);
}

.scholar-body {
    padding: 1.2rem;
}

.scholar-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold2);
    margin-bottom: 0.3rem;
}

.scholar-role {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.7rem;
}

.scholar-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ─── CLOSING POETRY ─── */
.poetry-section {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 1rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.poetry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent2));
}

.poetry-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--text-dim);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    transition: color 0.3s;
}

.poetry-line:last-child {
    border-bottom: none;
}

.poetry-line:hover {
    color: var(--white);
}

.poetry-arrow {
    color: var(--accent);
    font-style: normal;
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
}

.poetry-line:hover .poetry-arrow {
    opacity: 1;
}

/* ─── STATEMENT SECTION ─── */
.statement {
    text-align: center;
    padding: 0rem 2rem 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.statement h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.0;
    color: #0c3d28;
    margin-bottom: 8px;
}

.statement h2 strong {
    font-weight: 700;
    color: #c9a84c;
}

.statement p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #383838;
    margin-bottom: 10px;
}
/* ─── PILLARS ROW ─── */
.pillars {
    display: flex;
    gap: 0;
    margin: 1rem 0;
    border: 1px solid var(--border);
    overflow: hidden;
}

.pillar {
    flex: 1;
    padding: 1rem 1.0rem;
    border-right: 1px solid var(--border);
    text-align: center;
    transition: background 0.3s;
}

.pillar:last-child {
    border-right: none;
}

.pillar:hover {
    background: var(--panel2);
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.pillar-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--gold2);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.pillar-desc {
    font-size: 0.8rem;
    color: var(--text-mute);
    line-height: 1.6;
}


/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 1;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-col.reverse {
        direction: ltr;
    }

    .levels-grid {
        grid-template-columns: 1fr 1fr;
    }

    .crisis-list {
        grid-template-columns: 1fr;
    }

    .scholars-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pillars {
        flex-wrap: wrap;
    }

    .pillar {
        flex: 1 1 calc(50% - 1px);
    }
}

@media (max-width: 600px) {
    .levels-grid {
        grid-template-columns: 1fr;
    }

    .scholars-grid {
        grid-template-columns: 1fr;
    }

    .poetry-section {
        padding: 2rem 1.5rem;
    }
    .quote-block {
    margin: 10px 0;
}
.two-col, .levels, .response, .tradition, .aim, .two-col-f {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.crisis-list {
    gap: 10px;
}
section#response .two-col {
    padding: 0;
}
section#tradition {
    padding: 30px 0;
}   


}

/* Inline SVG images for sections */
.svg-illustration {
    width: 100%;
    border-radius: 2px;
    display: block;
}