/* Custom Fonts */
@font-face {
    font-family: 'RTA';
    src: url('../fonts/RTA-REGULAR.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'RTA';
    src: url('../fonts/RTA-BOLD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    font-family: 'RTA', 'Cairo', sans-serif;
}

body {
    background: #FAF8F7;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Header */
.navbar {
    background: #2E1E10;
    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: #EEEAE4 !important;
    font-weight: 500;
    margin: 0 15px;
    font-size: 20px;
    line-height: 25px;
}
.navbar-nav .nav-link:hover {
    color: #F0B100 !important;
}
.logo {
    height: 40px;
}
.whatsapp-icon {
    margin-left: 8px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background-color: #FFFFFF;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 45px;
    font-weight: bold;
    color: #2E1E10;
    margin-bottom: 1rem;
    line-height: 72px;
}

.hero-content p {
    font-size: 18px;
    color: #2E1E10;
    line-height: 26px;
    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: 600px; /* 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: 600px; /* Smaller height for mobile */
    }
}


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

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

.features-title .highlight {
    color: #9A8769;
}

.features-subtitle {
    text-align: center;
    font-size: 16px;
    color: #A99D88;
    margin-bottom: 3rem;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    line-height: 21px;
}

.feature-item {
    background: #EEEAE4;
    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: #22160C;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    margin-right: 20px
}

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

.feature-item p {
    color: #A38164;
    font-size: 12px;
    line-height: 18px;
    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-img {
    width: 100%;
}

@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;
    background-color: #FFFFFF;
}

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

.app-title {
    font-size: 50px;
    font-weight: bold;
    color: #22160C;
    margin-bottom: 2rem;
    line-height: 75px;
}

.app-description {
    font-size: 1.1rem;
    color: #22160C;
    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: #22160C;
    font-size: 16px;
    line-height: 35px;
}

.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: #22160C;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 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: 16px;
    margin-bottom: 15px;
    margin-top: 25px;
    max-width: 400px;
    line-height: 21px;
    color: #FFFFFF;
}

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

.footer-title {
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
    color: #FFFFFF;
    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-extra-links {
    flex: 1;
    text-align: right;
}

.footer-extra-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    line-height: 48px;
    margin-right: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

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

.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: #FFFFFF;
}

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

    .footer-right{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .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;
        align-items: center;
    }

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

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

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

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

.developer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    right: 0; /* البدء من اليمين (لأن الاتجاه RTL) */
    background-color: #F0B100;
    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; /* التأكد من أن الرابط يأخذ مساحته الطبيعية */
    }
}


@media (min-width: 992px) {
    .phone-mockup-img-last {
        margin-top: -215px;
    }
}

@media (max-width: 991px) {
    .app-section{
        text-align: center;
    }

    .responsive-photo-section{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .app-title{
        font-size: 25px;
    }

    .header-second-six-col{
        text-align: center;
    }
}

.app-section-two {
    background: #FBFBFB;
    padding: 60px 0;
}

/* FAQ Section Styles */
.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #22160C;
    margin-bottom: 1rem;
    text-align: center;
}

.faq-title .highlight-faq {
    color: #9A8769;
}

.faq-subtitle {
    font-size: 18px;
    color: #A99D88;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-item-card {
    background: #EEEAE4;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
}

.faq-item-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.faq-card-button {
    background: none;
    border: none;
    padding: 0;
    text-align: right;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}

.faq-card-button:focus {
    outline: none;
}

.faq-card-button::before {
    content: '–';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    color: #22160C;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-card-button[aria-expanded="true"]::before {
    opacity: 1;
}

.faq-card-button::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    color: #22160C;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.faq-card-button[aria-expanded="true"]::after {
    opacity: 0;
}

.faq-question-text {
    font-size: 16px;
    font-weight: bold;
    color: #22160C;
    text-align: right;
    display: block;
    margin-right: 35px;
    line-height: 1.4;
}

.faq-card-answer {
    margin-top: 15px;
    overflow: hidden;
}

.faq-card-answer p {
    font-size: 16px;
    color: #A38164;
    line-height: 1.6;
    margin: 0;
    text-align: right;
}

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

    .faq-subtitle {
        font-size: 16px;
    }

    .faq-item-card {
        padding: 20px;
    }

    .faq-question-text {
        font-size: 16px;
        margin-right: 30px;
    }

    .faq-card-answer p {
        font-size: 14px;
    }
}