﻿* {
    box-sizing: border-box;
}

body {
    background: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.icons-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

    .icons-bg i {
        position: absolute;
        color: #0057b7;
        opacity: 0.08;
        font-size: 40px;
        animation: float 6s infinite ease-in-out;
    }


        .icons-bg i:nth-child(1) {
            top: 10%;
            left: 15%;
        }

        .icons-bg i:nth-child(2) {
            top: 30%;
            left: 70%;
        }

        .icons-bg i:nth-child(3) {
            top: 60%;
            left: 20%;
        }

        .icons-bg i:nth-child(4) {
            top: 80%;
            left: 80%;
        }

        .icons-bg i:nth-child(5) {
            top: 50%;
            left: 50%;
        }

        .icons-bg i:nth-child(6) {
            top: 20%;
            left: 40%;
        }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}


/*.hero {
    position: relative;
    z-index: 2;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}*/

.hero h1 {
    font-size: 63px;
    margin-bottom: 72px;
    margin-right: 71px;
    color: #45586d;
    margin-top: auto;
}


.search-box {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255,255,255,0.6);
    -webkit-backdrop-filter: blur(10px); /* لمحركات Chrome و Edge */
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

    .search-box input {
        border: none;
        outline: none;
        padding: 10px;
        width: 250px;
        border-radius: 10px;
    }

    .search-box button {
        background: #2ECC71;
        border: none;
        color: white;
        padding: 10px 20px;
        border-radius: 10px;
        cursor: pointer;
    }

        .search-box button:hover {
            background: #27ae60;
        }

.search-container {
    position: relative;
}

    .search-container i {
        position: absolute;
        left: 21px;
        top: 50%;
        transform: translateY(-50%);
        color: #45586d;
        font-size: 24px;
    }

    .search-container input {
        padding-left: 35px;
    }



.glass__container h1 {
    text-align: center;
    color: #efff;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.input__group {
    position: relative;
    margin-bottom: 30px;
}

    .input__group input {
        width: 100%;
        padding: 17px 272px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        outline: none;
        border-radius: 35px;
        font-size: 16px;
        color: #efff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        max-width: 6000px;
        font-size: 31px;
        text-align: left;
        color: black;
    }

    .input__group label {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.8);
        font-size: 16px;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .input__group input:focus + label,
    .input__group input:valid + label {
        top: 0;
        left: 15px;
        font-size: 12px;
        color: #efff;
        background: rgba(255, 255, 255, 0.2);
        padding: 2px 8px;
        border-radius: 10px;
    }

input:focus::placeholder {
    opacity: 0;
}


.services {
    padding: 40px;
    display: flex;
    justify-content: center;
}


.icon_links {
    text-decoration: none;
}



    .icon-box i {
        font-size: 38px;
        color:darkgray;
        z-index: 1;
        margin-bottom: 10px;
    }

.icon-box p {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    color: darkgray;
    z-index: 1;
}

.icon-box::after {
    content: "";
    width: 0;
    height: 3px;
    background: #687f98;
    position: absolute;
    bottom: 0;
    border-radius: 2px;
    transition: 0.3s;
}


.icon_links:hover .icon-box::after {
    width: 50px;
}

.icon_links:hover .icon-box {
    transform: translateY(-5px);
}

.icon-box.active::after {
    width: 50px;
}
.icon-box {
    background: transparent;
}


    .icon-box.active {
        background: #E8F3FF;
        border-radius: 50% 30% 50% 40% / 40% 50% 30% 50%;
    }

        .icon-box.active i {
            color: #687f98;
        }

        .icon-box.active p {
            color: #687f98;
        }

     

        .icon-box.active::after {
            width: 50px;
            background: #687f98;
        }

.services-content {
    margin-top: 30px;
    text-align: center;
}

.content-box {
    display: none;
}



.hero {
    position: relative;
    z-index: 2;
   
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.h_container {
    padding: 20px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    margin: 0; 
    overflow: visible;
}
.service-grid {
    display: flex; /* استخدم Flexbox بدلاً من Grid لسهولة التوزيع */
    justify-content: center;
   
    gap: 20px;
    margin-top: 30px;
    border-bottom: 1px solid #e0e0e0; /* خط فاصل بسيط */
    padding-bottom: 20px;
    flex-wrap: nowrap;
}

.icon-box {
    width: 120px; /* توحيد العرض للأيقونات */
    padding: 10px;
}
.services-content {
    width: 100%;
    max-width: 1100px; /* عرض الحاوية الكبيرة */
    margin: 40px auto;
    padding: 0 20px;
}

.content-box.active {
    display: flex;
    justify-content: center;
    animation: fadeIn 0.6s ease;
}

.content-box img {
    width: 100%; /* تجعل الصورة تأخذ كامل عرض الحاوية */
    max-width: 900px; /* يمكنك التحكم بأقصى عرض للصورة هنا */
    height: auto;
    border-radius: 20px; /* حواف دائرية ناعمة */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* ظل خفيف ليعطي عمق */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* الحاوية الكبيرة */
.services-content {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

/* أزرار التصنيفات الفرعية (مثل Screenshot 2026-05-01 194905) */
.sub-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.sub-btn {
    background: white;
    border: 1px solid #d1d1d1;
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .sub-btn:hover {
        background: #f8f8f8;
        border-color: #333;
    }

.main-display {
    display: flex;
    background: #E8F3FF; 
    border-radius: 16px;
    overflow: hidden;
    min-height: 502px;
    align-items: center;
}

.text-side {
    flex: 1;
    padding: 50px;
    text-align: left;
}

    .text-side h2 {
        font-size: 34px;
        color: #222;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .text-side p {
        font-size: 18px;
        color: #555;
        line-height: 1.6;
    }

.image-side {
    flex: 1.2;
    height: 100%;
}

    .image-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.content-box {
    display: none;
}

    .content-box.active {
        display: block;
        animation: slideUp 0.4s ease-out;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    height: auto !important;
    padding: 172px 0;
}

.h_container {
    margin: 0 !important;
    padding: 0 !important;
}
.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 16px;
    position: relative;
    transition: 0.3s;
}

    .icon-box::before {
        content: "";
        width: 95px;
        height: 95px;
        position: absolute;
        top: 5px;
        z-index: 0;
        border-radius: 60% 30% 55% 45% / 45% 55% 30% 60%;
    }
.projects-section {
    max-width: 1100px;
    margin: 64px auto;
}

.section-title {
    font-size: 28px;
    color: #1d3b2a;
    margin-bottom: 30px;
    font-weight: bold;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 أعمدة في السطر */
    gap: 20px;
}

.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .project-card:hover {
        transform: translateY(-5px);
    }

/* هنا تضع مسار الصورة لكل كارد */
.image-placeholder {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

/* مثال لربط الصور (استبدل img-1.jpg بمسار الصورة الحقيقي) */
.img-1 {
    background-image: url('gemini_generated_image_blp267blp267blp2.png');
}

.img-2 {
    background-image: url('2.png');
   
}

.img-3 {
    background-image: url('3.png');
}

.img-4 {
    background-image: url('4.png');
}

.img-5 {
    background-image: url('5.png');
}

.img-6 {
    background-image: url('6.png');
}

.img-7 {
    background-image: url('7.png');
}

.img-8 {
    background-image: url('8.png');
}

.card-content {
    padding: 15px;
    text-align: center;
}

    .card-content h3 {
        font-size: 16px;
        margin: 0 0 8px 0;
        color: #333;
    }

    .card-content p {
        font-size: 14px;
        color: #666;
        margin: 0;
    }
/*
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}*/
.how-it-works-section {
    background-color: #fefbe8; 
    padding: 80px 90px;
    display: flex;
    justify-content: center;
}

.how__container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
}

/* تصميم الكارد الأبيض */
.info-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 400px;
    z-index: 2;
    position: absolute;
    left: 0; /* لجعل الكارد يبرز لليسار */
}

    .info-card h2 {
        color: #1d3b2a;
        margin-bottom: 30px;
        font-size: 24px;
    }

/* تنسيق الخطوات */
.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

/* ألوان الدوائر حسب الصورة */
.num-1 {
    background-color: #e0e7ff;
    color: #4338ca;
}

.num-2 {
    background-color: #fef9c3;
    color: #854d0e;
}

.num-3 {
    background-color: #dcfce7;
    color: #166534;
}

.step-text {
    color: #4a5568;
    line-height: 1.5;
    font-size: 16px;
}

/* تصميم الصورة الخلفية */
.image-wrapper {
    width: 100%;
    margin-left: 100px; /* لإعطاء مساحة للكارد ليظهر */
}

    .image-wrapper img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }


footer#About {
    background-color: #546671; 
    width: 100%;
    margin: 0;
    padding: 60px 0 20px 0;
    color: white;
}

.container__footer {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__colum h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer__colum h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background: #45586d;
    }

.social_links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social_links a {
        color: white;
        background: rgba(255, 255, 255, 0.1);
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        text-decoration: none;
        transition: 0.3s;
    }

        .social_links a:hover {
            background: rgba(255, 255, 255, 0.2);
        }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}
footer#About {
    background-color: #546671 !important; 
    width: 100vw !important; 
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important; 
    margin-right: -50vw !important;
    padding: 60px 0 20px 0 !important;
    box-sizing: border-box;
}

.container__footer {
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 20px;
    display: block; 
}
body {
    overflow-x: hidden;
    margin: 0;
}
.footer__links {
    list-style: none;
    padding: 0; 
    margin: 0;
}
a {
    color: #fff;
    text-decoration: underline;
}
    a:hover {
        color: #ffffff;
        transform: translateY(-5px);
    }