/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Colors */
    --primary-color: #3b9a92;
    --secondary-color: #013e5b;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #2d7a74);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #024861);
    
    /* Typography */
    --font-english: 'Poppins', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
    
    /* Spacing */
    --header-height: 80px;
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-english);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Arabic Language Support */
html[dir="rtl"] body {
    font-family: var(--font-arabic);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ============================================
   Reusable Classes
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section__title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section__description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(59, 154, 146, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 154, 146, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-fast);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav__logo img {
    height: 60px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__link {
    font-weight: bold;
    color: var(--text-dark);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    background: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch i {
    font-size: 16px;
}

.lang-switch:hover {
    background: var(--gray-50);
    color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: url("img/background.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.hero__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero__description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__shape {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 8s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(59, 154, 146, 0.3);
}

@keyframes morphing {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    background: var(--secondary-color);
    padding: 80px 0;
}

.features__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.features__card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.335);
    transition: var(--transition-medium);
}

.features__card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.features__icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.features__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.features__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--white);
    opacity: 0.85;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--gray-50);
}

.services__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service__card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    border: 2px solid transparent;
    overflow: hidden;
}

.service__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.service__card:hover .service__image img {
    transform: scale(1.05);
}

.service__content {
    padding: 32px;
}

.service__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service__description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.service__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.service__features i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 4px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--gray-50);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 10px 0;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 20px 0;
    padding: 30px 0;
    border-top: 2px solid var(--gray-200);
    border-bottom: 2px solid var(--gray-200);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.about__stat-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.about__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about__image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: url("img/background2.jpg");
    background-size: cover;
    background-position: center;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact__info-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: rgba(59, 154, 146, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__info-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact__info-item p {
    font-size: 16px;
    color: var(--text-light);
}

.contact__form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__group-full {
    grid-column: 1 / -1;
}

.form__input {
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form__textarea {
    resize: vertical;
    min-height: 150px;
}

html[dir="rtl"] .form__input,
html[dir="rtl"] .form__textarea {
    text-align: right;
}

.contact__form .btn {
    font-family: var(--font-arabic);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer__description {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 15px;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer__links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 15px;
    opacity: 0.8;
}

.footer__info i {
    color: var(--primary-color);
    margin-right: 8px;
}

.footer__bottom {
    padding: 30px 0;
    text-align: center;
}

.footer__copyright {
    font-size: 14px;
    opacity: 0.7;
}

/* ============================================
   Scroll Up Button
   ============================================ */
.scrollup {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 999;
}

.scrollup.show {
    opacity: 1;
    visibility: visible;
}

.scrollup:hover {
    transform: translateY(-5px);
    background: var(--secondary-color);
}

/* ============================================
   Page Header (for subpages)
   ============================================ */
.page-header {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
}

.page-header__title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header__subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* ============================================
   About Details (about page)
   ============================================ */
.about-details__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-details__text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-details__image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-details__image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* ============================================
   Mission & Vision
   ============================================ */

.mission-vision {
    background: url("img/background.jpg");
    background-size: cover;
    background-position: center;
}
.mission-vision__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mission-vision__card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mission-vision__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin: 0 auto 24px;
}

.mission-vision__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.mission-vision__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================
   Values Section
   ============================================ */
.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value__card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.value__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 154, 146, 0.1), rgba(59, 154, 146, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.value__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value__description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-page__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-page__details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-page__detail {
    display: flex;
    gap: 20px;
}

.contact-page__icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 154, 146, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-page__detail h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-page__detail p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-page__form-wrapper {
    background: var(--gray-50);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-page__form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-page__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* ============================================
   Responsive Design - Tablet & Mobile
   ============================================ */
@media (max-width: 768px) {
    /* Variables */
    :root {
        --section-padding: 60px;
        --header-height: 70px;
    }

    /* Typography */
    .section__title {
        font-size: 28px;
    }

    .section__description {
        font-size: 14px;
    }

    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 80px 32px 32px;
        transition: var(--transition-fast);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .nav__link {
        font-size: 18px;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 24px;
        right: 24px;
    }

    .nav__logo img {
        height: 40px;
    }

    .lang-switch {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .lang-switch i {
        font-size: 14px;
    }

    /* Hero */
    .hero {
        height: 65vh;
        padding-top: calc(var(--header-height) + 40px);
        min-height: auto;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__description {
        font-size: 14px;
    }

    .hero__shape {
        display: none;
    }

    .hero__scroll {
        display: none;
    }

    /* Features */
    .features {
        padding: 60px 0;
    }

    .features__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .features__card {
        padding: 30px 24px;
    }

    .features__icon {
        font-size: 32px;
    }

    .features__title {
        font-size: 20px;
    }

    .features__text {
        font-size: 14px;
    }

    /* Services */
    .services__content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service__image {
        height: 180px;
    }

    .service__content {
        padding: 24px;
    }

    .service__title {
        font-size: 20px;
    }

    /* About */
    .about__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about__description {
        font-size: 14px;
    }

    .about__image {
        order: -1;
    }

    .about__image img {
        height: 300px;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px 0;
    }

    .about__stat-number {
        font-size: 28px;
    }

    .about__stat-text {
        font-size: 13px;
    }

    .about-details__text p {
        font-size: 14px;
    }

    /* CTA Secondary */
    .cta-secondary {
        padding: 40px 0 !important;
    }

    .cta-secondary .section__title {
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }

    .cta-secondary p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    .cta-secondary .btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }

    /* CTA */
    .cta__title {
        font-size: 24px;
    }

    .cta__description {
        font-size: 14px;
    }

    /* Contact */
    .contact__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact__info {
        gap: 24px;
    }

    .contact__info-item {
        gap: 16px;
    }

    .contact__info-item i {
        width: 45px;
        height: 45px;
        font-size: 20px;
        flex-shrink: 0;
    }

    .contact__info-item h4 {
        font-size: 16px;
    }

    .contact__info-item p {
        font-size: 14px;
        word-break: break-word;
    }
    .form__input {
        padding: 8px 10px;
        font-size: 14px;
    }

    .contact__form {
        padding: 24px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__logo img {
        height: 40px;
    }

    /* Scroll Up */
    .scrollup {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }

    /* Buttons */
    .btn {
        padding: 10px 28px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 16px;
    }

    /* Page Header */
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header__title {
        font-size: 28px;
    }

    .page-header__subtitle {
        font-size: 14px;
    }

    /* About Details */
    .about-details__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-details__image img {
        height: 300px;
    }

    /* Mission & Vision */
    .mission-vision__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mission-vision__card {
        padding: 40px 30px;
    }

    /* Values */
    .values__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value__card {
        padding: 30px 24px;
    }

    /* Contact Page */
    .contact-page__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-page__form-wrapper {
        padding: 30px;
    }

    .contact-page__form {
        grid-template-columns: 1fr;
    }

    .map-section {
        height: 300px;
    }

    .map-placeholder i {
        font-size: 48px;
    }
}

/* RTL Adjustments */
html[dir="rtl"] .nav__link::after {
    right: 0;
    left: auto;
}

html[dir="rtl"] .nav__menu {
    right: auto;
    left: -100%;
}

html[dir="rtl"] .nav__menu.show-menu {
    left: 0;
}

html[dir="rtl"] .nav__close {
    right: auto;
    left: 24px;
}

html[dir="rtl"] .footer__links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

html[dir="rtl"] .scrollup {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .footer__info i {
    margin-right: 0;
    margin-left: 8px;
}

@media (max-width: 768px) {
    html[dir="rtl"] .scrollup {
        left: 20px;
    }
}
