/* Import IBM Plex Sans Arabic Font */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Green/White Theme Colors */
    --primary-green: #22c55e;
    --primary-green-dark: #16a34a;
    --primary-green-light: #86efac;
    --secondary-green: #dcfce7;
    --accent-green: #15803d;
    
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

body {
    font-family: 'IBM Plex Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Apply IBM Plex Sans Arabic to all form elements, chat, and text inputs */
input, textarea, select, button, .chat-container, .message, .modal, .form-control, .btn {
    font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif !important;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-green);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

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

.language-toggle {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 2px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
}

.lang-btn.active {
    background: var(--primary-green);
    color: white;
}

.login-btn {
    background: var(--primary-green);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Hero Graphics */
.hero-image {
    position: relative;
    height: 500px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--gray-700);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-green);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 24px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--gray-50);
}

.process-steps {
    display: grid;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: none; /* Hide the step numbers */
}

.process-timeline {
    display: none; /* Hide the green timeline in How It Works section */
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: white;
    color: var(--primary-green);
    font-size: 1.1rem;
    padding: 16px 32px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    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 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-green);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 20px;
    text-align: center;
    color: var(--gray-400);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius-xl);
    width: 95%;
    max-width: 700px;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}

.modal-header h2 {
    color: var(--gray-900);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--gray-600);
    font-size: 14px;
    margin: 0;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--gray-400);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--gray-600);
}

/* Multi-step Form Styles */
.get-started-form {
    padding: 20px 30px 30px;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-green);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 30px;
}

.form-progress {
    text-align: center;
    margin-top: 24px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.progress-text {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Button Styles for Modal */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
}

.auth-form {
    padding: 20px 30px 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.auth-form .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-switch {
    text-align: center;
    color: var(--gray-600);
}

.auth-switch a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .modal-content {
    max-height: 90vh;
    overflow-y: auto;
        margin: 10% auto;
        width: 95%;
    }
    
    .floating-card {
        padding: 15px;
        font-size: 0.9rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn.loading {
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}



/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #2E8B57 0%, #228B22 100%);
    min-height: 60vh;
}

.about-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 80px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.vision-content {
    grid-template-columns: 1fr 1fr;
}

.mission-text, .vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.placeholder-image {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 15px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #2E8B57;
    border: 2px dashed #2E8B57;
}

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

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    color: #2E8B57;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.team-member {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    margin-bottom: 25px;
}

.member-image .placeholder-image {
    height: 150px;
    width: 150px;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 4rem;
}

.team-member h3 {
    color: #2E8B57;
    margin-bottom: 15px;
}

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

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: #2E8B57;
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #2E8B57 0%, #228B22 100%);
    min-height: 60vh;
}

.contact-content {
    padding: 80px 0;
}

.contact-section {
    margin-bottom: 80px;
}

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

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

.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E8B57;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #2E8B57;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card p {
    color: #666;
    margin-bottom: 5px;
}

/* FAQ Styles */
.faq-section {
    margin-bottom: 80px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2E8B57;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Map Styles */
.map-section {
    margin-bottom: 80px;
}

.map-container {
    margin-top: 40px;
}

.map-placeholder {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #2E8B57;
}

.map-content {
    text-align: center;
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.map-content h3 {
    color: #2E8B57;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.map-content p {
    color: #666;
    margin-bottom: 20px;
}

.map-btn {
    background: #2E8B57;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.map-btn:hover {
    background: #228B22;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .mission-content,
    .vision-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
    }
    
    .vision-content .vision-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .values-grid,
    .team-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .placeholder-image {
        height: 200px;
    }
    
    .member-image .placeholder-image {
        height: 120px;
        width: 120px;
    }
}

/* Active Navigation Link */
.nav-link.active {
    color: #2E8B57;
    font-weight: 600;
}

/* Arabic RTL Support for New Pages */
[dir="rtl"] .mission-content {
    grid-template-columns: 1fr 1fr;
}

[dir="rtl"] .vision-content {
    grid-template-columns: 1fr 1fr;
}

[dir="rtl"] .contact-grid {
    grid-template-columns: 1fr 2fr;
}

[dir="rtl"] .form-row {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    [dir="rtl"] .mission-content,
    [dir="rtl"] .vision-content {
        grid-template-columns: 1fr;
    }
    
    [dir="rtl"] .contact-grid {
        grid-template-columns: 1fr;
    }
    
    [dir="rtl"] .form-row {
        grid-template-columns: 1fr;
    }
}

/* Modal and Form Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* RTL Specific Modal Styles */
[dir="rtl"] .modal-header {
    text-align: right;
}

[dir="rtl"] .close {
    right: auto;
    left: 20px;
}

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

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    text-align: right;
}

/* Enhanced Button Styles */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:active:not(:disabled) {
    transform: translateY(1px);
}

.btn i {
    font-size: 16px;
}

/* Loading States */
.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group .error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

/* Progress Indicator Enhancements */
.progress-bar {
    position: relative;
    background: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-100) 100%);
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Expansion Journey Section */
.expansion-journey {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.expansion-journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2322c55e" fill-opacity="0.02"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    pointer-events: none;
}

.section-divider {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    margin: 20px 0 30px;
    font-weight: 300;
    letter-spacing: 6px;
}

.journey-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gray-200);
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

.timeline-progress-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 2px;
    animation: timelineProgress 3s ease-in-out forwards;
    animation-delay: 1s;
}

@keyframes timelineProgress {
    0% { height: 0%; }
    100% { height: 100%; }
}

.journey-steps {
    position: relative;
    z-index: 2;
}

.journey-step {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.journey-step.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.journey-step:nth-child(odd) {
    flex-direction: row;
    text-align: left;
}

.journey-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.journey-step:nth-child(odd) .step-card {
    margin-left: auto;
    margin-right: 80px;
}

.journey-step:nth-child(even) .step-card {
    margin-right: auto;
    margin-left: 80px;
}

.step-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    border: 4px solid var(--white);
    z-index: 3;
    transition: all 0.3s ease;
}

.journey-step:hover .step-number {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.step-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 35px 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    width: 420px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    transform: scaleX(0);
    transition: all 0.4s ease;
    transform-origin: center;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-card.optional {
    border-left: 4px solid var(--primary-green-light);
    background: linear-gradient(135deg, var(--white) 0%, rgba(34, 197, 94, 0.02) 100%);
}

.step-card.final-step {
    border-left: 4px solid var(--primary-green);
    background: linear-gradient(135deg, var(--white) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.step-card:hover .step-icon::before {
    animation: iconShine 0.6s ease-in-out;
}

@keyframes iconShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.step-icon i {
    font-size: 20px;
    color: var(--white);
    z-index: 1;
    position: relative;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
    line-height: 1.4;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 500;
}

.step-duration i {
    font-size: 14px;
}

.optional-badge, .completion-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green-light);
    color: var(--primary-green-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.completion-badge {
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.completion-badge i {
    font-size: 12px;
}

/* Journey Summary */
.journey-summary {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.summary-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light), var(--primary-green));
}

.summary-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.summary-stats {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-cta {
    text-align: center;
    margin-top: 10px;
}

.summary-cta .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .timeline-line {
        left: 30px;
        transform: none;
    }
    
    .journey-step:nth-child(odd),
    .journey-step:nth-child(even) {
        flex-direction: row;
        text-align: left;
    }
    
    .journey-step:nth-child(odd) .step-card,
    .journey-step:nth-child(even) .step-card {
        margin-left: 80px;
        margin-right: 0;
    }
    
    .step-number {
        left: 30px;
        transform: translate(-50%, -50%);
    }
    
    .step-card {
        width: calc(100% - 120px);
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .expansion-journey {
        padding: 60px 0;
    }
    
    .journey-timeline {
        padding: 30px 0;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .step-number {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .journey-step:nth-child(odd) .step-card,
    .journey-step:nth-child(even) .step-card {
        margin-left: 60px;
        width: calc(100% - 80px);
    }
    
    .step-card {
        padding: 25px 20px;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .summary-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        text-align: center;
        justify-items: center;
        margin-bottom: 25px;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .summary-card {
        padding: 35px 25px;
        margin: 0 20px;
    }
}

@media (max-width: 640px) {
    .step-card {
        width: calc(100% - 60px);
        margin-left: 50px !important;
        padding: 20px 15px;
    }
    
    .section-divider {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
    
    .summary-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .summary-header h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .summary-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .summary-cta .btn {
        padding: 12px 20px;
        font-size: 1rem;
        min-width: 160px;
    }
}

.journey-step .step-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.journey-step:hover .step-icon::before {
    animation: shine 0.8s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.journey-step .step-icon i {
    font-size: 24px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.journey-step:hover .step-icon {
    transform: scale(1.1);
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.4;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Responsive Design for Journey Steps */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .journey-step {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .expansion-journey {
        padding: 60px 0;
    }
    
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }
    
    .journey-step {
        padding: 20px 15px;
    }
    
    .journey-step .step-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .journey-step .step-icon i {
        font-size: 20px;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .journey-step {
        margin: 0 10px;
    }
    
    .section-divider {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}

/* Mobile Responsive Improvements */
@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .get-started-form {
        padding: 15px 20px 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

