/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    direction: rtl;
}

/* Force font weight for all elements */
h1, h2, h3, h4, h5, h6, p, span, div, button, a {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 500 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Language Button */
.lang-btn {
    display: flex;
    align-items: center;
}

.lang-btn-img {
    height: 35px;
    width: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lang-btn-img:hover {
    opacity: 0.8;
}

/* Banner Section */
.banner {
    position: relative;
    height: 300px;
    background-image: url('images/about.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 300px);
}

/* Back Button */
.back-button-container {
    margin-bottom: 40px;
    text-align: right;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4A90E2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.back-button:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-3px);
}

.about-item {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about-item:last-child {
    margin-bottom: 0;
}

.about-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-icon-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.about-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 60px;
    align-items: center;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-column h4 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-column h4:hover,
.footer-column h4 a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

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

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.x-twitter:hover {
    background: #000000;
    border-color: #000000;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .lang-btn {
        margin-left: auto;
    }

    .banner {
        height: 250px;
    }

    .about-section {
        padding: 60px 0;
        min-height: auto;
    }

    .back-button-container {
        margin-bottom: 30px;
        text-align: center;
    }

    .back-button {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .about-item {
        margin: 20px;
        padding: 40px 25px;
        border-radius: 15px;
        margin-bottom: 30px;
    }

    .about-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-icon-img {
        width: 100px;
        height: 100px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-media-icons {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }

    .logo-img {
        height: 40px;
    }

    .lang-btn-img {
        height: 28px;
    }

    .banner {
        height: 200px;
    }

    .about-section {
        padding: 40px 0;
    }

    .back-button-container {
        margin-bottom: 25px;
    }

    .back-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .back-button svg {
        width: 18px;
        height: 18px;
    }

    .about-item {
        margin: 15px;
        padding: 30px 20px;
        border-radius: 12px;
        margin-bottom: 25px;
    }

    .about-title {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-icon-img {
        width: 100px;
        height: 100px;
    }

    .footer-content {
        padding: 0 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-column h4 {
        font-size: 0.9rem;
    }

    .footer-logo-img {
        height: 45px;
    }

    .social-media-icons {
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .about-item {
        padding: 80px 60px;
        margin-bottom: 50px;
    }

    .about-title {
        font-size: 2.5rem;
        margin-bottom: 35px;
    }

    .about-text {
        font-size: 1.2rem;
        line-height: 1.9;
    }

    .about-icon-img {
        width: 100px;
        height: 100px;
    }
}
