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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #333333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* Header Styles */
.header {
    background: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo img {
    height: clamp(40px, 6vh, 50px);
    max-width: clamp(150px, 25vw, 200px);
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: clamp(15px, 2.5vw, 30px);
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(14px, 1.8vw, 16px);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e74c3c;
}

.language-selector select {
    padding: clamp(6px, 1.2vw, 8px) clamp(10px, 1.8vw, 12px);
    font-size: clamp(13px, 1.8vw, 14px);
    border: 2px solid #d4d4d4;
    background: #ffffff;
    color: #333333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background: #f5f5f5;
    border-color: #999999;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: clamp(30px, 5vh, 50px) 5vw;
    text-align: center;
    color: #1a1a1a;
    border-bottom: 1px solid #e5e5e5;
}

.hero-content h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.hero-content p {
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 300;
    color: #666666;
}

/* Section Styles */
section {
    padding: clamp(30px, 5vh, 50px) 5vw;
}

.about-intro {
    padding: clamp(25px, 4vh, 40px) 5vw !important;
}

.about-content h2 {
    margin-bottom: clamp(15px, 2.5vh, 25px) !important;
}

.about-content h3 {
    margin-top: clamp(20px, 3vh, 30px) !important;
    margin-bottom: clamp(12px, 2vh, 20px) !important;
}

.about-content h4 {
    margin-top: clamp(15px, 2.5vh, 20px) !important;
    margin-bottom: clamp(10px, 1.5vh, 15px) !important;
}

.about-content p {
    margin-bottom: clamp(12px, 2vh, 18px) !important;
}

.about-content ul {
    margin-bottom: clamp(15px, 2.5vh, 20px) !important;
}

.timeline-section,
.values-section {
    padding: clamp(20px, 3vh, 35px) 5vw !important;
}

section h2 {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    margin-bottom: clamp(20px, 3vh, 30px);
    color: #1a1a1a;
    text-align: center;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(15px, 2.5vw, 30px);
    margin-top: clamp(20px, 3vh, 30px);
}

.stat-item {
    text-align: center;
    padding: clamp(15px, 2.5vw, 25px);
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item h3 {
    font-size: clamp(28px, 4.5vw, 40px);
    color: #e74c3c;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: clamp(13px, 1.8vw, 15px);
    color: #666666;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: clamp(15px, 2.5vw, 30px);
    margin-bottom: clamp(15px, 2.5vh, 25px);
    align-items: flex-start;
}

.timeline-year {
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 700;
    color: #e74c3c;
    min-width: 70px;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: clamp(15px, 2.5vw, 25px);
    border-radius: 8px;
    border-left: 3px solid #e74c3c;
}

.timeline-content h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 0;
    color: #1a1a1a;
}

.timeline-content p {
    font-size: clamp(14px, 2vw, 16px);
    color: #666666;
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(15px, 2.5vw, 25px);
}

.value-card {
    background: #ffffff;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: clamp(35px, 5vw, 50px);
    margin-bottom: clamp(10px, 1.5vw, 15px);
}

.value-card h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 0;
    color: #1a1a1a;
}

.value-card p {
    font-size: clamp(14px, 2vw, 16px);
    color: #666666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #f8f9fa;
    color: #666666;
    padding: clamp(30px, 4vh, 45px) 5vw clamp(15px, 2vh, 25px);
    border-top: 1px solid #e5e5e5;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(25px, 4vw, 40px);
    margin-bottom: clamp(25px, 3vh, 35px);
}

.footer-column h4 {
    font-size: clamp(16px, 2.5vw, 18px);
    color: #1a1a1a;
    margin-bottom: clamp(15px, 2vh, 20px);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #666666;
    text-decoration: none;
    font-size: clamp(14px, 1.8vw, 15px);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #e74c3c;
}

.footer-column p {
    font-size: clamp(14px, 1.8vw, 15px);
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(20px, 3vh, 30px);
    border-top: 1px solid #e5e5e5;
}

.footer-bottom p {
    font-size: clamp(12px, 1.5vw, 14px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        padding: 10px 5vw;
    }

    .main-nav ul {
        gap: 10px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-year {
        min-width: auto;
    }
}

/* RTL Support */
[lang="ar"], [lang="fa"] {
    direction: rtl;
}

[lang="ar"] .header .container,
[lang="fa"] .header .container {
    flex-direction: row-reverse;
}

[lang="ar"] .main-nav ul,
[lang="fa"] .main-nav ul {
    flex-direction: row-reverse;
}
