/* Phoenix IT & Marketing - Main CSS */
/* التنسيقات الأساسية لموقع العنقاء */

/* استيراد المتغيرات الأساسية */
/* استيراد المتغيرات الأساسية - استخدام مسار مطلق */
@import url('/assets/css/core/variables.css');
@import url('/assets/css/core/reset.css');

:root {
    --app-safe-top: max(env(safe-area-inset-top, 0px), var(--native-safe-top, 0px));
    --app-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--native-safe-bottom, 0px));
}

/* ============================================
   Client Registration Page Styles
   ستايلات صفحة تسجيل العميل
   ============================================ */

/* Responsive padding-top */
@media (max-width: 900px) {
    body {
        padding-top: calc(70px + var(--app-safe-top));
    }
}

@media (max-width: 480px) {
    body {
        padding-top: calc(65px + var(--app-safe-top));
    }
}

body.rtl {
    direction: rtl;
    text-align: right;
}

body.ltr {
    direction: ltr;
    text-align: left;
}

body.ltr .language-selector-wrapper,
body.ltr .currency-selector-wrapper {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* إزالة padding-top من صفحات المصادقة وإخفاء الـ header */
.auth-container {
    padding-top: 0;
}

/* استخدام class بدلاً من :has() selector */
body.auth-page .header {
    display: none;
}

body.auth-page .footer {
    display: block;
}

body.auth-page {
    padding-top: var(--app-safe-top);
}

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

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    top: var(--app-safe-top);
    right: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-desc {
    font-size: 0.7rem;
    color: #00A887 !important; /* لون الهوية - أخضر العنقاء */
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.header-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

body.ltr .nav-link::before {
    right: auto;
    left: 0;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
}

/* إخفاء أزرار الدخول المحمولة في الشاشة العادية */
.mobile-login-buttons {
    display: none;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Header Select Styles */
.language-selector-wrapper,
.currency-selector-wrapper {
    display: inline-block;
    margin-left: 0.5rem;
}

.header-select {
    padding: 0.5rem 0.875rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    min-width: 80px;
    font-family: inherit;
}

.header-select:hover {
    border-color: var(--primary-color-dark);
    background: var(--background-color);
}

.header-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 168, 135, 0.1);
}

/* User Dropdown Responsive */
@media (max-width: 900px) {
    .user-dropdown-wrapper {
        margin-left: 0.5rem !important;
    }
    
    .user-dropdown-btn {
        padding: 0.25rem !important;
    }
    
    .user-dropdown-btn .d-none.d-md-block {
        display: none !important;
    }
    
    .user-dropdown-menu {
        right: 0.25rem !important;
        left: auto !important;
        min-width: 260px !important;
    }

    body.ltr .user-dropdown-wrapper {
        margin-left: 0 !important;
        margin-right: 0.5rem !important;
    }

    body.ltr .user-dropdown-menu {
        right: auto !important;
        left: 0.25rem !important;
    }
}

@media (max-width: 480px) {
    .user-dropdown-wrapper {
        margin-left: 0.375rem !important;
    }
    
    .user-dropdown-menu {
        right: 0.25rem !important;
        left: 0.25rem !important;
        min-width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 0.5rem) !important;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: var(--transition);
}

.hero-logo-img:hover {
    transform: scale(1.1);
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

.hero-quote {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 1.5rem auto;
    font-style: italic;
    position: relative;
    padding: 1rem 2rem;
}

.hero-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    position: absolute;
    top: -10px;
    right: 0;
    opacity: 0.3;
}

body.ltr .hero-quote::before {
    right: auto;
    left: 0;
}

.hero-quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    position: absolute;
    bottom: -30px;
    left: 0;
    opacity: 0.3;
}

body.ltr .hero-quote::after {
    left: auto;
    right: 0;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-feature {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.hero-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    color: var(--success-color);
    font-weight: bold;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background: var(--background-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.stat-item:hover::after {
    width: 100px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

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

.about-card {
    background: var(--background-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    overflow: hidden;
}

.about-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.about-icon:hover::before {
    left: 100%;
}

.about-icon i {
    font-size: 2rem;
    color: white;
}

.about-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
}

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

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

/* Service Cards */
.service-card {
    background: var(--background-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.service-icon:hover::before {
    left: 100%;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-right: 1.5rem;
}

body.ltr .service-features li {
    padding-right: 0;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--success-color);
    font-weight: bold;
}

body.ltr .service-features li::before {
    right: auto;
    left: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

body.ltr .service-link:hover {
    transform: translateX(5px);
}

/* Process Section */
.process-section {
    background: var(--background-light);
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 2;
}

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

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

.process-step h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    background: var(--background-color);
    padding: 80px 0;
}

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

.project-card {
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

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

.project-category {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--background-light) !important;
    color: var(--text-color) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
}

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

.projects-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Team Section */
.team-section {
    background: var(--background-light);
    padding: 80px 0;
}

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

.team-card {
    background: var(--background-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    transition: var(--transition);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-desc {
    color: var(--text-light);
    line-height: 1.6;
}

.team-description {
    margin-top: 3rem;
    text-align: center;
}

.team-description p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--background-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: var(--text-color);
}

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

.testimonial-card {
    background: var(--background-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-color);
}

.testimonial-position {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--secondary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 135, 0.3);
}

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

.btn-secondary:hover {
    background: var(--background-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    clear: both;
}

/* Ensure no white background appears under footer */
body {
    background: var(--background-color);
}

main {
    background: var(--background-color);
}

/* Fix any potential white space issues */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--text-color);
    z-index: -1;
}

.footer-top {
    position: relative;
    z-index: 1;
}

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

.footer-section h4 {
    color: var(--primary-color);
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.footer-link {
    color: #64748b;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-brand-desc {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-desc {
    color: #64748b;
    max-width: 400px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact info styles moved to line 1909 */

.footer-copyright,
.footer-credit-link {
    color: #64748b;
    font-size: 0.875rem;
}

.footer-credit-link {
    color: var(--primary-color);
}

.footer-credit-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-credit-link a:hover {
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Values List */
.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-right: 1.5rem;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* About Content */
.about-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-content h3 i {
    color: var(--primary-color);
}

.about-highlight {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    border-right: 4px solid var(--primary-color);
}

.about-highlight i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-highlight p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .main-header {
        z-index: 1000;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
        position: relative;
        min-height: 60px;
    }
    
    .header-logo {
        order: 1;
        flex: 0 0 auto;
        min-width: 0;
        max-width: calc(100% - 200px);
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    .brand-name {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .brand-desc {
        display: none;
    }
    
    .header-nav {
        order: 3;
        position: fixed;
        top: calc(60px + var(--app-safe-top));
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - 60px - var(--app-safe-top));
        background: #ffffff;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
    }
    
    .header-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        width: 100%;
        list-style: none;
        margin: 0;
        background: #ffffff;
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
    }
    
    .nav-link {
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        color: #2d3748;
        border-bottom: 1px solid #f7fafc;
        display: flex;
        align-items: center;
        width: 100%;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        position: relative;
        min-height: 52px;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(90deg, transparent, rgba(0, 168, 135, 0.1));
        transition: width 0.25s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: #f0f9ff;
        color: var(--primary-color);
        padding-right: 1.75rem;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        width: 4px;
    }
    
    .nav-link.active {
        border-right: 3px solid var(--primary-color);
        font-weight: 600;
        background-color: #f0f9ff;
    }
    
    .mobile-login-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-top: 2px solid #f0f0f0;
        margin-top: auto;
        width: 100%;
        background: #fafafa;
    }
    
    .mobile-login-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 0;
        margin: 0;
        border: none;
        border-top: 1px solid #e0e0e0;
    }
    
    /* Mobile User Info Styles */
    .mobile-user-info {
        display: flex;
        align-items: center;
        gap: 1.125rem;
        padding: 1.75rem 1.5rem;
        background: linear-gradient(135deg, #00A887 0%, #059669 100%);
        border-bottom: none;
        margin: 0;
        box-shadow: 0 2px 8px rgba(0, 168, 135, 0.2);
    }
    
    .mobile-user-avatar {
        flex-shrink: 0;
    }
    
    .mobile-user-avatar img,
    .mobile-user-avatar div {
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        border: 3px solid rgba(255,255,255,0.3);
    }
    
    .mobile-user-details {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-user-name {
        font-size: 1.125rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .mobile-user-email {
        font-size: 0.875rem;
        color: rgba(255,255,255,0.9);
        margin-bottom: 0.625rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }
    
    .mobile-user-details .badge {
        display: inline-block;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 16px;
        background: rgba(255,255,255,0.25);
        color: #ffffff;
        border: 1px solid rgba(255,255,255,0.3);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
    
    /* Mobile User Menu Styles */
    .mobile-user-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0.75rem 0;
        background: #ffffff;
    }
    
    .mobile-menu-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.125rem 1.5rem;
        color: #2d3748;
        text-decoration: none;
        border-radius: 0;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1rem;
        border-bottom: 1px solid #f7fafc;
        font-size: 0.95rem;
        font-weight: 500;
        position: relative;
        min-height: 56px;
    }
    
    .mobile-menu-item::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(90deg, transparent, rgba(0, 168, 135, 0.1));
        transition: width 0.25s ease;
    }
    
    .mobile-menu-item:active {
        background-color: #f0f9ff;
        padding-right: 1.75rem;
    }
    
    .mobile-menu-item:active::before {
        width: 4px;
    }
    
    .mobile-menu-item i:first-child {
        width: 26px;
        text-align: center;
        color: var(--primary-color);
        font-size: 1.15rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-item span {
        flex: 1;
        text-align: right;
        font-weight: 500;
        color: #2d3748;
    }
    
    .mobile-menu-item i:last-child {
        font-size: 0.7rem;
        color: #cbd5e0;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }
    
    .mobile-menu-item:active i:last-child {
        transform: translateX(-3px);
    }
    
    .mobile-menu-item .badge {
        margin-right: auto;
        margin-left: 0.75rem;
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        min-width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-item.text-danger {
        color: #e53e3e;
    }
    
    .mobile-menu-item.text-danger i:first-child {
        color: #e53e3e;
    }
    
    .mobile-menu-item.text-danger span {
        color: #e53e3e;
    }
    
    .mobile-menu-item.text-danger:active {
        background-color: #fff5f5;
    }
    
    .mobile-menu-item.text-danger:active::before {
        background: linear-gradient(90deg, transparent, rgba(229, 62, 62, 0.1));
    }
    
    .mobile-menu-divider {
        margin: 0.75rem 0;
        border: none;
        border-top: 1px solid #e2e8f0;
        height: 0;
    }
    
    .header-actions {
        display: flex !important;
        order: 2;
        gap: 0.5rem;
        flex: 0 0 auto;
        align-items: center;
        min-width: 0;
    }
    
    .header-actions .btn {
        display: none !important;
    }
    
    .language-selector-wrapper,
    .currency-selector-wrapper {
        margin-left: 0.5rem !important;
        flex-shrink: 0;
    }
    
    .language-selector-wrapper select,
    .currency-selector-wrapper select {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.85rem !important;
        min-width: auto;
        max-width: 90px;
    }
    
    .mobile-toggle {
        display: flex !important;
        order: 3;
        flex: 0 0 auto;
        margin-left: 0.5rem;
        z-index: 1001;
        position: relative;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-quote {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-quote::before,
    .hero-quote::after {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        z-index: 1000;
    }
    
    .header-container {
        padding: 0.625rem 0.75rem;
        min-height: 55px;
    }
    
    .header-logo {
        max-width: calc(100% - 180px);
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .brand-name {
        font-size: 0.95rem;
    }
    
    .header-actions {
        gap: 0.375rem;
        flex-shrink: 1;
    }
    
    .language-selector-wrapper,
    .currency-selector-wrapper {
        margin-left: 0.375rem !important;
    }
    
    .language-selector-wrapper select,
    .currency-selector-wrapper select {
        padding: 0.35rem 0.625rem !important;
        font-size: 0.75rem !important;
        max-width: 75px;
    }
    
    .mobile-toggle {
        display: flex !important;
        margin-left: 0.375rem;
        padding: 0.375rem;
        min-width: 36px;
        min-height: 36px;
        z-index: 1001;
    }
    
    .mobile-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    .header-nav {
        top: 55px;
        max-width: 100%;
        height: calc(100vh - 55px);
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .mobile-user-info {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
    
    .mobile-user-name {
        font-size: 1.05rem;
    }
    
    .mobile-user-email {
        font-size: 0.8rem;
    }
    
    .mobile-menu-item {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
        min-height: 52px;
    }
    
    .mobile-menu-item i:first-child {
        width: 24px;
        font-size: 1.05rem;
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
        min-height: 52px;
    }
    
    .hero {
        margin-top: 55px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 100px 0 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-quote {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .hero-quote::before,
    .hero-quote::after {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .project-card,
    .team-card {
        margin: 0 0.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .header-actions .btn {
        display: none; /* إخفاء أزرار الدخول في الـ header العادي */
        width: 100%;
        justify-content: center;
        margin: 0.5rem 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-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

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

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

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

/* Dropdown Menu - إصلاح شامل للقوائم المنسدلة */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    /* إزالة right: 0 !important للسماح للقواعد الخاصة بالعمل */
    background: var(--background-color, #ffffff) !important;
    border-radius: var(--border-radius, 0.375rem) !important;
    box-shadow: var(--box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15)) !important;
    min-width: 200px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 1050 !important;
    border: 1px solid var(--border-color, #dee2e6) !important;
    display: none !important;
    margin-top: 0.125rem !important;
    padding: 0.5rem 0 !important;
    flex-direction: column !important;
    list-style: none !important;
    /* ضمان أن المحتوى يظهر بشكل صحيح */
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    max-height: none !important;
}

/* القاعدة الافتراضية للقوائم المنسدلة (بدون قائمة المستخدم واللغة والعملة في الـ header) */
.dropdown-menu:not(.dashboard-user-menu):not([aria-labelledby="languageDropdownBtn"]):not([aria-labelledby="dashboardCurrencyBtn"]) {
    right: 0 !important;
    left: auto !important;
}

/* ضمان أن عناصر القائمة المنسدلة تظهر عمودي (هذا صحيح) */
.dropdown-menu > li,
.dropdown-menu > .dropdown-item {
    display: block !important;
    width: 100% !important;
    flex-direction: column !important;
}

/* إظهار القائمة عند إضافة class show - إصلاح شامل */
.dropdown-menu.show,
.dropdown-menu[class*="show"],
.btn-group.show .dropdown-menu,
.dropdown.show .dropdown-menu,
[class*="show"] .dropdown-menu,
.dropdown.show .dropdown-menu.show,
#userDropdownMenu.show,
#userDropdownMenu[style*="display: block"],
#userDropdownMenu[style*="visibility: visible"] {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateY(0) !important;
    position: absolute !important;
    z-index: 1060 !important;
    pointer-events: auto !important;
}

/* إصلاح خاص للقوائم المنسدلة في Header */
.content-header .dropdown-menu.show,
.content-header .dropdown.show .dropdown-menu,
.content-header .btn-group.show .dropdown-menu,
header .dropdown-menu.show,
header .dropdown.show .dropdown-menu,
header #userDropdownMenu.show,
header #userDropdownMenu[style*="display: block"],
header #userDropdownMenu[style*="visibility: visible"],
header .user-dropdown-menu.show,
header .user-dropdown-menu[style*="display: block"],
header .user-dropdown-menu[style*="visibility: visible"],
.content-header #languageDropdownBtn + .dropdown-menu.show,
.content-header #dashboardCurrencyBtn + .dropdown-menu.show,
.content-header [aria-labelledby="languageDropdownBtn"].show,
.content-header [aria-labelledby="dashboardCurrencyBtn"].show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    z-index: 1060 !important;
    pointer-events: auto !important;
    /* ضمان المسافة من الحافة عند الإظهار - قريبة جداً من منتصف الـ header */
    margin-right: 0 !important;
    margin-left: 0 !important;
    max-width: calc(100vw - 0.5rem) !important;
    /* الموضع سيتم تطبيقه من خلال القواعد الخاصة بـ RTL/LTR أدناه */
}

/* ضبط موضع القوائم المنسدلة في Header - بعد منتصف الـ header بقليل */
.content-header .dropdown-menu,
.content-header .dropdown .dropdown-menu,
header .dropdown-menu,
header .dropdown .dropdown-menu,
header #userDropdownMenu,
header .user-dropdown-menu,
header .language-selector-wrapper .dropdown-menu,
header .currency-selector-wrapper .dropdown-menu,
header .header-select + .dropdown-menu,
header select + .dropdown-menu,
.content-header #languageDropdownBtn + .dropdown-menu,
.content-header #dashboardCurrencyBtn + .dropdown-menu,
.content-header [aria-labelledby="languageDropdownBtn"],
.content-header [aria-labelledby="dashboardCurrencyBtn"],
.content-header .dropdown-menu-end:not(.dashboard-user-menu):not([class*="table"]):not([class*="btn-group"]) {
    margin-right: 0 !important;
    margin-left: 0 !important;
    max-width: calc(100vw - 0.5rem) !important;
}

/* تطبيق المسافة على جميع القوائم في الـ header عند الإظهار - تم دمجها مع القواعد الأخرى */

/* للـ RTL: القائمة من اليمين - بعد منتصف الـ header بقليل - أولوية عالية جداً */
html[dir="rtl"] .content-header .dropdown-menu-end:not(.dashboard-user-menu),
html[dir="rtl"] .content-header .dropdown-menu:not(.dashboard-user-menu),
html[dir="rtl"] header .dropdown-menu-end:not(.dashboard-user-menu),
html[dir="rtl"] header .dropdown-menu:not(.dashboard-user-menu),
html[dir="rtl"] header #userDropdownMenu,
html[dir="rtl"] header .user-dropdown-menu,
html[dir="rtl"] header .language-selector-wrapper .dropdown-menu,
html[dir="rtl"] header .currency-selector-wrapper .dropdown-menu,
html[dir="rtl"] header .header-select + .dropdown-menu,
html[dir="rtl"] .content-header #userDropdownMenu,
html[dir="rtl"] .content-header .user-dropdown-menu,
html[dir="rtl"] .content-header .dashboard-user-menu,
html[dir="rtl"] .content-header #languageDropdownBtn + .dropdown-menu,
html[dir="rtl"] .content-header #dashboardCurrencyBtn + .dropdown-menu,
html[dir="rtl"] .content-header [aria-labelledby="languageDropdownBtn"],
html[dir="rtl"] .content-header [aria-labelledby="dashboardCurrencyBtn"],
html[dir="rtl"] .content-header .dropdown-menu.show,
html[dir="rtl"] header .dropdown-menu.show,
html[dir="rtl"] .content-header .dropdown.show .dropdown-menu,
html[dir="rtl"] header .dropdown.show .dropdown-menu,
html[dir="rtl"] .content-header #languageDropdownBtn + .dropdown-menu.show,
html[dir="rtl"] .content-header #dashboardCurrencyBtn + .dropdown-menu.show,
html[dir="rtl"] .content-header [aria-labelledby="languageDropdownBtn"].show,
html[dir="rtl"] .content-header [aria-labelledby="dashboardCurrencyBtn"].show {
    right: 0.25rem !important;
    left: auto !important;
    max-width: calc(100vw - 0.5rem) !important;
}

/* للـ LTR: القائمة من اليسار - بعد منتصف الـ header بقليل - أولوية عالية جداً */
html[dir="ltr"] .content-header .dropdown-menu-end:not(.dashboard-user-menu),
html[dir="ltr"] .content-header .dropdown-menu:not(.dashboard-user-menu),
html[dir="ltr"] header .dropdown-menu-end:not(.dashboard-user-menu),
html[dir="ltr"] header .dropdown-menu:not(.dashboard-user-menu),
html[dir="ltr"] header #userDropdownMenu,
html[dir="ltr"] header .user-dropdown-menu,
html[dir="ltr"] header .language-selector-wrapper .dropdown-menu,
html[dir="ltr"] header .currency-selector-wrapper .dropdown-menu,
html[dir="ltr"] header .header-select + .dropdown-menu,
html[dir="ltr"] .content-header #languageDropdownBtn + .dropdown-menu,
html[dir="ltr"] .content-header #dashboardCurrencyBtn + .dropdown-menu,
html[dir="ltr"] .content-header [aria-labelledby="languageDropdownBtn"],
html[dir="ltr"] .content-header [aria-labelledby="dashboardCurrencyBtn"],
html[dir="ltr"] .content-header .dropdown-menu.show,
html[dir="ltr"] header .dropdown-menu.show,
html[dir="ltr"] .content-header .dropdown.show .dropdown-menu,
html[dir="ltr"] header .dropdown.show .dropdown-menu,
html[dir="ltr"] .content-header #languageDropdownBtn + .dropdown-menu.show,
html[dir="ltr"] .content-header #dashboardCurrencyBtn + .dropdown-menu.show,
html[dir="ltr"] .content-header [aria-labelledby="languageDropdownBtn"].show,
html[dir="ltr"] .content-header [aria-labelledby="dashboardCurrencyBtn"].show {
    right: auto !important;
    left: 0.25rem !important;
    max-width: calc(100vw - 0.5rem) !important;
}

/* قائمة المستخدم خاصة - بعد منتصف الـ header بقليل - أولوية عالية جداً */
.content-header .dashboard-user-menu,
header .dashboard-user-menu,
.dashboard-user-menu,
.content-header .dropdown .dashboard-user-menu,
header .dropdown .dashboard-user-menu,
.dropdown .dashboard-user-menu,
.content-header .dropdown-menu-end.dashboard-user-menu,
header .dropdown-menu-end.dashboard-user-menu,
.dropdown-menu-end.dashboard-user-menu,
.dropdown .dashboard-user-menu,
.content-header .dropdown-menu.dashboard-user-menu,
header .dropdown-menu.dashboard-user-menu {
    margin-right: 0 !important;
    margin-left: 0 !important;
    max-width: calc(100vw - 0.5rem) !important;
    /* منع Bootstrap من تغيير الموضع */
    transform-origin: top right !important;
    /* استخدام position: fixed لحل مشكلة القطع بشكل نهائي - سيتم تطبيقه من JavaScript */
    position: fixed !important;
    /* ضمان أن البوردر يظهر بشكل كامل */
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
    border-right: 1px solid rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    border-left: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    outline: none !important;
    /* الستايلات الأساسية */
    min-width: 260px !important;
    margin-top: 10px !important;
    padding: 10px !important;
    background: white !important;
    z-index: 99999 !important;
    direction: rtl !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;
    visibility: hidden !important;
    display: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    /* الموضع سيتم تطبيقه من خلال القواعد الخاصة بـ RTL/LTR أدناه */
}

/* للـ RTL: قائمة المستخدم من اليمين - بعد منتصف الـ header بقليل - أولوية عالية جداً */
html[dir="rtl"] .content-header .dashboard-user-menu,
html[dir="rtl"] header .dashboard-user-menu,
html[dir="rtl"] .dashboard-user-menu,
html[dir="rtl"] .content-header .dropdown-menu-end.dashboard-user-menu,
html[dir="rtl"] .content-header .dropdown .dashboard-user-menu,
html[dir="rtl"] header .dropdown .dashboard-user-menu,
html[dir="rtl"] .dropdown .dashboard-user-menu,
html[dir="rtl"] .content-header .dropdown-menu.dashboard-user-menu,
html[dir="rtl"] header .dropdown-menu.dashboard-user-menu,
html[dir="rtl"] .dropdown-menu-end.dashboard-user-menu,
html[dir="rtl"] .content-header .dropdown-menu-end.dashboard-user-menu,
html[dir="rtl"] header .dropdown-menu-end.dashboard-user-menu,
html[dir="rtl"] .dropdown .dashboard-user-menu,
html[dir="rtl"] .content-header .dropdown .dashboard-user-menu,
html[dir="rtl"] header .dropdown .dashboard-user-menu {
    /* الموضع سيتم حسابه ديناميكياً من JavaScript باستخدام position: fixed */
    /* لا نضع right أو left هنا لأن JavaScript سيتحكم بالموضع */
    margin-right: 0 !important;
    margin-left: 0 !important;
    max-width: calc(100vw - 0.5rem) !important;
    transform-origin: top right !important;
    position: fixed !important;
}

/* للـ LTR: قائمة المستخدم من اليسار - بعد منتصف الـ header بقليل - أولوية عالية جداً */
html[dir="ltr"] .content-header .dashboard-user-menu,
html[dir="ltr"] header .dashboard-user-menu,
html[dir="ltr"] .dashboard-user-menu,
html[dir="ltr"] .content-header .dropdown-menu-end.dashboard-user-menu,
html[dir="ltr"] .content-header .dropdown .dashboard-user-menu,
html[dir="ltr"] header .dropdown .dashboard-user-menu,
html[dir="ltr"] .dropdown .dashboard-user-menu,
html[dir="ltr"] .content-header .dropdown-menu.dashboard-user-menu,
html[dir="ltr"] header .dropdown-menu.dashboard-user-menu,
html[dir="ltr"] .dropdown-menu-end.dashboard-user-menu,
html[dir="ltr"] .content-header .dropdown-menu-end.dashboard-user-menu,
html[dir="ltr"] header .dropdown-menu-end.dashboard-user-menu,
html[dir="ltr"] .dropdown .dashboard-user-menu,
html[dir="ltr"] .content-header .dropdown .dashboard-user-menu,
html[dir="ltr"] header .dropdown .dashboard-user-menu {
    /* الموضع سيتم حسابه ديناميكياً من JavaScript باستخدام position: fixed */
    transform-origin: top left !important;
}

/* ضمان أن قائمة المستخدم تظهر بشكل صحيح عند الفتح - أولوية عالية جداً */
.content-header .dashboard-user-menu.show,
header .dashboard-user-menu.show,
.dashboard-user-menu.show,
.content-header .dropdown.show .dashboard-user-menu,
header .dropdown.show .dashboard-user-menu,
.dropdown.show .dashboard-user-menu,
.content-header .dropdown-menu-end.dashboard-user-menu.show,
header .dropdown-menu-end.dashboard-user-menu.show,
.dropdown-menu-end.dashboard-user-menu.show,
.content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
.dropdown.show .dashboard-user-menu.show,
.content-header .dropdown .dashboard-user-menu.show,
header .dropdown .dashboard-user-menu.show,
.dashboard-user-menu[style*="display: block"],
.dashboard-user-menu[style*="visibility: visible"],
.dashboard-user-menu[style*="opacity: 1"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    z-index: 1060 !important;
    pointer-events: auto !important;
    /* إجبار الموضع الصحيح - بعد منتصف الـ header بقليل - أولوية عالية جداً */
    /* سيتم تطبيق الموضع الصحيح من خلال media queries للشاشات الكبيرة */
    /* الموضع الأساسي للشاشات الصغيرة والمتوسطة */
    max-width: calc(100vw - 0.5rem) !important;
    /* ضمان العرض الصحيح على جميع الشاشات */
    min-width: 260px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    /* ضمان أن القائمة تظهر بشكل صحيح على جميع الشاشات */
    width: auto !important;
    /* منع Bootstrap من تغيير الموضع */
    transform-origin: top right !important;
    /* استخدام position: fixed لحل مشكلة القطع بشكل نهائي - سيتم تطبيقه من JavaScript */
    position: fixed !important;
    /* ضمان أن المحتوى يظهر بشكل صحيح */
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    max-height: none !important;
    /* ضمان أن العناصر الداخلية تظهر */
    background: #ffffff !important;
    color: #2d3748 !important;
    /* ضمان أن البوردر يظهر بشكل كامل */
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
    border-right: 1px solid rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    border-left: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    outline: none !important;
}

/* ضمان أن عناصر قائمة المستخدم تظهر بشكل صحيح */
.dashboard-user-menu li,
.dashboard-user-menu .dropdown-item,
.dashboard-user-menu img,
.dashboard-user-menu span,
.dashboard-user-menu small,
.dashboard-user-menu div,
.dashboard-user-menu .user-avatar-header,
.dashboard-user-menu .flex-grow-1 {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
    background: transparent !important;
}

.dashboard-user-menu.show li,
.dashboard-user-menu.show .dropdown-item,
.dashboard-user-menu.show img,
.dashboard-user-menu.show span,
.dashboard-user-menu.show small,
.dashboard-user-menu.show div,
.dashboard-user-menu.show .user-avatar-header,
.dashboard-user-menu.show .flex-grow-1 {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
    background: transparent !important;
}

/* ضمان أن النصوص تظهر بشكل صحيح */
.dashboard-user-menu.show .fw-bold,
.dashboard-user-menu.show .text-muted,
.dashboard-user-menu.show small,
.dashboard-user-menu .fw-bold,
.dashboard-user-menu .text-muted,
.dashboard-user-menu small {
    color: #2d3748 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* ضمان أن الصور تظهر */
.dashboard-user-menu.show img,
.dashboard-user-menu img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ضمان أن جميع العناصر الداخلية تظهر */
.dashboard-user-menu.show *,
.dashboard-user-menu * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* استثناء: العناصر المخفية عمداً */
.dashboard-user-menu.show .d-none,
.dashboard-user-menu .d-none {
    display: none !important;
}

/* ============================================
   قائمة المستخدم المنسدلة - ستايلات موحدة
   ============================================ */

/* القائمة المنسدلة الأساسية */
.dashboard-user-menu {
    min-width: 320px !important;
    margin-top: 10px !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
    border-right: 1px solid rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    border-left: 1px solid rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

/* قسم معلومات المستخدم في القائمة */
.dashboard-user-menu > li:first-child {
    padding: 0.75rem 1rem !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%) !important;
}

/* Avatar في القائمة */
.dashboard-user-menu .user-avatar-header {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #00A887, #059669) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,168,135,0.3) !important;
    margin-left: 0.75rem !important;
}

.dashboard-user-menu .user-avatar-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* معلومات المستخدم */
.dashboard-user-menu .flex-grow-1 .fw-bold {
    font-size: 14px !important;
    color: #2d3748 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.2rem !important;
}

.dashboard-user-menu .flex-grow-1 .text-muted {
    font-size: 12px !important;
    color: #64748b !important;
    display: block !important;
    margin-bottom: 0.4rem !important;
}

.dashboard-user-menu .flex-grow-1 .badge {
    font-size: 11px !important;
    padding: 3px 8px !important;
}

/* عناصر القائمة */
.dashboard-user-menu .dropdown-item {
    border-radius: 8px !important;
    transition: all 0.2s !important;
    padding: 10px 12px !important;
    margin-bottom: 3px !important;
}

.dashboard-user-menu .dropdown-item span {
    font-size: 13px !important;
    font-weight: 500 !important;
}

.dashboard-user-menu .dropdown-item i.fas {
    color: #00A887 !important;
    width: 18px !important;
    font-size: 14px !important;
    margin-left: 0.6rem !important;
}

.dashboard-user-menu .dropdown-item .fa-arrow-left {
    font-size: 11px !important;
    color: #64748b !important;
}

/* Badge الإشعارات */
.dashboard-user-menu .badge.bg-danger {
    font-size: 11px !important;
    padding: 4px 8px !important;
}

/* Divider */
.dashboard-user-menu .dropdown-divider {
    margin: 8px 0 !important;
}

/* عنصر تسجيل الخروج */
.dashboard-user-menu .dropdown-item.text-danger {
    color: #dc3545 !important;
}

.dashboard-user-menu .dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

/* Avatar في الـ header (الزر) */
.user-avatar-header {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #00A887, #059669) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    box-shadow: 0 2px 8px rgba(0,168,135,0.3) !important;
    transition: transform 0.3s !important;
    overflow: hidden !important;
}

.user-avatar-header:hover {
    transform: scale(1.05) !important;
}

.user-avatar-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* زر القائمة المنسدلة */
.user-dropdown-trigger {
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.user-dropdown-trigger:hover {
    opacity: 0.8 !important;
}

/* للـ RTL: إجبار الموضع عند الفتح - أولوية عالية جداً */
html[dir="rtl"] .content-header .dashboard-user-menu.show,
html[dir="rtl"] header .dashboard-user-menu.show,
html[dir="rtl"] .dashboard-user-menu.show,
html[dir="rtl"] .content-header .dropdown.show .dashboard-user-menu,
html[dir="rtl"] header .dropdown.show .dashboard-user-menu,
html[dir="rtl"] .content-header .dropdown-menu-end.dashboard-user-menu.show,
html[dir="rtl"] header .dropdown-menu-end.dashboard-user-menu.show,
html[dir="rtl"] .dropdown-menu-end.dashboard-user-menu.show,
html[dir="rtl"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
html[dir="rtl"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
html[dir="rtl"] .dropdown.show .dashboard-user-menu.show,
html[dir="rtl"] .content-header .dropdown .dashboard-user-menu.show,
html[dir="rtl"] header .dropdown .dashboard-user-menu.show,
html[dir="rtl"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
html[dir="rtl"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show {
    right: 0.25rem !important;
    left: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    max-width: calc(100vw - 0.5rem) !important;
    /* منع Bootstrap من تغيير الموضع */
    transform-origin: top right !important;
    /* استخدام position: fixed لحل مشكلة القطع بشكل نهائي - سيتم تطبيقه من JavaScript */
    position: fixed !important;
    /* إجبار الظهور */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    z-index: 1060 !important;
    pointer-events: auto !important;
}

/* للـ LTR: إجبار الموضع عند الفتح - أولوية عالية جداً */
html[dir="ltr"] .content-header .dashboard-user-menu.show,
html[dir="ltr"] header .dashboard-user-menu.show,
html[dir="ltr"] .dashboard-user-menu.show,
html[dir="ltr"] .content-header .dropdown.show .dashboard-user-menu,
html[dir="ltr"] header .dropdown.show .dashboard-user-menu,
html[dir="ltr"] .content-header .dropdown-menu-end.dashboard-user-menu.show,
html[dir="ltr"] header .dropdown-menu-end.dashboard-user-menu.show,
html[dir="ltr"] .dropdown-menu-end.dashboard-user-menu.show,
html[dir="ltr"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
html[dir="ltr"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
html[dir="ltr"] .dropdown.show .dashboard-user-menu.show,
html[dir="ltr"] .content-header .dropdown .dashboard-user-menu.show,
html[dir="ltr"] header .dropdown .dashboard-user-menu.show {
    /* الموضع سيتم حسابه ديناميكياً من JavaScript باستخدام position: fixed */
    margin-right: 0 !important;
    margin-left: 0 !important;
    max-width: calc(100vw - 0.5rem) !important;
    transform-origin: top left !important;
    position: fixed !important;
}

/* تحسين عرض القوائم المنسدلة في الشاشات الكبيرة (لابتوب وشاشات كبيرة) */
@media (min-width: 1024px) {
    /* قائمة المستخدم في الشاشات الكبيرة */
    .content-header .dashboard-user-menu,
    header .dashboard-user-menu,
    .dashboard-user-menu {
        min-width: 280px !important;
        max-width: 320px !important;
        /* منع القطع على الشاشات الكبيرة */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        max-height: none !important;
        /* تحسين UX - padding أكبر */
        padding: 12px !important;
    }
    
    /* تحسين الموضع في الشاشات الكبيرة - الموضع سيتم حسابه من JavaScript */
    html[dir="rtl"] .content-header .dashboard-user-menu,
    html[dir="rtl"] header .dashboard-user-menu,
    html[dir="rtl"] .dashboard-user-menu {
        /* الموضع سيتم حسابه ديناميكياً من JavaScript */
        max-width: 420px !important;
        /* ضمان عدم القطع */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
    }
    
    html[dir="ltr"] .content-header .dashboard-user-menu,
    html[dir="ltr"] header .dashboard-user-menu,
    html[dir="ltr"] .dashboard-user-menu {
        /* الموضع سيتم حسابه ديناميكياً من JavaScript */
        max-width: 420px !important;
        /* ضمان عدم القطع */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
    }
    
    /* عند الفتح في الشاشات الكبيرة - أولوية عالية جداً */
    html[dir="rtl"] .content-header .dashboard-user-menu.show,
    html[dir="rtl"] header .dashboard-user-menu.show,
    html[dir="rtl"] .dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dropdown.show .dashboard-user-menu,
    html[dir="rtl"] header .dropdown.show .dashboard-user-menu,
    html[dir="rtl"] .dropdown.show .dashboard-user-menu,
    html[dir="rtl"] .content-header .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] header .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
    html[dir="rtl"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
    html[dir="rtl"] .dropdown.show .dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dropdown .dashboard-user-menu.show,
    html[dir="rtl"] header .dropdown .dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dashboard-user-menu[style*="display: block"],
    html[dir="rtl"] header .dashboard-user-menu[style*="display: block"],
    html[dir="rtl"] .dashboard-user-menu[style*="display: block"] {
        /* الموضع سيتم حسابه ديناميكياً من JavaScript */
        max-width: 320px !important;
        min-width: 280px !important;
        /* ضمان عدم القطع */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        max-height: none !important;
        width: auto !important;
    }
    
    html[dir="ltr"] .content-header .dashboard-user-menu.show,
    html[dir="ltr"] header .dashboard-user-menu.show,
    html[dir="ltr"] .dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dropdown.show .dashboard-user-menu,
    html[dir="ltr"] header .dropdown.show .dashboard-user-menu,
    html[dir="ltr"] .dropdown.show .dashboard-user-menu,
    html[dir="ltr"] .content-header .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] header .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
    html[dir="ltr"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
    html[dir="ltr"] .dropdown.show .dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dropdown .dashboard-user-menu.show,
    html[dir="ltr"] header .dropdown .dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dashboard-user-menu[style*="display: block"],
    html[dir="ltr"] header .dashboard-user-menu[style*="display: block"],
    html[dir="ltr"] .dashboard-user-menu[style*="display: block"] {
        /* الموضع سيتم حسابه ديناميكياً من JavaScript */
        max-width: 320px !important;
        min-width: 280px !important;
        /* ضمان عدم القطع */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        max-height: none !important;
        width: auto !important;
    }
    
    /* قوائم اللغة والعملة في الشاشات الكبيرة */
    .content-header #languageDropdownBtn + .dropdown-menu,
    .content-header [aria-labelledby="languageDropdownBtn"],
    .content-header #dashboardCurrencyBtn + .dropdown-menu,
    .content-header [aria-labelledby="dashboardCurrencyBtn"] {
        min-width: 180px !important;
        max-width: 250px !important;
    }
    
    html[dir="rtl"] .content-header #languageDropdownBtn + .dropdown-menu.show,
    html[dir="rtl"] .content-header [aria-labelledby="languageDropdownBtn"].show,
    html[dir="rtl"] .content-header #dashboardCurrencyBtn + .dropdown-menu.show,
    html[dir="rtl"] .content-header [aria-labelledby="dashboardCurrencyBtn"].show {
        right: 1rem !important;
        left: auto !important;
        max-width: 250px !important;
    }
    
    html[dir="ltr"] .content-header #languageDropdownBtn + .dropdown-menu.show,
    html[dir="ltr"] .content-header [aria-labelledby="languageDropdownBtn"].show,
    html[dir="ltr"] .content-header #dashboardCurrencyBtn + .dropdown-menu.show,
    html[dir="ltr"] .content-header [aria-labelledby="dashboardCurrencyBtn"].show {
        right: auto !important;
        left: 1rem !important;
        max-width: 250px !important;
    }
}

/* تحسين عرض القوائم المنسدلة في الشاشات الكبيرة جداً (شاشات كبيرة) */
@media (min-width: 1440px) {
    /* قائمة المستخدم في الشاشات الكبيرة جداً */
    .content-header .dashboard-user-menu,
    header .dashboard-user-menu,
    .dashboard-user-menu {
        min-width: 320px !important;
        max-width: 450px !important;
        /* منع القطع على الشاشات الكبيرة جداً */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        max-height: none !important;
    }
    
    /* تحسين الموضع في الشاشات الكبيرة جداً - أبعد من الحافة */
    html[dir="rtl"] .content-header .dashboard-user-menu,
    html[dir="rtl"] header .dashboard-user-menu,
    html[dir="rtl"] .dashboard-user-menu {
        right: 2rem !important;
        left: auto !important;
        max-width: 450px !important;
        /* ضمان عدم القطع */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
    }
    
    html[dir="ltr"] .content-header .dashboard-user-menu,
    html[dir="ltr"] header .dashboard-user-menu,
    html[dir="ltr"] .dashboard-user-menu {
        right: auto !important;
        left: 2rem !important;
        max-width: 450px !important;
        /* ضمان عدم القطع */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
    }
    
    /* عند الفتح في الشاشات الكبيرة جداً - أولوية عالية جداً */
    html[dir="rtl"] .content-header .dashboard-user-menu.show,
    html[dir="rtl"] header .dashboard-user-menu.show,
    html[dir="rtl"] .dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dropdown.show .dashboard-user-menu,
    html[dir="rtl"] header .dropdown.show .dashboard-user-menu,
    html[dir="rtl"] .dropdown.show .dashboard-user-menu,
    html[dir="rtl"] .content-header .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] header .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
    html[dir="rtl"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
    html[dir="rtl"] .dropdown.show .dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dropdown .dashboard-user-menu.show,
    html[dir="rtl"] header .dropdown .dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="rtl"] .content-header .dashboard-user-menu[style*="display: block"],
    html[dir="rtl"] header .dashboard-user-menu[style*="display: block"],
    html[dir="rtl"] .dashboard-user-menu[style*="display: block"] {
        right: 2rem !important;
        left: auto !important;
        max-width: 480px !important;
        min-width: 400px !important;
        /* ضمان عدم القطع */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        max-height: none !important;
        width: auto !important;
    }
    
    html[dir="ltr"] .content-header .dashboard-user-menu.show,
    html[dir="ltr"] header .dashboard-user-menu.show,
    html[dir="ltr"] .dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dropdown.show .dashboard-user-menu,
    html[dir="ltr"] header .dropdown.show .dashboard-user-menu,
    html[dir="ltr"] .dropdown.show .dashboard-user-menu,
    html[dir="ltr"] .content-header .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] header .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
    html[dir="ltr"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu,
    html[dir="ltr"] .dropdown.show .dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dropdown .dashboard-user-menu.show,
    html[dir="ltr"] header .dropdown .dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] header .dropdown.show .dropdown-menu-end.dashboard-user-menu.show,
    html[dir="ltr"] .content-header .dashboard-user-menu[style*="display: block"],
    html[dir="ltr"] header .dashboard-user-menu[style*="display: block"],
    html[dir="ltr"] .dashboard-user-menu[style*="display: block"] {
        right: auto !important;
        left: 2rem !important;
        max-width: 450px !important;
        min-width: 320px !important;
        /* ضمان عدم القطع */
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        max-height: none !important;
        width: auto !important;
    }
}

/* ضمان عدم قطع القائمة المنسدلة من العناصر الأب - على جميع الشاشات */
/* إجبار overflow: visible على جميع العناصر الأب */
.content-header,
header,
.content-header .dropdown,
header .dropdown,
.dropdown,
.main-content,
.dashboard-wrapper,
.content-body {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* على الشاشات الكبيرة - قواعد إضافية */
@media (min-width: 1024px) {
    /* إجبار overflow: visible على جميع العناصر الأب */
    .content-header,
    header,
    .content-header .dropdown,
    header .dropdown,
    .dropdown,
    .main-content,
    .dashboard-wrapper,
    .content-body,
    body,
    html {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    
    /* ضمان أن القائمة المنسدلة تستخدم position: absolute مثل قوائم اللغة والعملة */
    .content-header .dashboard-user-menu,
    header .dashboard-user-menu,
    .dashboard-user-menu {
        position: absolute !important;
        top: 100% !important;
    }
    
    /* استثناء للعناصر التي تحتاج overflow */
    .content-header .overflow-auto,
    header .overflow-auto,
    .content-header .overflow-hidden,
    header .overflow-hidden,
    .content-header .overflow-scroll,
    header .overflow-scroll {
        overflow: auto !important;
    }
}

/* استثناء: القوائم المنسدلة في المحتوى الرئيسي - يجب أن تظهر دائماً عند class show */
.content-body .dropdown-menu.show,
.dashboard-content-wrapper .dropdown-menu.show,
.table .dropdown-menu.show,
.btn-group .dropdown-menu.show,
.btn-group.show .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    z-index: 1050 !important;
}

/* إصلاح خاص: القوائم المنسدلة في الجداول - أعلى z-index */
.table .dropdown-menu.show,
.table-responsive .dropdown-menu.show,
.dataTables_wrapper .dropdown-menu.show {
    z-index: 1060 !important;
}

/* إصلاح خاص للقوائم المنسدلة في الجداول */
.table .dropdown-menu,
.table-responsive .dropdown-menu,
.dataTables_wrapper .dropdown-menu,
tbody .dropdown-menu,
tr .dropdown-menu,
td .dropdown-menu {
    z-index: 1060 !important;
    position: absolute !important;
}

.table .dropdown-menu.show,
.table-responsive .dropdown-menu.show,
.dataTables_wrapper .dropdown-menu.show,
tbody .dropdown-menu.show,
tr .dropdown-menu.show,
td .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1060 !important;
}

/* إصلاح خاص للقوائم المنسدلة في btn-group */
.btn-group .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 1050 !important;
}

.btn-group.show .dropdown-menu,
.btn-group .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    z-index: 1050 !important;
}

/* إصلاح خاص للقوائم المنسدلة في btn-group-sm */
.btn-group-sm .dropdown-menu {
    min-width: 180px !important;
    font-size: 0.875rem !important;
}

.btn-group-sm.show .dropdown-menu,
.btn-group-sm .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Card Hover Effects */
.service-card,
.project-card,
.team-card,
.testimonial-card {
    transition: all 0.3s ease;
}

/* Enhanced Navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    transition: all 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced Stats */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item::after {
    transition: all 0.3s ease;
}

.stat-item:hover::after {
    width: 100px;
}

/* Enhanced Service Icons */
.service-icon {
    transition: all 0.3s ease;
}

.service-icon::before {
    transition: left 0.5s;
}

.service-icon:hover::before {
    left: 100%;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} /* Phoenix IT & Marketing - RTL Styles */
/* تنسيقات خاصة باللغة العربية */

/* Base RTL Direction */
/* تم نقل هذه القواعد إلى body.rtl و body.ltr في قسم RTL Styles */

/* Navigation RTL */
.nav-menu {
    flex-direction: row;
}

.nav-link {
    flex-direction: row-reverse;
}

.dropdown-icon {
    transform: rotate(180deg);
}

.dropdown.active .dropdown-icon {
    transform: rotate(0deg);
}

/* Dropdown Menu RTL - استثناء قائمة المستخدم */
.dropdown-menu:not(.dashboard-user-menu) {
    right: auto;
    left: 0;
}

/* Service Features RTL */
.service-features li {
    padding-right: 0;
    padding-left: 1.5rem;
}

.service-features li::before {
    right: auto;
    left: 0;
}

/* Hero Features RTL */
.hero-feature {
    flex-direction: row-reverse;
}

/* Hero Actions RTL */
.hero-actions {
    flex-direction: row-reverse;
}

/* Service Link RTL */
.service-link {
    flex-direction: row-reverse;
}

/* Footer Links RTL */
.footer-links {
    text-align: right;
}

/* Contact Item and icon styles are defined in line 1883 */

/* Language Switcher RTL */
.language-switcher {
    left: 1rem;
    right: auto;
}

.lang-btn {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* Back to Top Button RTL */
.back-to-top {
    left: 2rem;
    right: auto;
}

/* Mobile Menu RTL */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }
    
    .hero-feature {
        flex-direction: row-reverse;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .service-link {
        flex-direction: row-reverse;
    }
}

/* Form Elements RTL */
input, textarea, select {
    text-align: right;
}

/* Button Icons RTL - استثناء القوائم المنسدلة */
.btn:not(.dropdown-toggle):not([data-bs-toggle="dropdown"]) {
    flex-direction: row-reverse;
}

/* ضمان أن القوائم المنسدلة تظهر بشكل صحيح */
.dropdown-toggle,
.btn[data-bs-toggle="dropdown"],
button[data-bs-toggle="dropdown"] {
    flex-direction: row !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Dropdown Arrow RTL */
.dropdown .nav-link::after {
    content: '\f053'; /* FontAwesome left arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    margin-left: 0;
}

/* Service Card Icons RTL */
.service-icon {
    margin-left: 0;
    margin-right: 0;
}

/* Footer Logo RTL */
.footer-logo {
    flex-direction: row-reverse;
}

/* Social Links RTL */
.social-links {
    flex-direction: row-reverse;
}

/* Stats Grid RTL */
.stats-grid {
    direction: rtl;
}

/* About Grid RTL */
.about-grid {
    direction: rtl;
}

/* Services Grid RTL */
.services-grid {
    direction: rtl;
}

/* Footer Grid RTL */
.footer-grid {
    direction: rtl;
}

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

/* Margin and Padding RTL Adjustments */
.mr-auto { margin-right: auto; margin-left: 0; }
.ml-auto { margin-left: auto; margin-right: 0; }

.pr-0 { padding-right: 0; }
.pl-0 { padding-left: 0; }

/* Flex Direction RTL */
.flex-row-reverse { flex-direction: row-reverse; }
.flex-row { flex-direction: row; }

/* Justify Content RTL */
.justify-start { justify-content: flex-end; }
.justify-end { justify-content: flex-start; }

/* Align Items RTL */
.items-start { align-items: flex-end; }
.items-end { align-items: flex-start; }

/* Border RTL */
.border-r { border-right: none; border-left: 1px solid; }
.border-l { border-left: none; border-right: 1px solid; }

/* Shadow RTL */
.shadow-r { box-shadow: 2px 0 4px rgba(0,0,0,0.1); }
.shadow-l { box-shadow: -2px 0 4px rgba(0,0,0,0.1); }

/* Transform RTL */
.translate-x-r { transform: translateX(1rem); }
.translate-x-l { transform: translateX(-1rem); }

/* Animation RTL */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.3s ease-out;
}

/* Print Styles RTL */
@media print {
    body {
        direction: rtl;
        text-align: right;
    }
    
    .container {
        direction: rtl;
    }
    
    .nav-menu {
        flex-direction: row-reverse;
    }
} 

/* ===== ENHANCED FOOTER STYLES ===== */
.footer {
    background: var(--text-color);
    color: white;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.footer-brand-desc {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.footer-desc {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.footer-whatsapp {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border: 1px solid #25D366;
    border-radius: 25px;
}

.whatsapp-link:hover {
    color: white;
    background: #25D366;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: var(--primary-color);
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.footer-section li {
    margin-bottom: 0.75rem;
    text-align: center;
}

.footer-section a {
    color: #64748b;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    text-align: right;
    flex-direction: row-reverse; /* الأيقونة على اليمين في العربية */
    transition: none;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item i {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    margin-top: 2px;
}

/* تجميع العنوان والقيمة */
.contact-item > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

.contact-value {
    display: block;
    font-size: 0.85rem;
    line-height: 1.2;
    color: #64748b;
}

.contact-item a {
    color: #64748b;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item:hover {
    background: transparent;
    transform: none;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    order: 2; /* الأيقونة في النهاية (اليمين) */
    width: 20px;
    text-align: center;
}

/* تم إزالة div من contact-item - التعريفات المكررة حذفت */

/* تحسينات إضافية لقسم معلومات الاتصال */
.footer-section:first-child h4 {
    color: var(--primary-color);
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer-section:first-child h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #fff);
    border-radius: 2px;
}

/* تحسين المسافات في قسم معلومات الاتصال */
.footer-section:first-child .contact-info {
    padding-top: 0.5rem;
}

/* تحسين عرض العناوين الطويلة */
.contact-value {
    word-break: break-word;
    hyphens: auto;
}

/* تحسين خاص للعناوين متعددة الأسطر */
.contact-item:has(.contact-value) {
    min-height: 60px;
    align-items: center;
}

/* تحسين قسم المشاريع */
.projects-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

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

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #fff;
    color: var(--primary-color);
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.project-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.project-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.project-actions .btn-primary {
    background: var(--primary-color) !important;
    color: white !important;
}

.project-actions .btn-primary:hover {
    background: var(--secondary-color) !important;
    color: white !important;
}

.project-actions .btn-outline {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.project-actions .btn-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color);
}

.projects-actions {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 2px dashed var(--primary-color);
}

.projects-actions p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* تحسين الأيقونات */
.contact-item i.fa-map-marker-alt {
    color: #ff6b6b;
}

.contact-item i.fa-phone {
    color: #4ecdc4;
}

.contact-item i.fa-envelope {
    color: #45b7d1;
}

.contact-item i.fa-clock {
    color: #f9ca24;
}

/* ======================================== */
/* Phoenix IT & Marketing - RTL Styles */
/* تنسيقات خاصة باللغة العربية */
/* ======================================== */

/* Base RTL Direction - فقط عند وجود class rtl */
body.rtl {
    direction: rtl;
    text-align: right;
}

/* Base LTR Direction - للغة الإنجليزية */
body.ltr {
    direction: ltr;
    text-align: left;
}

/* Typography RTL */
body.rtl h1, 
body.rtl h2, 
body.rtl h3, 
body.rtl h4, 
body.rtl h5, 
body.rtl h6 {
    text-align: right;
}

/* Typography LTR */
body.ltr h1, 
body.ltr h2, 
body.ltr h3, 
body.ltr h4, 
body.ltr h5, 
body.ltr h6 {
    text-align: left;
}

/* Navigation RTL */
body.rtl .nav-link {
    flex-direction: row-reverse;
}

/* Navigation LTR */
body.ltr .nav-link {
    flex-direction: row;
}

.dropdown-icon {
    transform: rotate(180deg);
}

.dropdown.active .dropdown-icon {
    transform: rotate(0deg);
}

/* Dropdown Menu RTL - استثناء قائمة المستخدم */
.dropdown-menu:not(.dashboard-user-menu) {
    right: auto;
    left: 0;
}

/* Service Features RTL */
.service-features li {
    padding-right: 0;
    padding-left: 1.5rem;
}

.service-features li::before {
    right: auto;
    left: 0;
}

/* Hero Features RTL */
.hero-feature {
    flex-direction: row-reverse;
}

/* Hero Actions RTL */
.hero-actions {
    flex-direction: row-reverse;
}

/* Service Link RTL */
.service-link {
    flex-direction: row-reverse;
}

/* Footer Links RTL */
.footer-links {
    text-align: right;
}

/* Contact Item and icon styles are defined in line 1883 */

/* Language Switcher RTL */
.language-switcher {
    left: 1rem;
    right: auto;
}

.lang-btn {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* Back to Top Button RTL */
.back-to-top {
    left: 2rem;
    right: auto;
}

/* Mobile Menu RTL */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }
    
    .hero-feature {
        flex-direction: row-reverse;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .service-link {
        flex-direction: row-reverse;
    }
}

/* Form Elements RTL */
input, textarea, select {
    text-align: right;
}

/* Button Icons RTL - استثناء القوائم المنسدلة */
.btn:not(.dropdown-toggle):not([data-bs-toggle="dropdown"]) {
    flex-direction: row-reverse;
}

/* ضمان أن القوائم المنسدلة تظهر بشكل صحيح */
.dropdown-toggle,
.btn[data-bs-toggle="dropdown"],
button[data-bs-toggle="dropdown"] {
    flex-direction: row !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Dropdown Arrow RTL */
.dropdown .nav-link::after {
    content: '\f053'; /* FontAwesome left arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    margin-left: 0;
}

/* Service Card Icons RTL */
.service-icon {
    margin-left: 0;
    margin-right: 0;
}

/* Footer Logo RTL */
.footer-logo {
    flex-direction: row-reverse;
}

/* Social Links RTL */
.social-links {
    flex-direction: row-reverse;
}

/* Stats Grid RTL */
.stats-grid {
    direction: rtl;
}

/* About Grid RTL */
.about-grid {
    direction: rtl;
}

/* Services Grid RTL */
.services-grid {
    direction: rtl;
}

/* Footer Grid RTL */
.footer-grid {
    direction: rtl;
}

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

/* Margin and Padding RTL Adjustments */
.mr-auto { margin-right: auto; margin-left: 0; }
.ml-auto { margin-left: auto; margin-right: 0; }

.pr-0 { padding-right: 0; }
.pl-0 { padding-left: 0; }

/* Flex Direction RTL */
.flex-row-reverse { flex-direction: row-reverse; }
.flex-row { flex-direction: row; }

/* Justify Content RTL */
.justify-start { justify-content: flex-end; }
.justify-end { justify-content: flex-start; }

/* Align Items RTL */
.items-start { align-items: flex-end; }
.items-end { align-items: flex-start; }

/* Border RTL */
.border-r { border-right: none; border-left: 1px solid; }
.border-l { border-left: none; border-right: 1px solid; }

/* Shadow RTL */
.shadow-r { box-shadow: 2px 0 4px rgba(0,0,0,0.1); }
.shadow-l { box-shadow: -2px 0 4px rgba(0,0,0,0.1); }

/* Transform RTL */
.translate-x-r { transform: translateX(1rem); }
.translate-x-l { transform: translateX(-1rem); }

/* Animation RTL */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.3s ease-out;
}

/* Print Styles RTL */
@media print {
    body {
        direction: rtl;
        text-align: right;
    }
    
    .container {
        direction: rtl;
    }
    
    .nav-menu {
        flex-direction: row-reverse;
    }
}

/* تحسين باقي أقسام الفوتير بنفس تنسيق معلومات الاتصال */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-right: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 0.9rem;
    flex-direction: row-reverse; /* أيقونة على اليمين */
}

.footer-section ul li a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-2px);
    color: #fff;
}

/* أيقونات للروابط */
.footer-section ul li a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    order: 2; /* الأيقونة على اليمين */
}

/* تحسين العناوين لجميع الأقسام */
.footer-section h4 {
    color: var(--primary-color);
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #00d4ff);
    border-radius: 2px;
}

/* ألوان مختلفة لكل قسم */
.footer-section:nth-child(2) h4::after { /* الخدمات */
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

.footer-section:nth-child(3) h4::after { /* الشركة */
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
}

.footer-section:nth-child(4) h4::after { /* الدعم */
    background: linear-gradient(90deg, #f9ca24, #f0932b);
}

/* تحسين خاص للروابط المهمة */
.footer-section ul li a[href*="contact"],
.footer-section ul li a[href*="support"],
.footer-section ul li a[href*="agent-join"] {
    border-right-color: #ff6b6b;
}

.footer-section ul li a[href*="contact"]::before,
.footer-section ul li a[href*="support"]::before,
.footer-section ul li a[href*="agent-join"]::before {
    background: #ff6b6b;
}

.contact-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

.contact-value {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.2;
}

.contact-value a {
    color: #64748b;
    text-decoration: none;
}

.contact-value a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright p,
.footer-credits p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

.footer-credits a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-credits a:hover {
    color: var(--secondary-color);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand-text {
        text-align: center;
    }
    
    .footer-whatsapp {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-brand-name {
        font-size: 1.25rem;
    }
    
    .footer-brand-desc {
        font-size: 0.9rem;
    }
    
    .footer-desc {
        font-size: 0.9rem;
    }
}

/* Exchange Rates in Footer */
.exchange-rates {
    margin-bottom: 1rem;
}

.rate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.currency {
    font-weight: 600;
    color: #00A887;
    font-size: 0.9rem;
    min-width: 40px;
}

.rate {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}

.currency-name {
    color: #cccccc;
    font-size: 0.8rem;
    text-align: left;
    flex: 1;
    margin-left: 0.5rem;
}

.rate-update {
    text-align: center;
    margin: 1rem 0;
    color: #888;
}

.converter-link {
    text-align: center;
    margin-top: 1rem;
}

.converter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.converter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
    background: linear-gradient(135deg, #008A6B 0%, #7DD3C0 100%);
}

/* Responsive Exchange Rates */
@media (max-width: 768px) {
    .rate-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .currency {
        min-width: auto;
    }
    
    .currency-name {
        margin-left: 0;
    }
}

/* Footer Currency Converter Button */
.footer-converter {
    margin-top: 1.5rem;
    text-align: center;
}

.converter-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
    min-width: 160px;
}

.converter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 135, 0.4);
    background: linear-gradient(135deg, #008A6B 0%, #7DD3C0 100%);
    color: white;
    text-decoration: none;
}

.converter-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.converter-btn span {
    font-size: 1rem;
    font-weight: 700;
}

.converter-btn small {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Responsive Footer Converter */
@media (max-width: 768px) {
    .footer-converter {
        margin-top: 1rem;
    }
    
    .converter-btn {
        padding: 0.8rem 1.2rem;
        min-width: 140px;
    }
    
    .converter-btn i {
        font-size: 1.3rem;
    }
    
    .converter-btn span {
        font-size: 0.9rem;
    }
    
    .converter-btn small {
        font-size: 0.7rem;
    }
}


/* ===== GENERAL LAYOUT IMPROVEMENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Center all sections */
.hero,
.services-section,
.packages-section,
.about-section,
.team-section,
.testimonials-section,
.agents-section {
    text-align: center;
}

/* Improve section spacing */
section {
    padding: 80px 0;
}

/* Center grid items */
.services-grid,
.packages-grid,
.team-grid,
.testimonials-grid {
    display: grid;
    gap: 2rem;
    justify-items: center;
}

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

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

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

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Center cards */
.service-card,
.package-card,
.team-card,
.testimonial-card {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

/* Improve client logos */
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.client-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid,
    .packages-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .client-logos {
        gap: 1rem;
    }
    
    .client-logo {
        padding: 0.5rem;
    }
    
    .client-logo img {
        max-width: 100px;
        max-height: 50px;
    }
}


/* ===== AGENTS SECTION STYLES ===== */
.agents-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
}

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

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.agents-actions {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.agents-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.agents-actions .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.agents-actions .btn-primary:hover {
    background: var(--secondary-color) !important;
    color: white !important;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.agents-actions .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .agents-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .agents-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .agents-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .agents-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}


/* ===== TESTIMONIALS SECTION STYLES ===== */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    right: 10px;
    opacity: 0.3;
}

.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    bottom: -20px;
    left: 10px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.testimonial-info {
    text-align: right;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-position {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-actions {
    text-align: center;
}

.testimonial-actions .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.testimonial-actions .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-info {
        text-align: center;
    }
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.team-card {
    background-color: var(--light-bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-light);
}

.team-name {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-desc {
    color: var(--text-color-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.team-actions {
    text-align: center;
    margin-top: 2rem;
}

.team-actions p {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.team-actions .btn {
    margin: 0 0.75rem;
}

/* Responsive Team Section */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background-color: var(--light-bg-color);
}

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

.project-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 168, 135, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

.project-desc {
    color: var(--text-color-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--light-bg-color);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.project-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Ensure button colors are correct in project actions */
.projects-section .project-actions .btn-primary {
    background: var(--primary-color) !important;
    color: white !important;
}

.projects-section .project-actions .btn-primary:hover {
    background: var(--secondary-color) !important;
    color: white !important;
}

.projects-section .project-actions .btn-outline {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.projects-section .project-actions .btn-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color);
}

.projects-actions {
    text-align: center;
    margin-top: 2rem;
}

.projects-actions p {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.projects-actions .btn {
    margin: 0 0.75rem;
}

/* Responsive Projects Section */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin: 0 1rem;
    }
    
    .project-content {
        padding: 1.25rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-actions .btn {
        flex: none;
        width: 100%;
    }
}

/* ======================================== */
/* Homepage Specific Styles */
/* تنسيقات خاصة بالصفحة الرئيسية */
/* ======================================== */

/* إصلاح قسم الإحصائيات والعملاء */
.stats-section {
    background: #f8f9fa !important;
    padding: 4rem 0 !important;
    color: #333 !important;
}

.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 2rem !important;
    margin-bottom: 3rem !important;
}

.stat-item {
    text-align: center !important;
    padding: 1.5rem !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    border: 1px solid #e9ecef !important;
}

.stat-number {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #00A887 !important;
    margin-bottom: 0.5rem !important;
}

.stat-label {
    font-size: 1.1rem !important;
    color: #333 !important;
    font-weight: 500 !important;
}

/* إصلاح صور العملاء */
.client-logos {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
    margin: 2rem 0 !important;
}

.client-logo {
    background: white !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease !important;
}

.client-logo:hover {
    transform: translateY(-5px) !important;
}

.client-logo img {
    max-width: 120px !important;
    height: 60px !important;
    width: auto !important;
    filter: none !important;
    transition: filter 0.3s ease !important;
    opacity: 1 !important;
    object-fit: contain !important;
    display: block !important;
}

.client-logo:hover img {
    filter: none !important;
    opacity: 0.8 !important;
}

/* إصلاح قسم الشهادات */
.testimonials-preview {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
}

.testimonial-item {
    background: white !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    border: 1px solid #e9ecef !important;
}

.testimonial-content p {
    color: #333 !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    font-style: italic !important;
}

.testimonial-author strong {
    color: #00A887 !important;
    font-weight: 600 !important;
    display: block !important;
    margin-bottom: 0.25rem !important;
}

.testimonial-author span {
    color: #666 !important;
    font-size: 0.9rem !important;
}

.testimonial-actions {
    margin-top: 1rem !important;
    text-align: center !important;
}

.testimonial-actions .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.testimonial-actions .btn-outline {
    background: transparent !important;
    color: #00A887 !important;
    border: 2px solid #00A887 !important;
}

.testimonial-actions .btn-outline:hover {
    background: #00A887 !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* تحسين المسافات في قسم الوكلاء */
.agents-section {
    padding: 4rem 0 !important;
    background: #f8f9fa !important;
}

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

.agents-text h2 {
    font-size: 2.5rem !important;
    color: #00A887 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
}

.agents-text p {
    font-size: 1.2rem !important;
    color: #333 !important;
    line-height: 1.8 !important;
    margin-bottom: 2.5rem !important;
}

.agents-why {
    margin-bottom: 2.5rem !important;
}

.agents-why h3 {
    font-size: 1.5rem !important;
    color: #00A887 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
}

.agents-benefits {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.agents-benefits li {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 1.2rem !important;
    padding: 1rem !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease !important;
    line-height: 1.8 !important;
    gap: 0.5rem !important;
}

.agents-benefits li:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.agents-benefits li i {
    color: #00A887 !important;
    font-size: 1.2rem !important;
    margin-left: 0.5rem !important;
    margin-top: 0.2rem !important;
    flex-shrink: 0 !important;
}

.agents-benefits li strong {
    color: #00A887 !important;
    font-weight: 600 !important;
    margin-bottom: 0.3rem !important;
    display: block !important;
}

.agents-benefits li {
    line-height: 1.8 !important;
}

.agents-benefits li strong {
    margin-left: 0.3rem !important;
}

.agents-actions {
    display: flex !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.agents-actions .btn {
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.agents-actions .btn-primary {
    background: #00A887 !important;
    color: white !important;
    border: 2px solid #00A887 !important;
}

.agents-actions .btn-primary:hover {
    background: #008F73 !important;
    border-color: #008F73 !important;
    transform: translateY(-2px) !important;
}

.agents-actions .btn-outline {
    background: transparent !important;
    color: #00A887 !important;
    border: 2px solid #00A887 !important;
}

.agents-actions .btn-outline:hover {
    background: #00A887 !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.agents-stats {
    background: white !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}

.agents-stats .stat-item {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    padding: 1rem !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
}

.agents-stats .stat-item:last-child {
    margin-bottom: 0 !important;
}

.agents-stats .stat-number {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #00A887 !important;
    margin-bottom: 0.5rem !important;
}

.agents-stats .stat-label {
    font-size: 1rem !important;
    color: #333 !important;
    font-weight: 500 !important;
}

/* Package Tabs Styles */
.packages-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.package-tab {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-tab:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.package-tab.active {
    background: var(--primary-color);
    color: white;
}

.packages-category {
    display: none;
}

.packages-category.active {
    display: block;
}

@media (max-width: 768px) {
    .agents-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .agents-text h2 {
        font-size: 2rem !important;
    }
    
    .agents-text p {
        font-size: 1.1rem !important;
    }
    
    .agents-actions {
        flex-direction: column !important;
    }
    
    .agents-actions .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    .packages-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .package-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ======================================== */
/* Services Page Specific Styles */
/* تنسيقات خاصة بصفحة الخدمات */
/* ======================================== */

/* إصلاح النصوص البيضاء في قسم الخدمات المتخصصة */
.services-specialized {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.services-specialized .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .services-specialized .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-specialized {
        padding: 2rem 1rem;
    }
}

.services-subtitle {
    color: #00A887 !important;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.services-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00A887, #99E6D8);
    border-radius: 2px;
}

.service-item {
    background: white !important;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #00A887;
}

.service-icon-wrapper {
    background: linear-gradient(135deg, #00A887, #99E6D8) !important;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 168, 135, 0.4);
}

.service-item-title {
    color: #1f2937 !important;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-item-desc {
    color: #6b7280 !important;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.section-title {
    color: white !important;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 168, 135, 0.15);
    display: inline-block;
    max-width: 100%;
    position: relative;
    line-height: 1.3;
}

/* إصلاح النص في قسم CTA */
.cta-title {
    color: #00A887 !important;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.cta-description {
    color: #333 !important;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ======================================== */
/* Projects Page Specific Styles */
/* تنسيقات خاصة بصفحة المشاريع */
/* ======================================== */

/* Projects Page Styles */
.projects-hero {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

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

.projects-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white !important;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.projects-hero-desc {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 1;
    line-height: 1.6;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 500;
}

.projects-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.project-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.projects-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.projects-section:nth-child(even) {
    background: white;
}

.section-title {
    font-size: 1.8rem;
    color: #00A887 !important;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #00A887;
}

.project-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: #00A887;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333 !important;
    margin-bottom: 1rem;
    text-align: center;
}

.project-client {
    font-size: 1rem;
    color: #00A887 !important;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.project-desc {
    font-size: 1rem;
    color: #6c757d !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-meta span {
    font-size: 0.9rem;
    color: #6c757d !important;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.project-link {
    display: inline-block;
    background: #00A887;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-link:hover {
    background: #008F73;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 135, 0.3);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* تحسين وضوح النصوص */
.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.section-subtitle {
    color: #666 !important;
    font-weight: 500;
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .projects-hero-title {
        font-size: 2rem;
    }
    
    .projects-hero-desc {
        font-size: 1rem;
    }
    
    .projects-stats {
        gap: 1.5rem;
    }
    
    .project-stat {
        padding: 1.5rem 1rem;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 2rem 1.5rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .projects-hero {
        padding: 3rem 0;
    }
    
    .projects-hero-title {
        font-size: 1.8rem;
    }
    
    .projects-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .project-stat {
        width: 100%;
        max-width: 200px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .project-card {
        padding: 1.5rem 1rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-meta {
        gap: 0.3rem;
    }
    
    .project-meta span {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}

/* ======================================== */
/* Contact Page Specific Styles */
/* تنسيقات خاصة بصفحة الاتصال */
/* ======================================== */

/* إصلاح النصوص البيضاء في نموذج الاتصال */
.contact-form-title {
    color: #00A887 !important;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.form-label {
    color: #333 !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-input, .form-textarea {
    color: #333 !important;
    background-color: #fff !important;
    border: 2px solid #e9ecef !important;
}

.form-input:focus, .form-textarea:focus {
    border-color: #00A887 !important;
    box-shadow: 0 0 0 3px rgba(0, 168, 135, 0.1) !important;
}

.btn-primary {
    background: #00A887 !important;
    color: white !important;
    border: 2px solid #00A887 !important;
}

.btn-primary:hover {
    background: #038a73 !important;
    color: white !important;
    border-color: #038a73 !important;
}

/* إصلاح النصوص في قسم لماذا تختار العنقاء */
.values-list li {
    color: #333 !important;
    margin-bottom: 0.5rem;
}

.hero-content p {
    color: #666 !important;
}

/* ======================================== */
/* Packages Page Specific Styles */
/* تنسيقات خاصة بصفحة الباقات */
/* ======================================== */

/* Packages Page Styles */
.packages-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white !important;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #00A887 !important;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d !important;
    font-weight: 500;
}

.hero-note {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 2px solid #ffc107;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    position: relative;
    animation: pulse-border 2s ease-in-out infinite;
}

.hero-note::before {
    content: "⚠️";
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
}

.hero-note p {
    margin: 0;
    color: #856404 !important;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 600;
    padding-left: 3rem;
}

.hero-note p strong {
    color: #b45309 !important;
    font-weight: 700;
    font-size: 1.1rem;
}

@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 193, 7, 0.5);
    }
}

@media (max-width: 768px) {
    .hero-note {
        padding: 1.25rem 1.5rem;
    }
    
    .hero-note::before {
        left: 1.25rem;
        font-size: 1.5rem;
    }
    
    .hero-note p {
        font-size: 0.95rem;
        padding-left: 2.5rem;
    }
    
    .hero-note p strong {
    font-size: 1rem;
    }
}

.service-category {
    margin-bottom: 4rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-title {
    font-size: 2.2rem;
    color: #00A887 !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

.category-subtitle {
    font-size: 1.1rem;
    color: #6c757d !important;
    max-width: 600px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    color: #00A887 !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d !important;
    max-width: 600px;
    margin: 0 auto;
}

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

.package-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.package-card.popular {
    border-color: #00A887;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: #00A887;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

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

.package-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A887, #FF6B35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333 !important;
    margin-bottom: 1rem;
}

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

.currency {
    font-size: 1.2rem;
    color: #6c757d !important;
    font-weight: 500;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00A887 !important;
}

.period {
    font-size: 1rem;
    color: #6c757d !important;
    font-weight: 500;
}

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

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    color: #333 !important;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    color: #28a745;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.package-footer {
    text-align: center;
}

.package-footer .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.package-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Comparison Table */
.comparison-section {
    background: white;
    padding: 4rem 0;
    border-radius: 20px;
    margin: 2rem 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: #00A887;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table .feature-column {
    text-align: right;
    background: #f8f9fa !important;
    font-weight: 600;
    color: #333 !important;
}

.comparison-table .feature-value {
    font-weight: 500;
}

.comparison-table .feature-value.basic {
    color: #6c757d !important;
}

.comparison-table .feature-value.premium {
    color: #00A887 !important;
    font-weight: 600;
}

.comparison-table .feature-value.royal {
    color: #FF6B35 !important;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: #00A887;
    color: white;
    padding: 4rem 0;
    border-radius: 20px;
    margin-top: 2rem;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-actions .btn-primary {
    background: white;
    color: #00A887;
    border: 2px solid white;
}

.cta-actions .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-actions .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-actions .btn-outline:hover {
    background: white;
    color: #00A887;
}

/* Responsive Design for Packages */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .package-name {
        font-size: 1.3rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* ======================================== */
/* Team Page Specific Styles */
/* تنسيقات خاصة بصفحة الفريق */
/* ======================================== */

/* Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.team-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.team-hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.team-stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.team-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafb 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 168, 135, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
    pointer-events: none;
    opacity: 1;
}

/* Removed duplicate ::before definitions */

/* Department Tabs - Bootstrap Style */
.department-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.department-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.department-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 168, 135, 0.08) 0%, rgba(0, 168, 135, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.department-tab:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: #00A887;
    background: #ffffff;
    color: #00A887;
    box-shadow: 0 8px 24px rgba(0, 168, 135, 0.15);
}

.department-tab:hover::before {
    opacity: 1;
}

.department-tab.active {
    background: linear-gradient(135deg, #00A887 0%, #4ecdc4 100%);
    border-color: #00A887;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 168, 135, 0.25);
    transform: translateY(-4px) scale(1.03);
}

.tab-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.department-tab:hover .tab-icon,
.department-tab.active .tab-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(0, 168, 135, 0.4));
}

.department-tab.active .tab-icon {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.tab-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Department Content */
.department-content {
    display: none;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: perspective(1000px) rotateX(-90deg) translateZ(-100px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.department-content.active {
    display: block;
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateZ(0);
}

.department-group {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.department-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 135, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.department-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 168, 135, 0.12);
    border-color: #00A887;
}

.department-group:hover::before {
    opacity: 1;
}

.department-group:last-child {
    margin-bottom: 0;
}

.department-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f4f8;
    position: relative;
}

.department-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00A887, transparent);
    transition: width 0.4s ease;
}

.department-group:hover .department-header::after {
    width: 150px;
}

.department-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 8px 16px rgba(0, 168, 135, 0.2));
    animation: float-icon 3s ease-in-out infinite;
}

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

.department-title {
    font-size: 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #00A887 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.department-description {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
    display: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid #f1f5f9;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00A887 0%, #4ecdc4 50%, #99E6D8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 168, 135, 0.04) 0%, rgba(0, 168, 135, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 40px rgba(0, 168, 135, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #00A887;
}

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

.team-card:hover::after {
    opacity: 1;
}

.leadership-badge {
    display: none !important;
}

.team-avatar {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #00A887 0%, #4ecdc4 50%, #00A887 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.8rem;
    color: white;
    box-shadow: 
        0 8px 24px rgba(0, 168, 135, 0.2),
        0 4px 12px rgba(0, 168, 135, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 3;
    border: 4px solid #ffffff;
    overflow: hidden;
}

.team-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
}

.team-card:hover .team-avatar {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 
        0 16px 40px rgba(0, 168, 135, 0.3),
        0 8px 20px rgba(0, 168, 135, 0.2);
}

.team-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 2;
}

.team-card:hover .team-name {
    color: #00A887;
    transform: translateY(-2px);
}

.team-name-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.team-name-link:hover,
.team-name-link:focus {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.team-role {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-card:hover .team-role {
    color: #00A887;
}

.team-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 168, 135, 0.35);
    background: rgba(0, 168, 135, 0.08);
    color: #008f73;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    position: relative;
    z-index: 3;
    transition: all 0.25s ease;
}

.team-profile-link:hover,
.team-profile-link:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #00A887 0%, #4ecdc4 100%);
    border-color: #00A887;
    box-shadow: 0 6px 16px rgba(0, 168, 135, 0.25);
    transform: translateY(-2px);
    text-decoration: none;
}

.team-section.cta-section,
section.cta-section {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%) !important;
    color: white !important;
    padding: 4rem 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-section.cta-section::before,
section.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white !important;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    color: white !important;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #00A887;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 168, 135, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: #00A887;
}

/* Fix CTA section in team page */
.cta-section {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%) !important;
    color: white !important;
}

.cta-section .cta-title {
    color: white !important;
}

.cta-section .cta-description {
    color: white !important;
}

/* Team page specific CTA fix */
.team-section + .cta-section,
section.cta-section {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%) !important;
    color: white !important;
}

.team-section + .cta-section .cta-title,
.team-section + .cta-section .cta-description,
section.cta-section .cta-title,
section.cta-section .cta-description {
    color: white !important;
}

/* Responsive Design for Team */
@media (max-width: 992px) {
    .team-section {
        padding: 3rem 0;
    }
    
    .department-tabs {
        gap: 1rem;
    }
    
    .department-tab {
        padding: 1.25rem 1.5rem;
        min-width: 100px;
    }
    
    .tab-icon {
        font-size: 2rem;
    }
    
    .tab-title {
        font-size: 0.9rem;
    }
    
    .department-group {
        padding: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 2.5rem 0;
    }
    
    .department-tabs {
        gap: 0.75rem;
    }
    
    .department-tab {
        padding: 1rem 1.25rem;
        min-width: 90px;
    }
    
    .tab-icon {
        font-size: 1.75rem;
    }
    
    .tab-title {
        font-size: 0.8rem;
    }
    
    .department-group {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .department-icon {
        font-size: 3rem;
    }
    
    .department-title {
        font-size: 1.6rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.5rem;
    }
    
    .team-card {
        padding: 1.75rem 1.5rem;
    }
    
    .team-avatar {
        width: 95px;
        height: 95px;
        font-size: 2.4rem;
    }
    
    .team-name {
        font-size: 1.15rem;
    }
    
    .team-hero-title {
        font-size: 2rem;
    }
    
    .team-hero-desc {
        font-size: 1rem;
    }
    
    .team-stats {
        gap: 1rem;
    }
    
    .team-stat {
        flex: 0 0 calc(50% - 0.5rem);
        padding: 1.25rem 0.75rem;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-hero {
        padding: 2.5rem 0;
    }
    
    .team-hero-title {
        font-size: 1.8rem;
    }
    
    .team-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .team-stat {
        width: 100%;
        max-width: 180px;
    }
    
    .department-icon {
        font-size: 2.2rem;
    }
    
    .department-title {
        font-size: 1.3rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-card {
        padding: 1.25rem 1rem;
    }
    
    .team-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }
    
    .team-name {
        font-size: 1rem;
    }
    
    .team-role {
        font-size: 0.8rem;
    }
}

/* ======================================== */
/* About Page Specific Styles */
/* تنسيقات خاصة بصفحة من نحن */
/* ======================================== */

/* إصلاح النصوص البيضاء في صفحة من نحن */
.hero-desc {
    color: #333 !important;
    font-weight: 500;
    opacity: 1 !important;
}

.about-company-title {
    color: #00A887 !important;
    font-weight: 700;
}

.about-description {
    color: #333 !important;
    line-height: 1.8;
}

.vision-title, .mission-title {
    color: #00A887 !important;
    font-weight: 700;
}

.vision-description, .mission-description {
    color: #333 !important;
    line-height: 1.8;
}

.branch-header h3 {
    color: #00A887 !important;
    font-weight: 700;
}

.branch-details p {
    color: #333 !important;
}

.branch-details strong {
    color: #00A887 !important;
}

.company-highlight {
    color: #00A887 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #00A887 !important;
    text-shadow: none !important;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.year-highlight {
    color: #FF6B35 !important;
    background: rgba(255, 107, 53, 0.2) !important;
    border: 2px solid rgba(255, 107, 53, 0.4) !important;
    text-shadow: none !important;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.cta-content h2 {
    color: #00A887 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.cta-content p {
    color: #333 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 500;
}

/* إصلاح النصوص البيضاء في قسم Timeline */
.section-title {
    color: #00A887 !important;
    font-weight: 700;
}

.timeline-item h3 {
    color: #00A887 !important;
    font-weight: 700;
}

.timeline-content p {
    color: #333 !important;
    line-height: 1.8;
}

.timeline-year {
    color: #FF6B35 !important;
    font-weight: 700;
}

.registration-details {
    color: #333 !important;
    background: #f8f9fa !important;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #e9ecef;
}

.registration-details strong {
    color: #00A887 !important;
    font-weight: 600;
}

/* إصلاح زر تعرف على خدماتنا */
.btn-outline {
    background: transparent !important;
    color: #00A887 !important;
    border: 2px solid #00A887 !important;
}

.btn-outline:hover {
    background: #00A887 !important;
    color: white !important;
    border-color: #00A887 !important;
}

/* ======================================== */
/* Agent Join Page Specific Styles */
/* تنسيقات خاصة بصفحة انضم كوكيل */
/* ======================================== */

/* Agent Hero Section */
.agent-hero {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.agent-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: white;
}

.agent-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1e293b !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b !important;
    max-width: 800px;
    margin: 0 auto;
}

/* Benefits Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,168,135,0.2);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h4,
.benefit-card h3 {
    color: #1e293b !important;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: #64748b !important;
    line-height: 1.6;
}

/* إصلاح النصوص في قسم برنامج وكلاء العنقاء */
.section-subtitle {
    color: #64748b !important;
}

/* إصلاح الألوان في commission-card */
.commission-card h4,
.commission-card h3 {
    color: #1e293b !important;
}

.commission-card p {
    color: #64748b !important;
}

.commission-card .commission-percentage {
    color: #00A887 !important;
}

.service-card h4,
.service-card h3 {
    color: #1e293b !important;
}

.service-card p {
    color: #64748b !important;
}

/* إصلاح step-card */
.step-card h4,
.step-card h3 {
    color: #1e293b !important;
}

.step-card p {
    color: #64748b !important;
}

/* إصلاح contact-info المسافات */
.cta-section .contact-info {
    gap: 2rem !important;
    padding-top: 2rem !important;
    margin-top: 2rem !important;
}

.cta-section .contact-item {
    min-width: 200px;
}

.cta-section .contact-item strong {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
}

.cta-section .contact-item span,
.cta-section .contact-item a {
    font-size: 1rem !important;
}

/* Hero Features for CTA */
.cta-section .hero-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-section .feature-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cta-section .btn-hero {
    display: inline-block;
    background: white;
    color: #00A887;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-hero:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.cta-section .cta-icon {
    color: white;
}

.cta-section .cta-title {
    color: white !important;
}

.cta-section .cta-description {
    color: rgba(255, 255, 255, 0.95) !important;
}

.cta-section .cta-security {
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 1rem;
}

/* Commission Cards */
.commission-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.commission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,168,135,0.2);
}

.commission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.commission-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00A887;
    margin: 1rem 0;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,168,135,0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.commission-badge {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.cta-description {
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    opacity: 0.95;
    max-width: 700px;
    color: white;
}

.cta-security {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
    color: white;
}

.btn-hero {
    background: white;
    color: #00A887 !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 1.5rem 0;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #00A887 !important;
}

/* Agent join contact info - moved to cta-section specific styles */

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.step-number {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-item h4 {
    color: #00A887 !important;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #333 !important;
}

/* Hover Effects */
.commission-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 168, 135, 0.1);
    outline: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    background: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

.btn-outline-white:hover {
    background: white !important;
    color: var(--primary-color) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker)) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 135, 0.4) !important;
}

/* Phoenix Brand Colors */
:root {
    --phoenix-primary: #00A887;
    --phoenix-secondary: #99E6D8;
    --phoenix-accent: #FF6B35;
    --phoenix-light: #E6F7F3;
    --phoenix-lighter: #F0FDFA;
}

/* Responsive Design for Agent Join */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ======================================== */
/* Privacy Page Specific Styles */
/* تنسيقات خاصة بصفحة الخصوصية */
/* ======================================== */

.privacy-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.privacy-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.last-updated {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.privacy-section-block {
    margin-bottom: 40px;
}

.privacy-section-block h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.privacy-section-block h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
}

.privacy-section-block p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-section-block ul {
    padding-right: 20px;
    margin-bottom: 15px;
}

.privacy-section-block li {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Privacy page specific contact-info removed - use general styles */

/* Responsive Design for Privacy */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .privacy-content {
        padding: 25px;
        margin: 0 15px;
    }
}

/* ======================================== */
/* Support Page Specific Styles */
/* تنسيقات خاصة بصفحة الدعم */
/* ======================================== */

.support-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 100px 0 60px 0;
}

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

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.support-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-method {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.method-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
}

.contact-link:hover {
    background: var(--accent-color);
}

.emergency-support {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    text-align: center;
}

.emergency-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Support */
@media (max-width: 768px) {
    .emergency-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================== */
/* Terms Page Specific Styles */
/* تنسيقات خاصة بصفحة الشروط */
/* ======================================== */

.terms-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.terms-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.last-updated {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.terms-section-block {
    margin-bottom: 40px;
}

.terms-section-block h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.terms-section-block ul {
    padding-right: 1.5rem;
    color: #555;
    margin-bottom: 15px;
}

.terms-section-block p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Responsive Design for Terms */
@media (max-width: 600px) {
    .terms-content { 
        padding: 15px; 
    }
    .hero-title { 
        font-size: 1.5rem; 
    }
}

/* ======================================== */
/* FAQ Page Specific Styles */
/* تنسيقات خاصة بصفحة الأسئلة الشائعة */
/* ======================================== */

.faq-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 100px 0 60px 0;
}

.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-category {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.faq-category:hover,
.faq-category.active {
    background: var(--primary-color);
    color: white;
}

.faq-section {
    display: none;
}

.faq-section.active {
    display: block;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-right: 4px solid var(--primary-color);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================== */
/* User Menu Styles */
/* تنسيقات قائمة المستخدم */
/* ======================================== */

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 1rem;
}

.user-name {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.8rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.user-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 168, 135, 0.3);
}

.user-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.4);
}

.user-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--danger-color);
    color: var(--danger-color);
}

.user-actions .btn-outline:hover {
    background: var(--danger-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive User Menu */
@media (max-width: 768px) {
    .user-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .user-info {
        align-items: center;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    
    .user-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .user-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ======================================== */
/* Notification Styles */
/* تنسيقات الإشعارات */
/* ======================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 10000;
    font-weight: 600;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
    font-family: 'Cairo', sans-serif;
    border: 2px solid transparent;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.notification-success {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.notification-error {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.notification-info {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Notification Icons */
.notification::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.notification-success::before {
    content: '✓';
    font-weight: bold;
    font-size: 16px;
}

.notification-error::before {
    content: '✕';
    font-weight: bold;
    font-size: 16px;
}

.notification-info::before {
    content: 'ℹ';
    font-weight: bold;
    font-size: 16px;
}

/* Responsive Notifications */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 14px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .notification {
        top: 5px;
        right: 5px;
        left: 5px;
        font-size: 13px;
        padding: 10px 14px;
    }
}

@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; 
    }
}

/* ======================================== */
/* Authentication Pages Styles */
/* تنسيقات خاصة بصفحات المصادقة */
/* ======================================== */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  
    padding: 2rem 1rem;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.2);
    padding: 4rem 3.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 2;
    transition: all 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 50px 100px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.3);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00A887, #99E6D8, #00A887);
    border-radius: 28px 28px 0 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.auth-logo {
    display: none !important;
}


.auth-title {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00A887, #1f2937);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: none;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    color: #64748b;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.9;
}

.auth-form {
    margin-bottom: 2rem;
}

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

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

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

.form-label {
    display: block;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 1.4rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(248, 250, 252, 0.8);
    font-family: 'Cairo', sans-serif;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: #00A887;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(0, 168, 135, 0.2), 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.form-input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-input.success {
    border-color: #10b981;
    background: #f0fdf4;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.form-input.error + .form-error {
    display: block;
}

.form-success {
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.form-input.success + .form-success {
    display: block;
}

.password-strength {
    margin-top: 0.75rem;
}

.strength-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-bar.strength-weak .strength-fill {
    width: 25%;
    background: #ef4444;
}

.strength-bar.strength-fair .strength-fill {
    width: 50%;
    background: #f59e0b;
}

.strength-bar.strength-good .strength-fill {
    width: 75%;
    background: #3b82f6;
}

.strength-bar.strength-strong .strength-fill {
    width: 100%;
    background: #10b981;
}

.strength-text {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 0.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #374151;
    cursor: pointer;
    font-weight: 500;
}

.remember-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #00A887;
}

.forgot-password {
    color: #00A887;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #007a6b;
    text-decoration: underline;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00A887;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.terms-text {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.5;
    font-weight: 400;
}

.terms-text a {
    color: #00A887;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-text a:hover {
    color: #007a6b;
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-family: 'Cairo', sans-serif;
    text-transform: none;
    box-shadow: 0 12px 35px rgba(0, 168, 135, 0.4);
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.auth-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 168, 135, 0.6);
    background: linear-gradient(135deg, #007a6b, #7dd3c0);
}

.auth-button:active {
    transform: translateY(-1px);
}

.auth-button.loading {
    pointer-events: none;
}

.auth-button.loading .button-text {
    opacity: 0;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.auth-button.loading .loading-spinner {
    display: block;
}

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

.auth-divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    background: white;
    padding: 0 1.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-auth {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.social-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.3rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    text-decoration: none;
    color: #374151;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.social-button:hover {
    border-color: #00A887;
    background: rgba(240, 253, 244, 0.9);
    color: #00A887;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 168, 135, 0.25);
}

.social-button i {
    font-size: 1.3rem;
}

.auth-link {
    text-align: center;
    margin-top: 2rem;
}

.auth-link p {
    color: #6b7280;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
}

.auth-link a {
    color: #00A887;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.auth-link a:hover {
    color: #007a6b;
    background: rgba(0, 168, 135, 0.1);
    transform: translateY(-1px);
}

/* Responsive Design for Auth */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 3rem 2rem;
        border-radius: 24px;
        margin: 0.5rem;
        max-width: 100%;
    }
    
    .auth-title {
        font-size: 2.4rem;
    }
    
    .auth-subtitle {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .social-auth {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auth-options {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .form-input {
        padding: 1.3rem 1.4rem;
        font-size: 1.1rem;
    }
    
    .auth-button {
        padding: 1.4rem 1.8rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2.5rem 1.5rem;
        margin: 0.5rem;
        border-radius: 20px;
    }
    
    .auth-title {
        font-size: 2.2rem;
    }
    
    .auth-subtitle {
        font-size: 1.1rem;
    }
    
    .form-input {
        padding: 1.2rem 1.3rem;
        font-size: 1rem;
    }
    
    .auth-button {
        padding: 1.3rem 1.6rem;
        font-size: 1.1rem;
    }
}

/* ======================================== */
/* Dashboard Page Specific Styles */
/* تنسيقات خاصة بصفحة لوحة التحكم */
/* ======================================== */

.dashboard-container {
    min-height: 100vh;
    background: var(--bg-lighter);
    padding: var(--space-lg);
}

.dashboard-header {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.dashboard-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin: 0;
}

.dashboard-subtitle {
    color: var(--text-light);
    font-size: var(--text-lg);
    margin: var(--space-xs) 0 0 0;
}

.dashboard-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-lighter);
    border-radius: var(--radius-lg);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--font-bold);
}

.user-details h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: var(--text-sm);
}

.user-details p {
    margin: 0;
    color: var(--text-light);
    font-size: var(--text-xs);
}

.logout-btn {
    background: var(--error-color);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.logout-btn:hover {
    background: #e53e3e;
    transform: translateY(-1px);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.dashboard-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin: 0;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.stat-label {
    color: var(--text-light);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

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

.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-lighter);
    transition: var(--transition-fast);
}

.project-item:hover {
    background: var(--bg-lighter);
}

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

.project-info h4 {
    margin: 0 0 var(--space-xs) 0;
    color: var(--text-dark);
    font-size: var(--text-base);
}

.project-info p {
    margin: 0;
    color: var(--text-light);
    font-size: var(--text-sm);
}

.project-status {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
}

.status-active {
    background: var(--success-light);
    color: var(--success-color);
}

.status-pending {
    background: var(--warning-light);
    color: var(--warning-color);
}

.status-completed {
    background: var(--info-light);
    color: var(--info-color);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-fast);
    cursor: pointer;
}

.action-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-lighter);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.action-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-lg);
}

.action-text h4 {
    margin: 0 0 var(--space-xs) 0;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
}

.action-text p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-light);
}

.recent-activities {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-lighter);
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-lighter);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.activity-content h5 {
    margin: 0 0 var(--space-xs) 0;
    color: var(--text-dark);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

.activity-content p {
    margin: 0;
    color: var(--text-light);
    font-size: var(--text-xs);
}

.activity-time {
    color: var(--text-muted);
    font-size: var(--text-xs);
    margin-top: var(--space-xs);
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .dashboard-container {
        padding: var(--space-md);
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .dashboard-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   Register Page Styles (from register.php)
   ====================================== */
.register-page-wrapper {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    border-radius: 20px;
    margin: 2rem 0;
}

.register-container {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.register-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.register-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 168, 135, 0.2);
    transition: all 0.3s ease;
    border: 3px solid rgba(0, 168, 135, 0.1);
}

.register-logo-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 40px rgba(0, 168, 135, 0.3);
}

.register-logo-text {
    text-align: right;
}

.register-brand-name {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-brand-desc {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.register-header h1 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-header p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-group.full-width {
    width: 100%;
}

.form-label {
    display: block;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.form-input:focus {
    outline: none;
    border-color: #00A887;
    box-shadow: 0 0 0 3px rgba(0, 168, 135, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-success {
    color: #10b981;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-success.show {
    display: block;
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #00A887;
    box-shadow: 0 0 0 3px rgba(0, 168, 135, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    resize: vertical;
    min-height: 100px;
}

.form-textarea:focus {
    outline: none;
    border-color: #00A887;
    box-shadow: 0 0 0 3px rgba(0, 168, 135, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    background: #dc3545;
}

.strength-bar.strength-weak .strength-fill {
    width: 25%;
    background: #dc3545;
}

.strength-bar.strength-fair .strength-fill {
    width: 50%;
    background: #ffc107;
}

.strength-bar.strength-good .strength-fill {
    width: 75%;
    background: #17a2b8;
}

.strength-bar.strength-strong .strength-fill {
    width: 100%;
    background: #28a745;
}

.strength-text {
    font-size: 0.75rem;
    color: #666;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.terms-checkbox input[type="checkbox"] {
    margin: 0;
    margin-top: 0.25rem;
}

.terms-link,
.privacy-link {
    color: #00A887;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.terms-link:hover,
.privacy-link:hover {
    color: #99E6D8;
    text-decoration: underline;
}

/* Modal Styles for Terms and Privacy */
/* تم نقل جميع ستايلات المودال إلى modal-fixes.css لتوحيد المودال في جميع الصفحات */
/* تم إزالة التعريفات المكررة لتجنب التضارب */

/* ستايلات خاصة لمحتوى Terms و Privacy فقط */
.terms-modal .modal-body h3 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.terms-modal .modal-body h3:first-child {
    margin-top: 0;
}

.terms-modal .modal-body p {
    color: #4b5563;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Register Form Buttons */
.register-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-register {
    background: linear-gradient(135deg, #00A887, #99E6D8);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 135, 0.4);
}

.btn-register:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.btn-register:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.2);
}

.btn-register.loading {
    pointer-events: none;
}

.btn-register.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-cancel {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.btn-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

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

/* Register Form Notifications */
.register-notification {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: none;
}

.register-notification.show {
    display: block;
}

.register-notification.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.register-notification.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Register Page Header */
.register-header-nav {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 168, 135, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.register-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.register-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.register-nav-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.2);
}

.register-nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.register-nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.register-nav-link:hover {
    color: #00A887;
    background: rgba(0, 168, 135, 0.1);
    text-decoration: none;
}

/* Register Page Footer */
.register-footer {
    background: rgba(30, 41, 59, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.register-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.register-footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.register-footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.register-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.register-footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.register-footer-link:hover {
    color: #00A887;
    text-decoration: none;
    padding-right: 0.5rem;
}

.register-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.register-footer-copyright {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Design for Register Page */
@media (max-width: 768px) {
    .register-nav-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .register-nav-links {
        gap: 1rem;
    }
    
    .register-container {
        margin: 1rem;
        padding: 1.5rem;
        max-width: none;
    }
    
    .register-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .register-logo-text {
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .register-buttons {
        flex-direction: column;
    }
    
    .btn-register,
    .btn-cancel {
        width: 100%;
    }
    
    .register-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }
    
    .register-footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .register-header h1 {
        font-size: 1.5rem;
    }
    
    .register-brand-name {
        font-size: 1.2rem;
    }
    
    .register-container {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .register-nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ======================================
   Legal Pages Styles (Terms & Privacy)
   ====================================== */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-header h1 {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.legal-content {
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: #4b5563;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-section ul {
    color: #4b5563;
    margin-bottom: 1rem;
    padding-right: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section li::marker {
    color: #00A887;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
}

/* ======================================
   Profile Page Styles (from profile.php)
   ====================================== */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 16px;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    color: #00A887;
    background: #f8f9fa;
}

.tab-button.active {
    color: #00A887;
    border-bottom-color: #00A887;
    font-weight: 600;
}

/* Tab content - فقط للصفحات التي تحتاجها (مثل profile tabs) */
.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}

/* استثناء لصفحة checkout - يجب أن تظهر دائماً */
.checkout-page .tab-content,
body.checkout-page .tab-content,
#authTabsContent {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* استثناء لصفحة profile - يجب أن تظهر التبويبات بشكل صحيح */
.dashboard-page .profile-tabs-content .tab-content,
.dashboard-page .profile-tabs-content .tab-pane {
    display: block !important;
}

.dashboard-page .profile-tabs-content .tab-pane:not(.show):not(.active) {
    display: none !important;
}

.dashboard-page .profile-tabs-content .tab-pane.show,
.dashboard-page .profile-tabs-content .tab-pane.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.card-title {
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.role-display {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    font-weight: 600;
    color: #00A887;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ======================================
   ERP Import Styles (from views/admin/erp-import.php)
   ====================================== */
.system-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.system-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.system-card.selected {
    border-color: var(--primary-color);
    background-color: #f0f9ff;
}

.system-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.import-progress {
    display: none;
}

.import-result {
    margin-top: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.success-count {
    color: #28a745;
    font-weight: bold;
}

.error-count {
    color: #dc3545;
    font-weight: bold;
}

.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background-color: #f0f9ff;
}

.json-editor {
    min-height: 300px;
    font-family: 'Courier New', monospace;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    margin: 0 1rem;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
}

.step.active .step-number {
    background-color: var(--primary-color);
}

.step.completed .step-number {
    background-color: #28a745;
}

/* ======================================
   POS Report Styles (from views/pos/report.php)
   ====================================== */
.report-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 1.1rem;
}

.chart-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.table-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-print {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-print:hover {
    background: #008f73;
    color: white;
}

.payment-method-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.payment-method-name {
    font-weight: 600;
}

.payment-method-amount {
    color: var(--primary-color);
    font-weight: bold;
}

@media print {
    .no-print {
        display: none !important;
    }
    
    .report-header {
        background: #f8f9fa !important;
        color: #333 !important;
    }
    
    .stat-card, .chart-container, .table-container {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}

/* ======================================
   POS Main Styles (from views/pos/index.php)
   DEPRECATED: These styles are now in assets/css/pos.css
   Keeping for backward compatibility only
   ====================================== */
.pos-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.pos-sidebar {
    width: 300px;
    background: white;
    border-left: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
}

.pos-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.pos-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: between;
    align-items: center;
}

.pos-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.products-section {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-section {
    width: 400px;
    background: white;
    border-left: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
}

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

.product-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-card.selected {
    border-color: var(--primary-color);
    background-color: #f0f9ff;
}

.product-image {
    width: 100%;
    height: 120px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6c757d;
}

.product-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-stock {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.cart-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

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

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-btn:hover {
    background: #f8f9fa;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.25rem;
}

.cart-footer {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-checkout {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-checkout:hover {
    background: #008f73;
}

.search-box {
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
}

.category-filter {
    margin-bottom: 1rem;
}

.category-btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.low-stock-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.payment-modal .modal-content {
    border-radius: 12px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-method {
    padding: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method.selected {
    border-color: var(--primary-color);
    background-color: #f0f9ff;
}

.payment-method i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .pos-container {
        flex-direction: column;
    }
    
    .pos-sidebar {
        width: 100%;
        height: 200px;
        border-left: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .cart-section {
        width: 100%;
        height: 300px;
        border-left: none;
        border-top: 1px solid #dee2e6;
    }
}

/* ======================================
   Enhanced Packages Section Styles
   ====================================== */
.packages-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.packages-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.package-tab {
    background: white;
    border: 2px solid #e9ecef;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.package-tab i {
    font-size: 1.3rem;
}

.package-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,168,135,0.2);
}

.package-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #99E6D8 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 16px rgba(0,168,135,0.3);
}

.packages-category {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.packages-category.active {
    display: block;
}

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

.packages-category-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #333;
    font-weight: 700;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.package-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c5e 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.package-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.package-duration {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 600;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #495057;
    font-size: 1rem;
    position: relative;
    padding-right: 2rem;
}

.package-features li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #99E6D8 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,168,135,0.2);
}

.package-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,168,135,0.3);
    color: white;
}

.package-cta.featured {
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c5e 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.package-cta.featured:hover {
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

/* Responsive Design for Packages */
@media (max-width: 768px) {
    .packages-section {
        padding: 60px 20px;
    }
    
    .packages-tabs {
        flex-direction: column;
        gap: 1rem;
    }
    
    .package-tab {
        width: 100%;
        justify-content: center;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card {
        padding: 1.5rem;
    }
    
    .package-price {
        font-size: 2rem;
    }
    
    .packages-category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .package-header {
        padding-bottom: 1rem;
    }
    
    .package-title {
        font-size: 1.3rem;
    }
    
    .package-price {
        font-size: 1.8rem;
    }
    
    .package-features li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }
}

/* ======================================
   Agent Register Page Styles (from agent/register.php)
   ====================================== */
.agent-badge {
    background: linear-gradient(135deg, #48bb78, #229954);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.agent-register-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 600px;
    margin: 20px;
}

.agent-register-header h1 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 28px;
}

/* ======================================
   Photography Service Styles (from services/photography.php)
   ====================================== */
.photography-hero {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.photography-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.photography-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.photography-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

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

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    border-color: #00A887;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 168, 135, 0.4);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 168, 135, 0.3);
    transition: all 0.3s ease;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.3;
}

.service-desc {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: right;
}

.service-features li {
    padding: 0.75rem 0;
    color: #4b5563;
    position: relative;
    padding-right: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid #f3f4f6;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #00A887;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-action {
    margin-top: 2rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
    margin: 0 auto;
}

.service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 135, 0.4);
    background: linear-gradient(135deg, #007a6b 0%, #7dd3c0 100%);
    color: white;
}

/* Featured Service */
.featured-service {
    border: 3px solid #00A887;
    transform: scale(1.05);
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.service-pricing {
    text-align: center;
    margin-bottom: 2rem;
}

.featured-title {
    color: #00A887;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.featured-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00A887;
    margin-bottom: 0.5rem;
}

.featured-period {
    color: #6b7280;
    font-size: 1rem;
}

.featured-btn {
    background: linear-gradient(135deg, #00A887, #99E6D8) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(0, 168, 135, 0.4) !important;
}

.featured-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 168, 135, 0.5) !important;
}

/* ======================================
   Currency Converter Styles (from currency-converter.php)
   ====================================== */
.converter-container {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
}

.converter-title {
    text-align: center;
    color: #00A887;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.converter-title i {
    margin-left: 1rem;
    color: #FF6B35;
}

.converter-form {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

.convert-btn {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 60px;
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 135, 0.4);
    background: linear-gradient(135deg, #008A6B 0%, #7DD3C0 100%);
}

.convert-btn:active {
    transform: translateY(0);
}

.convert-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.convert-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.result {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #00A887;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00A887;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.1);
}

.result i {
    margin-left: 0.5rem;
    color: #28a745;
    font-size: 1.5rem;
}

.currency-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.currency-info h3 {
    color: #00A887;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.currency-info h3 i {
    margin-left: 0.5rem;
    color: #FF6B35;
}

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

.currency-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.currency-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.currency-item strong {
    display: block;
    color: #00A887;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.currency-item span {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0,168,135,0.1);
}

.swap-button {
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c5e 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.swap-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.result-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.result-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-text {
    color: #666;
    font-size: 1.1rem;
}

/* ======================================
   Payment Page Styles (from payment.php)
   ====================================== */
.payment-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.payment-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-header h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.payment-header p {
    color: #666;
    font-size: 1.1rem;
}

.payment-form-group {
    margin-bottom: 20px;
}

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

.payment-form-group input,
.payment-form-group select,
.payment-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-method-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.payment-method-card.selected {
    border-color: var(--primary-color);
    background: #f0f9ff;
}

.payment-method-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.payment-method-name {
    font-weight: 600;
    color: #333;
}

.payment-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #99E6D8 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,168,135,0.3);
}

.payment-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Design for Payment */
@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .converter-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .convert-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-height: 50px;
    }
    
    .result {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .currency-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }
    
    .currency-item {
        padding: 0.8rem;
    }
    
    .swap-button {
        transform: rotate(90deg);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .photography-hero h1 {
        font-size: 2rem;
    }
    
    .converter-title {
        font-size: 2rem;
    }
    
    .result-amount {
        font-size: 2rem;
    }
}

/* ======================================
   Project Detail Page Styles (from views/projects/detail.php)
   ====================================== */
.project-detail-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.project-detail-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.project-detail-grid {
    display: grid;
}

/* ======================================
   Dashboard Styles (from dashboard/index.php)
   ====================================== */
.employee-dashboard {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 15px;
    color: white;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-main {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-sidebar {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.recent-activities {
    list-style: none;
    padding: 0;
}

.recent-activities li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.recent-activities li:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.activity-time {
    color: #666;
    font-size: 0.9rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.quick-action-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #99E6D8 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,168,135,0.3);
    color: white;
}

.quick-action-btn i {
    font-size: 1.5rem;
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Services Page Styles */
.services-hero {
    padding: 100px 0 60px 0;
}

.service-action {
    margin-top: 2rem;
}

/* إصلاح العناوين البيضاء */
.hero-title,
h1, h2, h3, h4, h5, h6 {
    color: #1e293b !important;
}

.hero-title {
    color: #1e293b !important;
    font-weight: 800;
}

/* العناوين الرئيسية تحتفظ بالخلفية الملونة */
.section-title {
    color: white !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-block;
    margin: 0 auto;
}

/* إصلاح العناوين في الصفحة الرئيسية */
.hero-content .hero-title {
    color: var(--text-color) !important;
}

/* إصلاح العناوين في جميع الصفحات */
.page-title,
.main-title,
.content-title {
    color: var(--text-color) !important;
}

/* توسيط العنوان الرئيسي */
.hero-content {
    text-align: center !important;
}

.hero-title {
    text-align: center !important;
    margin: 0 auto !important;
}

.hero-desc {
    text-align: center !important;
    margin: 0 auto !important;
}

/* إصلاح تضارب CSS في جميع الصفحات */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.6 !important;
    color: var(--text-color) !important;
    background-color: var(--background-color) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ضمان أن جميع الصفحات تستخدم نفس CSS */
.hero, .section, .container, .hero-content, .hero-title, .hero-desc {
    display: block !important;
    width: 100% !important;
}

/* إصلاح CSS للصفحات المختلفة */
.services-hero, .packages-hero, .team-hero, .projects-hero {
    padding: 100px 0 60px 0 !important;
}

/* ضمان أن CSS يعمل في جميع الصفحات */
@media screen and (min-width: 1px) {
    .hero-title, h1, h2, h3, h4, h5, h6 {
        color: var(--text-color) !important;
        font-weight: 700 !important;
    }
    
    /* العناوين الرئيسية تحتفظ بالخلفية الملونة */
    .section-title {
        color: white !important;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
        font-weight: 700;
        padding: 1rem 2rem;
        border-radius: 12px;
        display: inline-block;
        margin: 0 auto;
    }
}

/* ===========================================
   Agent Join Page Specific Styles
   =========================================== */

/* Hero Section for Agent Join */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
}

/* Agent Program Section */
.agent-program-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.why-join-section,
.program-overview,
.commission-structure,
.services-offered,
.support-training,
.faq-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 4rem;
}

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

.why-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid;
}

.why-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Commission Grid */
.commission-grid,
.services-grid,
.support-grid,
.faq-grid,
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.commission-item,
.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.commission-item:hover,
.service-item:hover {
    transform: translateY(-5px);
}

.commission-percentage {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.commission-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Requirements Section */
.requirements-section {
    padding: 80px 0;
    background: white;
}

.requirement-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.requirement-item i {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-left: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-right: 4px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: 1rem;
}

/* Join CTA Section */
.join-cta-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.cta-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 2rem;
    margin-bottom: 0;
}

/* ======================================== */
/* Agent Join Contact Section Styles */
/* تنسيقات خاصة بقسم الاتصال في صفحة agent-join */
/* ======================================== */

.agent-contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.agent-contact-btn {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.agent-contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.agent-contact-btn i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.agent-contact-btn:hover i {
    transform: scale(1.1);
}

.agent-contact-label {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.agent-contact-value {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Hover effect for clickable buttons */
.agent-contact-btn[href]:hover .agent-contact-value {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .agent-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .agent-contact-btn {
        padding: 1.5rem 1rem;
    }
    
    .agent-contact-btn i {
        font-size: 2rem;
    }
    
    .agent-contact-label {
        font-size: 1rem;
    }
    
    .agent-contact-value {
        font-size: 0.9rem;
    }
}

/* ======================================== */
/* FAQ Page Styles */
/* تنسيقات صفحة الأسئلة الشائعة */
/* ======================================== */

.faq-hero {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.faq-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.faq-category {
    padding: 0.8rem 1.5rem;
    border: 2px solid #00A887;
    background: white;
    color: #00A887;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.faq-category:hover,
.faq-category.active {
    background: #00A887;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 135, 0.3);
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.faq-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00A887;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-section {
    display: none;
}

.faq-section.active {
    display: block;
}

/* FAQ Page CTA Section */
.faq-content .cta-section {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
}

.faq-content .cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-content .cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.faq-content .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-content .cta-buttons .btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.faq-content .cta-buttons .btn-primary {
    background: white;
    color: #00A887;
}

.faq-content .cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    color: #00A887;
    text-decoration: none;
}

.faq-content .cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.faq-content .cta-buttons .btn-outline:hover {
    background: white;
    color: #00A887;
    text-decoration: none;
}

/* FAQ Page Responsive Design */
@media (max-width: 768px) {
    .faq-hero .hero-title {
        font-size: 2rem;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-category {
        width: 200px;
        text-align: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-content .cta-section h2 {
        font-size: 2rem;
    }
    
    .faq-content .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================== */
/* Careers Page Styles */
/* تنسيقات صفحة الوظائف */
/* ======================================== */

.careers-hero {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    padding: 100px 0 60px 0;
    text-align: center;
}

.careers-section {
    padding: 60px 0;
}

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

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

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

.careers-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.job-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    width: 100%;
}

.job-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.job-type {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.job-card > div:first-child {
    flex: 0 0 280px !important;
    min-width: 250px !important;
    max-width: 300px;
}

.job-card > .job-description {
    flex: 1 1 auto !important;
    min-width: 300px;
    margin-bottom: 0;
}

.job-card > div:last-child {
    flex: 0 0 180px !important;
    min-width: 150px !important;
    max-width: 200px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.job-details {
    margin-bottom: 1.5rem;
}

.job-card .job-details {
    margin-bottom: 0;
}

.job-details p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.job-details strong {
    color: var(--text-dark);
    font-weight: 600;
}

.job-description {
    margin-bottom: 1.5rem;
}

.job-description h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.job-description h4:first-child {
    margin-top: 0;
}

.job-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-description li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    color: var(--text-light);
    position: relative;
    font-size: 0.95rem;
}

.job-description li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.btn-apply {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.job-card .btn-apply {
    width: 100%;
    max-width: 180px;
}

.btn-apply:hover {
    background: #008f73;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 135, 0.3);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.benefits-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

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

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Application Process */
.application-process {
    margin-top: 4rem;
}

.application-process h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

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

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .careers-hero {
        padding: 80px 0 40px 0;
    }
    
    .careers-hero .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .careers-grid {
        flex-direction: column;
    }
    
    .job-card {
        padding: 1.5rem;
        flex-direction: column !important;
    }
    
    .job-card > div:first-child,
    .job-card > .job-details,
    .job-card > .job-description,
    .job-card > div:last-child {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .benefits-section,
    .application-process {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .careers-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header h2,
    .benefits-section h3,
    .application-process h3 {
        font-size: 1.5rem;
    }
    
    .job-card {
        padding: 1.25rem;
    }
    
    .job-header h3 {
        font-size: 1.3rem;
    }
}

/* ======================================== */
/* News Page Styles */
/* تنسيقات صفحة الأخبار */
/* ======================================== */

.news-hero {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    padding: 100px 0 60px 0;
    text-align: center;
}

.news-section {
    padding: 60px 0;
}

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

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-card.featured .news-image {
    height: 100%;
    min-height: 300px;
}

.news-placeholder {
    font-size: 4rem;
    opacity: 0.5;
}

.news-content {
    padding: 2rem;
}

.news-card.featured .news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-card h2,
.news-card h3 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card.featured h2 {
    font-size: 1.8rem;
}

.news-card h3 {
    font-size: 1.3rem;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
    text-decoration: none;
    color: #008f73;
}

.read-more::after {
    content: "←";
    transition: all 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(-5px);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #99E6D8 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

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

.btn-subscribe {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Categories Section */
.categories-section {
    margin-top: 4rem;
}

.categories-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.category-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 3rem;
}

.category-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.category-item:hover .category-name {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-hero {
        padding: 80px 0 40px 0;
    }
    
    .news-hero .hero-title {
        font-size: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured .news-image {
        min-height: 200px;
    }
    
    .news-card.featured h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .btn-subscribe {
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .news-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .news-card {
        border-radius: 8px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content h3,
    .categories-section h3 {
        font-size: 1.5rem;
    }
}

/* Quick Attendance Button */
.attendance-quick-btn {
    background: linear-gradient(145deg, #00A887, #008B73) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 168, 135, 0.3) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
}

.attendance-quick-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #008B73, #00A887) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 168, 135, 0.4) !important;
}

.attendance-quick-btn:active:not(:disabled) {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 168, 135, 0.3) !important;
}

.attendance-quick-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

.attendance-quick-btn.btn-success {
    background: linear-gradient(145deg, #28a745, #218838) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
}

.attendance-quick-btn.btn-success:hover:not(:disabled) {
    background: linear-gradient(145deg, #218838, #28a745) !important;
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4) !important;
}

.attendance-quick-btn i {
    font-size: 14px !important;
    margin: 0 !important;
}

.attendance-quick-btn span {
    margin: 0 !important;
}

@media (max-width: 768px) {
    .attendance-quick-btn {
        padding: 0.5rem !important;
        min-width: 40px !important;
    }
    
    .attendance-quick-btn span {
        display: none !important;
    }
}

/* ======================================== */
/* Blog Page Styles */
/* تنسيقات صفحة المدونة */
/* ======================================== */

.blog-section {
    padding: 60px 0;
    background: #f8f9fa;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #00A887;
    background: white !important;
    color: #00A887 !important;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #00A887 !important;
    color: white !important;
    border-color: #00A887;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 135, 0.3);
}

.filter-btn.active {
    background: #00A887 !important;
    color: white !important;
    border-color: #00A887;
    box-shadow: 0 5px 15px rgba(0, 168, 135, 0.3);
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

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

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

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #00A887;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    flex-wrap: wrap;
}

.blog-date,
.blog-author {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-link {
    color: #00A887;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    color: #008f73;
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid #e2e8f0;
}

.page-btn:hover:not(:disabled) {
    background: #00A887;
    color: white;
    border-color: #00A887;
}

.page-btn.active {
    background: #00A887;
    color: white;
    border-color: #00A887;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-dots {
    color: #64748b;
    padding: 0 0.5rem;
}

.newsletter-section {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 4rem;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form .btn-primary {
    padding: 1rem 2rem;
    background: white;
    color: #00A887;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        min-width: 100%;
    }
    
    .pagination {
        gap: 0.3rem;
    }
    
    .page-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* ======================================== */
/* Support Page Styles */
/* تنسيقات صفحة الدعم الفني */
/* ======================================== */

.page-hero {
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.support-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.quick-help {
    text-align: center;
    margin-bottom: 4rem;
}

.quick-help h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

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

.help-option {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.help-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.help-option h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00A887;
    margin-bottom: 0.5rem;
}

.help-option p {
    color: #64748b;
    line-height: 1.6;
}

.faq-section {
    margin-bottom: 4rem;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

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

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

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

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00A887;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f5f3;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.contact-support {
    margin-bottom: 4rem;
}

.contact-support h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 2rem;
}

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

.support-method {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.support-method:hover {
    transform: translateY(-5px);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-method h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00A887;
    margin-bottom: 1rem;
}

.support-method p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.btn-chat {
    background: #00A887;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-chat:hover {
    background: #008A6B;
    transform: translateY(-2px);
}

.create-ticket {
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.ticket-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ticket-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 168, 135, 0.3);
}

.ticket-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.create-ticket h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.ticket-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.ticket-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: #00A887;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00A887;
    box-shadow: 0 0 0 4px rgba(0, 168, 135, 0.1);
}

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

.char-count {
    text-align: left;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.priority-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.priority-buttons input[type="radio"] {
    display: none;
}

.priority-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.priority-btn i {
    font-size: 1.2rem;
}

.priority-btn:hover {
    border-color: #00A887;
    background: #f0fdfa;
}

.priority-buttons input[type="radio"]:checked + .priority-btn {
    border-color: #00A887;
    background: #e8f5f3;
    color: #00A887;
}

.priority-low {
    color: #10b981;
}

.priority-medium {
    color: #f59e0b;
}

.priority-high {
    color: #ef4444;
}

.priority-urgent {
    color: #dc2626;
}

.priority-buttons input[type="radio"]:checked + .priority-low {
    background: #d1fae5;
    border-color: #10b981;
    color: #10b981;
}

.priority-buttons input[type="radio"]:checked + .priority-medium {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #f59e0b;
}

.priority-buttons input[type="radio"]:checked + .priority-high {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
}

.priority-buttons input[type="radio"]:checked + .priority-urgent {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}

.file-upload-area {
    position: relative;
    margin-top: 0.5rem;
}

.file-upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
}

.file-upload-label:hover {
    border-color: #00A887;
    background: #f0fdfa;
}

.file-upload-label i {
    font-size: 2.5rem;
    color: #00A887;
}

.file-upload-label span {
    color: #64748b;
    font-weight: 500;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #475569;
}

.file-item i {
    color: #00A887;
}

.file-item span {
    flex: 1;
}

.remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.remove-file:hover {
    background: #fee2e2;
}

.btn-submit {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 168, 135, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.documentation h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 2rem;
}

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

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

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

.doc-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.doc-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00A887;
    margin-bottom: 1rem;
}

.doc-item p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-download,
.btn-watch {
    background: #00A887;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-download:hover,
.btn-watch:hover {
    background: #008A6B;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Support Page Responsive Design */
@media (max-width: 768px) {
    .page-hero .hero-title {
        font-size: 2rem;
    }
    
    .help-options {
        grid-template-columns: 1fr;
    }
    
    .support-methods {
        grid-template-columns: 1fr;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-help h2,
    .faq-section h2,
    .contact-support h2,
    .create-ticket h2,
    .documentation h2 {
        font-size: 2rem;
    }
    
    .create-ticket {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .priority-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ticket-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .ticket-icon-wrapper i {
        font-size: 2rem;
    }
}

/* ======================================== */
/* Contact Page Styles */
/* تنسيقات صفحة الاتصال */
/* ======================================== */

.contact-main-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-main-title {
    color: #00A887;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.contact-main-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.why-choose-section {
    margin-bottom: 2rem;
}

.why-choose-title {
    color: #00A887;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.values-list li i {
    color: #00A887;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.consultation-box {
    background: linear-gradient(135deg, #e8f5f3 0%, #d1fae5 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #00A887;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.15);
}

.consultation-title {
    color: #00A887;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.consultation-desc {
    color: #1e293b;
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.contact-form-section {
    position: sticky;
    top: 2rem;
}

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

.contact-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form-title i {
    color: #00A887;
    font-size: 1.5rem;
}

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

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

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: #00A887;
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f8fafc;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #00A887;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 168, 135, 0.1);
}

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

.newsletter-checkbox {
    margin-bottom: 1.5rem;
}

.newsletter-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.newsletter-label:hover {
    background: #f1f5f9;
    border-color: #00A887;
}

.newsletter-input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #00A887;
    flex-shrink: 0;
    margin-top: 2px;
}

.newsletter-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-text i {
    color: #00A887;
    font-size: 1rem;
}

.btn-submit-contact {
    width: 100%;
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.btn-submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 168, 135, 0.4);
}

.btn-submit-contact:active {
    transform: translateY(0);
}

/* Contact Page Responsive Design */
@media (max-width: 1200px) {
    .contact-layout {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-section {
        position: static;
    }
    
    .form-row-horizontal {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-main-section {
        padding: 2rem 0;
    }
    
    .contact-info-section,
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-main-title {
        font-size: 2rem;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
}

/* ======================================== */
/* Chat Widget Styles */
/* تنسيقات نافذة الدردشة المباشرة */
/* ======================================== */

.chat-widget {
    position: fixed;
    bottom: 100px;
    left: 2rem;
    width: 380px;
    height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
}

.chat-widget-header {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-status {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-status.online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-widget-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8fafc;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    animation: slideIn 0.3s ease;
}

.chat-message.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-avatar {
    background: linear-gradient(135deg, #64748b, #475569);
}

.message-content {
    max-width: 75%;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
}

.message-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1e293b;
}

.user-message .message-content p {
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    display: block;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.8);
}

.chat-widget-footer {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.chat-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chat-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.chat-form input:focus {
    border-color: #00A887;
    box-shadow: 0 0 0 4px rgba(0, 168, 135, 0.1);
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 168, 135, 0.4);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.chat-toggle-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 25px rgba(0, 168, 135, 0.4);
    transition: all 0.3s ease;
    z-index: 9998;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 168, 135, 0.5);
}

.chat-toggle-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid white;
}

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

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Chat Widget Responsive */
@media (max-width: 768px) {
    .chat-widget {
        width: calc(100% - 2rem);
        left: 1rem;
        right: 1rem;
        height: 500px;
        bottom: 80px;
    }
    
    .chat-toggle-btn {
        bottom: 1rem;
        left: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* ======================================== */
/* Contact Page FAQ Section Styles */
/* تنسيقات قسم الأسئلة الشائعة في صفحة الاتصال */
/* ======================================== */

.faq-section-contact {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.faq-main-title i {
    color: #00A887;
    font-size: 2.2rem;
}

.faq-grid-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-category-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-category-title {
    color: #00A887;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.faq-category-title i {
    font-size: 1.3rem;
}

.faq-item-contact {
    margin-bottom: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-contact:hover {
    border-color: #00A887;
    box-shadow: 0 4px 12px rgba(0, 168, 135, 0.1);
}

.faq-item-contact.active {
    border-color: #00A887;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.15);
}

.faq-question-contact {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    transition: background 0.3s ease;
}

.faq-item-contact.active .faq-question-contact {
    background: #e8f5f3;
}

.faq-question-contact:hover {
    background: #f1f5f9;
}

.faq-item-contact.active .faq-question-contact:hover {
    background: #d1fae5;
}

.faq-question-contact h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.faq-question-contact i {
    color: #00A887;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    margin-right: 1rem;
}

.faq-answer-contact {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
}

.faq-answer-contact p {
    padding: 1.25rem 1.5rem;
    margin: 0;
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* ======================================== */
/* Newsletter Subscription Section */
/* تنسيقات قسم الاشتراك في النشرة الإخبارية */
/* ======================================== */

.newsletter-subscription-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #00A887 0%, #059669 100%);
}

.newsletter-box {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.newsletter-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A887, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 168, 135, 0.3);
}

.newsletter-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.newsletter-content {
    flex: 1;
}

.newsletter-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.newsletter-title i {
    color: #00A887;
    font-size: 1.5rem;
}

.newsletter-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.newsletter-form-inline {
    flex-shrink: 0;
    min-width: 350px;
}

.newsletter-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.newsletter-input-group input[type="email"]:focus {
    border-color: #00A887;
    box-shadow: 0 0 0 4px rgba(0, 168, 135, 0.1);
}

.btn-newsletter-subscribe {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.btn-newsletter-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 168, 135, 0.4);
}

.btn-newsletter-subscribe:active {
    transform: translateY(0);
}

.btn-newsletter-subscribe:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Newsletter Section Responsive */
@media (max-width: 992px) {
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }
    
    .newsletter-form-inline {
        width: 100%;
        min-width: auto;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group input[type="email"] {
        width: 100%;
    }
    
    .btn-newsletter-subscribe {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .newsletter-subscription-section {
        padding: 2.5rem 0;
    }
    
    .newsletter-box {
        padding: 2rem 1.5rem;
    }
    
    .newsletter-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .newsletter-icon-wrapper i {
        font-size: 1.8rem;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-description {
        font-size: 0.95rem;
    }
}

/* ======================================== */
/* About Page CTA Section Styles */
/* تنسيقات قسم CTA في صفحة من نحن */
/* ======================================== */

.cta-section-about {
    background: linear-gradient(135deg, #00A887 0%, #059669 100%);
    color: white;
    text-align: center;
    padding: 80px 0 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-section-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.cta-content-about {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title-about {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description-about {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: white !important;
    opacity: 0.95;
}

.cta-highlights {
    margin-bottom: 2.5rem;
}

.company-highlight-about {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.year-highlight-about {
    font-size: 1.3rem;
    font-weight: 700;
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    display: inline-block;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-actions-about {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.btn-cta-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    background: white;
    color: #00A887;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0, 0.3);
    color: #00A887;
    text-decoration: none;
}

.btn-cta-outline {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: white !important;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white !important;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* About CTA Responsive */
@media (max-width: 768px) {
    .cta-section-about {
        padding: 60px 0 50px 0;
    }
    
    .cta-title-about {
        font-size: 1.8rem;
    }
    
    .cta-description-about {
        font-size: 1.1rem;
    }
    
    .company-highlight-about {
        font-size: 1rem;
        padding: 0.6rem 1.25rem;
    }
    
    .year-highlight-about {
        font-size: 1.1rem;
        padding: 0.4rem 1rem;
    }
    
    .btn-cta-primary,
    .btn-cta-outline {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions-about {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ======================================== */
/* About Page Al-Anqa Section Full Width 3D */
/* تنسيقات قسم العنقاء بعرض كامل بتأثير 3D */
/* ======================================== */

.al-anqa-section-full {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.al-anqa-section-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 168, 135, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.al-anqa-container-3d {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    perspective: 1000px;
}

.al-anqa-title-3d {
    font-size: 5rem;
    font-weight: 900;
    color: #00A887;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    animation: float-3d 6s ease-in-out infinite;
    text-shadow: 
        0 0 20px rgba(0, 168, 135, 0.3),
        0 10px 30px rgba(0, 168, 135, 0.2),
        0 20px 40px rgba(0, 168, 135, 0.1);
}

.al-anqa-title-3d::before {
    content: 'العنقاء';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(0, 168, 135, 0.2);
    transform: translateZ(-30px);
    z-index: -1;
}

.al-anqa-title-3d::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00A887, transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 168, 135, 0.5);
}

.al-anqa-description-3d {
    font-size: 1.5rem;
    color: #64748b;
    line-height: 1.8;
    font-weight: 500;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    animation: float-3d-delayed 6s ease-in-out infinite;
}

@keyframes float-3d {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    }
    50% {
        transform: translateY(-5px) rotateX(0deg) rotateY(2deg);
    }
    75% {
        transform: translateY(-10px) rotateX(-2deg) rotateY(-1deg);
    }
}

@keyframes float-3d-delayed {
    0%, 100% {
        transform: translateY(0) translateZ(0);
    }
    50% {
        transform: translateY(-5px) translateZ(10px);
    }
}

/* Al-Anqa Section Responsive */
@media (max-width: 992px) {
    .al-anqa-section-full {
        padding: 4rem 0;
    }
    
    .al-anqa-container-3d {
        padding: 3rem 1.5rem;
    }
    
    .al-anqa-title-3d {
        font-size: 4rem;
    }
    
    .al-anqa-description-3d {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .al-anqa-section-full {
        padding: 3rem 0;
    }
    
    .al-anqa-container-3d {
        padding: 2.5rem 1rem;
    }
    
    .al-anqa-title-3d {
        font-size: 3rem;
        letter-spacing: 0.05em;
    }
    
    .al-anqa-title-3d::after {
        width: 150px;
        height: 3px;
    }
    
    .al-anqa-description-3d {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .al-anqa-title-3d {
        font-size: 2.5rem;
    }
    
    .al-anqa-description-3d {
        font-size: 1rem;
    }
}

/* ======================================== */
/* Journey Timeline Storyboard Styles */
/* تنسيقات timeline النشأة والتوسع */
/* ======================================== */

.journey-timeline-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.journey-timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(0, 168, 135, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.journey-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.journey-section-title i {
    color: #00A887;
    font-size: 2.2rem;
}

.timeline-storyboard {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00A887 0%, #059669 50%, #00A887 100%);
    transform: translateX(50%);
    z-index: 0;
    box-shadow: 0 0 20px rgba(0, 168, 135, 0.3);
}

.timeline-story-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.timeline-story-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-story-item:last-child {
    margin-bottom: 0;
}

.timeline-story-year {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.year-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00A887;
    text-shadow: 0 4px 10px rgba(0, 168, 135, 0.2);
    position: relative;
    z-index: 2;
}

.year-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A887, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(0, 168, 135, 0.3),
        0 0 0 15px rgba(0, 168, 135, 0.1),
        0 0 0 25px rgba(0, 168, 135, 0.05);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.year-icon i {
    font-size: 2rem;
    color: white;
}

.timeline-story-item:hover .year-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 35px rgba(0, 168, 135, 0.4),
        0 0 0 20px rgba(0, 168, 135, 0.15),
        0 0 0 35px rgba(0, 168, 135, 0.08);
}

.timeline-story-content {
    flex: 1;
    position: relative;
}

.story-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 168, 135, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00A887, #059669);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-story-item:hover .story-card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 168, 135, 0.2),
        0 0 0 1px rgba(0, 168, 135, 0.2);
}

.timeline-story-item:hover .story-card::before {
    opacity: 1;
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.story-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.story-badge {
    background: linear-gradient(135deg, #00A887, #059669);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.story-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #e8f5f3;
    transform: translateX(5px);
}

.detail-item i {
    color: #00A887;
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.detail-item div {
    flex: 1;
}

.detail-item strong {
    color: #1e293b;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.detail-item span {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.timeline-story-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-story-item:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-story-item:nth-child(3) {
    animation-delay: 0.5s;
}

/* Timeline Storyboard Responsive */
@media (max-width: 992px) {
    .timeline-story-item {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }
    
    .timeline-line {
        right: 2rem;
        transform: none;
    }
    
    .timeline-story-year {
        width: 120px;
    }
    
    .year-number {
        font-size: 2rem;
    }
    
    .year-icon {
        width: 70px;
        height: 70px;
    }
    
    .year-icon i {
        font-size: 1.8rem;
    }
    
    .story-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .journey-timeline-section {
        padding: 3rem 0;
    }
    
    .journey-section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .timeline-line {
        right: 1.5rem;
        width: 3px;
    }
    
    .timeline-story-item {
        margin-bottom: 3rem;
        gap: 1.5rem;
    }
    
    .timeline-story-year {
        width: 100px;
    }
    
    .year-number {
        font-size: 1.8rem;
    }
    
    .year-icon {
        width: 60px;
        height: 60px;
    }
    
    .year-icon i {
        font-size: 1.5rem;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .story-title {
        font-size: 1.5rem;
    }
    
    .story-description {
        font-size: 1rem;
    }
    
    .detail-item {
        padding: 0.75rem;
    }
}

/* ======================================== */
/* Vision & Mission 3D Horizontal Styles */
/* تنسيقات قسم الرؤية والرسالة بتأثير 3D أفقي */
/* ======================================== */

.vision-mission-section-3d {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission-section-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 168, 135, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.vm-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.vm-section-title i {
    color: #00A887;
    font-size: 2.2rem;
}

.vm-cards-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vm-card-3d {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 168, 135, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.vm-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00A887, #059669);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.vm-card-3d:hover::before {
    transform: scaleX(1);
}

.vm-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-2deg);
    box-shadow: 
        0 25px 70px rgba(0, 168, 135, 0.25),
        0 0 0 1px rgba(0, 168, 135, 0.2),
        inset 0 0 50px rgba(0, 168, 135, 0.05);
}

.vision-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg);
}

.vm-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-icon-3d {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00A887 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 10px 40px rgba(0, 168, 135, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    transform-style: preserve-3d;
}

.vm-card-3d:hover .vm-icon-3d {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 
        0 15px 50px rgba(0, 168, 135, 0.5),
        inset 0 0 40px rgba(255, 255, 255, 0.3);
}

.vm-icon-3d i {
    font-size: 3rem;
    color: white;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
}

.vm-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 168, 135, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: vm-glow-pulse 3s ease-in-out infinite;
    z-index: 1;
}

.vm-card-3d:hover .vm-icon-glow {
    animation: vm-glow-pulse-fast 1.5s ease-in-out infinite;
}

.vm-title-3d {
    font-size: 2rem;
    font-weight: 800;
    color: #00A887;
    margin-bottom: 1.5rem;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.vm-card-3d:hover .vm-title-3d {
    transform: translateZ(20px);
    text-shadow: 0 5px 15px rgba(0, 168, 135, 0.3);
}

.vm-description-3d {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.9;
    margin: 0;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.vm-card-3d:hover .vm-description-3d {
    transform: translateZ(10px);
    color: #475569;
}

@keyframes vm-glow-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes vm-glow-pulse-fast {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Vision & Mission 3D Responsive */
@media (max-width: 992px) {
    .vm-cards-horizontal {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .vm-card-3d {
        padding: 2.5rem 2rem;
    }
    
    .vm-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .vm-icon-3d {
        width: 100px;
        height: 100px;
    }
    
    .vm-icon-3d i {
        font-size: 2.5rem;
    }
    
    .vm-icon-glow {
        width: 130px;
        height: 130px;
    }
    
    .vm-title-3d {
        font-size: 1.8rem;
    }
    
    .vm-description-3d {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .vision-mission-section-3d {
        padding: 3rem 0;
    }
    
    .vm-section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .vm-card-3d {
        padding: 2rem 1.5rem;
    }
    
    .vm-icon-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 1.25rem;
    }
    
    .vm-icon-3d {
        width: 90px;
        height: 90px;
    }
    
    .vm-icon-3d i {
        font-size: 2.2rem;
    }
    
    .vm-icon-glow {
        width: 120px;
        height: 120px;
    }
    
    .vm-title-3d {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
    
    .vm-description-3d {
        font-size: 1rem;
    }
}

/* ======================================== */
/* Branches Section Horizontal Styles */
/* تنسيقات قسم الفروع بشكل أفقي */
/* ======================================== */

.branches-section-horizontal {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.branches-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.branches-section-title i {
    color: #00A887;
    font-size: 2.2rem;
}

.branches-cards-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-card-horizontal {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.branch-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00A887, #059669);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.branch-card-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 168, 135, 0.2);
    border-color: #00A887;
}

.branch-card-horizontal:hover::before {
    transform: scaleY(1);
}

.branch-flag-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.branch-flag-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00A887, #059669);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.branch-card-horizontal:hover .branch-flag-wrapper::after {
    opacity: 0.2;
}

.branch-flag-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.branch-card-horizontal:hover .branch-flag-icon {
    transform: scale(1.1) rotate(5deg);
}

.branch-content-wrapper {
    flex: 1;
}

.branch-title-horizontal {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.branch-details-horizontal {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.branch-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.branch-detail-item:hover {
    background: #e8f5f3;
    transform: translateX(5px);
}

.branch-detail-item i {
    color: #00A887;
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.branch-detail-item div {
    flex: 1;
}

.branch-detail-item strong {
    color: #1e293b;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.branch-detail-item span,
.branch-detail-item a {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    display: block;
}

.branch-detail-item a {
    color: #00A887;
    text-decoration: none;
    transition: all 0.3s ease;
}

.branch-detail-item a:hover {
    color: #059669;
    text-decoration: underline;
}

/* Branches Section Responsive */
@media (max-width: 992px) {
    .branches-cards-horizontal {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .branch-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .branch-flag-wrapper {
        margin: 0 auto;
    }
    
    .branch-detail-item {
        text-align: right;
    }
}

@media (max-width: 768px) {
    .branches-section-horizontal {
        padding: 3rem 0;
    }
    
    .branches-section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .branch-card-horizontal {
        padding: 1.5rem;
    }
    
    .branch-flag-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .branch-flag-icon {
        font-size: 3rem;
    }
    
    .branch-title-horizontal {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }
    
    .branch-details-horizontal {
        gap: 1rem;
    }
    
    .branch-detail-item {
        padding: 0.75rem;
    }
    
    .branch-detail-item i {
        font-size: 1.1rem;
    }
}

/* ======================================== */
/* About Hero Section Styles */
/* تنسيقات قسم Hero في صفحة من نحن */
/* ======================================== */

.about-hero-section {
    padding: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.about-hero-section + .section {
    border-top: none !important;
    border: none !important;
}

.about-hero-section ~ .section {
    border-top: none !important;
    border: none !important;
}

/* إزالة أي border من الأقسام بعد about-hero */
.section:has(.about-content) {
    border-top: none !important;
    border-bottom: none !important;
    border: none !important;
}

.about-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.03) 50px,
            rgba(255, 255, 255, 0.03) 52px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.03) 50px,
            rgba(255, 255, 255, 0.03) 52px
        );
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.phoenix-logo-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
}

.phoenix-logo-bg-text {
    font-size: 25rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.05em;
    transform: rotate(-5deg);
    filter: blur(2px);
}

.phoenix-logo-bg-subtitle {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: -2rem;
    transform: rotate(-5deg);
    filter: blur(2px);
}

.about-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 2rem 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.4);
    position: relative;
}

.about-hero-description {
    font-size: 1.3rem;
    color: #1e293b;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.3);
    font-weight: 500;
    text-align: center;
}

.highlight-company {
    color: #00A887;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 168, 135, 0.3);
}

.highlight-text {
    color: #00A887;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 168, 135, 0.2);
}


/* About Hero Responsive */
@media (max-width: 992px) {
    .about-hero-content {
        padding: 80px 1.5rem 60px;
    }
    
    .phoenix-logo-bg-text {
        font-size: 18rem;
    }
    
    .phoenix-logo-bg-subtitle {
        font-size: 6rem;
    }
    
    .about-hero-title {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }
    
    .about-hero-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-content {
        padding: 60px 1rem 50px;
    }
    
    .phoenix-logo-bg-text {
        font-size: 12rem;
    }
    
    .phoenix-logo-bg-subtitle {
        font-size: 4rem;
        margin-top: -1rem;
    }
    
    .about-hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
    }
    
    .highlight-company,
    .highlight-text {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .about-hero-content {
        padding: 50px 1rem 40px;
    }
    
    .phoenix-logo-bg-text {
        font-size: 8rem;
    }
    
    .phoenix-logo-bg-subtitle {
        font-size: 2.5rem;
    }
    
    .about-hero-title {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }
    
    .about-hero-description {
        font-size: 1rem;
    }
}

/* ======================================== */
/* Phoenix Company Section Styles */
/* تنسيقات قسم PHOENIX IT & MARKETING LTD */
/* ======================================== */

.phoenix-company-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.phoenix-company-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 168, 135, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.phoenix-company-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.phoenix-company-header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.phoenix-renewal-symbol {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.renewal-icon-light {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.phoenix-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 168, 135, 0.3));
}

/* 3D Orbits around logo */
.phoenix-3d-orbits {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-style: preserve-3d;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(0, 168, 135, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
}

.orbit-ring-1 {
    width: 140px;
    height: 140px;
    border-color: rgba(0, 168, 135, 0.15);
    animation: orbit-rotate-3d-1 8s linear infinite;
    transform: translate(-50%, -50%) rotateX(60deg);
}

.orbit-ring-2 {
    width: 160px;
    height: 160px;
    border-color: rgba(0, 168, 135, 0.2);
    animation: orbit-rotate-3d-2 10s linear infinite reverse;
    transform: translate(-50%, -50%) rotateY(60deg);
}

.orbit-ring-3 {
    width: 180px;
    height: 180px;
    border-color: rgba(0, 168, 135, 0.15);
    animation: orbit-rotate-3d-3 12s linear infinite;
    transform: translate(-50%, -50%) rotateX(45deg) rotateY(45deg);
}

.orbit-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00A887;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 168, 135, 0.8), 0 0 20px rgba(0, 168, 135, 0.5);
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    transform-style: preserve-3d;
}

.orbit-particle-1 {
    animation: orbit-particle-1 6s linear infinite;
    transform: translate(-50%, -50%) translateX(70px) rotateX(60deg);
}

.orbit-particle-2 {
    animation: orbit-particle-2 6s linear infinite;
    transform: translate(-50%, -50%) translateX(70px) rotateX(60deg) rotateY(120deg);
}

.orbit-particle-3 {
    animation: orbit-particle-3 8s linear infinite;
    transform: translate(-50%, -50%) translateX(80px) rotateY(60deg);
}

.orbit-particle-4 {
    animation: orbit-particle-4 8s linear infinite;
    transform: translate(-50%, -50%) translateX(80px) rotateY(60deg) rotateZ(180deg);
}

.orbit-particle-5 {
    animation: orbit-particle-5 10s linear infinite;
    transform: translate(-50%, -50%) translateX(90px) rotateX(45deg) rotateY(45deg);
}

.orbit-particle-6 {
    animation: orbit-particle-6 10s linear infinite;
    transform: translate(-50%, -50%) translateX(90px) rotateX(45deg) rotateY(45deg) rotateZ(180deg);
}

@keyframes orbit-rotate-3d-1 {
    0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

@keyframes orbit-rotate-3d-2 {
    0% { transform: translate(-50%, -50%) rotateY(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateY(60deg) rotateZ(360deg); }
}

@keyframes orbit-rotate-3d-3 {
    0% { transform: translate(-50%, -50%) rotateX(45deg) rotateY(45deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(45deg) rotateY(45deg) rotateZ(360deg); }
}

@keyframes orbit-particle-1 {
    0% { transform: translate(-50%, -50%) translateX(70px) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) translateX(70px) rotateX(60deg) rotateZ(360deg); }
}

@keyframes orbit-particle-2 {
    0% { transform: translate(-50%, -50%) translateX(70px) rotateX(60deg) rotateY(120deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) translateX(70px) rotateX(60deg) rotateY(120deg) rotateZ(360deg); }
}

@keyframes orbit-particle-3 {
    0% { transform: translate(-50%, -50%) translateX(80px) rotateY(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) translateX(80px) rotateY(60deg) rotateZ(360deg); }
}

@keyframes orbit-particle-4 {
    0% { transform: translate(-50%, -50%) translateX(80px) rotateY(60deg) rotateZ(180deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) translateX(80px) rotateY(60deg) rotateZ(180deg) rotateZ(360deg); }
}

@keyframes orbit-particle-5 {
    0% { transform: translate(-50%, -50%) translateX(90px) rotateX(45deg) rotateY(45deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) translateX(90px) rotateX(45deg) rotateY(45deg) rotateZ(360deg); }
}

@keyframes orbit-particle-6 {
    0% { transform: translate(-50%, -50%) translateX(90px) rotateX(45deg) rotateY(45deg) rotateZ(180deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) translateX(90px) rotateX(45deg) rotateY(45deg) rotateZ(180deg) rotateZ(360deg); }
}

.phoenix-company-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1e293b;
    margin: 0;
    background: linear-gradient(135deg, #00A887 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.phoenix-company-description {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.phoenix-desc-main,
.phoenix-desc-secondary {
    font-size: 1.2rem;
    line-height: 2;
    color: #475569;
    margin-bottom: 1.5rem;
    text-align: center;
}

.phoenix-highlight {
    color: #00A887;
    font-weight: 700;
    position: relative;
}

.phoenix-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00A887, transparent);
    opacity: 0.3;
    border-radius: 2px;
}

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

.phoenix-stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.phoenix-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00A887, #059669);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.phoenix-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 168, 135, 0.2);
    border-color: #00A887;
}

.phoenix-stat-card:hover::before {
    transform: scaleY(1);
}

.phoenix-stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00A887, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 168, 135, 0.3);
    transition: all 0.3s ease;
}

.phoenix-stat-card:hover .phoenix-stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 168, 135, 0.4);
}

.phoenix-stat-icon i {
    font-size: 2rem;
    color: white;
}

.phoenix-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #00A887;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.phoenix-stat-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
}

@keyframes renewal-3d-float {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        box-shadow: 
            0 0 30px rgba(0, 168, 135, 0.6),
            0 0 60px rgba(0, 168, 135, 0.4),
            0 0 90px rgba(0, 168, 135, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
    25% {
        transform: translateY(-10px) rotateX(10deg) rotateY(-10deg) rotateZ(2deg);
        box-shadow: 
            0 10px 50px rgba(0, 168, 135, 0.7),
            0 20px 100px rgba(0, 168, 135, 0.5),
            0 30px 150px rgba(0, 168, 135, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: translateY(-5px) rotateX(0deg) rotateY(10deg) rotateZ(-2deg);
        box-shadow: 
            0 5px 40px rgba(0, 168, 135, 0.8),
            0 15px 80px rgba(0, 168, 135, 0.6),
            0 25px 120px rgba(0, 168, 135, 0.4),
            inset 0 0 25px rgba(255, 255, 255, 0.5);
    }
    75% {
        transform: translateY(-10px) rotateX(-10deg) rotateY(-5deg) rotateZ(2deg);
        box-shadow: 
            0 10px 50px rgba(0, 168, 135, 0.7),
            0 20px 100px rgba(0, 168, 135, 0.5),
            0 30px 150px rgba(0, 168, 135, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

@keyframes renewal-glow-3d {
    0%, 100% {
        opacity: 0.5;
        transform: translateZ(-20px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateZ(-30px) scale(1.2);
    }
}

@keyframes renewal-icon-3d-rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: rotateX(90deg) rotateY(90deg) rotateZ(90deg);
    }
    50% {
        transform: rotateX(180deg) rotateY(180deg) rotateZ(180deg);
    }
    75% {
        transform: rotateX(270deg) rotateY(270deg) rotateZ(270deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes ray-rotate {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) rotate(var(--ray-angle, 0deg)) scaleY(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--ray-angle, 0deg)) scaleY(1.2);
    }
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) rotate(var(--ray-angle, 0deg)) scaleY(1);
    }
}

/* ======================================== */
/* Dashboard Improved Layout */
/* تحسين هيكل لوحة التحكم */
/* ======================================== */

.dashboard-module-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.dashboard-module-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.dashboard-module-header {
    padding: 1.5rem 1.5rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-module-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-module-title i {
    color: #00A887;
    font-size: 1.5rem;
}

.dashboard-module-link {
    color: #00A887;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.dashboard-module-link:hover {
    color: #059669;
    gap: 0.75rem;
}

.dashboard-module-body {
    padding: 1.5rem;
}

.dashboard-modules-horizontal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-stats-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-actions-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.dashboard-stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 180px;
}

.dashboard-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00A887, #059669);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dashboard-stat-item:hover::before {
    transform: scaleY(1);
}

.dashboard-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 168, 135, 0.15);
    border-color: #00A887;
}

.dashboard-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 168, 135, 0.1), rgba(5, 150, 105, 0.1));
    color: #00A887;
}

.dashboard-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.dashboard-stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dashboard-stat-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 168, 135, 0.1);
    color: #00A887;
}

.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.dashboard-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: white;
    color: #1e293b;
}

.dashboard-action-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #00A887;
    color: #00A887;
}

.dashboard-action-btn i:first-child {
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.dashboard-action-btn i:last-child {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .dashboard-stats-horizontal {
        flex-direction: column;
    }
    
    .dashboard-stat-item {
        min-width: 100%;
    }
    
    .dashboard-stat-value {
        font-size: 1.5rem;
    }
    
    .dashboard-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-actions-horizontal {
        flex-direction: column;
    }
    
    .dashboard-action-btn {
        width: 100%;
    }
    
    .dashboard-module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Phoenix Company Section Responsive */
@media (max-width: 992px) {
    .phoenix-company-section {
        padding: 4rem 0;
    }
    
    .phoenix-company-title {
        font-size: 2.3rem;
    }
    
    .phoenix-desc-main,
    .phoenix-desc-secondary {
        font-size: 1.1rem;
    }
    
    .phoenix-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .phoenix-company-section {
        padding: 3rem 0;
    }
    
    .phoenix-renewal-symbol {
        width: 80px;
        height: 80px;
    }
    
    .renewal-icon-light {
        width: 70px;
        height: 70px;
    }
    
    .renewal-icon-light i {
        font-size: 2rem;
    }
    
    .light-rays {
        width: 160px;
        height: 160px;
    }
    
    .ray {
        height: 50px;
    }
    
    .phoenix-company-title {
        font-size: 2rem;
    }
    
    .phoenix-desc-main,
    .phoenix-desc-secondary {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .phoenix-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .phoenix-stat-card {
        padding: 2rem 1.5rem;
    }
}

/* Contact FAQ Responsive */
@media (max-width: 992px) {
    .faq-grid-contact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .faq-section-contact {
        padding: 2rem 0;
    }
    
    .faq-main-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .faq-category-section {
        padding: 1.5rem;
    }
    
    .faq-question-contact {
        padding: 1rem 1.25rem;
    }
    
    .faq-question-contact h4 {
        font-size: 1rem;
    }
    
    .faq-answer-contact p {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   Final Mobile Navbar Consistency (Public)
   ============================================ */
@media (max-width: 900px) {
    .main-header {
        top: var(--app-safe-top) !important;
    }

    .header-container {
        min-height: 60px;
        padding: 0.625rem 0.875rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .header-logo {
        max-width: calc(100% - 200px);
    }

    .header-actions {
        display: flex !important;
        align-items: center;
        gap: 0.375rem;
        flex-wrap: nowrap;
        max-width: 56vw;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .header-actions::-webkit-scrollbar {
        display: none;
    }

    .header-actions .btn,
    .header-actions .dropdown,
    .language-selector-wrapper,
    .currency-selector-wrapper,
    .user-dropdown-wrapper {
        flex: 0 0 auto;
    }

    .header-actions .btn-outline,
    .header-actions .btn-primary,
    .header-actions .login-text {
        display: none !important;
    }

    .header-select {
        min-width: 64px;
        max-width: 88px;
        height: 36px;
        padding: 0.35rem 0.625rem;
        font-size: 0.8rem;
        border-width: 1.5px;
    }

    .mobile-toggle {
        margin: 0;
    }

    .header-nav {
        top: calc(60px + var(--app-safe-top)) !important;
        height: calc(100dvh - 60px - var(--app-safe-top)) !important;
        max-width: min(92vw, 340px);
    }

    html[dir="rtl"] .header-nav {
        right: -100%;
        left: auto;
    }

    html[dir="rtl"] .header-nav.active {
        right: 0;
        left: auto;
    }

    html[dir="ltr"] .header-nav {
        left: -100%;
        right: auto;
    }

    html[dir="ltr"] .header-nav.active {
        left: 0;
        right: auto;
    }
}

@media (max-width: 576px) {
    .header-container {
        min-height: 55px;
        padding: 0.55rem 0.625rem;
    }

    .header-logo {
        max-width: calc(100% - 170px);
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .header-actions {
        max-width: 62vw;
    }

    .header-select {
        min-width: 58px;
        max-width: 74px;
        height: 34px;
        padding: 0.3rem 0.5rem;
        font-size: 0.72rem;
    }

    .header-nav {
        top: calc(55px + var(--app-safe-top)) !important;
        height: calc(100dvh - 55px - var(--app-safe-top)) !important;
        max-width: 100%;
    }
}
