/* ملف about.css - أنماط خاصة بصفحة "من نحن" */

/* أنماط عامة */
:root {
    --primary-color: #c10a28; /* لون أحمر داكن */
    --secondary-color: #DAA520; /* لون ذهبي */
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--dark-color);
    background-color: #f9f9f9;
    line-height: 1.6;
    overflow-x: hidden;
}

.container1 {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img{
    max-width: 100%;
    height: auto;
}

/*النافبار الاساسي */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #c10a28;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    direction: ltr;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 100px;
    transition: 0.3s;
    padding: 5px;
    width: 100px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    order: 3;
}

.logo{
    order: 2;
    margin-top: 8px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    order: 1;
}

/* قائمة الفون الجانبية */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s;
    z-index: 1001;
    padding: 2rem;
    overflow-y: auto;
    scrollbar-width: none;
}

.mobile-menu::-webkit-scrollbar {
    display: none;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 2rem;
}

.mobile-menu ul li {
    margin: 1.5rem 0;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
    transition: 0.3s;
}

.mobile-menu ul li a:hover {
    color: #c10a28;
}

.close-menu {
    text-align: left;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.mobile-social-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-social-icons a {
    color: #c10a28;
    font-size: 1.2rem;
    transition: 0.3s;
}

.mobile-social-icons a:hover {
    color: #8a061a;
}

/* القوائم المنسدلة في القائمة الجانبية */
.dropdown {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.dropbtn {
    display: inline-block;
    background: none;
    border: none;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem 0;
    text-align: right;
    flex-grow: 1;
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: rgb(204, 21, 21);
    cursor: pointer;
    padding: 0.5rem 0;
    margin-right: 10px;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    width: 100%;
    padding-right: 15px;
    margin-top: 10px;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.dropdown-content a:hover {
    color: #928688;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.highlight {
    color: var(--secondary-color);
}

/* البانر المتحرك */
.hero-slider {
    height: 70vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.payment-notice {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* قسم تاريخ الشركة */
.history-section {
    padding: 80px 0;
    background-color: #f1f1e2;
    position: relative;
    overflow: hidden;
}

.history-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.history-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.centered-title {
    font-size: 2.7rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.centered-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: black;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-box {
    background-color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--gray-color);
}

/* قسم مميزات الشركة */
.advantages-section {
    background-color: #f5f5f5;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(139, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.advantage-card:hover .card-icon {
    background-color: var(--primary-color);
    color: white;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.advantage-card p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* البانر المتحرك فوق المميزات */
.dynamic-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 70px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.text-slider {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 40px;
}

.fixed-text {
    font-size: 30px;
    font-weight: 1200;
    margin-bottom: 45px;
}

.sliding-text {
    position: relative;
    height: 30px;
}

.sliding-text p {
    position: absolute;
    width: 100%;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    margin-bottom: 30px;
}

.sliding-text p:first-child {
    opacity: 1;
}

.app-download {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.download-btne {
    background-color:#adada9 ;
    color: white;
    padding: 20px 35px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 40px;
}

.download-btne:hover {
    background-color: #228b08;
    transform: translateY(-3px);
}

.app-text {
    margin-top: 100px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* قسم الأسئلة الشائعة */
.faq-section {
    padding: 50px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 20px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    max-height: 2px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.faq-answer p {
    padding: 30px;
    margin: 0;
    color: var(--gray-color);
    line-height: 1.7;
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
    color: white;
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* قسم آراء العملاء */
.testimonials-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    width: 100%;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-photo  {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 20px;
    border: 3px solid var(--secondary-color);
}

.client-details {
    flex: 1;
}

.client-details h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.client-rating {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-color);
    font-style: italic;
    position: relative;
    padding-right: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: rgba(139, 0, 0, 0.1);
    position: absolute;
    top: -20px;
    right: 0;
    line-height: 1;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-nav .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(139, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-nav .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}


/* تأثيرات الحركة */
[data-aos] {
    transition: all 0.8s ease;
}

.history-content.animate,
.advantages-grid.animate .advantage-card,
.testimonials-container.animate {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantages-grid.animate .advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantages-grid.animate .advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantages-grid.animate .advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantages-grid.animate .advantage-card:nth-child(4) { animation-delay: 0.4s; }

.dynamic-banner.animate {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* الفوتر */
.footer {
    background-color: #c10a28;
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 150px;
    max-width: 30%;
    height: auto;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: rgb(62, 36, 211);
    transform: translateX(-5px);
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    color: #c10a28;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: rgb(62, 36, 211);
    color: white;
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* أنماط للجوال */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-content {
        right: 5%;
        left: 5%;
        max-width: 90%;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dynamic-banner{
        border-radius: 10px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .text-slider {
        text-align: center;
    }

    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    .welcome-text {
        font-size: 2.5rem;
    }
    .logo{
        order: 2;
        position: static;
        transform: none;
    } 
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .centered-title {
        font-size: 2rem;
    }
    
    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .payment-notice {
        font-size: 0.9rem;
    }
    
    .advantage-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1.3rem;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .client-photo img{
        width: 60px;
        height: 60px;
    }
    
    .client-details h3 {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }

     .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 300px;
        margin-top: 50px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .centered-title {
        font-size: 1.8rem;
    }
    
    .centered-text {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1.2rem;
    }

     .mobile-menu {
        width: 75%;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo img {
        height: 100px;
    }
    
    .menu-toggle {
        position: static;
        order: 1;
        margin-left: auto;
    }

    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
    }
}