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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', Arial, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
    direction: rtl;
}

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

/* Color Variables */
:root {
    --primary-color: #1e40af;
    --primary-foreground: #ffffff;
    --accent-color: #fbbf24;
    --accent-foreground: #1a202c;
    --financial-blue: #1e40af;
    --financial-light-blue: #eff6ff;
    --financial-gold: #fbbf24;
    --financial-dark: #1a202c;
    --financial-gray: #6b7280;
    --background: #ffffff;
    --foreground: #1a202c;
    --muted: #f3f4f6;
    --muted-foreground: #6b7280;
    --border: #e5e7eb;
    --card: #ffffff;
    --card-foreground: #1a202c;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

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

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    background-color: #f59e0b;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--primary-foreground);
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--primary-foreground);
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.contact-info {
    display: flex;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-header {
    padding: 1rem 0;
}

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

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

.logo-icon {
    background-color: var(--primary-color);
    color: var(--primary-foreground);
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-left: 0.75rem;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(to left, var(--financial-light-blue), var(--background));
    padding: 5rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: right;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.accent-text {
    color: var(--accent-color);
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
     /* justify-content: flex-end; */
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

.feature-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.primary-bg { background-color: rgba(30, 64, 175, 0.1); color: var(--primary-color); }
.accent-bg { background-color: rgba(251, 191, 36, 0.1); color: var(--accent-color); }
.blue-bg { background-color: rgba(30, 64, 175, 0.1); color: var(--financial-blue); }
.gold-bg { background-color: rgba(251, 191, 36, 0.1); color: var(--financial-gold); }

.feature-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: rgba(243, 244, 246, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    text-align: right;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.service-icon {
    background-color: rgba(30, 64, 175, 0.1);
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: rgba(30, 64, 175, 0.2);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
     /* justify-content: flex-end; */
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.service-features i {
    margin-right: 0.5rem;
    color: var(--accent-color);
    font-size: 1rem;
}

.service-card .btn {
    width: 100%;
    transition: all 0.3s ease;
}

.service-card:hover .btn-outline {
    background-color: var(--primary-color);
    color: var(--primary-foreground);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

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

.about-text {
    text-align: right;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.achievements {
    margin-bottom: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
     /* justify-content: flex-end; */
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
}

.achievement-item i {
    margin-right: 0.75rem;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.values-cards {
    display: grid;
    gap: 1.5rem;
}

.value-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-right: 4px solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.primary-border { border-right-color: var(--primary-color); }
.accent-border { border-right-color: var(--accent-color); }
.gold-border { border-right-color: var(--financial-gold); }

.value-header {
    display: flex;
    align-items: center;
     /* justify-content: flex-end; */
    margin-bottom: 1rem;
}

.value-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-left: 0.75rem;
}

.value-header i {
    font-size: 1.5rem;
}

.value-card p {
    text-align: right;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-stat {
    padding: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    color: white;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: rgba(243, 244, 246, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background-color: var(--card);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: right;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    text-align: right;
    background-color: var(--background);
}

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

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

.contact-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.contact-card-content {
    display: flex;
    align-items: center;
     /* justify-content: flex-end; */
}

.contact-card-text {
    text-align: right;
    margin-left: 1rem;
}

.contact-card-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-card-text p {
    color: var(--muted-foreground);
}

.contact-card-icon {
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 1.5rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--financial-dark);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    text-align: right;
}

.footer-logo {
    display: flex;
    align-items: center;
     /* justify-content: flex-end; */
    margin-bottom: 1rem;
}

.footer-logo-icon {
    background-color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-right: 0.75rem;
    font-weight: bold;
    font-size: 0.875rem;
}

.footer-logo-text h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.footer-logo-text p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.75rem;
     /* justify-content: flex-end; */
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
     /* justify-content: flex-end; */
    margin-bottom: 0.75rem;
    color: #9ca3af;
}

.footer-contact-item i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.newsletter h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: right;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-right {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-right a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: var(--accent-color);
}

/* Consultation Packages Section */
.packages {
    padding: 6rem 0;
    /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
}

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

.package-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    /* overflow: hidden; */
}

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

.package-card.featured {
    border: 3px solid #d4af37;
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4af37;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

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

.package-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.package-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
}

.package-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.package-price .period {
    font-size: 1rem;
    color: #7f8c8d;
}

.package-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    font-size: 1.1rem;
    color: #27ae60;
    width: 20px;
    text-align: center;
}

.feature-item.disabled i {
    color: #e74c3c;
}

.feature-item.disabled span {
    color: #bdc3c7;
    text-decoration: line-through;
}

.packages-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ecf0f1;
}

.packages-footer p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-cards {
        order: 2;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo,
    .social-links,
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobile Navigation */
.nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }