/* Jusoor Academy - Public Styles */

:root {
    --jusoor-red: #C61010;
    --jusoor-red-dark: #9F0B0B;
    --jusoor-navy: #082B57;
    --jusoor-dark-navy: #061B35;
    --jusoor-blue: #2F6DA8;
    --jusoor-light-blue: #499BD3;
    --jusoor-bg: #F8FAFC;
    --jusoor-white: #FFFFFF;
    --jusoor-text: #102033;
    --jusoor-muted: #667085;
    --jusoor-border: #E6EAF0;
    --jusoor-soft-red: #FFF3F3;
    --jusoor-soft-blue: #EEF6FF;
    --container-max: 1240px;
    --header-height: 72px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow-premium: 0 12px 40px rgba(8, 43, 87, 0.08);
}

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

html { scroll-behavior: smooth; direction: rtl; }

body {
    font-family: "Cairo", "Tajawal", "Almarai", system-ui, sans-serif;
    background: var(--jusoor-bg);
    color: var(--jusoor-text);
    line-height: 1.8;
    overflow-x: hidden;
}

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

a { color: inherit; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 48px; }

.section-title {
    font-size: 2.125rem;
    font-weight: 800;
    color: var(--jusoor-dark-navy);
    margin-bottom: 12px;
}

.section-subtitle { color: var(--jusoor-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.section-divider {
    width: 64px;
    height: 4px;
    background: var(--jusoor-red);
    border-radius: 999px;
    margin: 12px auto 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--jusoor-red);
    color: var(--jusoor-white);
    box-shadow: 0 8px 24px rgba(198, 16, 16, 0.25);
}

.btn-primary:hover {
    background: var(--jusoor-red-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--jusoor-white);
    color: var(--jusoor-white);
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--jusoor-navy);
    color: var(--jusoor-navy);
}

.btn-navy {
    background: var(--jusoor-dark-navy);
    color: var(--jusoor-white);
}

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header - dark navy rounded */
.site-header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled { top: 8px; }

.header-container {
    background: var(--jusoor-dark-navy);
    border-radius: 999px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    box-shadow: 0 12px 40px rgba(6, 27, 53, 0.35);
    gap: 16px;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img { height: 54px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-list a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-list a:hover,
.nav-list a.active { color: var(--jusoor-white); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.burger-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 27, 53, 0.97);
    z-index: 999;
    padding: 100px 32px 32px;
}

.mobile-nav.active { display: block; }

.mobile-nav ul { list-style: none; }
.mobile-nav li { margin-bottom: 20px; }
.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
}

.mobile-nav-close {
    position: absolute;
    top: 24px;
    left: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Social bar */
.social-bar {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 900;
}

.social-bar a {
    width: 42px;
    height: 42px;
    background: var(--jusoor-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jusoor-navy);
    text-decoration: none;
    box-shadow: var(--shadow-premium);
    transition: all 0.25s;
}

.social-bar a:hover {
    background: var(--jusoor-red);
    color: white;
}

.social-bar svg { width: 18px; height: 18px; fill: currentColor; }

.social-bar-mobile {
    display: none;
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 900;
    flex-direction: row;
    gap: 8px;
    background: var(--jusoor-white);
    padding: 8px 12px;
    border-radius: 999px;
    box-shadow: var(--shadow-premium);
}

.social-bar-mobile a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jusoor-navy);
    text-decoration: none;
}

.social-bar-mobile svg { width: 16px; height: 16px; fill: currentColor; }

/* Hero */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    margin-top: calc(var(--header-height) + 32px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-inline: 16px;
    box-shadow: var(--shadow-premium);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media video,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 27, 53, 0.88), rgba(8, 43, 87, 0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    width: 100%;
}

.hero-inner { max-width: 680px; color: white; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--jusoor-red);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-slogan {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--jusoor-red);
    margin-bottom: 16px;
}

.hero-subheading {
    font-size: 1.1rem;
    opacity: 0.92;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stats */
.stats-band {
    margin-top: -64px;
    position: relative;
    z-index: 10;
    padding: 0;
}

.stats-container {
    background: linear-gradient(135deg, var(--jusoor-dark-navy), var(--jusoor-blue));
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    box-shadow: 0 20px 50px rgba(6, 27, 53, 0.3);
}

.stat-item { text-align: center; color: white; }

.stat-item + .stat-item { border-right: 1px solid rgba(255, 255, 255, 0.12); }

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-number--text { font-size: 1.85rem; }

.stat-label { font-size: 0.875rem; opacity: 0.8; margin-top: 4px; }

/* Why section */
.why-section { background: var(--jusoor-white); }

.why-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
    color: var(--jusoor-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.why-points-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 auto 48px;
    max-width: 1024px;
    padding: 0;
}

.why-points-list__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(8, 43, 87, 0.04), rgba(198, 16, 16, 0.03));
    border: 1px solid rgba(8, 43, 87, 0.08);
    border-radius: 14px;
    min-height: 76px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-points-list__item:hover {
    transform: translateY(-2px);
    border-color: rgba(198, 16, 16, 0.2);
    box-shadow: 0 10px 28px rgba(8, 43, 87, 0.08);
}

.why-points-list__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--jusoor-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.why-points-list__text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--jusoor-dark-navy);
    line-height: 1.55;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: var(--jusoor-soft-blue);
    border-radius: 12px;
    font-size: 0.95rem;
}

.why-point-icon { color: var(--jusoor-red); flex-shrink: 0; font-size: 1.25rem; }

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

.why-card {
    background: var(--jusoor-white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--jusoor-border);
    box-shadow: var(--shadow-premium);
    transition: transform 0.25s;
}

.why-card:hover { transform: translateY(-6px); }

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--jusoor-soft-red);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.why-card h3 { font-size: 1.1rem; color: var(--jusoor-dark-navy); margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; color: var(--jusoor-muted); }

/* Programs */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.program-card {
    background: var(--jusoor-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--jusoor-border);
    box-shadow: var(--shadow-premium);
    transition: transform 0.25s, box-shadow 0.25s;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(8, 43, 87, 0.1);
}

.program-img { position: relative; height: 200px; overflow: hidden; background: #eef2f7; }
.program-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

.program-img--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(8, 43, 87, 0.08), rgba(198, 16, 16, 0.08));
}

.program-icon-display {
    font-size: 4rem;
    color: var(--jusoor-navy);
    line-height: 1;
}

.program-icon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: var(--jusoor-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
}

.program-content { padding: 28px 24px; }

.program-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--jusoor-dark-navy);
    margin-bottom: 10px;
}

.program-content p { font-size: 0.9rem; color: var(--jusoor-muted); margin-bottom: 16px; }

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--jusoor-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

/* Gallery */
.gallery-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-photo {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-premium);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(8, 43, 87, 0.18);
}

.gallery-photo:hover img { transform: scale(1.03); }

/* Testimonials grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.testimonial-grid-item {
    min-width: 0;
}

.testimonial-grid-item[hidden] {
    display: none;
}

.testimonial-photo {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-premium);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.testimonial-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(8, 43, 87, 0.18);
}

.testimonial-photo:hover img { transform: scale(1.03); }

.testimonial-video-card {
    position: relative;
    display: block;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-premium);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.testimonial-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 43, 87, 0.35);
    color: white;
    transition: background 0.25s ease;
}

.testimonial-video-card__play svg {
    width: 64px;
    height: 64px;
    fill: currentColor;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.testimonial-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(8, 43, 87, 0.18);
}

.testimonial-video-card:hover img { transform: scale(1.03); }
.testimonial-video-card:hover .testimonial-video-card__play { background: rgba(196, 30, 58, 0.55); }

/* Testimonials */
.testimonials-section { background: var(--jusoor-white); }

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid var(--jusoor-border);
    background: var(--jusoor-white);
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--jusoor-red);
    color: white;
    border-color: var(--jusoor-red);
}

.carousel { position: relative; overflow: hidden; }

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 8px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--jusoor-border);
    background: white;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.carousel-btn:hover { background: var(--jusoor-red); color: white; border-color: var(--jusoor-red); }

.carousel-dots { display: flex; gap: 8px; }

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--jusoor-border);
    border: none;
    cursor: pointer;
    padding: 0;
}

.carousel-dot.active { background: var(--jusoor-red); }

.testimonial-card {
    background: var(--jusoor-soft-blue);
    border: 1px solid var(--jusoor-border);
    border-radius: var(--radius-md);
    padding: 32px;
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-image-review img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: calc(var(--radius-md) - 4px);
    background: #fff;
}

.testimonial-image-review .testimonial-program {
    margin-top: 12px;
    text-align: center;
    color: var(--jusoor-muted);
}

.contracts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.contracts-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--jusoor-border);
    background: #fff;
}

.contracts-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Corporate page */
.corporate-intro {
    padding: 72px 0;
    background: #fff;
}

.corporate-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.corporate-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: var(--jusoor-soft-red);
    color: var(--jusoor-red);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.corporate-content .section-title {
    text-align: right;
    margin-bottom: 20px;
}

.corporate-content p {
    color: var(--jusoor-muted);
    font-size: 1rem;
    margin-bottom: 16px;
    max-width: 58ch;
}

.corporate-tagline {
    margin-top: 24px;
    margin-bottom: 0;
    padding: 14px 18px;
    background: var(--jusoor-soft-red);
    border-right: 4px solid var(--jusoor-red);
    border-radius: 0 12px 12px 0;
    display: inline-block;
}

.corporate-tagline strong {
    color: var(--jusoor-red);
    font-weight: 800;
}

.corporate-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.corporate-image__frame {
    position: relative;
    width: min(100%, 420px);
    min-height: 280px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.corporate-image__frame::before {
    content: '';
    position: absolute;
    inset: -14px -14px 14px 14px;
    background: var(--jusoor-soft-blue);
    border-radius: var(--radius-md);
    z-index: -1;
}

.corporate-image__frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(206px, 100%);
    max-height: min(206px, 100%);
    object-fit: contain;
    border-radius: 8px;
}

.corporate-services {
    padding: 72px 0;
    background: var(--jusoor-bg);
}

.corporate-sectors {
    padding: 72px 0;
    background: #fff;
}

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

.sector-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--jusoor-soft-blue);
    border: 1px solid var(--jusoor-border);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.sector-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jusoor-red);
    box-shadow: 0 4px 12px rgba(198, 16, 16, 0.1);
}

.sector-card__icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.sector-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jusoor-dark-navy);
    line-height: 1.55;
    margin: 0;
    padding-top: 4px;
}

/* Jobs page */
.jobs-intro {
    padding: 72px 0;
    background: #fff;
}

.jobs-intro__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.jobs-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: var(--jusoor-soft-red);
    color: var(--jusoor-red);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.jobs-intro .section-title {
    margin-bottom: 20px;
}

.jobs-intro p {
    color: var(--jusoor-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 0;
}

.jobs-tagline {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 20px;
    background: var(--jusoor-soft-red);
    border-radius: 12px;
}

.jobs-tagline strong {
    color: var(--jusoor-red);
    font-weight: 800;
}

.jobs-paths {
    padding: 72px 0;
    background: var(--jusoor-bg);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.job-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--jusoor-border);
    box-shadow: var(--shadow-premium);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(8, 43, 87, 0.1);
}

.job-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: var(--jusoor-soft-red);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jusoor-red);
}

.job-card__icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.job-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jusoor-dark-navy);
    margin-bottom: 10px;
    line-height: 1.45;
}

.job-card p {
    font-size: 0.92rem;
    color: var(--jusoor-muted);
    line-height: 1.7;
    margin: 0;
}

.jobs-success {
    padding: 72px 0;
    background: #fff;
}

.jobs-success .success-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.jobs-success .success-photo img {
    min-height: 260px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.corporate-gallery {
    padding: 60px 0;
    background: var(--jusoor-soft-blue);
}

.corporate-gallery--amadeus {
    background: #fff;
}

.testimonial-stars { color: #f5a623; margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--jusoor-text);
}

.testimonial-user { display: flex; align-items: center; gap: 16px; }

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name { font-weight: 700; color: var(--jusoor-dark-navy); }
.testimonial-program { font-size: 0.875rem; color: var(--jusoor-muted); }

.testimonial-video-thumb {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.testimonial-video-thumb img { width: 100%; height: 100%; object-fit: cover; }

.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
}

.play-btn span {
    width: 64px;
    height: 64px;
    background: var(--jusoor-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Success stories - dark section */
.success-section {
    background: var(--jusoor-dark-navy);
    color: white;
}

.success-section .section-title { color: white; }
.success-section .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.success-card {
    background: var(--jusoor-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    color: var(--jusoor-text);
    box-shadow: var(--shadow-premium);
}

.success-photo {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--shadow-premium);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.success-photo img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.success-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(8, 43, 87, 0.18);
}

.success-photo:hover img { transform: scale(1.03); }

.success-card--photo {
    padding: 0;
    cursor: zoom-in;
    border: none;
}

.success-card--photo img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.success-card--photo:hover img { transform: scale(1.04); }

.success-card-img { position: relative; height: 240px; overflow: hidden; }
.success-card-img img { width: 100%; height: 100%; object-fit: cover; }

.success-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--jusoor-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.success-card-body { padding: 20px; }
.success-card-body h4 { font-size: 1.1rem; color: var(--jusoor-dark-navy); margin-bottom: 4px; }
.success-card-body .position { color: var(--jusoor-red); font-weight: 600; font-size: 0.9rem; }
.success-card-body .company { color: var(--jusoor-muted); font-size: 0.85rem; margin-top: 4px; }

.success-stories-page { padding: 48px 0 72px; }

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.section-cta { text-align: center; margin-top: 32px; }

/* Partners */
.partners-section {
    background: var(--jusoor-white);
    padding: 72px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.partner-card {
    background: #f8fafc;
    border: 1px solid var(--jusoor-border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.partner-card:hover {
    border-color: rgba(198, 16, 16, 0.25);
    box-shadow: 0 12px 32px rgba(8, 43, 87, 0.12);
    transform: translateY(-2px);
}

.partner-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.partner-card img {
    max-height: 72px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    display: block;
}

/* CTA section */
.cta-section {
    padding: 0;
    margin-bottom: 0;
}

.cta-strip {
    background: linear-gradient(135deg, var(--jusoor-dark-navy), var(--jusoor-blue));
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-premium);
}

.cta-strip h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-strip p { opacity: 0.85; margin-bottom: 28px; max-width: 560px; margin-inline: auto; }

/* Footer */
.site-footer {
    background: var(--jusoor-dark-navy);
    color: white;
    padding: 72px 0 0;
    margin-top: 90px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 56px;
    width: auto;
    display: block;
}

.footer-about p,
.footer-description { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; line-height: 1.8; }

.footer-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--jusoor-red);
    border-color: var(--jusoor-red);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    padding-right: 12px;
    border-right: 3px solid var(--jusoor-red);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.contact-links li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.contact-links__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--jusoor-red);
}

.contact-links__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.contact-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-links a:hover { color: white; }

.contact-links__phone {
    direction: ltr;
    unicode-bidi: embed;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 32px;
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.footer-bottom p { margin: 0; }

.footer-credit a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover { color: var(--jusoor-red); }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 27, 53, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active { display: flex; }

body.modal-open { overflow: hidden; }

.modal-content {
    background: white;
    width: 100%;
    max-width: 640px;
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--jusoor-soft-red);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--jusoor-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header { text-align: center; margin-bottom: 24px; }
.modal-header h2 { font-size: 1.5rem; color: var(--jusoor-dark-navy); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--jusoor-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--jusoor-bg);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--jusoor-blue);
    box-shadow: 0 0 0 3px rgba(47, 109, 168, 0.15);
}

textarea { min-height: 100px; resize: vertical; }

.form-reassurance {
    text-align: center;
    font-size: 0.85rem;
    color: var(--jusoor-muted);
    margin-top: 12px;
}

.form-error { color: var(--jusoor-red); font-size: 0.8rem; margin-top: 4px; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Page hero (inner pages) */
.apply-page { padding: 60px 0 90px; }
.apply-form-card {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--jusoor-border);
    box-shadow: var(--shadow-premium);
}
.page-hero {
    background: linear-gradient(135deg, var(--jusoor-dark-navy), var(--jusoor-blue));
    color: white;
    padding: 120px 0 64px;
    margin-top: calc(var(--header-height) + 16px);
    text-align: center;
}
.page-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 12px; }
.page-subtitle { opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* Contact page */
.contact-section {
    padding: 72px 0;
    background: var(--jusoor-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.contact-info,
.contact-form-wrap {
    background: var(--jusoor-white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--jusoor-border);
    box-shadow: var(--shadow-premium);
}

.contact-info .section-title,
.contact-form-wrap .section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--jusoor-border);
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--jusoor-soft-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jusoor-red);
}

.contact-info-item__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-info-item__body strong {
    display: block;
    color: var(--jusoor-dark-navy);
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.contact-info-item__body a,
.contact-info-item__body span {
    color: var(--jusoor-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    text-decoration: none;
}

.contact-info-item__body a:hover {
    color: var(--jusoor-red);
}

.contact-info-item__phone {
    direction: ltr;
    unicode-bidi: embed;
    font-weight: 600;
    display: inline-block;
}

.contact-hours {
    margin-top: 28px;
    padding: 20px;
    background: var(--jusoor-soft-blue);
    border-radius: 12px;
}

.contact-hours h3 {
    font-size: 1rem;
    color: var(--jusoor-dark-navy);
    margin-bottom: 8px;
}

.contact-hours p {
    color: var(--jusoor-muted);
    margin: 0;
    line-height: 1.7;
}

.map-section {
    padding: 0 0 72px;
    background: var(--jusoor-bg);
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 24px;
}

.contact-info-card {
    background: var(--jusoor-white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--jusoor-border);
    box-shadow: var(--shadow-premium);
}

.map-placeholder {
    background: var(--jusoor-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--jusoor-border);
    box-shadow: var(--shadow-premium);
}

.map-placeholder iframe {
    display: block;
    width: 100%;
    min-height: 400px;
}

/* Thank you */
.thank-you-box {
    text-align: center;
    max-width: 520px;
    margin: 120px auto 80px;
    padding: 48px 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

.thank-you-icon {
    width: 72px;
    height: 72px;
    background: var(--jusoor-soft-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--jusoor-red);
}

.thank-you-box h1 { font-size: 1.75rem; color: var(--jusoor-dark-navy); margin-bottom: 12px; }
.thank-you-box p { color: var(--jusoor-muted); margin-bottom: 28px; }

/* Flash messages */
.flash-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2500;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-premium);
    animation: slideDown 0.3s ease;
}

.flash-success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.flash-error { background: var(--jusoor-soft-red); color: var(--jusoor-red-dark); border: 1px solid #fecaca; }

@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Content pages */
.content-block {
    background: white;
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--jusoor-border);
    box-shadow: var(--shadow-premium);
    margin-bottom: 24px;
}

.content-block h2 { color: var(--jusoor-dark-navy); margin-bottom: 16px; font-size: 1.35rem; }
.content-block p, .content-block li { color: var(--jusoor-muted); margin-bottom: 12px; }
.content-block ul { padding-right: 20px; }

.program-show-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.program-show-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.program-show-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.program-description { line-height: 1.9; color: var(--jusoor-muted); }

.program-detail {
    padding: 48px 0 72px;
}

.program-detail-content {
    max-width: 760px;
}

.program-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(8, 43, 87, 0.1), rgba(198, 16, 16, 0.12));
    color: var(--jusoor-navy);
    font-size: 2.4rem;
    margin-bottom: 24px;
}

.program-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.benefits-list { list-style: none; margin: 24px 0; }
.benefits-list li {
    padding: 10px 0;
    padding-right: 28px;
    position: relative;
    border-bottom: 1px solid var(--jusoor-border);
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--jusoor-red);
    font-weight: 700;
}

/* Pagination */
.pagination-wrap {
    margin-top: 40px;
}

.pagination-nav {
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--jusoor-border);
    text-decoration: none;
    color: var(--jusoor-text);
    font-size: 0.9rem;
    background: #fff;
    line-height: 1.4;
}

.pagination a:hover {
    border-color: var(--jusoor-red);
    color: var(--jusoor-red);
}

.pagination .active {
    background: var(--jusoor-red);
    color: white;
    border-color: var(--jusoor-red);
    font-weight: 700;
}

.pagination .disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--jusoor-bg);
}

.pagination .dots {
    border: none;
    background: transparent;
    color: var(--jusoor-muted);
    min-width: auto;
    padding-inline: 6px;
}

.pagination-summary {
    margin: 0;
    color: var(--jusoor-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-nav, .header-actions .btn-primary { display: none; }
    .mobile-menu-toggle { display: block; }
    .why-points { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-photo-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .success-grid { grid-template-columns: repeat(2, 1fr); }
    .why-points-list { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid, .program-show-grid { grid-template-columns: 1fr; }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .stat-item + .stat-item { border-right: none; }
    .stat-number--text { font-size: 1.35rem; }
    .corporate-grid { grid-template-columns: 1fr; gap: 40px; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .jobs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 52px 0; }
    .social-bar { display: none; }
    .social-bar-mobile { display: flex; }
    .hero-section { min-height: 70vh; margin-inline: 8px; border-radius: 20px; }
    .why-points, .why-grid, .programs-grid, .success-grid, .partners-grid { grid-template-columns: 1fr; }
    .why-points-list { grid-template-columns: 1fr; }
    .gallery-photo-grid,
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .header-container { padding: 0 16px; border-radius: 20px; }
    .cta-strip { padding: 40px 24px; }
    .stats-container { padding: 28px 20px; }
    .corporate-image { order: -1; }
    .corporate-content .section-title { text-align: center; }
    .corporate-content p { max-width: none; }
    .corporate-tagline { display: block; text-align: center; border-right: none; border-top: 4px solid var(--jusoor-red); border-radius: 12px 12px 0 0; }
    .sectors-grid { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: 1fr; }
}

/* View-specific classes from Blade templates */
.hero-video-container { position: absolute; inset: 0; z-index: 0; }
.hero-video, .hero-video-fallback { width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; z-index: 0; }
.hero-video-fallback { position: absolute; inset: 0; z-index: 0; }
.hero-section.has-hero-video .hero-video-fallback { z-index: -1; }
.hero-text { max-width: 680px; color: white; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-pills span {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
}
.btn-white { background: white; color: var(--jusoor-dark-navy); }
.text-red { color: var(--jusoor-red); }
.mobile-menu-toggle { display: none; background: none; border: none; color: white; cursor: pointer; font-size: 1.75rem; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav-list { list-style: none; }
.mobile-nav-list li { margin-bottom: 16px; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }

.success-card-image { position: relative; height: 220px; overflow: hidden; }
.success-card-image img { width: 100%; height: 100%; object-fit: cover; }
.success-position { color: var(--jusoor-red); font-weight: 600; font-size: 0.9rem; }
.success-company, .success-program { color: var(--jusoor-muted); font-size: 0.85rem; }

.testimonial-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.testimonial-tab {
    padding: 10px 18px;
    border: 1px solid var(--jusoor-border);
    background: white;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}
.testimonial-tab.active { background: var(--jusoor-red); color: white; border-color: var(--jusoor-red); }

.success-carousel {
    width: 100%;
}

.success-carousel__body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 0;
    position: relative;
    column-gap: 12px;
}

.success-carousel .carousel-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    width: 100%;
}

.success-carousel .success-track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    transition: transform 0.4s ease;
}

.success-carousel__slide {
    flex: 0 0 auto;
    width: var(--success-slide-width, 300px);
    padding: 0 4px;
    box-sizing: border-box;
}

.success-carousel .success-photo {
    width: 100%;
    display: block;
}

.success-carousel .success-photo img {
    width: 100%;
    min-height: 280px;
    max-height: 380px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.success-carousel .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 24px;
}

.success-section .carousel-btn {
    flex-shrink: 0;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.success-section .carousel-btn:hover {
    background: var(--jusoor-red);
    border-color: var(--jusoor-red);
    color: white;
}

.success-section .carousel-dot {
    background: rgba(255, 255, 255, 0.35);
}

.success-section .carousel-dot.active {
    background: var(--jusoor-red);
}

@media (max-width: 1024px) {
    .success-carousel__slide {
        width: var(--success-slide-width, 280px);
    }
}

@media (max-width: 768px) {
    .success-carousel__body {
        padding-inline: 0;
    }

    .success-carousel__slide {
        width: var(--success-slide-width, 100%);
    }

    .success-carousel .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-image img { border-radius: var(--radius-md); box-shadow: var(--shadow-premium); }
.promo-section { padding: 64px 0; }
.promo-corporate { background: var(--jusoor-soft-blue); }
.promo-jobs { background: var(--jusoor-soft-red); }
.promo-content h2 { font-size: 1.75rem; margin-bottom: 12px; color: var(--jusoor-dark-navy); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.trust-item span { font-size: 2.5rem; color: var(--jusoor-red); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: linear-gradient(135deg, var(--jusoor-dark-navy), var(--jusoor-blue)); border-radius: var(--radius-lg); padding: 48px; color: white; }
.cta-form-wrap { background: rgba(255,255,255,0.08); padding: 24px; border-radius: var(--radius-md); }
.cta-form label { color: rgba(255,255,255,0.9); }
.cta-form input, .cta-form select { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: white; }
.cta-visual img { border-radius: var(--radius-md); }
.empty-state { text-align: center; color: var(--jusoor-muted); grid-column: 1 / -1; padding: 32px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 16px; }
.required { color: var(--jusoor-red); }

.carousel-viewport { overflow: hidden; flex: 1; }
.carousel-track { display: flex; gap: 16px; transition: transform 0.35s ease; will-change: transform; }
.carousel-slide { min-width: min(100%, 340px); flex-shrink: 0; }

.partners-track .carousel-slide { min-width: 180px; }
.partners-carousel .carousel-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
}

.success-section .section-cta .btn-outline-light:hover {
    background: white;
    color: var(--jusoor-dark-navy);
}

