:root {
    --primary: #0077b6;
    --secondary: #00b4d8;
    --accent: #90e0ef;
    --dark: #03045e;
    --light: #f0faff;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Cairo', sans-serif; 
}

body { 
    color: var(--dark); 
    line-height: 1.6; 
    background: #fdfdfd; 
}

a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 4000; 
    transition: all 0.4s ease;
    background: transparent;
}

header.header-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-icon i, .en-logo, .ar-logo { color: #ffffff !important; transition: 0.3s; }
.header-scrolled .logo-icon i { color: var(--primary) !important; }
.header-scrolled .en-logo { color: var(--dark) !important; }
.header-scrolled .ar-logo { color: var(--primary) !important; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.nav-links li a {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.header-scrolled .nav-links li a { color: var(--dark) !important; }
.nav-links li a:hover { color: var(--accent) !important; }

.btn-cta { background: var(--primary); color: white !important; padding: 8px 18px; border-radius: 50px; }

.close-menu, .menu-btn { 
    display: none; 
}

/* ---  (Hero Section) --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1576013551627-0cc20b96c2a7?q=80&w=1470') no-repeat center center/cover;
    display: flex; 
    align-items: center; 
    position: relative; 
    color: white; 
    text-align: center;
}
.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(135deg, rgba(3, 4, 94, 0.8) 0%, rgba(0, 119, 182, 0.4) 100%); 
}
.hero-content { position: relative; z-index: 10; width: 100%; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 900; margin-bottom: 20px; }
.text-gradient { color: var(--accent); }
.hero p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 40px; opacity: 0.9; }

.btn-primary { background: var(--secondary); color: white; padding: 15px 40px; border-radius: 50px; font-weight: 800; display: inline-block; }
.btn-secondary { border: 2px solid white; color: white; padding: 13px 40px; border-radius: 50px; font-weight: 800; margin-right: 15px; display: inline-block; }

.bottom-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.bottom-wave svg { display: block; width: 100%; height: 80px; }
.bottom-wave .shape-fill { fill: #fdfdfd; }

.section-header { text-align: center; margin-bottom: 50px; }
.line { width: 70px; height: 5px; background: var(--primary); margin: 15px auto; border-radius: 50px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.s-card {
    background: white;
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.s-card:hover {
    transform: translateY(-15px); 
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.2); 
    background: linear-gradient(180deg, #ffffff 0%, #f0faff 100%); 
}

.s-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: all 0.4s ease; 
    display: inline-block;
}

.s-card:hover .s-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary);
}

.s-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; 
    height: 6px;
    background: var(--secondary);
    transition: 0.4s ease;
}

.s-card:hover::after {
    width: 100%; 
}

.s-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    transition: 0.3s;
}

.s-card:hover h3 {
    color: var(--primary);
}

.s-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    transition: 0.3s;
}

.s-card:hover p {
    color: var(--dark);
}

@media (max-width: 768px) {
    .s-card {
        padding: 40px 20px;
    }
}

/* ---  (Stats) --- */
.stats-dark { background: var(--dark); color: white; text-align: center; padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.stat-item h3 { font-size: 3.5rem; font-weight: 900; color: var(--accent); }
.why-choose-us {
    background-color: var(--light);
    overflow: hidden;
}

.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap; 
}

.about-image {
    flex: 1;
    min-width: 350px;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    padding: 10px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.3);
    border: 5px solid white;
    min-width: 130px;
}

.exp-badge .num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.exp-badge .txt {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-text {
    flex: 1.2;
    min-width: 350px;
    text-align: right;
}

.sub-title-badge {
    background: var(--accent);
    color: var(--dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text .description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.05rem;
}

.features-list i {
    color: var(--primary);
    font-size: 1.4rem;
    margin-top: 3px;
}

.btn-primary-action {
    background: var(--secondary);
    color: white !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
    transition: 0.3s ease;
}

.btn-primary-action:hover {
    background: var(--dark);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        text-align: center;
    }
    .features-list li {
        justify-content: center;
    }
    .about-image {
        margin-bottom: 40px;
    }
    .exp-badge {
        right: 10px;
        bottom: 10px;
    }
}

/* ---  (Gallery) --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.g-item { height: 250px; border-radius: 20px; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.g-item:hover img { transform: scale(1.1); }

.process-section {
    background-color: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.process-card {
    background: #fcfdfe;
    padding: 40px 25px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #f0f4f8;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.03);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.process-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 119, 182, 0.1);
    border-color: var(--secondary);
}

.step-num-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.2);
    transition: 0.3s;
}

.process-card:hover .step-num-circle {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.4);
}

.process-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.process-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

@media (min-width: 992px) {
    .step-connector {
        position: absolute;
        top: 75px;
        left: -15%;
        width: 30%;
        height: 2px;
        border-top: 2px dashed #d1e3f0;
        z-index: -1;
    }
}

@media (max-width: 768px) {
    .process-card {
        padding: 30px 20px;
    }
    .step-num-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .process-grid {
        gap: 20px;
    }
}
.faq-container {
    max-width: 850px;
    margin: 40px auto 0;
}

.faq-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.02);
    transition: 0.3s;
}

.faq-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.faq-question i {
    color: var(--primary);
    font-size: 1.4rem;
}

.faq-question h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
}

.faq-answer p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    padding-right: 40px;
}

.testimonials-section {
    background-color: #f8fbff;
    position: relative;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testi-card {
    background: #ffffff;
    padding: 50px 35px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0, 119, 182, 0.05);
    position: relative;
    transition: 0.4s ease;
    border: 1px solid #f0f4f8;
}

.testi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 119, 182, 0.1);
    border-color: var(--secondary);
}

.quote-icon {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.2;
}

.stars {
    color: #f1c40f; 
    margin-bottom: 20px;
    font-size: 1rem;
    display: flex;
    gap: 5px;
}

.testi-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

.client-info {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.client-info h5 {
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.client-info span {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .testi-card {
        padding: 40px 25px;
        margin: 0 10px;
    }
    .testi-card p {
        font-size: 1rem;
    }
}
.final-cta {
    background: #fdfdfd;
}

.cta-box {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 50px rgba(3, 4, 94, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-wa, .btn-cta-call {
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 900;
    font-size: 1.2rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.btn-cta-wa {
    background: #25d366;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-cta-call {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-cta-wa:hover, .btn-cta-call:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .cta-box {
        padding: 50px 20px;
    }
    .cta-box h2 { font-size: 1.8rem; }
    .btn-cta-wa, .btn-cta-call {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
    }
    .faq-answer p { padding-right: 0; }
}
.main-footer {
    background-color: #01012b;
    color: #ffffff;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.f-logo {
    height: 50px;
    width: auto;
}

.logo-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-txt .en { font-weight: 900; font-size: 1.2rem; color: var(--accent); }
.logo-txt .ar { font-size: 0.8rem; opacity: 0.8; }

.footer-col p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-col h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #ccc;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    padding-right: 10px; 
}

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

.contact-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 5px;
}

.contact-item p {
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #777;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-logo, .social-links, .contact-item {
        justify-content: center;
    }
    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
}

.fixed-contact { position: fixed; bottom: 30px; left: 30px; z-index: 5000; display: flex; flex-direction: column; gap: 15px; }
.btn-wa { background: #25d366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; }
.btn-call { background: var(--primary); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem; }

@media (max-width: 768px) {
    .menu-btn { display: block; color: white; }
    .header-scrolled .menu-btn { color: var(--dark); }

    .nav-links {
        position: fixed; 
        top: 0; 
        right: 0; 
        width: 280px; 
        height: 100vh; 
        background: white; 
        z-index: 4100 !important;
        display: flex !important; 
        flex-direction: column; 
        padding: 80px 30px; 
        transform: translateX(105%); 
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }

    .nav-links.active { transform: translateX(0); } 

    .nav-links li { margin: 15px 0; width: 100%; }
    .nav-links li a { color: var(--dark) !important; font-size: 1.2rem !important; display: block; text-align: right; }

    .close-menu { 
        display: block; 
        position: absolute; 
        top: 20px; 
        left: 20px; 
        font-size: 1.8rem; 
        color: var(--primary); 
        cursor: pointer; 
    }

    .menu-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 3500 !important;
        display: none;
        backdrop-filter: blur(4px);
    }
    .menu-overlay.active { display: block; }

    .testi-grid, .footer-top, .about-flex { grid-template-columns: 1fr !important; text-align: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .btn-secondary { margin-right: 0; margin-top: 10px; }
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px; 
    cursor: pointer;
}

.main-logo {
    height: 70px; 
    width: auto;
    object-fit: contain;
    transition: 0.3s ease-in-out;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.en-logo {
    font-weight: 900;
    font-size: 1.4rem; 
    letter-spacing: 1px;
    color: #ffffff;
    display: block;
}

.ar-logo {
    font-weight: 700;
    font-size: 0.9rem; 
    color: #ffffff; 
    display: block;
}

.header-scrolled .main-logo {
    height: 55px; 
}

.header-scrolled .en-logo {
    color: var(--dark) !important;
}

.header-scrolled .ar-logo {
    color: var(--primary) !important; 
}

@media (min-width: 769px) {
    .close-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .main-logo {
        height: 50px;
    }
    .en-logo {
        font-size: 1.1rem;
    }
    .ar-logo {
        font-size: 0.75rem;
    }
}

.intro-section {
    background: linear-gradient(to bottom, #fdfdfd, #f0faff);
}

.intro-card {
    background: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 119, 182, 0.08);
    text-align: center;
    border: 1px solid rgba(144, 224, 239, 0.3);
    position: relative;
}

.intro-badge {
    background: var(--accent);
    color: var(--dark);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.intro-card h2 {
    color: var(--dark);
    font-size: 2.2rem;
    font-weight: 900;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.intro-icon-box {
    width: 80px;
    height: 80px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    border: 2px dashed var(--secondary);
}

.intro-card p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-highlight {
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    border-radius: 100px;
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.3);
    transition: 0.3s;
}

.contact-highlight:hover {
    transform: scale(1.05);
    background: var(--dark);
}

.contact-highlight a {
    color: white !important;
    font-weight: 900;
    font-size: 1.4rem;
}

.pulse-icon {
    background: white;
    color: var(--primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 768px) {
    .intro-card {
        padding: 40px 20px;
        margin: 0 10px;
    }
    .intro-card h2 { font-size: 1.6rem; }
    .contact-highlight { width: 100%; justify-content: center; padding: 12px 15px; }
    .contact-highlight a { font-size: 1.1rem; }
}