/* ===== Design System =====
Primary: Royal Blue (#1a65a3) — economics, academic excellence, trust
Secondary: Mauritanian Green (#1e8a35) — national identity, growth
Accent: Warm Gold (#d4a843) — women empowerment, achievement
Dark: #0a1628 — depth, professionalism
Light: #f4f7fa — clean, academic
===== */

/* ===== Reset & Base ===== */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 80px;
}

body {
font-family: 'Inter', -apple-system, sans-serif;
color: #1e293b;
line-height: 1.7;
background: #fff;
-webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(10, 22, 40, 0.92);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(212, 168, 67, 0.15);
padding: 0 0;
transition: background 0.3s;
}

.nav-container {
display: flex;
align-items: center;
justify-content: space-between;
height: 72px;
}

.logo {
font-size: 1.3rem;
font-weight: 800;
color: #fff;
display: flex;
align-items: center;
gap: 10px;
letter-spacing: -0.02em;
}

.logo span { color: #d4a843; }

.logo-img {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #d4a843;
}

.nav-links {
display: flex;
align-items: center;
gap: 28px;
}

.nav-links a {
color: rgba(255, 255, 255, 0.8);
font-size: 0.88rem;
font-weight: 500;
transition: color 0.2s;
}

.nav-links a:hover { color: #d4a843; }

.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 4px;
}

.nav-toggle span {
width: 24px;
height: 2px;
background: #fff;
border-radius: 2px;
transition: 0.3s;
}

/* ===== Language Switcher ===== */
.lang-switcher {
display: flex;
gap: 4px;
background: rgba(255, 255, 255, 0.08);
border-radius: 8px;
padding: 3px;
}

.lang-btn {
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.6);
font-size: 0.75rem;
font-weight: 600;
padding: 5px 10px;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s;
font-family: 'Inter', sans-serif;
}

.lang-btn:hover { color: #fff; }

.lang-btn.active {
background: #d4a843;
color: #0a1628;
}

/* ===== Buttons ===== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 14px 32px;
border-radius: 10px;
font-weight: 600;
font-size: 0.95rem;
transition: all 0.3s;
cursor: pointer;
border: none;
letter-spacing: -0.01em;
}

.btn-primary {
background: linear-gradient(135deg, #1a65a3, #145089);
color: #fff;
box-shadow: 0 4px 16px rgba(26, 101, 163, 0.3);
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(26, 101, 163, 0.4);
}

.btn-outline {
background: transparent;
color: #d4a843;
border: 2px solid #d4a843;
}

.btn-outline:hover {
background: #d4a843;
color: #0a1628;
}

.btn-nav {
background: linear-gradient(135deg, #d4a843, #c49633);
color: #0a1628;
padding: 10px 22px;
border-radius: 8px;
font-weight: 700;
font-size: 0.85rem;
}

.btn-nav:hover {
opacity: 0.9;
color: #0a1628 !important;
}

.btn-sm {
padding: 10px 20px;
font-size: 0.85rem;
border-radius: 8px;
}

/* ===== Hero ===== */
.hero {
padding: 140px 0 80px;
background: linear-gradient(160deg, #0a1628 0%, #0d2d5a 50%, #1a65a3 100%);
position: relative;
overflow: hidden;
}

.hero::before {
content: "";
position: absolute;
top: -40%;
right: -20%;
width: 700px;
height: 700px;
background: radial-gradient(circle, rgba(212, 168, 67, 0.12) 0%, transparent
70%);
border-radius: 50%;
}

.hero::after {
content: "";
position: absolute;
bottom: -30%;
left: -15%;
width: 500px;
height: 500px;
background: radial-gradient(circle, rgba(13, 115, 119, 0.2) 0%, transparent
70%);
border-radius: 50%;
}

.hero-content {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 60px;
align-items: center;
position: relative;
z-index: 1;
}

.hero-tag {
display: inline-block;
background: rgba(212, 168, 67, 0.15);
color: #d4a843;
font-size: 0.85rem;
font-weight: 600;
padding: 8px 20px;
border-radius: 24px;
border: 1px solid rgba(212, 168, 67, 0.3);
margin-bottom: 20px;
}

.hero h1 {
font-size: 3.2rem;
font-weight: 800;
color: #fff;
line-height: 1.15;
margin-bottom: 20px;
letter-spacing: -0.03em;
}

.highlight { color: #d4a843; }

.hero-description {
font-size: 1.05rem;
color: rgba(255, 255, 255, 0.75);
line-height: 1.8;
margin-bottom: 32px;
max-width: 520px;
}

.hero-buttons {
display: flex;
gap: 16px;
margin-bottom: 48px;
flex-wrap: wrap;
}

.hero-stats {
display: flex;
gap: 40px;
}

.stat {
display: flex;
flex-direction: column;
}

.stat-number {
font-size: 2rem;
font-weight: 800;
color: #d4a843;
letter-spacing: -0.02em;
}

.stat-label {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.55);
font-weight: 500;
}

.hero-image {
display: flex;
align-items: center;
justify-content: center;
}

.hero-logo {
width: 300px;
height: 300px;
border-radius: 50%;
object-fit: cover;
border: 5px solid rgba(212, 168, 67, 0.4);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 80px rgba(212, 168, 67, 0.1
);
}

/* ===== Section Headers ===== */
.section-header {
text-align: center;
margin-bottom: 56px;
}

.section-tag {
display: inline-block;
background: linear-gradient(135deg, rgba(26, 101, 163, 0.1), rgba(212, 168,
67, 0.1));
color: #1a65a3;
font-size: 0.82rem;
font-weight: 700;
padding: 6px 18px;
border-radius: 20px;
margin-bottom: 14px;
text-transform: uppercase;
letter-spacing: 0.08em;
}

.section-header h2 {
font-size: 2.4rem;
font-weight: 800;
color: #0a1628;
margin-bottom: 12px;
letter-spacing: -0.02em;
}

.section-subtitle {
font-size: 1.05rem;
color: #64748b;
max-width: 560px;
margin: 0 auto;
}

/* ===== About ===== */
.about {
padding: 100px 0;
background: #fff;
}

.about-content {
display: grid;
grid-template-columns: 1fr 1.6fr;
gap: 60px;
align-items: center;
}

.about-visual {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}

.about-logo {
width: 220px;
height: 220px;
border-radius: 50%;
object-fit: cover;
border: 5px solid #1a65a3;
box-shadow: 0 12px 40px rgba(26, 101, 163, 0.2);
}

.about-badge {
background: linear-gradient(135deg, #1a65a3, #145089);
color: #fff;
font-size: 0.85rem;
font-weight: 600;
padding: 8px 20px;
border-radius: 24px;
text-align: center;
box-shadow: 0 4px 12px rgba(26, 101, 163, 0.3);
}

.about-text h3 {
font-size: 1.6rem;
font-weight: 700;
margin-bottom: 16px;
color: #0a1628;
}

.about-text p {
color: #475569;
margin-bottom: 16px;
font-size: 1rem;
line-height: 1.7;
}

.about-features {
display: flex;
flex-direction: column;
gap: 14px;
margin-top: 28px;
}

.about-feature {
display: flex;
gap: 14px;
align-items: flex-start;
padding: 14px 18px;
background: linear-gradient(135deg, #f0f4fa, #fdf8ed);
border-radius: 12px;
border-left: 3px solid #1e8a35;
transition: transform 0.2s;
}

.about-feature:hover {
transform: translateX(4px);
}

.about-feature-icon {
font-size: 1.4rem;
flex-shrink: 0;
margin-top: 2px;
}

.about-feature strong {
display: block;
font-size: 0.9rem;
color: #0a1628;
margin-bottom: 2px;
}

.about-feature p {
font-size: 0.82rem;
color: #64748b;
margin: 0;
line-height: 1.4;
}

/* ===== Team Section ===== */
.team-section {
margin-top: 64px;
}

.team-heading {
font-size: 1.8rem;
font-weight: 700;
color: #0a1628;
text-align: center;
margin-bottom: 12px;
}

.team-heading::after {
content: "";
display: block;
width: 60px;
height: 3px;
background: linear-gradient(90deg, #d4a843, #1a65a3);
margin: 12px auto 36px;
border-radius: 2px;
}

.team-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.team-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
background: #fff;
border-radius: 16px;
padding: 28px 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
border: 1px solid #e8ecf0;
transition: transform 0.3s, box-shadow 0.3s;
position: relative;
overflow: hidden;
}

.team-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #d4a843, #1e8a35);
}

.team-card:hover {
transform: translateY(-6px);
box-shadow: 0 16px 40px rgba(26, 101, 163, 0.12);
}

.team-photo {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #d4a843;
box-shadow: 0 4px 16px rgba(212, 168, 67, 0.2);
margin-bottom: 16px;
}

.team-photo-placeholder {
width: 120px;
height: 120px;
border-radius: 50%;
background: linear-gradient(135deg, #f0fafa, #fdf8ed);
display: flex;
align-items: center;
justify-content: center;
font-size: 2.5rem;
border: 3px solid #cbd5e1;
margin-bottom: 16px;
}

.team-name {
font-size: 1.1rem;
font-weight: 700;
color: #0a1628;
margin-bottom: 6px;
}

.team-role {
display: inline-block;
background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168,
67, 0.08));
color: #9a7a2e;
font-size: 0.8rem;
font-weight: 600;
padding: 3px 12px;
border-radius: 20px;
margin-bottom: 10px;
border: 1px solid rgba(212, 168, 67, 0.25);
}

.team-diploma {
font-size: 0.82rem;
font-weight: 600;
color: #1a65a3;
margin-bottom: 4px;
word-wrap: break-word;
white-space: normal;
}

.team-position {
font-size: 0.78rem;
color: #64748b;
margin-bottom: 10px;
}

.team-highlights {
list-style: none;
padding: 0;
margin: 0;
text-align: left;
}

.team-highlights li {
font-size: 0.78rem;
color: #475569;
padding: 3px 0 3px 16px;
position: relative;
}

.team-highlights li::before {
content: "▸";
position: absolute;
left: 0;
color: #d4a843;
font-weight: 700;
}

/* ===== Problem Section ===== */
.problem {
padding: 100px 0;
background: linear-gradient(180deg, #f4f7fa 0%, #fff 100%);
}

.problem-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}

.problem-card {
background: #fff;
border-radius: 16px;
padding: 32px;
border: 1px solid #e8ecf0;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
transition: transform 0.3s, box-shadow 0.3s;
position: relative;
overflow: hidden;
}

.problem-card::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #e74c3c, #d4a843);
opacity: 0;
transition: opacity 0.3s;
}

.problem-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.problem-card:hover::after {
opacity: 1;
}

.problem-icon {
font-size: 2rem;
margin-bottom: 16px;
}

.problem-card h3 {
font-size: 1.15rem;
font-weight: 700;
color: #0a1628;
margin-bottom: 10px;
}

.problem-card p {
font-size: 0.92rem;
color: #64748b;
line-height: 1.6;
}

/* ===== Services / Courses ===== */
.courses {
padding: 100px 0;
background: #fff;
}

.courses-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.course-card {
background: #fff;
border-radius: 16px;
padding: 28px;
border: 1px solid #e8ecf0;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
transition: all 0.3s;
display: flex;
flex-direction: column;
position: relative;
}

.course-card:hover {
transform: translateY(-6px);
box-shadow: 0 16px 40px rgba(26, 101, 163, 0.1);
border-color: rgba(26, 101, 163, 0.2);
}

.course-badge {
position: absolute;
top: 16px;
right: 16px;
background: linear-gradient(135deg, #d4a843, #c49633);
color: #fff;
font-size: 0.7rem;
font-weight: 700;
padding: 4px 12px;
border-radius: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
}

.course-icon {
font-size: 2rem;
margin-bottom: 16px;
width: 52px;
height: 52px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #eef4fa, #fdf8ed);
border-radius: 12px;
}

.course-card h3 {
font-size: 1.1rem;
font-weight: 700;
color: #0a1628;
margin-bottom: 10px;
}

.course-card p {
font-size: 0.88rem;
color: #64748b;
margin-bottom: 16px;
flex-grow: 1;
line-height: 1.6;
}

.course-details {
margin-bottom: 20px;
padding: 14px;
background: #f8fafb;
border-radius: 10px;
}

.course-details li {
font-size: 0.82rem;
color: #475569;
padding: 4px 0;
}

/* ===== Subjects ===== */
.subjects {
padding: 100px 0;
background: linear-gradient(180deg, #f4f7fa 0%, #fff 100%);
}

.subjects-content {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.subject-group {
background: #fff;
border-radius: 16px;
padding: 28px;
border: 1px solid #e8ecf0;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.subject-group h3 {
font-size: 1.05rem;
font-weight: 700;
color: #0a1628;
margin-bottom: 16px;
padding-bottom: 12px;
border-bottom: 2px solid #f0f0f0;
}

.subject-list li {
padding: 10px 0 10px 24px;
font-size: 0.92rem;
color: #475569;
position: relative;
border-bottom: 1px solid #f4f4f4;
}

.subject-list li:last-child {
border-bottom: none;
}

.subject-list li::before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 8px;
height: 8px;
border-radius: 50%;
background: linear-gradient(135deg, #1e8a35, #d4a843);
}

.target-audience {
border-left: 3px solid #d4a843;
}

/* ===== Value ===== */
.value {
padding: 100px 0;
background: #fff;
}

.value-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.value-card {
text-align: center;
padding: 32px 24px;
border-radius: 16px;
background: linear-gradient(160deg, #fff 0%, #f8fafb 100%);
border: 1px solid #e8ecf0;
transition: all 0.3s;
}

.value-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(26, 101, 163, 0.1);
border-color: rgba(26, 101, 163, 0.2);
}

.value-icon {
font-size: 2.2rem;
margin-bottom: 16px;
}

.value-card h3 {
font-size: 1.05rem;
font-weight: 700;
color: #0a1628;
margin-bottom: 8px;
}

.value-card p {
font-size: 0.88rem;
color: #64748b;
line-height: 1.6;
}

/* ===== Business Model / Pricing ===== */
.pricing {
padding: 100px 0;
background: linear-gradient(180deg, #f4f7fa 0%, #fff 100%);
}

.pricing-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

.pricing-card {
text-align: center;
padding: 28px 20px;
border-radius: 16px;
background: #fff;
border: 1px solid #e8ecf0;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
transition: all 0.3s;
}

.pricing-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pricing-icon {
font-size: 2rem;
margin-bottom: 14px;
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, rgba(26, 101, 163, 0.08), rgba(212, 168,
67, 0.08));
border-radius: 14px;
margin-left: auto;
margin-right: auto;
}

.pricing-card h3 {
font-size: 1rem;
font-weight: 700;
color: #0a1628;
margin-bottom: 8px;
}

.pricing-card p {
font-size: 0.85rem;
color: #64748b;
line-height: 1.5;
}

/* ===== Vision ===== */
.vision {
padding: 100px 0;
background: linear-gradient(160deg, #0a1628 0%, #0d2d5a 50%, #1a65a3 100%);
position: relative;
overflow: hidden;
}

.vision::before {
content: "";
position: absolute;
top: -30%;
right: -10%;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent
70%);
border-radius: 50%;
}

.vision-content {
text-align: center;
max-width: 720px;
margin: 0 auto;
position: relative;
z-index: 1;
}

.vision .section-tag {
background: rgba(212, 168, 67, 0.15);
color: #d4a843;
}

.vision h2 {
color: #fff;
font-size: 2.4rem;
margin-bottom: 32px;
}

.vision blockquote {
font-size: 1.2rem;
color: rgba(255, 255, 255, 0.85);
font-style: italic;
line-height: 1.9;
padding: 32px;
border-left: 4px solid #d4a843;
border-right: 4px solid #d4a843;
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
}

/* ===== Contact ===== */
.contact {
padding: 100px 0;
background: #fff;
}

.contact-content {
max-width: 700px;
margin: 0 auto;
}

.contact-cards {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 20px;
margin-bottom: 32px;
}

.contact-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 32px 24px;
border-radius: 16px;
border: 1px solid #e8ecf0;
transition: all 0.3s;
}

.contact-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.contact-card-icon {
margin-bottom: 16px;
}

.contact-card.linkedin {
border-color: rgba(0, 119, 181, 0.2);
}

.contact-card.linkedin:hover {
background: #f0f8ff;
border-color: #0077b5;
}

.contact-card.linkedin .contact-card-icon { color: #0077b5; }

.contact-card.whatsapp {
border-color: rgba(37, 211, 102, 0.2);
}

.contact-card.whatsapp:hover {
background: #f0fff4;
border-color: #25d366;
}

.contact-card.whatsapp .contact-card-icon { color: #25d366; }

.contact-card.facebook {
border-color: rgba(24, 119, 242, 0.2);
}

.contact-card.facebook:hover {
background: #f0f4ff;
border-color: #1877f2;
}

.contact-card.facebook .contact-card-icon { color: #1877f2; }

.contact-card h3 {
font-size: 1.05rem;
font-weight: 700;
color: #0a1628;
margin-bottom: 6px;
}

.contact-card p {
font-size: 0.85rem;
color: #64748b;
}

.contact-info-extra {
text-align: center;
padding: 20px;
background: #f8fafb;
border-radius: 12px;
}

.contact-info-extra p {
font-size: 0.9rem;
color: #475569;
margin-bottom: 6px;
}

.contact-info-extra p:last-child {
margin-bottom: 0;
}

.contact-info-extra a {
color: #1a65a3;
font-weight: 500;
}

.contact-info-extra a:hover {
text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
background: #0a1628;
padding: 32px 0;
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
}

.footer-content p {
color: rgba(255, 255, 255, 0.5);
font-size: 0.85rem;
}

.footer-links {
display: flex;
gap: 16px;
}

.footer-links a {
color: rgba(255, 255, 255, 0.4);
transition: color 0.2s;
}

.footer-links a:hover {
color: #d4a843;
}

/* ===== Animations ===== */
.fade-in {
opacity: 0;
transform: translateY(24px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

/* ===== Responsive: 1024px ===== */
@media (max-width: 1024px) {
.hero h1 { font-size: 2.6rem; }

.courses-grid,
.value-grid {
grid-template-columns: repeat(2, 1fr);
}

.pricing-grid {
grid-template-columns: repeat(2, 1fr);
}

.subjects-content {
grid-template-columns: 1fr;
}
}

/* ===== Responsive: 768px ===== */
@media (max-width: 768px) {
.nav-toggle { display: flex; }

.nav-links {
position: fixed;
top: 72px;
left: 0;
right: 0;
background: rgba(10, 22, 40, 0.98);
flex-direction: column;
padding: 24px;
gap: 20px;
border-bottom: 1px solid rgba(212, 168, 67, 0.15);
transform: translateY(-120%);
transition: transform 0.3s;
}

.nav-links.active {
transform: translateY(0);
}

.hero {
padding: 120px 0 60px;
}

.hero-content {
grid-template-columns: 1fr;
text-align: center;
}

.hero h1 { font-size: 2.2rem; }
.hero-description { margin: 0 auto 32px; }
.hero-buttons { justify-content: center; }

.hero-stats {
justify-content: center;
gap: 32px;
}

.hero-image {
order: -1;
}

.hero-logo {
width: 200px;
height: 200px;
}

.about-content {
grid-template-columns: 1fr;
gap: 32px;
text-align: center;
}

.about-feature {
text-align: left;
}

.team-grid {
grid-template-columns: 1fr;
max-width: 360px;
margin: 0 auto;
}

.team-photo,
.team-photo-placeholder {
width: 100px;
height: 100px;
}

.team-highlights li { text-align: left; }
.rtl .team-highlights li { text-align: right; }

.problem-grid {
grid-template-columns: 1fr;
}

.courses-grid,
.value-grid {
grid-template-columns: 1fr;
}

.pricing-grid {
grid-template-columns: 1fr 1fr;
}

.contact-cards {
grid-template-columns: 1fr;
}

.footer-content {
flex-direction: column;
gap: 16px;
text-align: center;
}

.vision blockquote {
font-size: 1rem;
padding: 24px;
}
}

/* ===== RTL Support (Arabic) ===== */

.rtl .about-feature {
border-left: none;
border-right: 3px solid #1e8a35;
}

.rtl .about-feature:hover {
transform: translateX(-4px);
}

.rtl .team-highlights li {
padding: 3px 16px 3px 0;
text-align: right;
}

.rtl .team-highlights li::before {
left: auto;
right: 0;
content: "◂";
}

.rtl .target-audience {
border-left: none;
border-right: 3px solid #d4a843;
}

.rtl .subject-list li {
padding-left: 0;
padding-right: 24px;
}

.rtl .subject-list li::before {
left: auto;
right: 0;
}

.rtl .course-badge {
right: auto;
left: 16px;
}

.rtl {
font-family: 'Amiri', 'Times New Roman', serif;
font-size: 1.05em;
line-height: 1.9;
letter-spacing: 0.01em;
}

.rtl h1, .rtl h2, .rtl h3 {
font-family: 'Amiri', serif;
font-weight: 700;
line-height: 1.4;
}

.rtl .btn,
.rtl .section-tag,
.rtl .lang-btn,
.rtl .course-badge,
.rtl .team-role,
.rtl .about-badge {
font-family: 'Inter', sans-serif;
}

.rtl .hero h1 {
font-size: 2.8rem;
line-height: 1.3;
}

.rtl .section-header h2 {
font-size: 2.2rem;
}

.rtl .hero-tag,
.rtl .stat-label {
font-family: 'Amiri', serif;
}

.rtl .hero-description {
font-size: 1.1rem;
line-height: 2;
}

.rtl .course-card p,
.rtl .problem-card p,
.rtl .value-card p,
.rtl .pricing-card p,
.rtl .about-text p,
.rtl .contact-card p {
line-height: 2;
}

.rtl .vision blockquote {
border-left: 4px solid #d4a843;
border-right: 4px solid #d4a843;
font-size: 1.15rem;
line-height: 2.2;
}

@media (max-width: 768px) {
.rtl .hero h1 {
font-size: 2rem;
}

.rtl .about-feature {
text-align: right;
}
}

/* ===== RTL Navigation ===== */
html[dir="rtl"] .nav-container {
flex-direction: row-reverse;
}

html[dir="rtl"] .nav-toggle {
order: 2;
}

html[dir="rtl"] .nav-links {
text-align: right;
}

@media (max-width: 768px) {
html[dir="rtl"] .nav-links {
left: auto;
right: 0;
}

html[dir="rtl"] .nav-toggle {
margin-left: 0;
margin-right: auto;
}
}

/* Logo RTL positioning */
html[dir="rtl"] .logo {
order: 2;
flex-direction: row-reverse;
}
