/* =========================================================
   موقع أديب بنبراهيم
   STYLE.CSS
   مبني على index.php الأصلي
========================================================= */


/* =========================================================
   01. VARIABLES
========================================================= */

:root {

    --primary: #003DA5;
    --primary-dark: #002E7A;
    --primary-light: #EAF1FF;

    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;

    --border: #E5E7EB;

    --bg-light: #FAFBFC;

    --white: #FFFFFF;
    --black: #000000;

    --container: 1180px;

    --radius: 16px;

    --shadow-sm:
        0 4px 15px rgba(0, 0, 0, .06);

    --shadow-md:
        0 12px 35px rgba(0, 0, 0, .09);

    --shadow-blue:
        0 15px 40px rgba(0, 61, 165, .15);

    --transition:
        .25s ease;

}


/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    direction: rtl;

    font-family:
        "Tahoma",
        "Arial",
        sans-serif;

    color: var(--text-primary);

    background: var(--white);

    line-height: 1.7;

    overflow-x: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   03. CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   04. HEADER
========================================================= */

.site-header {

    position: relative;

    z-index: 1000;

    background: var(--white);

    border-bottom:
        1px solid var(--border);
}


.header-inner {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    position: relative;
}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


.brand-mark {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: var(--white);

    border-radius: 10px;

    font-size: 15px;

    font-weight: 900;

    letter-spacing: .5px;
}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.35;
}


.brand-text strong {

    color: var(--text-primary);

    font-size: 16px;

    font-weight: 900;
}


.brand-text span {

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 600;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    gap: 4px;
}


.main-nav a {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    padding:
        8px 13px;

    border-radius: 9px;

    color: var(--text-secondary);

    font-size: 14px;

    font-weight: 700;

    transition:
        color var(--transition),
        background var(--transition);
}


.main-nav a:hover {

    color: var(--primary);

    background:
        var(--primary-light);
}


.main-nav a.active {

    color: var(--primary);

    background:
        var(--primary-light);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    border: 0;

    outline: none;

    background: var(--primary);

    color: var(--white);

    min-height: 44px;

    padding:
        0 14px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    align-items: center;

    justify-content: center;

    gap: 7px;

    white-space: nowrap;

    box-shadow:
        0 5px 15px rgba(0, 61, 165, .18);

    transition:
        background var(--transition),
        transform var(--transition);
}


.menu-toggle:hover {

    background:
        var(--primary-dark);
}


.menu-toggle:active {

    transform:
        scale(.97);
}


.menu-icon {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    font-size: 21px;

    line-height: 1;
}


.menu-text {

    font-size: 13px;

    line-height: 1;
}


/* =========================================================
   05. HERO
========================================================= */

.hero {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #F8FAFF 0%,
            #FFFFFF 55%,
            #EEF4FF 100%
        );

    padding:
        90px 0 85px;
}


.hero-pattern {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(0, 61, 165, .08),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 80%,
            rgba(0, 61, 165, .05),
            transparent 30%
        );
}


.hero-grid {

    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);

    align-items: center;

    gap: 75px;
}


.hero-content {

    max-width: 620px;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {

    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding:
        5px 13px;

    margin-bottom: 20px;

    color: var(--primary);

    background:
        var(--primary-light);

    border:
        1px solid rgba(0, 61, 165, .10);

    border-radius: 999px;

    font-size: 13px;

    font-weight: 800;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {

    margin-bottom: 20px;

    color: var(--text-primary);

    font-size:
        clamp(48px, 7vw, 82px);

    line-height: 1.05;

    font-weight: 950;

    letter-spacing: -2px;
}


.hero h1 span {

    color: var(--primary);
}


/* =========================================================
   LOCATION
========================================================= */

.hero-location {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 20px;

    color: var(--text-secondary);

    font-size: 16px;

    font-weight: 700;
}


.location-dot {

    width: 10px;
    height: 10px;

    background:
        var(--primary);

    border-radius: 50%;

    box-shadow:
        0 0 0 5px
        rgba(0, 61, 165, .10);
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {

    max-width: 590px;

    margin-bottom: 30px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 2;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 48px;

    padding:
        11px 21px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 800;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.btn:hover {

    transform:
        translateY(-2px);
}


.btn-primary {

    color: var(--white);

    background:
        var(--primary);

    box-shadow:
        0 8px 20px
        rgba(0, 61, 165, .18);
}


.btn-primary:hover {

    background:
        var(--primary-dark);
}


.btn-outline {

    color: var(--primary);

    background:
        var(--white);

    border:
        1px solid var(--primary);
}


.btn-outline:hover {

    color: var(--white);

    background:
        var(--primary);
}


.btn-white {

    color: var(--primary);

    background:
        var(--white);

    border:
        1px solid rgba(255, 255, 255, .6);
}


.btn-white:hover {

    background:
        var(--primary-light);
}


/* =========================================================
   HERO PHOTO
========================================================= */

.hero-photo {

    position: relative;

    width: 100%;

    max-width: 470px;

    margin-inline: auto;
}


.photo-frame {

    position: relative;

    overflow: hidden;

    background:
        var(--primary-light);

    border-radius:
        22px;

    border:
        1px solid
        rgba(0, 61, 165, .10);

    box-shadow:
        0 25px 60px
        rgba(0, 61, 165, .14);
}


.photo-frame::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(0, 61, 165, .08),
            transparent 40%
        );
}


.photo-frame img {

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    object-position: center;

    background:
        var(--primary-light);
}


.photo-label {

    position: relative;

    width: calc(100% - 40px);

    margin:
        -35px auto 0;

    z-index: 3;

    display: flex;

    flex-direction: column;

    padding:
        16px 20px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        12px;

    box-shadow:
        var(--shadow-md);
}


.photo-label strong {

    color: var(--text-primary);

    font-size: 16px;

    font-weight: 900;
}


.photo-label span {

    color: var(--text-secondary);

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   06. QUICK INFO
========================================================= */

.quick-info {

    position: relative;

    z-index: 5;

    background:
        var(--white);

    border-bottom:
        1px solid var(--border);
}


.quick-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;
}


.quick-card {

    min-height: 105px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 4px;

    padding:
        20px 25px;

    border-left:
        1px solid var(--border);
}


.quick-card:first-child {

    border-left: 0;
}


.quick-card strong {

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 800;
}


.quick-card span {

    color: var(--text-primary);

    font-size: 16px;

    font-weight: 900;
}


/* =========================================================
   07. SECTIONS
========================================================= */

.section {

    padding:
        95px 0;
}


.section-heading {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 55px;
}


.section-kicker {

    display: block;

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: .4px;
}


.section-heading h2 {

    color: var(--text-primary);

    font-size:
        clamp(30px, 4vw, 46px);

    line-height: 1.2;

    font-weight: 950;

    letter-spacing: -.7px;
}


.section-heading p {

    max-width: 650px;

    margin-top: 12px;

    color: var(--text-secondary);

    font-size: 15px;

    line-height: 1.9;
}


.section-number {

    color: var(--primary);

    font-size: 14px;

    font-weight: 900;

    padding-top: 8px;
}


/* =========================================================
   08. CANDIDATE
========================================================= */

.candidate-section {

    background:
        var(--white);
}


.candidate-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, .75fr);

    gap: 70px;

    align-items: start;
}


.candidate-text {

    max-width: 720px;
}


.candidate-text .lead {

    margin-bottom: 20px;

    color: var(--text-primary);

    font-size: 24px;

    line-height: 1.5;

    font-weight: 900;
}


.candidate-text > p:not(.lead) {

    margin-bottom: 30px;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 2;
}


.candidate-facts {

    display: flex;

    flex-direction: column;

    border-top:
        1px solid var(--border);
}


.fact {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    min-height: 80px;

    padding:
        15px 0;

    border-bottom:
        1px solid var(--border);
}


.fact strong {

    color: var(--text-secondary);

    font-size: 13px;

    font-weight: 800;
}


.fact span {

    color: var(--text-primary);

    font-size: 15px;

    font-weight: 900;
}


/* =========================================================
   09. PROGRAM
========================================================= */

.program-section {

    position: relative;

    overflow: hidden;

    background:
        var(--primary);

    color: var(--white);
}


.program-section::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -220px;
    top: -250px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, .08);

    pointer-events: none;
}


.program-section::after {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -180px;
    bottom: -220px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, .08);

    pointer-events: none;
}


.program-section .container {

    position: relative;

    z-index: 2;
}


.light-heading .section-kicker {

    color: #BFD3FF;
}


.light-heading h2 {

    color: var(--white);
}


.light-heading p {

    color:
        rgba(255, 255, 255, .72);
}


.light-heading .section-number {

    color:
        rgba(255, 255, 255, .8);
}


.program-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.program-card {

    position: relative;

    min-height: 300px;

    display: flex;

    flex-direction: column;

    padding:
        27px 23px;

    background:
        rgba(255, 255, 255, .08);

    border:
        1px solid
        rgba(255, 255, 255, .15);

    border-radius:
        14px;

    overflow: hidden;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}


.program-card:hover {

    transform:
        translateY(-6px);

    background:
        rgba(255, 255, 255, .13);

    border-color:
        rgba(255, 255, 255, .28);
}


.program-number {

    display: block;

    margin-bottom: 50px;

    color:
        rgba(255, 255, 255, .65);

    font-size: 13px;

    font-weight: 900;
}


.program-card h3 {

    margin-bottom: 13px;

    color: var(--white);

    font-size: 20px;

    line-height: 1.5;

    font-weight: 900;
}


.program-card p {

    color:
        rgba(255, 255, 255, .70);

    font-size: 13px;

    line-height: 1.9;
}


.program-arrow {

    margin-top: auto;

    align-self: flex-start;

    color:
        rgba(255, 255, 255, .8);

    font-size: 22px;

    line-height: 1;
}


/* =========================================================
   10. FLYERS
========================================================= */

.flyers-section {

    background:
        var(--bg-light);
}


.flyers-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.flyer-card {

    overflow: hidden;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.flyer-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-md);
}


.flyer-image {

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    background:
        var(--primary-light);
}


.flyer-content {

    padding:
        20px;
}


.flyer-content p {

    margin-bottom: 5px;

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 700;
}


.flyer-content h3 {

    color: var(--text-primary);

    font-size: 17px;

    line-height: 1.5;

    font-weight: 900;
}


.empty-flyers {

    padding:
        60px 30px;

    text-align: center;

    background:
        var(--white);

    border:
        1px dashed
        #C8D0DC;

    border-radius:
        var(--radius);
}


.empty-flyers h3 {

    margin-bottom: 8px;

    color: var(--text-primary);

    font-size: 20px;

    font-weight: 900;
}


.empty-flyers p {

    color: var(--text-secondary);

    font-size: 14px;
}


/* =========================================================
   11. REGISTRATION
========================================================= */

.registration-section {

    position: relative;

    overflow: hidden;

    padding:
        70px 0;

    background:
        var(--primary);

    color: var(--white);
}


.registration-section::before {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    left: -220px;
    top: -260px;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    border-radius: 50%;
}


.registration-inner {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;
}


.registration-section .section-kicker {

    color:
        #C7D7FF;
}


.registration-section h2 {

    margin-bottom: 8px;

    color: var(--white);

    font-size:
        clamp(28px, 4vw, 40px);

    line-height: 1.3;

    font-weight: 950;
}


.registration-section p {

    color:
        rgba(255, 255, 255, .75);

    font-size: 15px;
}


/* =========================================================
   12. CONTACT / SOCIAL
========================================================= */

.contact-section {

    background:
        var(--white);
}


.social-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}


.social-card {

    min-height: 92px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding:
        18px 20px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        14px;

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.social-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(0, 61, 165, .25);

    box-shadow:
        var(--shadow-md);
}


.social-icon {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--white);

    background:
        var(--primary);

    border-radius:
        10px;

    font-size: 18px;

    font-weight: 900;
}


.social-card > div {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;

    flex: 1;
}


.social-card strong {

    color: var(--text-primary);

    font-size: 15px;

    font-weight: 900;
}


.social-card div span {

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 600;
}


.social-arrow {

    color: var(--primary);

    font-size: 22px;

    line-height: 1;
}


/* =========================================================
   13. FOOTER
========================================================= */

.site-footer {

    background:
        #F5F7FA;

    border-top:
        1px solid var(--border);
}


.footer-inner {

    min-height: 110px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 30px;
}


.footer-brand .brand-mark {

    width: 42px;
    height: 42px;

    font-size: 13px;
}


.footer-brand .brand-text strong {

    font-size: 14px;
}


.footer-brand .brand-text span {

    font-size: 11px;
}


.footer-links {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;
}


.footer-links a {

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 700;

    transition:
        color var(--transition);
}


.footer-links a:hover {

    color: var(--primary);
}


.copyright {

    text-align: left;

    color: var(--text-secondary);

    font-size: 11px;

    font-weight: 600;
}

/* =========================================================
   13.5 GALLERY
========================================================= */

.gallery-section {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.gallery-card-content {
    padding: 14px 16px;
}

.gallery-card-content h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 900;
}

.empty-gallery {
    background: var(--white);
    border: 1px dashed #C8D0DC;
    border-radius: var(--radius);
    padding: 50px 25px;
    text-align: center;
}

.empty-gallery h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 900;
}

.empty-gallery p {
    color: var(--text-secondary);
    font-size: 14px;
}


/* =========================================================
   13.6 FACEBOOK
========================================================= */

.facebook-section {
    background: var(--white);
}

.facebook-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.facebook-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.facebook-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 61, 165, .20);
}

.facebook-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
}

.facebook-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-size: 20px;
    font-weight: 900;
}

.facebook-card-header div {
    min-width: 0;
}

.facebook-card-header strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 900;
}

.facebook-card-header span {
    display: block;
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 12px;
}

.facebook-card-title {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 900;
}

.facebook-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 9px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    transition:
        background var(--transition),
        transform var(--transition);
}

.facebook-card-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.empty-facebook {
    background: var(--white);
    border: 1px dashed #C8D0DC;
    border-radius: var(--radius);
    padding: 50px 25px;
    text-align: center;
}

.empty-facebook h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 900;
}

.empty-facebook p {
    color: var(--text-secondary);
    font-size: 14px;
}
/* =========================================================
   14. MOBILE MENU
   ========================================================= */

@media (max-width: 768px) {

    .container {

        width:
            min(
                calc(100% - 30px),
                var(--container)
            );
    }


    /* HEADER */

    .header-inner {

        min-height: 72px;

        gap: 10px;
    }


    .brand {

        min-width: 0;

        gap: 9px;
    }


    .brand-mark {

        width: 42px;
        height: 42px;

        flex-shrink: 0;

        font-size: 13px;
    }


    .brand-text {

        min-width: 0;
    }


    .brand-text strong {

        font-size: 14px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    .brand-text span {

        font-size: 10px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* MENU BUTTON */

    .menu-toggle {

        display: flex;

        flex-shrink: 0;

        order: 2;
    }


    /* NAVIGATION DROPDOWN */

    .main-nav {

        display: none;

        position: absolute;

        top:
            calc(100% + 8px);

        left: 0;
        right: 0;

        width: 100%;

        margin: 0;

        padding: 8px;

        flex-direction: column;

        align-items: stretch;

        gap: 3px;

        background:
            var(--white);

        border:
            1px solid var(--border);

        border-radius:
            14px;

        box-shadow:
            0 15px 40px
            rgba(0, 0, 0, .13);

        z-index: 99999;
    }


    .main-nav.active {

        display: flex;
    }


    .main-nav a {

        width: 100%;

        min-height: 46px;

        justify-content: flex-start;

        padding:
            11px 15px;

        color:
            var(--text-primary);

        background:
            transparent;

        border-radius:
            9px;

        font-size: 14px;
    }


    .main-nav a:hover,
    .main-nav a:focus,
    .main-nav a.active {

        color:
            var(--primary);

        background:
            var(--primary-light);
    }


    /* HERO */

    .hero {

        padding:
            60px 0 55px;
    }


    .hero-grid {

        display: flex;

        flex-direction: column;

        gap: 45px;

        align-items: stretch;
    }


    .hero-content {

        max-width: none;
    }


    .hero h1 {

        font-size:
            clamp(46px, 13vw, 68px);

        letter-spacing:
            -1.5px;
    }


    .hero-description {

        font-size: 15px;

        line-height: 1.9;
    }


    .hero-photo {

        max-width: 500px;

        width: 100%;

        margin-inline: auto;
    }


    /* QUICK INFO */

    .quick-grid {

        grid-template-columns:
            1fr;
    }


    .quick-card {

        min-height: 78px;

        padding:
            15px 5px;

        border-left: 0;

        border-bottom:
            1px solid var(--border);
    }


    .quick-card:last-child {

        border-bottom: 0;
    }


    /* SECTIONS */

    .section {

        padding:
            70px 0;
    }


    .section-heading {

        margin-bottom: 38px;

        gap: 15px;
    }


    .section-heading h2 {

        font-size: 32px;
    }


    .section-heading p {

        font-size: 14px;
    }


    /* CANDIDATE */

    .candidate-grid {

        grid-template-columns:
            1fr;

        gap: 45px;
    }


    .candidate-text .lead {

        font-size: 21px;
    }


    /* PROGRAM */

    .program-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }


    .program-card {

        min-height: 260px;

        padding:
            22px 18px;
    }


    .program-number {

        margin-bottom: 35px;
    }


    .program-card h3 {

        font-size: 17px;
    }


    .program-card p {

        font-size: 12px;
    }


    /* FLYERS */

    .flyers-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    /* REGISTRATION */

    .registration-inner {

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    /* SOCIAL */

    .social-grid {

        grid-template-columns:
            1fr;
    }

    /* GALLERY */

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    /* FACEBOOK */

    .facebook-grid {
        grid-template-columns: 1fr;
    }



    /* FOOTER */

    .footer-inner {

        grid-template-columns:
            1fr;

        padding:
            30px 0;

        gap: 20px;

        text-align: center;
    }


    .footer-brand {

        display: flex;

        justify-content: center;
    }


    .footer-links {

        flex-wrap: wrap;

        gap: 10px 15px;
    }


    .copyright {

        text-align: center;
    }

}


/* =========================================================
   15. SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .container {

        width:
            calc(100% - 24px);
    }


    .header-inner {

        min-height: 68px;
    }


    .brand-mark {

        width: 40px;
        height: 40px;
    }


    .brand-text strong {

        font-size: 13px;
    }


    .brand-text span {

        font-size: 9px;
    }


    .menu-toggle {

        min-height: 42px;

        padding:
            0 11px;

        border-radius: 9px;
    }


    .menu-icon {

        font-size: 20px;
    }


    .menu-text {

        font-size: 12px;
    }


    .hero {

        padding:
            50px 0 45px;
    }


    .eyebrow {

        font-size: 11px;

        padding:
            4px 10px;
    }


    .hero h1 {

        font-size:
            48px;
    }


    .hero-location {

        font-size: 14px;
    }


    .hero-description {

        font-size: 14px;
    }


    .hero-actions {

        flex-direction: column;

        align-items: stretch;
    }


    .btn {

        width: 100%;
    }


    .photo-label {

        width:
            calc(100% - 24px);

        margin-top:
            -25px;

        padding:
            13px 15px;
    }


    .section {

        padding:
            60px 0;
    }


    .section-heading {

        align-items: flex-start;
    }


    .section-heading h2 {

        font-size: 28px;
    }


    .section-number {

        font-size: 12px;
    }


    .program-grid {

        grid-template-columns:
            1fr;
    }


    .program-card {

        min-height:
            230px;
    }


    .flyers-grid {

        grid-template-columns:
            1fr;
    }


    .empty-flyers {

        padding:
            45px 20px;
    }


    .registration-section {

        padding:
            55px 0;
    }


    .registration-section h2 {

        font-size: 29px;
    }


    .social-card {

        padding:
            15px;
    }


    .social-icon {

        width: 43px;
        height: 43px;

        font-size: 15px;
    }


        /* GALLERY */

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card-content {
        padding: 12px 14px;
    }

    /* FACEBOOK */

    .facebook-card {
        padding: 18px;
    }

}


/* =========================================================
   16. VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .container {

        width:
            calc(100% - 20px);
    }


    .brand-text span {

        display: none;
    }


    .menu-toggle {

        width: 42px;

        padding: 0;

        gap: 0;
    }


    .menu-text {

        display: none;
    }


    .menu-icon {

        font-size: 22px;
    }


    .hero h1 {

        font-size: 43px;
    }


    .hero-description {

        font-size: 13px;
    }


    .section-heading h2 {

        font-size: 26px;
    }


    .candidate-text .lead {

        font-size: 19px;
    }


    .program-card {

        padding:
            20px 16px;
    }

}


/* =========================================================
   17. ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible {

    outline:
        3px solid
        rgba(0, 61, 165, .30);

    outline-offset:
        3px;
}


/* =========================================================
   18. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;
    }


    *,
    *::before,
    *::after {

        transition:
            none !important;

        animation:
            none !important;
    }

}


.party-logo {
    width: 150px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 12px auto 0;
    background: transparent;
}

/* =========================================================
   ADIB CUSTOM AUDIO PLAYER
   ========================================================= */

.custom-audio-player {
    width: 100%;
    max-width: 720px;
    margin: 28px auto 0;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;

    background: linear-gradient(
        135deg,
        rgba(10, 35, 75, 0.96),
        rgba(18, 55, 105, 0.92)
    );

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    direction: rtl;
}

/* زر Play */

.audio-play-btn {
    width: 58px;
    height: 58px;
    min-width: 58px;

    border: none;
    border-radius: 50%;

    background: #ffffff;
    color: #123c70;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.audio-play-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

.audio-play-btn:active {
    transform: scale(0.96);
}

/* المحتوى */

.audio-content {
    flex: 1;
    min-width: 0;
}

/* العنوان */

.audio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 12px;
}

.audio-label {
    display: block;

    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;
    margin-bottom: 3px;
}

.audio-header strong {
    display: block;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
}

.audio-time {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    white-space: nowrap;
}

/* شريط التقدم */

.audio-progress-area {
    width: 100%;
}

#audioProgress {
    width: 100%;
    height: 5px;

    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    background: rgba(255, 255, 255, 0.22);

    border-radius: 10px;

    cursor: pointer;
}

/* Chrome / Edge */

#audioProgress::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 14px;
    height: 14px;

    border-radius: 50%;
    border: 2px solid #ffffff;

    background: #ffffff;

    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Firefox */

#audioProgress::-moz-range-thumb {
    width: 14px;
    height: 14px;

    border-radius: 50%;
    border: 2px solid #ffffff;

    background: #ffffff;

    cursor: pointer;
}

/* أسفل Player */

.audio-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 9px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
}

/* Mobile */

@media (max-width: 600px) {

    .custom-audio-player {
        padding: 15px;
        gap: 13px;
        border-radius: 17px;
    }

    .audio-play-btn {
        width: 50px;
        height: 50px;
        min-width: 50px;

        font-size: 18px;
    }

    .audio-header strong {
        font-size: 14px;
    }

    .audio-label {
        font-size: 11px;
    }

    .audio-time {
        font-size: 11px;
    }
}