/* ====== Reset & Base Styles ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
}

:root {
    --primary-red: #d45564;
    --dark-red: #E6001B;
    --dark-gray: #545454;
    --text-dark: #1C1C1C;
    --text-light: #F4F4F4;
    --background-light: rgba(244,244,244,0.95);
    --card-shadow: 0 15px 35px rgba(0,0,0,0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f3f3f3 100%); 
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== Navbar ====== */
nav {
    background-color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

nav .logo img {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

nav .logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--dark-red);
    background-color: rgba(255,255,255,0.1);
}

.lang-btn {
    padding: 6px 12px;
    border: 2px solid var(--dark-red);
    border-radius: 6px;
    color: var(--dark-red);
    background: white;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 12px;
}

.lang-btn:hover {
    background-color: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

/* ====== Hero Section ====== */
.about-hero {
    padding: 60px 15px;
    text-align: center;
    background: var(--background-light);
    margin: 10px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
}

.hero-content h1 {
    font-size: 2em;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1em;
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.5;
}

/* ====== About Content ====== */
.about-content {
    padding: 40px 0;
    background: white;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.text-content h2 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.text-content p {
    font-size: 1em;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.text-content strong {
    color: var(--primary-red);
    font-weight: 600;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.mv-card {
    background: var(--background-light);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mv-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.mv-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.mv-card h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.2em;
}

.mv-card p {
    color: var(--dark-gray);
    font-size: 0.95em;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Image Content - Mobile Optimized */
.image-content {
    position: relative;
    height: auto;
    min-height: 300px;
}

.image-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    height: 250px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.image-placeholder::before {
    content: '🏢';
    font-size: 5em;
    opacity: 0.2;
}

/* Floating Cards - Mobile Layout */
.floating-cards-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.floating-card {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    width: 100%;
}

.floating-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.card-icon {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

.floating-card h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: 600;
}

.floating-card p {
    color: var(--dark-gray);
    font-size: 0.9em;
    margin: 0;
    line-height: 1.4;
}

/* ====== Values Section ====== */
.values-section {
    padding: 50px 0;
    background: var(--background-light);
}

.values-section h2 {
    text-align: center;
    font-size: 1.8em;
    color: var(--primary-red);
    margin-bottom: 30px;
    font-weight: 700;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 600;
}

.value-card p {
    color: var(--dark-gray);
    line-height: 1.5;
    font-size: 0.95em;
}

/* ====== Stats Section ====== */
.stats-section {
    padding: 50px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px 15px;
}

.stat-number {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 0.9em;
    color: var(--dark-gray);
    font-weight: 500;
}

/* ====== CTA Section ====== */
.about-cta {
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    text-align: center;
}

.about-cta h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-cta p {
    font-size: 1em;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.cta-button {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 2px solid white;
    width: 200px;
    text-align: center;
}

.cta-button.primary {
    background: white;
    color: var(--dark-red);
}

.cta-button.primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--dark-red);
    transform: translateY(-2px);
}

/* ====== Footer ====== */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 40px 15px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer p {
    margin: 6px 0;
    font-size: 0.95em;
}

.footer-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff6b7a;
    text-decoration: underline;
}

/* ====== RTL Support ====== */
body[dir="rtl"] {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

body[dir="rtl"] .mv-card,
body[dir="rtl"] .value-card,
body[dir="rtl"] .floating-card {
    text-align: center;
}

/* ====== Tablet Styles ====== */
/* Small devices (up to 480px) */
@media (max-width: 480px) {
nav {
flex-direction: column;
gap: 15px;
 justify-content: center;
padding: 15px 20px;
}
nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    font-size: 18px;
    padding: 6px 8px;
}

.lang-btn {
    font-size: 15px;
    padding: 6px 10px;
}

.about-hero {
    padding: 40px 15px;
    margin: 10px;
}

.hero-content h1 {
    font-size: 1.8em;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1em;
    line-height: 1.4;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-vision {
    flex-direction: column;
    gap: 15px;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-number {
    font-size: 1.5em;
}

.cta-buttons {
    flex-direction: column;
    gap: 10px;
}

.image-placeholder {
    height: 180px;
}

.floating-cards-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-card {
    width: 100%;
    position: relative;
    min-width: auto;
    max-width: 100%;
    animation: none;
}   
}
/* ====== Phones large / small tablets ====== */
@media (min-width: 481px) and (max-width: 767px) {
nav ul { flex-direction: row; gap: 15px; }
nav ul li a { font-size: 14px; padding: 6px 10px; }
.lang-btn { font-size: 13px; padding: 6px 12px; }

.about-hero { padding: 50px 15px; margin: 15px; }
.hero-content h1 { font-size: 2em; }
.hero-content p { font-size: 1.05em; }

.content-grid, .mission-vision { flex-direction: column; gap: 25px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-number { font-size: 1.8em; }

.image-placeholder { height: 200px; }
.floating-cards-container { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.floating-card { width: calc(50% - 10px); }


}

/* ====== Tablets medium (768px–1023px) ====== */
@media (min-width: 768px) and (max-width: 1023px) {
nav ul { gap: 20px; }
nav ul li a { font-size: 15px; padding: 7px 12px; }
.lang-btn { font-size: 13px; padding: 6px 12px; }

.about-hero { padding: 60px 20px; margin: 20px; }
.hero-content h1 { font-size: 2.5em; }
.hero-content p { font-size: 1.1em; }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mission-vision { flex-direction: row; gap: 20px; }
.values-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
.stats-grid { grid-template-columns: repeat(4, 1fr); gap: 25px; }
.stat-number { font-size: 2em; }

.image-placeholder { height: 220px; }
.floating-card { width: auto; min-width: 160px; max-width: 200px; }


}

/* ====== Desktops (1024px+) ====== */
@media (min-width: 1024px) {
nav ul { gap: 30px; }
nav ul li a { font-size: 16px; padding: 8px 12px; }
.lang-btn { font-size: 14px; padding: 8px 16px; }


.about-hero { padding: 80px 20px; margin: 20px; }
.hero-content h1 { font-size: 3em; }
.hero-content p { font-size: 1.2em; }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.mission-vision { flex-direction: row; gap: 30px; }
.values-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stats-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-number { font-size: 2.5em; }

.image-placeholder { height: 300px; }
.floating-card { width: auto; min-width: 180px; max-width: 200px; }

}
