/* ---------- Basic Styles ---------- */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #152033;
    background-color: white;
    line-height: 1.5;
}
a {
    text-decoration: none;
    color: inherit;
}
h1, h2, h3, p {
    margin-top: 0;
}
h1 {
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.08;
}
h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    margin-bottom: 12px;
}
p {
    color: #52637d;
}
.section {
    max-width: 1280px;
    margin: auto;
    padding: 70px 35px;
}
.eyebrow, .orange, h1 span {
    color: #ff650d;
}
.eyebrow {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}
/* ---------- Navigation ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 35px;
    background-color: white;
    box-shadow: 0 2px 15px #15203312;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.1;
}
.logo-mark {
    color: #ff650d;
    font-size: 36px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    font-weight: bold;
}
.nav-links a:hover, .nav-links .active {
    color: #ff650d;
}
.dropdown {
    position: relative;
    padding: 12px 0;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 210px;
    padding: 10px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 10px 30px #15203322;
}
.dropdown-content a {
    display: block;
    padding: 10px;
    border-radius: 6px;
}
.dropdown-content a:hover {
    background-color: #fff1e7;
}
.dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content {
    display: block;
}
.menu-toggle, .menu-icon {
    display: none;
}
/* ---------- Buttons ---------- */
.button {
    display: inline-block;
    padding: 13px 22px;
    border: 2px solid #ff650d;
    border-radius: 12px;
    color: white;
    background-color: #ff650d;
    font-weight: bold;
    font-size: 13px;
    transition: 0.3s;
}
.button:hover {
    background-color: #d84c00;
    border-color: #d84c00;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #ff650d35;
}
.button-outline {
    background-color: white;
    color: #ff650d;
}
.button-outline:hover {
    color: white;
}
.button-dark {
    background-color: #152033;
    border-color: #152033;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}
/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 35px;
    min-height: 510px;
}
.hero-text p:not(.eyebrow) {
    max-width: 480px;
}
.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e8ebf0, #fff1e7);
    color: #9b644a;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
}
.hero-photo {
    min-height: 390px;
}
/* ---------- Statistics ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 18px;
    box-shadow: 0 8px 35px #15203312;
    text-align: center;
}
.stats > div {
    padding: 10px;
    border-right: 1px solid #e7e9ee;
}
.stats > div:last-child {
    border-right: 0;
}
.stats strong {
    color: #ff650d;
    font-size: 38px;
}
.stats h3 {
    margin-bottom: 4px;
}
.stats p {
    font-size: 13px;
}
/* ---------- Courses ---------- */
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.course-card {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 25px #15203312;
    transition: transform 0.85s ease, box-shadow 0.85s ease;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px #15203325;
}
.course-card .photo-placeholder {
    border-radius: 0;
}
.card-content {
    padding: 20px;
}
.card-content h3 {
    margin-bottom: 3px;
}
.card-content ul {
    padding-left: 20px;
    color: #52637d;
    font-size: 13px;
}
.card-content a {
    color: #ff650d;
    font-weight: bold;
}
/* ---------- About ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}
.about-photo {
    min-height: 340px;
}
/* ---------- Success Stories ---------- */
.success-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}
.success-card {
    min-height: 300px;
    transition: 0.3s;
}
.success-card:hover {
    transform: scale(1.03);
}
.note {
    margin-top: 15px;
    font-size: 12px;
}
/* ---------- Mobile App ---------- */
.app-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    background-color: #fff5ee;
    border-radius: 20px;
}
.phone-placeholder {
    min-height: 300px;
}
/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}
/* ---------- Footer ---------- */
.footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 45px max(35px, calc((100vw - 1210px) / 2));
    color: white;
    background-color: #101c2d;
}
.footer a {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
}
.footer a:hover {
    color: #ff650d;
}
.footer p {
    color: #a8b4c6;
}
.copyright {
    grid-column: 1 / -1;
    border-top: 1px solid #344052;
    padding-top: 15px;
    font-size: 12px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* ---------- Responsive Layout ---------- */
@media (max-width: 1100px) {
    .nav-links {
        gap: 9px;
        font-size: 11px;
    }
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 800px) {
    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    .menu-icon {
        display: block;
        margin-left: auto;
        font-size: 26px;
        cursor: pointer;
    }
    .nav-button {
        display: none;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }
    .nav-links > a, .dropdown > a {
        display: block;
        padding: 12px;
    }
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: #fff5ee;
    }
    .hero, .about, .app-section, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-photo {
        min-height: 280px;
    }
    .stats, .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .section {
        padding: 45px 20px;
    }
    .course-grid {
        grid-template-columns: 1fr;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .stats {
        margin: 0 15px;
        padding: 15px;
    }
    .stats strong {
        font-size: 28px;
    }
    .stats h3 {
        font-size: 13px;
    }
    .success-card {
        min-height: 220px;
    }
    .footer {
        padding: 35px 20px;
    }
}

/* ---------- Real Website Photos ---------- */
.real-photo,
.course-photo {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background-color: #fff1e7;
}
.real-photo img,
.course-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.real-photo:hover img,
.course-card:hover img {
    transform: scale(1.05);
}
.hero-photo {
    height: 410px;
}
.hero-photo img {
    object-position: 50% 45%;
}
.photo-label {
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 8px 12px;
    border-radius: 20px;
    color: white;
    background-color: #152033cc;
    font-size: 12px;
}
.course-photo {
    height: 190px;
    border-radius: 0;
}
.course-coming {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #ad4b11;
    background: linear-gradient(135deg, #fff1e7, #f7f8fb);
    font-weight: bold;
    text-align: center;
}
.about-photo {
    height: 370px;
}
.success-card {
    height: 330px;
}
.success-card img {
    object-position: center 30%;
}
.phone-placeholder {
    height: 350px;
    max-width: 300px;
    margin: auto;
}
.phone-placeholder img {
    object-fit: contain;
}
.contact-photo {
    height: 250px;
}
@media (max-width: 800px) {
    .hero-photo {
        height: 320px;
    }
}

/* ---------- Official logo ---------- */
.logo img {
    display: block;
    width: 126px;
    height: 57px;
    object-fit: contain;
    background-color: #252525;
    border-radius: 5px;
}
.footer-logo {
    display: block;
    width: 160px;
    max-width: 100%;
    border-radius: 5px;
}

/* ---------- Homepage refinements ---------- */
.logo img {
    width: 145px;
    height: auto;
    max-height: 65px;
    background: transparent;
    border-radius: 0;
}
.footer-logo {
    width: 165px;
    height: auto;
    background: transparent;
    border-radius: 0;
}
.hero-photo {
    height: 420px;
    background-color: #f6f6f6;
}
.hero-photo img {
    object-fit: contain;
    object-position: center;
}
.about-photo {
    height: 440px;
    background-color: #f4f5f7;
}
.about-photo img {
    object-fit: contain;
    object-position: center;
}
.contact-photo {
    height: 300px;
    background-color: #f6f6f6;
}
.contact-photo img {
    object-fit: contain;
    object-position: center;
}
.course-photo {
    height: 215px;
    background-color: #f7f7f7;
}
.course-photo img {
    object-fit: contain;
    object-position: center;
}
.course-card {
    transition: transform 0.85s ease, box-shadow 0.85s ease;
}
.course-card:hover {
    transform: translateY(-5px);
}
.real-photo:hover img,
.course-card:hover img {
    transform: none;
}
.button,
.nav-links a,
.card-content a {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.card-content a:hover {
    color: #c64a00;
}
.nav-contact {
    position: relative;
    flex-shrink: 0;
}
.contact-choices {
    position: absolute;
    right: 0;
    top: 100%;
    display: none;
    min-width: 165px;
    padding: 9px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px #15203325;
}
.nav-contact:hover .contact-choices,
.nav-contact:focus-within .contact-choices {
    display: block;
}
.contact-choices a {
    display: block;
    padding: 10px;
    font-size: 13px;
}
.contact-choices a:hover {
    color: #ff650d;
    background-color: #fff1e7;
}
.app-gallery {
    display: flex;
    gap: 12px;
    align-items: stretch;
    min-width: 0;
}
.app-shot,
.app-slot {
    flex: 1 1 0;
    min-width: 0;
    min-height: 245px;
    border-radius: 15px;
}
.app-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.app-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px dashed #efb48e;
    text-align: center;
    color: #b25c24;
    background-color: #fffaf6;
    font-size: 13px;
}
.app-slot small {
    margin-top: 8px;
    color: #896c5a;
}
@media (max-width: 800px) {
    .hero-photo {
        height: 330px;
    }
    .about-photo {
        height: 370px;
    }
    .nav-contact {
        display: none;
    }
    .app-gallery {
        gap: 8px;
    }
    .app-shot, .app-slot {
        min-height: 190px;
    }
}
@media (max-width: 520px) {
    .app-slot {
        font-size: 11px;
        padding: 5px;
    }
    .app-slot small {
        font-size: 10px;
    }
}

/* ---------- Mobile App Showcase (Real Screenshots) ---------- */
.app-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #fff9f4 0%, #fff0e3 100%);
    border-radius: 24px;
    overflow: hidden;
}
.app-intro {
    min-width: 0;
}
.app-intro > p:not(.eyebrow):not(.app-scroll-hint) {
    max-width: 460px;
    line-height: 1.75;
}
.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}
.app-features span {
    padding: 9px 12px;
    background-color: white;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    color: #24334a;
}
.app-scroll-hint {
    margin-top: 25px;
    color: #805b44;
    font-size: 12px;
}
.app-visuals {
    min-width: 0;
    padding: 20px;
    border-radius: 24px;
    background-color: #151a23;
    box-shadow: 0 20px 50px #15203324;
}
.app-visuals-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: white;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.6px;
}
.app-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff650d;
}
.app-visuals-count {
    margin-left: auto;
    color: #aab1c0;
}
.app-screens {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-color: #ff650d #343a45;
    scrollbar-width: thin;
}
.app-screen {
    flex: 0 0 44%;
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
    transition: transform 0.55s ease;
}
.app-screen:hover {
    transform: translateY(-5px);
}
.app-screen img {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    background-color: #090b0f;
}
.app-screen figcaption {
    padding-top: 12px;
    color: #f5f5f5;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
@media (max-width: 900px) {
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .app-screen {
        flex-basis: 35%;
    }
}
@media (max-width: 520px) {
    .app-showcase {
        padding: 24px 18px;
    }
    .app-visuals {
        padding: 14px;
    }
    .app-screen {
        flex-basis: 65%;
    }
    .app-screen img {
        height: 330px;
    }
}

/* ---------- Image sizing corrections: desktop and mobile ---------- */
/* Portrait images use a portrait-shaped frame, not a wide gray box. */
.hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.85fr);
}
.hero-photo {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 707 / 1050;
    min-height: 0;
    margin: 0 auto;
    background-color: transparent;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
}
.about {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.about-photo {
    width: min(100%, 430px);
    height: auto;
    aspect-ratio: 3 / 4;
    min-height: 0;
    margin: 0 auto;
    background-color: transparent;
}
.about-photo img {
    object-fit: cover;
    object-position: center center;
}
.contact-photo {
    width: min(100%, 410px);
    height: auto;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    background-color: transparent;
}
.contact-photo img {
    object-fit: cover;
    object-position: center center;
}
.course-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background-color: #f5f6f8;
}
.course-photo img {
    object-fit: cover;
    object-position: center 45%;
}
.course-card:nth-child(1) .course-photo img {
    object-position: center 65%;
}
.course-card:nth-child(3) .course-photo img,
.course-card:nth-child(4) .course-photo img {
    object-position: center 55%;
}
.logo img, .footer-logo {
    background: transparent;
    border-radius: 0;
    object-fit: contain;
}
.logo img {
    width: 165px;
    max-height: none;
}
@media (max-width: 800px) {
    .hero, .about {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-photo {
        width: min(100%, 390px);
        height: auto;
    }
    .about-photo, .contact-photo {
        width: min(100%, 410px);
        height: auto;
    }
}

/* ---------- Final spacing and image refinements ---------- */
/* Keep the existing design; improve balance and image presentation. */
.logo img {
    width: 170px;
    height: auto;
    object-fit: contain;
}
.footer-logo {
    width: 175px;
    height: auto;
    object-fit: contain;
}
.hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 34px;
}
.hero-photo {
    width: min(100%, 475px);
    aspect-ratio: 4 / 5;
    height: auto;
    margin: 0 auto;
}
.hero-photo img {
    object-fit: cover;
    object-position: center 45%;
}
.about-photo {
    width: min(100%, 465px);
    aspect-ratio: 4 / 5;
}
.about-photo img {
    object-fit: cover;
    object-position: center 55%;
}
.contact {
    padding-top: 46px;
    padding-bottom: 46px;
}
.contact > p {
    margin-bottom: 0;
}
.contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 38px;
    margin-top: 20px;
}
.contact-grid > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.contact-grid > div:first-child h3,
.contact-grid > div:first-child p {
    margin: 0;
}
.contact-photo {
    width: min(100%, 465px);
    aspect-ratio: 4 / 4.5;
    height: auto;
}
.contact-photo img {
    object-fit: cover;
    object-position: center 60%;
}
.app-screen {
    flex: 0 0 42%;
}
.app-screen img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
    border: 2px solid #313a48;
    background-color: #111723;
}
@media (max-width: 800px) {
    .hero, .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .contact-grid {
        margin-top: 18px;
    }
    .hero-photo, .about-photo, .contact-photo {
        width: min(100%, 450px);
    }
}
@media (max-width: 520px) {
    .app-screen {
        flex-basis: 68%;
    }
    .app-screen img {
        height: 310px;
    }
    .contact {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}


/* ---------- Requested refinements: October 29 ---------- */
/* Cropping stays in CSS so the original photographs remain untouched. */
.hero-photo {
    aspect-ratio: 5 / 4;
    width: min(100%, 535px);
    overflow: hidden;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 64%;
}
.about-photo {
    aspect-ratio: 5 / 4;
    width: min(100%, 495px);
    overflow: hidden;
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
}
/* Remove the oversized blank space above the contact details. */
.contact {
    padding-top: 38px;
    padding-bottom: 38px;
}
.contact-grid {
    margin-top: 16px;
    gap: 28px;
    align-items: center;
}
.contact-grid > div:first-child {
    min-height: 0;
    height: auto;
    justify-content: center;
    align-self: center;
    gap: 14px;
}
.contact-grid > div:first-child h3,
.contact-grid > div:first-child p,
.contact-grid > div:first-child .actions {
    margin-top: 0;
    margin-bottom: 0;
}
@media (max-width: 800px) {
    .hero-photo, .about-photo {
        width: min(100%, 535px);
    }
    .contact-grid {
        gap: 18px;
    }
}

/* ---------- Final contact alignment and hero framing ---------- */
/* Keep the entire contact message together beside the photo. */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 38px;
    align-items: center;
    margin-top: 0;
}
.contact-grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    min-height: 0;
}
.contact-grid > div:first-child > * {
    margin: 0;
}
.contact-grid > div:first-child .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.contact-photo {
    width: 100%;
    aspect-ratio: 4 / 4.1;
    max-height: 510px;
    overflow: hidden;
}
.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}
/* Show Ziad's complete face while still cropping unnecessary ceiling. */
.hero-photo {
    aspect-ratio: 5 / 4;
}
.hero-photo img {
    object-fit: cover;
    object-position: center 40%;
}
@media (max-width: 800px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .contact-photo {
        max-width: 520px;
        max-height: 440px;
    }
}

/* Updated real photography and interactive app gallery */
.course-photo{overflow:hidden;aspect-ratio:4/3}.course-photo img{width:100%;height:100%;object-fit:cover;object-position:center 46%;transition:transform .3s ease}.course-card:hover .course-photo img{transform:scale(1.035)}
.app-screens{scroll-behavior:smooth;scroll-snap-type:x mandatory;gap:18px}.app-screen{scroll-snap-align:start;flex:0 0 65%;max-width:300px}.app-screen img{width:100%;height:385px;object-fit:contain;object-position:center;border-radius:22px;background:#080808}.app-carousel-controls{display:flex;justify-content:center;align-items:center;gap:22px;margin-top:20px;color:#d4d4d4;font-size:11px;letter-spacing:1.2px}.app-carousel-controls button{width:43px;height:43px;border:1px solid #ff921b;background:#ff921b;border-radius:50%;font-size:21px;cursor:pointer;color:#171717}.app-carousel-controls button:hover{background:#fff}@media(max-width:600px){.app-screen{flex-basis:84%;max-width:275px}.app-screen img{height:345px}}

/* Course images: full bleed, edge-to-edge, no empty bands */
.course-card .course-photo {
  display:block;
  position:relative;
  width:100%;
  height:260px;
  aspect-ratio:auto;
  margin:0;
  padding:0;
  overflow:hidden;
  line-height:0;
  border:0;
}
.course-card .course-photo img {
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center center;
  margin:0;
  padding:0;
}
@media(max-width:600px){.course-card .course-photo{height:240px}}

/* Preserve the original real photographs; aligned full-bleed course cards */
.course-card .course-photo{height:265px;overflow:hidden;padding:0;margin:0;border:0}
.course-card .course-photo img{width:100%;height:100%;object-fit:cover;object-position:center 52%;display:block}
.course-card:nth-child(1) .course-photo img{object-position:center 49%}
.course-card:nth-child(2) .course-photo img{object-position:center 50%}
.course-card:nth-child(3) .course-photo img{object-position:center 48%}
.course-card:nth-child(4) .course-photo img{object-position:center 49%}
@media(max-width:600px){.course-card .course-photo{height:245px}}

/* Final consistent image sizing: identical photo ratio and zero gaps */
.course-card{display:flex;flex-direction:column;overflow:hidden}
.course-card .course-photo{width:100%;height:auto;aspect-ratio:4/3;flex:none;overflow:hidden;margin:0;padding:0;border:0;border-radius:0}
.course-card .course-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;margin:0;padding:0}
.course-card .card-content{flex:1;display:flex;flex-direction:column}
.course-card .card-content>a:last-child{margin-top:auto}
@media(max-width:600px){.course-card .course-photo{height:auto;aspect-ratio:4/3}}

/* Full original portrait photographs: NO cropping, stretching, or generated alterations. */
.course-card .course-photo, .course-card:nth-child(n) .course-photo {
  width:100%; height:auto; aspect-ratio:3/4; overflow:hidden; padding:0; margin:0; flex:none;
}
.course-card .course-photo img, .course-card:nth-child(n) .course-photo img {
  display:block; width:100%; height:100%; object-fit:contain; object-position:center;
  margin:0; padding:0; transform:none;
}
.course-card:hover .course-photo img {transform:none;}
@media(max-width:600px){.course-card .course-photo{height:auto;aspect-ratio:3/4}}

/* Small top-only crop, preserving full vehicle and Ziad in the originals. */
.course-card .course-photo,.course-card:nth-child(n) .course-photo {aspect-ratio:1200 / 1565;}
.course-card .course-photo img,.course-card:nth-child(n) .course-photo img {object-fit:contain;object-position:center center;}
@media(max-width:600px){.course-card .course-photo{aspect-ratio:1200 / 1565;}}

/* Premium enhancements */
:root{--accent:#f47b20;--ink:#19222d}html{scroll-behavior:smooth;scroll-padding-top:95px}body{font-family:'DM Sans',Arial,sans-serif}h1,h2,h3,h4{font-family:'Manrope',Arial,sans-serif;letter-spacing:-.035em}.navbar{box-shadow:0 6px 28px rgba(17,28,40,.06)}.language-switch{display:flex;align-items:center;gap:5px;white-space:nowrap;padding:5px;background:#f2f3f5;border-radius:100px;margin-left:10px}.language-switch button{border:0;background:transparent;border-radius:50px;padding:7px 11px;font-weight:800;cursor:pointer;color:#555}.language-switch button.selected{background:#202630;color:white}.hero h1{line-height:1.08}.step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.how-section{padding-top:75px;padding-bottom:75px;background:#f7f8f9}.step-card{background:white;border:1px solid #e7e9ed;border-radius:20px;padding:32px;box-shadow:0 12px 35px rgba(10,20,30,.035);transition:transform .2s,box-shadow .2s}.step-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(10,20,30,.09)}.step-number{font-size:2.2rem;color:#f47b20;font-weight:800;display:block;margin-bottom:26px}.step-card h3{font-size:1.3rem}.step-card p{color:#626975;line-height:1.7}.editorial-strip{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;background:#1d252f;color:white;border-radius:24px;padding:64px!important;margin-top:50px;margin-bottom:50px}.editorial-strip h2{color:white}.editorial-strip p:not(.eyebrow){color:#d4d7da;font-size:1.1rem;line-height:1.8}.editorial-strip .text-link{color:#ffa45c;font-weight:700}.faq-section{background:#fafafa}.faq-grid{max-width:960px;margin:24px auto 0;display:grid;gap:12px}.faq-grid details{border:1px solid #e6e6e6;border-radius:14px;background:white;padding:20px 24px}.faq-grid summary{cursor:pointer;font-weight:750;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px}.faq-grid summary:after{content:'+';font-size:1.5rem;color:#f47b20}.faq-grid details[open] summary:after{content:'−'}.faq-grid details p{line-height:1.7;color:#58606c;margin:14px 0 0}.contact-detail{margin:22px 0;padding-left:16px;border-left:3px solid #f47b20}.contact-detail span{font-size:.75rem;font-weight:800;letter-spacing:.1em;color:#f47b20}.contact-detail p{margin:5px 0 2px}.contact-detail a{font-size:.88rem;font-weight:700;color:inherit}.floating-whatsapp{position:fixed;right:20px;bottom:22px;z-index:50;background:#1baf63;color:white;padding:13px 20px;border-radius:99px;font-weight:800;box-shadow:0 12px 34px #0003;text-decoration:none}.footer-privacy{font-size:.78rem;opacity:.7}.arabic{font-family:'Tajawal',Arial,sans-serif}.arabic h1,.arabic h2,.arabic h3,.arabic h4{font-family:'Tajawal',Arial,sans-serif;letter-spacing:0}.arabic .language-switch{margin-left:0;margin-right:10px}.arabic .contact-detail{border-left:0;border-right:3px solid #f47b20;padding-left:0;padding-right:16px}.arabic .floating-whatsapp{right:auto;left:20px}.arabic .app-screens{direction:ltr}.arabic .app-carousel-controls{direction:ltr}.arabic .nav-links{direction:rtl}@media(max-width:1000px){.language-switch{margin-left:auto}.nav-extra{display:none}}@media(max-width:760px){.step-grid,.editorial-strip{grid-template-columns:1fr}.editorial-strip{padding:30px!important;border-radius:14px;margin-top:25px;margin-bottom:25px}.step-card{padding:24px}.language-switch{margin:0 8px}.language-switch button{padding:6px 8px}.floating-whatsapp{padding:12px 16px}.navbar{flex-wrap:wrap}.nav-button{font-size:.75rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.step-card{transition:none}}

/* Complete bilingual headings and robust RTL layout */
.language-ar{display:none!important}
html[lang="ar"] .language-en{display:none!important}
html[lang="ar"] .language-ar{display:block!important}
html[lang="ar"] body{direction:rtl;text-align:right;overflow-x:hidden}
html[lang="ar"] .hero-text,html[lang="ar"] .about>div,html[lang="ar"] #success{text-align:right;min-width:0}
html[lang="ar"] .hero h1,html[lang="ar"] .about h2,html[lang="ar"] #success h2{overflow-wrap:normal;word-break:normal;line-height:1.35;max-width:100%;font-size:clamp(2rem,4.5vw,4.6rem)}
html[lang="ar"] .hero,html[lang="ar"] .about,html[lang="ar"] .editorial-strip{min-width:0}
html[lang="ar"] .hero>*,html[lang="ar"] .about>*,html[lang="ar"] .editorial-strip>*{min-width:0}
html[lang="ar"] .actions{justify-content:flex-start;flex-wrap:wrap}
html[lang="ar"] .eyebrow{letter-spacing:0}
@media(max-width:760px){html[lang="ar"] .hero h1,html[lang="ar"] .about h2,html[lang="ar"] #success h2{font-size:clamp(2rem,8vw,3rem)}}

/* Targeted mobile navigation ordering: language | logo | hamburger, in both languages. */
@media (max-width: 800px) {
  .navbar { direction: ltr; }
  .navbar > .language-switch { order: 1; margin: 0; }
  .navbar > .logo { order: 2; margin-left: auto; }
  .navbar > .menu-icon { order: 3; margin-left: 0; }
  .navbar > .nav-links { order: 4; direction: inherit; }
  html[lang="ar"] .navbar > .nav-links { direction: rtl; }
  .navbar > .nav-button { order: 5; }
}
