:root {
    --primary-dark: rgba(8,39,59,255);
    --black: #000000;
    --secondary-color: rgba(185,158,89,255);
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --address-bar-height: 40px;
    --header-height: 85px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    height: 100%;
}

/* Address Bar */
.address-bar {
    background-color: var(--primary-dark);
    height: var(--address-bar-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.address-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.address-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.813rem;
    color: var(--text-muted);
    padding-left: 1rem;
    order: 1;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.813rem;
    color: var(--text-muted);
    padding-right: 1rem;
    order: 3;
}

/* Keep phone number in LTR direction even in RTL mode */
[dir="rtl"] .phone-info {
    direction: ltr;
    unicode-bidi: bidi-override;
}

.address-info i, .phone-info i {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-top: 1px;
}

.phone-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    order: 2;
}

/* Override RTL direction for language switcher */
[dir="rtl"] .language-switcher {
    direction: ltr; /* Force LTR direction for language buttons */
    unicode-bidi: bidi-override; /* Ensure text remains in LTR order */
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    font-size: 0.813rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.lang-btn:hover, .lang-btn.active {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
}

/* Main Header */
.main-header {
    background-color: var(--primary-dark);
    height: var(--header-height);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    
}

/* Force LTR direction for header even in RTL mode */
[dir="rtl"] .header-content {
    direction: ltr;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo img {
    height: 42px;
    width: auto;
}

.logo span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

@media (max-width: 768px) {
    .logo img {
        height: 32px;
    }
}

/* Main Navigation */
.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-item.cta-item {
    margin-left: 2rem;
}

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

[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo {
    order: 3;
    direction: rtl;
}

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

[dir="rtl"] .mobile-menu-toggle {
    order: 1;
}

[dir="rtl"] .nav-item.cta-item {
    margin-right: 0;
    margin-left: 2rem;
}

/* Navigation Links */
.nav-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.813rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 0.5rem;
    display: inline-block;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-item.cta-item {
        margin-left: 0;
        width: 100%;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    left: -1rem;
    background-color: var(--primary-dark);
    min-width: 240px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid var(--secondary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.813rem;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.dropdown-content a:hover {
    background-color: rgba(255, 69, 0, 0.1);
    color: var(--secondary-color);
}

/* CTA Button */
.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    margin-left: 1rem;
}

.cta-button:hover {
    background-color: rgba(185,158,89,0.9);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--primary-dark);
    min-height: calc(100vh - var(--header-height) - var(--address-bar-height));
    display: flex;
    align-items: center;
    padding: 6rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: url('../media/images/hisham-2.png');*/
    background-size: contain;
    background-position: left bottom;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../media/images/murad.png');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    z-index: 1;
}

.hero-text {
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 90%;
}

/* Team Showcase */
.team-showcase {
    display: none;
}

/* Experience Section */
.experience-section {
    padding: 2rem 0;
    background-color: var(--primary-color);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.experience-item {
    text-align: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.experience-item i {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.experience-item h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.experience-item.active {
    color: var(--secondary-color);
}

.experience-item.active i {
    color: var(--secondary-color);
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background-color: var(--primary-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(800px, 1fr));
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.team-member {
    padding: 1rem;
}

.member-card {
    display: flex;
    gap: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.member-image {
    flex: 0 0 300px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-details {
    flex: 1;
    padding: 1rem 0;
}

.member-details h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.member-details h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.member-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.member-details h5.qualification {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0;
    font-style: italic;
}

.member-expertise h5 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.member-expertise ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.member-expertise li {
    color: var(--text-muted);
    font-size: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.member-expertise li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .member-card {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }

    .member-image {
        flex: 0 0 auto;
        max-width: 100%;
        aspect-ratio: 1;
    }

    .member-details {
        padding: 0;
    }

    .member-details h3 {
        font-size: 1.75rem;
    }

    .member-expertise ul {
        grid-template-columns: 1fr;
    }

    .hero::before {
        width: 50%;
        height: 300px;
        background-size: contain;
        background-position: left bottom;
        opacity: 0.5;
        top: 50%;
        bottom: 0;
        left: 0;
        margin-bottom: 2rem;
        border-bottom: 6px solid var(--secondary-color);
    }
    
    .hero::after {
        width: 50%;
        height: 300px;
        background-size: contain;
        background-position: right bottom;
        opacity: 0.5;
        top: 50%;

        bottom: 0;
        right: 0;
        margin-bottom: 2rem;
        border-bottom: 6px solid var(--secondary-color);
    }
    
    .hero-content {
        padding: 2rem 0 350px 0;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .team-showcase {
        flex-direction: column;
        align-items: center;
    }

    .team-member-image {
        width: 100%;
        max-width: 300px;
    }

    .partner-image {
        max-width: 100%;
    }

    .about-content {
        gap: 2rem;
    }

    .vision-section h3,
    .why-choose-section h3,
    .objectives-section h3 {
        font-size: 1.5rem;
    }

    .about-text p,
    .objectives-section li {
        font-size: 1rem;
    }

    .services-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .client-card {
        padding: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 1.5rem;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .client-card {
        padding: 1.5rem;
        min-height: 80px;
    }
}

/* RTL Support for Team Section */
[dir="rtl"] .member-expertise li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .member-expertise li:before {
    left: auto;
    right: 0;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--primary-dark);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(185,158,89,0.1);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 1.25rem;
    color: var(--text-color);
}

.contact-card-content h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-card-content p,
.contact-card-content a {
    color: var(--text-muted);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: var(--secondary-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.875rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(255, 69, 0, 0.1);
}

.submit-button {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border: none;
    border-radius: 6px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: rgba(185,158,89,0.9);
    transform: translateY(-2px);
}

/* RTL Support for Contact Section */
[dir="rtl"] .contact-card {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-group label {
    text-align: right;
}

/* Responsive Design for Contact Section */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    [dir="rtl"] .contact-card {
        flex-direction: column;
    }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--primary-dark);
    position: relative;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(185,158,89,0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--text-color);
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.objectives-list li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: -0.25rem;
    font-size: 1.5rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(185,158,89,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.938rem;
    line-height: 1.6;
}

/* Clients Section */
.clients-section {
    padding: 6rem 0;
    background-color: #fff;
    color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.client-card {
    background-color: rgba(255, 69, 0, 0.03);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 69, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
}

.client-card:nth-child(even) {
    animation-delay: 1s;
}

.client-card:nth-child(3n) {
    animation-delay: 2s;
}

.client-card:nth-child(4n) {
    animation-delay: 3s;
}

.client-card:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.2);
    animation-play-state: paused;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design for Clients */
@media (max-width: 768px) {
    .clients-grid {
        gap: 1.5rem;
    }

    .client-card {
        width: 150px;
        height: 150px;
        font-size: 0.9rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .client-card {
        width: 130px;
        height: 130px;
        font-size: 0.85rem;
    }
}

/* Fees Section */
.fees-section {
    padding: 6rem 0;
    background-color: var(--primary-dark);
}

.fees-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fees-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Contact Section Updates */
.contact-details {
    display: grid;
    gap: 0.5rem;
}

.contact-details p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .nav-list {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .address-info, .phone-info {
        padding: 0;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-list.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    [dir="rtl"] .nav-list {
        flex-direction: column;
        align-items: flex-end;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        border: none;
        border-left: 2px solid var(--secondary-color);
    }

    .hero::before {
        width: 50%;
        height: 300px;
        background-size: contain;
        background-position: left bottom;
        opacity: 0.5;
        bottom: 0;
        left: 0;
        margin-bottom: 2rem;
        border-bottom: 6px solid var(--secondary-color);
    }
    
    .hero::after {
        width: 50%;
        height: 300px;
        background-size: contain;
        background-position: right bottom;
        opacity: 0.5;
        bottom: 0;
        right: 0;
        margin-bottom: 2rem;
        border-bottom: 6px solid var(--secondary-color);
    }
    
    .hero-content {
        padding: 2rem 0 350px 0;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .team-showcase {
        flex-direction: column;
        align-items: center;
    }

    .team-member-image {
        width: 100%;
        max-width: 300px;
    }

    .partner-image {
        max-width: 100%;
    }

    .about-content {
        gap: 2rem;
    }

    .vision-section h3,
    .why-choose-section h3,
    .objectives-section h3 {
        font-size: 1.5rem;
    }

    .about-text p,
    .objectives-section li {
        font-size: 1rem;
    }

    .services-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .client-card {
        padding: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 1.5rem;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .client-card {
        padding: 1.5rem;
        min-height: 80px;
    }
}

/* RTL Support */
[dir="rtl"] {
    font-family: 'Cairo', 'Inter', sans-serif;
}

[dir="rtl"] .address-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .dropdown-content {
    left: auto;
    right: 0;
}

[dir="rtl"] .cta-button {
    margin-right: auto;
    margin-left: 0;
}

@media (max-width: 768px) {
    [dir="rtl"] .nav-list {
        flex-direction: column;
        align-items: flex-end;
    }
    
    [dir="rtl"] .dropdown-content {
        border-left: none;
        border-right: 2px solid var(--secondary-color);
    }
}

/* Force LTR direction for nav-item a in RTL mode */
[dir="rtl"] .nav-item a {
    direction: rtl;
}

.member-contact {
    margin: 0.75rem 0 1.5rem;
}

.member-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-email:hover {
    color: var(--secondary-color);
}

.member-email i {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* RTL Support for member contact */
[dir="rtl"] .member-email {
    direction: ltr;
    unicode-bidi: bidi-override;
}

.email-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-list .contact-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.email-label {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* RTL Support for email list */
[dir="rtl"] .email-label {
    text-align: right;
}

[dir="rtl"] .email-list .contact-link {
    text-align: right;
}

/* Responsive adjustments for email list */
@media (max-width: 480px) {
    .email-list {
        align-items: center;
    }

    [dir="rtl"] .email-list {
        align-items: center;
    }

    [dir="rtl"] .email-list .contact-link {
        text-align: center;
    }
}

.phone-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-list .contact-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.phone-label {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Keep phone numbers in LTR direction even in RTL mode */
[dir="rtl"] .phone-list .contact-link span:last-child {
    direction: ltr;
    unicode-bidi: bidi-override;
    display: inline-block;
}

[dir="rtl"] .phone-label {
    text-align: right;
}

[dir="rtl"] .phone-list .contact-link {
    text-align: right;
}

/* Responsive adjustments for phone list */
@media (max-width: 480px) {
    .phone-list {
        align-items: center;
    }

    [dir="rtl"] .phone-list {
        align-items: center;
    }

    [dir="rtl"] .phone-list .contact-link {
        text-align: center;
    }
} 