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

:root {
    --primary-color: #1a365d;
    --secondary-color: #2d5a87;
    --accent-color: #d69e2e;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Assistant', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    direction: rtl;
}

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


/* WhatsApp Floating Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
    z-index: 1004;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-floating-btn:hover {
    background-color: #b7791f;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.6);
}

.whatsapp-floating-btn:focus {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

.whatsapp-icon {
    display: block;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(214, 158, 46, 0.7);
    }
    100% {
        box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
    }
}

/* Accessibility Floating Button */
.accessibility-floating-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1003;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessibility-floating-btn:hover {
    background-color: #b7791f;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.accessibility-floating-btn:focus {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

.accessibility-icon {
    display: block;
}

/* Accessibility Toolbar */
.accessibility-toolbar {
    position: fixed;
    bottom: 90px;
    left: 20px;
    background-color: #2d3748;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    display: none;
    min-width: 200px;
}

.accessibility-toolbar.active {
    display: block;
}

.accessibility-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.accessibility-btn {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Assistant', sans-serif;
    width: 100%;
    text-align: center;
}

.accessibility-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.accessibility-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.accessibility-btn.close-btn {
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

.accessibility-btn.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

body.high-contrast {
    --primary-color: #000000;
    --text-dark: #000000;
    --bg-light: #ffffff;
    --white: #ffffff;
    --border-color: #000000;
}

body.high-contrast * {
    border-color: var(--border-color) !important;
}

body.large-text {
    font-size: 120%;
}

body.large-text h1 {
    font-size: 2.5em;
}

body.large-text h2 {
    font-size: 2em;
}

body.large-text h3 {
    font-size: 1.75em;
}

body.small-text {
    font-size: 90%;
}

body.small-text h1 {
    font-size: 1.8em;
}

body.small-text h2 {
    font-size: 1.5em;
}

body.small-text h3 {
    font-size: 1.3em;
}

/* Header */
.header {
    background-color: var(--primary-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .header {
        top: 0;
    }
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.header-contact-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.header-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    padding: 8px 15px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    transition: all 0.3s;
    font-size: 14px;
}

.header-contact-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.header-contact-link .icon {
    font-size: 16px;
}

.navbar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo .tagline {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    width: 100%;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
}

.cta-button:hover {
    background-color: #b7791f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: color 0.3s;
}

.read-more:hover {
    color: #b7791f;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Partners Section */
.partners-section {
    background-color: var(--white);
}

.partners-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.partner-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.partner-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.partner-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.4;
}

.partner-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partner-details p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.partner-details strong {
    font-weight: 700;
    color: var(--primary-color);
}

.partner-vision {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.partner-vision h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.partner-vision p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
}

/* Services Section */
.services-section {
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer; /* Keep cursor pointer for clickable area */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color from body or parent */
    display: block; /* Make the anchor tag block-level to fill the card */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #b7791f;
}

.contact-item p {
    color: var(--text-dark);
    font-size: 18px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Assistant', sans-serif;
    transition: border-color 0.3s;
    direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 14px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Assistant', sans-serif;
}

.submit-button:hover {
    background-color: #b7791f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 158, 46, 0.3);
}

/* Accessibility Section */
.accessibility-section {
    background-color: var(--white);
    padding: 80px 0;
}

.accessibility-content {
    max-width: 800px;
    margin: 0 auto;
}

.accessibility-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.accessibility-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.accessibility-content ul {
    list-style: none;
    padding-right: 20px;
    margin-bottom: 20px;
}

.accessibility-content ul li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}

.accessibility-content ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.accessibility-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.accessibility-content a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-floating-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }

    .accessibility-floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        left: 15px;
    }

    .accessibility-toolbar {
        bottom: 75px;
        left: 15px;
        right: 15px;
        min-width: auto;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-contact-links {
        width: 100%;
        justify-content: flex-start;
    }

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

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 10px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .partner-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .partner-image {
        max-width: 300px;
        margin: 0 auto;
    }

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

    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-links {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-text h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .contact-form {
        padding: 25px;
    }

    .service-card {
        padding: 30px 20px;
    }
}



/* Service Page Content Specific Styling */
.service-page-content p {
    line-height: 2.0; /* Increased line spacing */
    margin-bottom: 25px; /* Increased space between paragraphs */
}

.service-page-content ul li {
    line-height: 2.0; /* Increased line spacing */
    margin-bottom: 15px; /* Increased space between list items */
}

/* Privacy Page Content Specific Styling */
.privacy-content p {
    margin-bottom: 10px; /* Reduced space between paragraphs */
}

.privacy-content section {
    margin-bottom: 20px; /* Space between sections */
}
