* {
    font-family: 'Cairo', sans-serif;
}
body {
    background: #FAF8F7;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
/* Header */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}
.navbar-brand {
    background: #28a745;
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}
.navbar-nav .nav-link {
    color: #6c757d !important;
    font-weight: 500;
    margin: 0 15px;
    font-size: 1rem;
}
.navbar-nav .nav-link:hover {
    color: #28a745 !important;
}
.logo {
    height: 40px;
}
.whatsapp-icon {
    margin-left: 8px;
    font-size: 1.1rem;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0 40px;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-content h1 .highlight {
    color: #28a745;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.app-downloads {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    justify-content: center; /* Center the buttons */
}

.app-btn {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.app-store-img,
.google-play-img {
    width: 150px; /* Adjust based on your design */
    height: auto;
    object-fit: contain;
}

.app-btn:hover {
    transform: translateY(-2px); /* Retain the hover effect */
}

/* Remove old styles for the icon and text */
.app-btn i,
.app-btn div {
    display: none; /* Hides the old icon and text */
}

@media (max-width: 768px) {
    .app-store-img,
    .google-play-img {
        width: 120px; /* Smaller size for mobile */
    }
}

.hero-illustration {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.illustration-img {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Adjust based on your design needs */
    object-fit: contain;
    animation: float 3s ease-in-out infinite; /* Retain the float animation */
}

@media (max-width: 768px) {
    .illustration-img {
        max-height: 300px; /* Smaller height for mobile */
    }
}


/* Features Section */
/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.features-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.features-title .highlight {
    color: #28a745;
}

.features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    line-height: 1.6;
}

.feature-item {
    background: white;
    padding: 30px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}

.feature-title {
    position: relative;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 3px;
    height: 100%;
    background: #28a745;
    border-radius: 2px;
}

.feature-item p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: right;
}

@media (max-width: 768px) {
    .features-title {
        font-size: 1.8rem;
    }

    .features-subtitle {
        font-size: 1rem;
        max-width: 90%;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }
}












/* App Sections */
.phone-mockup {
    position: relative;
    max-width: 400px; /* زيادة العرض إلى 400px */
    margin: 0 auto;
    height: 100%; /* يمتد ليشمل طول القسم */
}

.phone-mockup-img {
    /*width: 100%;*/
    height: auto;
    max-height: 650px; /* زيادة الارتفاع إلى 650px */
    object-fit: contain;
}

@media (max-width: 768px) {
    .phone-mockup {
        max-width: 300px; /* زيادة العرض في الشاشات الصغيرة إلى 300px */
        height: 100%;
    }

    .phone-mockup-img {
        width: 100%;
        max-height: 550px; /* زيادة الارتفاع في الشاشات الصغيرة إلى 550px */
    }
}

.app-section {
    padding: 80px 0;
    min-height: 700px; /* يمكنك تعديل هذا الرقم حسب الحاجة */
}

.app-section:nth-child(even) {
    background: #f8f9fa;
}

.app-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.app-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.app-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #495057;
    font-size: 1rem;
}

.app-features li i {
    color: #28a745;
    font-size: 1.1rem;
    width: 20px;
}
.engineer-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.engineer-info p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.rating {
    display: flex;
    gap: 2px;
    margin-top: 5px;
}

.rating i {
    color: #ffc107;
    font-size: 0.7rem;
}



/* Footer Styles */
.footer {
    /*background: #ffffff;*/
    color: #6c757d;
    padding: 40px 0 20px;
    /*border-top: 1px solid #e9ecef;*/
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
    max-width: 400px;
}

.footer-center {
    flex: 1;
    text-align: center;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

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

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

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #28a745;
}

.footer-extra-links {
    flex: 1;
    text-align: right;
}

.footer-extra-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-extra-links a:hover {
    color: #28a745;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

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

.footer-copyright {
    font-size: 0.8rem;
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: unset;
    }

    .footer-right, .footer-left, .footer-extra-links {
        text-align: center;
    }

    .footer-left {
        margin-bottom: 20px; /* إضافة مسافة بين الأقسام */
    }

    .footer-left .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center; /* مركزة الأزرار عموديًا */
        padding: 0;
    }

    .footer-left .footer-links li {
        margin-bottom: 15px; /* إضافة مسافة بين الأزرار */
    }

    .footer-left .footer-links img {
        max-width: 120px; /* تقليل حجم الأزرار في الموبايل */
        height: auto;
    }

    .footer-extra-links a {
        margin-right: 10px;
        display: block;
        margin-bottom: 10px;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    .footer-copyright {
        order: 2;
    }

    .social-icons {
        order: 1;
        justify-content: center;
    }
}

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

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .character {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .character-container {
        gap: 30px;
    }

    .app-downloads {
        justify-content: center;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }
}

.footer-copyright {
    font-size: 0.85rem; /* حجم خط أكبر قليلاً لتحسين القراءة */
    color: #adb5bd;
    font-weight: 400; /* وزن خط خفيف لمظهر أنيق */
    line-height: 1.5; /* تحسين المسافة بين الأسطر */
}

.developer-link {
    color: #28a745; /* لون أخضر للرابط ليتناسب مع الثيم */
    font-weight: 500; /* وزن خط أثقل للرابط ليبرز */
    transition: all 0.3s ease; /* انتقال سلس للتأثيرات */
    position: relative; /* لإضافة خط سفلي متحرك */
    padding-bottom: 2px; /* مسافة صغيرة للخط السفلي */
}

.developer-link:hover {
    color: #218838; /* لون أغمق عند الـ hover */
    text-decoration: none; /* الحفاظ على عدم وجود خط سفلي افتراضي */
}

.developer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    right: 0; /* البدء من اليمين (لأن الاتجاه RTL) */
    background-color: #28a745;
    transition: width 0.3s ease; /* تأثير تمدد الخط */
}

.developer-link:hover::after {
    width: 100%; /* الخط يمتد عند الـ hover */
}

@media (max-width: 768px) {
    .footer-copyright {
        font-size: 0.8rem; /* تقليل حجم الخط في الشاشات الصغيرة */
        text-align: center; /* التأكد من المركزة */
    }

    .developer-link {
        display: inline-block; /* التأكد من أن الرابط يأخذ مساحته الطبيعية */
    }
}
