/* ============================================
   Premier Share - Main Styles
   Brand Color: Teal (#2C9BA6)
   Font: Cairo (Arabic/English)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

:root {
    /* 1. تعريف بالتة الألوان الجديدة (Source Colors) */
    --pelorous: #3aa4c2;
    --firefly: #091727;
    --calypso: #2b7188;
    --nile-blue: #193e52;
    --cod-gray: #1d1d1d;
    --scooter: #42bbda;
    --astral: #348ba5;
    --cello: #24586d;
    --elephant: #10293b;
    /* 2. توظيف الألوان في المتغيرات الأساسية (Theme Variables) */
    /* اللون الأساسي خليته (Pelorous) عشان زاهي وواضح */
    --primary-color: var(--pelorous);
    /* لوم الهوفر أو الغامق خليته (Nile Blue) */
    --primary-dark: var(--nile-blue);
    /* اللون الفاتح للإضاءة خليته (Scooter) */
    --primary-light: var(--scooter);
    /* اللون الثانوي خليته (Calypso) هادي شوية */
    --secondary-color: var(--calypso);
    /* لون التمييز (Accent) خليته (Scooter) عشان يفرقع في العين */
    --accent-color: var(--scooter);
    /* ألوان النصوص */
    --text-dark: var(--firefly); /* كحلي غامق جداً بدل الأسود الصريح */
    --text-light: var(--astral); /* أزرق باهت للنصوص الفرعية */
    /* الخلفيات */
    --bg-light: #F8F9FA; /* سيبنا الفاتح زي ما هو عشان الكونتراست */
    --white: #FFFFFF;
    /* التدرجات اللونية - ظبطتها عشان تدي نفس إحساس الصورة */
    /* تدرج من الأزرق الفاتح للكحلي الغامق */
    --gradient-primary: linear-gradient(90deg, var(--pelorous) 0%, var(--firefly) 100%);
    /* تدرج الهيرو بانر (شفافية بسيطة) */
    --gradient-hero: linear-gradient(90deg, rgba(58, 164, 194, 0.95) 0%, rgba(9, 23, 39, 0.95) 100%);
    /* الظلال والحدود زي ما هي */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2); /* غمقت الظل سنة بسيطة */
    --border-radius: 12px;
    --transition: all 0.3s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* RTL and LTR Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

[dir="rtl"] .navbar-nav {
    flex-direction: row-reverse;
}

[dir="ltr"] .navbar-nav {
    flex-direction: row;
}

[dir="rtl"] .navbar-brand img {
    margin-left: 10px;
    margin-right: 0;
}

[dir="ltr"] .navbar-brand img {
    margin-right: 10px;
    margin-left: 0;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--primary-dark);
        text-decoration: none;
    }

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        background: var(--primary-dark);
    }

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
    }

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

    .btn-white:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn:focus, .btn:active:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 155, 166, 0.25);
    outline: none;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .navbar-brand:hover {
        color: var(--primary-dark) !important;
    }

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary-color);
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: var(--transition);
        transform: translateX(-50%);
    }

    .navbar-nav .nav-link:hover::after {
        width: 80%;
    }

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.1;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--text-dark);
        margin-bottom: 1rem;
    }

    .section-title p {
        font-size: 1.2rem;
        color: var(--text-light);
        max-width: 600px;
        margin: 0 auto;
    }

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    padding: 60px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

    .footer-section a:hover {
        color: var(--accent-color);
        padding-left: 5px;
    }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

        .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Utilities
   ============================================ */

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

.bg-gradient {
    background: var(--gradient-primary) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   Property Cards (عرض العقارات)
   ============================================ */

.property-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .property-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.property-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

    .property-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.property-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .property-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        color: var(--text-dark);
    }

.property-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

    .property-location i {
        color: var(--primary-color);
        margin-left: 5px;
    }

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

    .property-features span {
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .property-features i {
        color: var(--primary-color);
        margin-left: 5px;
    }

.property-price {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

    .property-price > div {
        display: flex;
        flex-direction: column;
    }

.price-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-monthly {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   Advertisement Cards (الإعلانات)
   ============================================ */

.ad-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .ad-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.ad-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.ad-card:hover .ad-image img {
    transform: scale(1.05);
}

.ad-content {
    padding: 1.5rem;
    flex: 1;
}

.ad-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ad-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.ad-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.ad-date {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-light);
}

    .ad-date i {
        color: var(--primary-color);
        margin-left: 8px;
    }

/* ============================================
   RTL Adjustments
   ============================================ */

[dir="rtl"] .property-badge,
[dir="rtl"] .ad-badge {
    right: auto;
    left: 15px;
}

[dir="rtl"] .property-location i,
[dir="rtl"] .property-features i,
[dir="rtl"] .ad-date i {
    margin-left: 0;
    margin-right: 5px;
}

/* ============================================
   Responsive Property Cards
   ============================================ */

@media (max-width: 768px) {
    .property-price {
        flex-direction: column;
        gap: 0.5rem;
    }

    .property-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .ad-image {
        height: 180px;
    }
}

/* ============================================
   Authentication Pages (صفحات تسجيل الدخول)
   ============================================ */

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(44, 155, 166, 0.05) 0%, rgba(63, 180, 191, 0.05) 100%);
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    margin: 2rem 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.auth-header h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.auth-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

    .form-label i {
        color: var(--primary-color);
        margin-left: 5px;
    }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    direction: rtl;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(44, 155, 166, 0.1);
    }

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px 10px;
    transition: var(--transition);
}

    .password-toggle:hover {
        color: var(--primary-color);
    }

.form-check-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    cursor: pointer;
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
    color: var(--text-dark);
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.btn-block {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

    .auth-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--bg-light);
    }

    .auth-divider span {
        position: relative;
        background: var(--white);
        padding: 0 1rem;
        color: var(--text-light);
        font-size: 0.9rem;
    }

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.btn-social {
    padding: 0.75rem;
    border: 2px solid var(--bg-light);
    background: var(--white);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-dark);
}

.btn-google:hover {
    border-color: #DB4437;
    background: #DB4437;
    color: var(--white);
}

.btn-facebook:hover {
    border-color: #4267B2;
    background: #4267B2;
    color: var(--white);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-light);
}

    .auth-footer p {
        color: var(--text-light);
        margin-bottom: 0;
    }

    .auth-footer a {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .alert i {
        font-size: 1.2rem;
    }

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.btn-close {
    margin-right: auto;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
}

    .btn-close:hover {
        opacity: 1;
    }

/* ============================================
   Responsive Auth Pages
   ============================================ */

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .form-check-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ============================================
   Enhanced Footer Styles
   ============================================ */

.footer {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    color: var(--white);
    padding: 40px 0 15px;
    margin-top: 50px;
    border-top: 5px solid var(--primary-color);
}

.footer .container {
    max-width: 1200px;
}

.footer .row {
    margin: 0 auto;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 8px;
}

.footer .col-lg-5,
.footer .col-lg-4 {
    padding: 15px 20px;
    margin-bottom: 15px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 3px;
        background: var(--primary-color);
    }

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: var(--transition);
        font-size: 0.95rem;
        display: inline-block;
    }

        .footer-links a:hover {
            color: var(--accent-color);
            padding-right: 5px;
        }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-contact li {
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
    }

    .footer-contact i {
        color: var(--primary-color);
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }

    .footer-contact a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-contact a:hover {
            color: var(--accent-color);
        }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.1rem;
    }

        .social-links a:hover {
            background: var(--primary-color);
            color: var(--white);
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 5px 15px rgba(44, 155, 166, 0.4);
        }

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.5);
        margin: 0;
        font-size: 0.9rem;
    }

/* ============================================
   Responsive Footer
   ============================================ */

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 50px;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-text,
    .footer-links a,
    .footer-contact li {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: flex-start;
    }
}

/* ============================================
   Responsive Footer
   ============================================ */

/* تنسيق الأرقام والأنيميشن */
.stat-item {
    text-align: center;
    padding: 20px 10px;
}

.stat-number-wrapper {
    font-size: 3rem; /* حجم كبير وواضح */
    font-weight: 800;
    color: var(--white); /* أو اللون اللي يناسب الخلفية */
    display: flex;
    justify-content: center;
    align-items: baseline;
    line-height: 1;
    margin-bottom: 10px;
}

/* السحر كله هنا: بيخلي عرض الرقم ثابت عشان ميتهزش */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ============================================
   Modern Interactive Animations
   ============================================ */

/* Base animation styles - elements start hidden, become visible when animated */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    visibility: visible; /* Ensure element takes space */
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.animate-stagger {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    visibility: visible; /* Ensure element takes space */
}

.animate-stagger.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Fade in from left */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation */
.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Rotate and fade */
.animate-rotate {
    opacity: 0;
    transform: rotate(-5deg) scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-rotate.animated {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Hero section specific animation */
.hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-content.animated {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content p {
    animation-delay: 0.4s;
}

.hero-content .hero-buttons {
    animation-delay: 0.6s;
}

/* Section title animation */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    visibility: visible;
}

.section-title.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Feature cards animation */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Stats section animation */
.stats-section .stat-item {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    visibility: visible;
}

.stats-section .stat-item.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Testimonial cards animation */
.testimonials-section .card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    visibility: visible;
}

.testimonials-section .card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ accordion animation */
.faq-section .accordion-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    visibility: visible;
}

.faq-section .accordion-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* About section animation */
.cta-section h2.animate-on-scroll,
.cta-section p.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    visibility: visible;
}

.cta-section h2.animate-on-scroll.animated,
.cta-section p.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: Show elements if JavaScript is disabled or not loaded */
.no-js .animate-on-scroll,
.no-js .animate-stagger,
.no-js .cta-section h2,
.no-js .cta-section p {
    opacity: 1 !important;
    transform: none !important;
}

/* CTA section buttons animation */
#download-app .btn {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    visibility: visible;
}

#download-app .btn.animated {
    opacity: 1;
    transform: scale(1);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-stagger,
    .animate-fade-left,
    .animate-fade-right,
    .animate-scale,
    .animate-rotate,
    .hero-content,
    .section-title,
    .stats-section .stat-item,
    .testimonials-section .card,
    .faq-section .accordion-item,
    .cta-section h2,
    .cta-section p,
    #download-app .btn {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Performance optimization - use will-change for animated elements */
.animate-on-scroll,
.animate-stagger,
.feature-card {
    will-change: transform, opacity;
}

.animate-on-scroll.animated,
.animate-stagger.animated {
    will-change: auto;
}
    transition: color 0.3s ease;
}

.symbol {
    font-size: 2rem;
    margin: 0 2px;
    opacity: 0.8;
    color: var(--scooter); /* لون مميز للرموز زي + و % */
}

.text-sm {
    font-size: 1.5rem; /* لكلمة مليون */
}

/* عشان الموبايل */
@media (max-width: 768px) {
    .stat-number-wrapper {
        font-size: 2rem;
    }

    .symbol {
        font-size: 1.5rem;
    }
}