* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0569B0;
    --secondary-blue: #2C7BAD;
    --orange: #F5B034;
    --dark-orange: #E56844;
    --white: #fff;
    --light-bg: #F2FAFF;
    --section-padding: 80px 5%;
    --border-radius: 20px;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #fff;
    overflow-x: hidden;
}

/* =========================
   HERO – PROFESSIONAL
========================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center; /* optional, centers content horizontally */

    /* Background with gradient + image */
    background: 
        linear-gradient(
            90deg,
            rgba(5, 105, 176, 0.92) 0%,
            rgba(5, 105, 176, 0.6) 45%,
            rgba(5, 105, 176, 0.2) 100%
        ),
        url('../images/Rectangle 103.png') center / cover no-repeat;

    clip-path: ellipse(120% 90% at 50% 0%);
}


/* Content container */
.hero-content {
    max-width: 720px;
    margin-inline-start: 8%;
}

/* TITLE – BIG & STRONG */
.hero-title {
    font-size: 60px;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 28px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* SUBTITLE – CLEAR BUT SECONDARY */
.hero-subtitle {
    font-size: 10px;
    font-weight: 200;
    color: #ffffff;
    line-height: 1.9;
    max-width: 620px;
}

/* RTL / LTR text alignment */
html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="ltr"] .hero-content {
    text-align: left;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 120px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-content {
        max-width: 100%;
        margin-inline-start: 6%;
        margin-inline-end: 6%;
    }
}


/* =========================
   SECTIONS – PROFESSIONAL
========================= */
/* =========================
   SECTIONS – FINAL CLEAN
========================= */

.section {
    display: flex;
    align-items: center;
    gap: 24px;                 /* space between text & image */
    padding: 60px 6%;          /* section padding */
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin: 0;                 /* NO space between sections */
}

/* TEXT */
.section-content {
    flex: 1.15;
    font-size: 20px;
    line-height: 1.9;
    color: #2b2b2b;
}

/* TITLE */
.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* IMAGE */
.section-image {
    flex: 0.85;
}

.section-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/* =========================
   AUTO FLIP (RTL + LTR)
========================= */

/* English: image right → left → right */
html[dir="ltr"] .section:nth-child(even) {
    flex-direction: row-reverse;
}

/* Arabic: image left → right → left */
html[dir="rtl"] .section:nth-child(odd) {
    flex-direction: row-reverse;
}

/* TEXT ALIGN */
html[dir="rtl"] .section-content {
    text-align: right;
}

html[dir="ltr"] .section-content {
    text-align: left;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .section {
        flex-direction: column !important;
        gap: 20px;
        padding: 40px 6%;
    }

    .section-title {
        font-size: 30px;
    }

    .section-content {
        font-size: 18px;
    }

    .section-image img {
        max-height: 300px;
    }
}

/* =========================
   AUTO FLIP (RTL + LTR)
========================= */

/* English: image right → image left → image right */
html[dir="ltr"] .section:nth-child(even) {
    flex-direction: row-reverse;
}

/* Arabic: image left → image right → image left */
html[dir="rtl"] .section:nth-child(odd) {
    flex-direction: row-reverse;
}

/* Text alignment */
html[dir="rtl"] .section-content {
    text-align: right;
}

html[dir="ltr"] .section-content {
    text-align: left;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .section {
        flex-direction: column !important;
        gap: 40px;
        padding: 60px 6%;
    }

    .section-title {
        font-size: 32px;
    }

    .section-content {
        font-size: 18px;
    }

    .section-image img {
        max-height: 300px;
    }
}

/* DIVIDER */
.divider {
    width: 100%;
    height: 10px;
    background: #F2A437;
    margin: 60px 0;
    border-radius: 2px;
}

/* CERTIFICATES */
.certificates {
    text-align: center;
    padding: 60px 20px;
    background: #f8f8f8;
}

.certificates-title {
    color: #E56844;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.certificates-desc {
    color: #286F9C;
    font-size: 28px;
    font-weight: 700;
    max-width: 1000px;
    margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section {
        flex-direction: column !important;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-content {
        font-size: 18px;
    }

    .certificates-title {
        font-size: 36px;
    }

    .certificates-desc {
        font-size: 22px;
    }
}
