@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #F8F8F8;
    --secondary-bg: #EBEDEF;
    --accent-emerald: #00C896;
    --accent-midnight: #1A2B4A;
    --highlight-copper: #B87333;
    --text-charcoal: #2D2D2D;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Arabic', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-charcoal);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Almarai', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-midnight);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-midnight));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-family: 'Almarai', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-charcoal);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--highlight-copper));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-emerald);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-midnight);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent-midnight) 0%, #2A3B5A 50%, var(--accent-midnight) 100%);
    color: var(--white);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero::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='%2300C896' 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.5;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--accent-emerald);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.95;
    line-height: 2;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-feature-icon {
    width: 35px;
    height: 35px;
    background: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-emerald);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 200, 150, 0.3);
}

.btn-primary:hover {
    background: var(--highlight-copper);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-emerald);
    border: 2px solid var(--accent-emerald);
}

.btn-secondary:hover {
    background: var(--accent-emerald);
    color: var(--white);
}

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

.section-alt {
    background-color: var(--secondary-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent-midnight);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--highlight-copper));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 30px var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-emerald), var(--highlight-copper));
    opacity: 0;
    transition: var(--transition);
}

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

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-midnight));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.card h3 {
    font-size: 1.4rem;
    color: var(--accent-midnight);
    margin-bottom: 15px;
}

.card p {
    color: #555;
    line-height: 1.9;
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h3 {
    font-size: 1.6rem;
    color: var(--accent-midnight);
    margin: 40px 0 20px;
    padding-right: 20px;
    border-right: 4px solid var(--accent-emerald);
}

.content-section p {
    margin-bottom: 20px;
    line-height: 2;
    color: #444;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 30px var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--accent-emerald);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-midnight));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--accent-midnight);
    margin-bottom: 5px;
}

.testimonial-info span {
    color: var(--highlight-copper);
    font-size: 0.9rem;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-midnight);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 200, 150, 0.05);
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--highlight-copper);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #555;
    line-height: 2;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 30px var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Almarai', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-midnight);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Noto Sans Arabic', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-emerald);
    box-shadow: 0 0 0 4px rgba(0, 200, 150, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    padding: 20px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--accent-midnight);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-midnight));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--accent-midnight);
    margin-bottom: 8px;
}

.contact-details p {
    color: #555;
    line-height: 1.7;
}

.privacy-note {
    margin-top: 40px;
    padding: 25px;
    background: rgba(0, 200, 150, 0.08);
    border-radius: 15px;
    border-right: 4px solid var(--accent-emerald);
}

.privacy-note p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--accent-midnight) 0%, #2A3B5A 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300C896' fill-opacity='0.06'%3E%3Cpath d='M20 20h20v20H20zM0 0h20v20H0z'/%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Mission Cards */
.mission-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 30px var(--shadow);
    display: flex;
    gap: 30px;
    align-items: flex-start;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mission-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-emerald), var(--highlight-copper));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Almarai', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.mission-content h3 {
    font-size: 1.5rem;
    color: var(--accent-midnight);
    margin-bottom: 15px;
}

.mission-content p {
    color: #555;
    line-height: 2;
    margin-bottom: 15px;
}

/* Advantage Cards */
.advantage-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 30px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-midnight));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--white);
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: var(--accent-midnight);
    margin-bottom: 20px;
}

.advantage-card p {
    color: #555;
    line-height: 2;
    margin-bottom: 15px;
}

/* Network Cards */
.network-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 30px var(--shadow);
    border-top: 4px solid var(--accent-emerald);
    transition: var(--transition);
}

.network-card:hover {
    border-top-color: var(--highlight-copper);
    transform: translateY(-5px);
}

.network-card h3 {
    font-size: 1.4rem;
    color: var(--accent-midnight);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.network-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-emerald);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.network-card p {
    color: #555;
    line-height: 2;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--accent-midnight) 0%, #0D1A2D 100%);
    color: var(--white);
    padding: 70px 20px 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-emerald);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-emerald);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-emerald);
    padding-right: 10px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(0, 200, 150, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-emerald);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 30px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    border-top: 3px solid var(--accent-emerald);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-family: 'Almarai', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-midnight);
    margin-bottom: 8px;
}

.cookie-text p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Almarai', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-accept {
    background: var(--accent-emerald);
    color: var(--white);
}

.cookie-accept:hover {
    background: var(--highlight-copper);
}

.cookie-decline {
    background: transparent;
    color: var(--text-charcoal);
    border: 2px solid #ddd;
}

.cookie-decline:hover {
    border-color: var(--accent-midnight);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: -5px 0 30px var(--shadow);
        transition: right 0.3s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .mission-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}
