/* =========================
   الإعدادات العامة
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #172033;
    line-height: 1.7;
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* =========================
   شريط التنقل
========================= */

header {
    height: 80px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #3155d9;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #172033;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover {
    color: #3155d9;
}

.login-btn {
    padding: 10px 22px;
    background-color: transparent;
    border: 1px solid #3155d9;
    color: #3155d9;
    border-radius: 8px;
    font-size: 15px;
}


/* =========================
   القسم الرئيسي
========================= */

.hero {
    min-height: 520px;
    padding: 70px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: linear-gradient(135deg, #ffffff, #f4f6ff);
}

.hero-text {
    width: 52%;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #172033;
}

.hero-text p {
    font-size: 19px;
    color: #667085;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn,
.secondary-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    border: none;
}

.primary-btn {
    background-color: #3155d9;
    color: white;
}

.secondary-btn {
    background-color: white;
    color: #3155d9;
    border: 1px solid #3155d9;
}


/* =========================
   الصورة التقنية
========================= */

.hero-image {
    width: 43%;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.computer {
    font-size: 170px;
}

.phone {
    position: absolute;
    right: 20%;
    bottom: 20px;
    font-size: 80px;
}

.code {
    position: absolute;
    left: 10%;
    top: 50px;
    background-color: #3155d9;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 25px;
}


/* =========================
   الخدمات
========================= */

.services {
    padding: 70px 7%;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-description {
    color: #667085;
    margin-bottom: 40px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.service-card {
    padding: 30px 18px;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    background-color: white;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    color: #667085;
    font-size: 14px;
}


/* =========================
   الهاتف
========================= */

@media (max-width: 900px) {

    header {
        padding: 0 4%;
    }

    nav {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {

    .hero-text h1 {
        font-size: 30px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .login-btn {
        padding: 8px 12px;
    }
}
header nav a {
    color: red !important;
}header nav {
    gap: 100px !important;
}header nav a {
    margin-left: 40px !important;
}header nav a {
    color: #3155d9 !important;
}.login-btn {
    background-color: #3155d9 !important;
    color: white !important;
    border: 1px solid #3155d9 !important;
    padding: 10px 22px;
    border-radius: 8px;
}.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: #172033;
}.hero-text h1 {
    color: #3155d9 !important;
}.hero-text p {
    color: #667085;
    font-size: 18px;
    line-height: 1.8;
}.hero-buttons {
    margin-top: 10px;
    gap: 18px;
}

.primary-btn,
.secondary-btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
}.primary-btn {
    margin-left: 15px !important;
}.computer {
    font-size: 180px;
}.computer {
    font-size: 180px;
}.phone {
    font-size: 90px;
}.code {
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 27px;
}.services h2 {
    color: #3155d9;
    font-size: 38px;
    font-weight: bold;
}.service-card {
    padding: 35px 20px;
    border-radius: 14px;
}

.service-card h3 {
    color: #172033;
    font-size: 18px;
}.icon {
    font-size: 50px;
    margin-bottom: 18px;
}.service-card p {
    line-height: 1.7;
    margin-top: 5px;
}.service-card p {
    color: #4b5563 !important;
}.how-it-works {
    padding: 70px 7%;
    text-align: center;
    background-color: #f4f6ff;
}

.how-it-works h2 {
    font-size: 36px;
    color: #3155d9;
    margin-bottom: 10px;
}

.how-it-works > p {
    color: #667085;
    margin-bottom: 40px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 14px;
    border: 1px solid #eeeeee;
}

.step-number {
    width: 45px;
    height: 45px;
    margin: 0 auto 15px;
    background-color: #3155d9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.step-card h3 {
    margin-bottom: 10px;
    color: #172033;
}

.step-card p {
    color: #4b5563;
    line-height: 1.7;
}.portfolio {
    padding: 70px 7%;
    text-align: center;
    background-color: #ffffff;
}

.portfolio h2 {
    font-size: 36px;
    color: #3155d9;
    margin-bottom: 10px;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.portfolio-card {
    padding: 30px 20px;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    background-color: white;
}

.portfolio-image {
    font-size: 55px;
    margin-bottom: 18px;
}

.portfolio-card h3 {
    color: #172033;
    margin-bottom: 10px;
}

.portfolio-card p {
    color: #4b5563;
    line-height: 1.7;
}.portfolio {
    padding: 70px 7%;
    text-align: center;
    background-color: #ffffff;
}

.portfolio h2 {
    font-size: 36px;
    color: #3155d9;
    margin-bottom: 10px;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.portfolio-card {
    overflow: hidden;
    border-radius: 16px;
    background-color: #f4f6ff;
    text-align: right;
    border: 1px solid #eeeeee;
}

.portfolio-image {
    height: 190px;
    background-color: #e8ecff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
}

.portfolio-card h3 {
    padding: 20px 20px 5px;
    color: #172033;
    font-size: 19px;
}

.portfolio-card p {
    padding: 0 20px 25px;
    color: #4b5563;
    line-height: 1.7;
}.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.portfolio-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 190px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    background-color: white;
    text-align: right;
}

.portfolio-image {
    width: 35%;
    height: 190px;
    background-color: #f4f6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
    flex-shrink: 0;
}

.portfolio-card h3 {
    padding: 0 30px 8px;
    color: #172033;
    font-size: 20px;
}

.portfolio-card p {
    padding: 0 30px;
    color: #4b5563;
    line-height: 1.7;
}.about {
    padding: 70px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background-color: #f4f6ff;
}

.about-text {
    width: 65%;
}

.about h2 {
    color: #3155d9;
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 15px;
}

.about-icon {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}.contact {
    padding: 70px 7%;
    text-align: center;
    background-color: #ffffff;
}

.contact h2 {
    font-size: 36px;
    color: #3155d9;
    margin-bottom: 10px;
}

.contact > p {
    color: #667085;
    margin-bottom: 35px;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d9deea;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

.contact-form button {
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #3155d9;
    color: white;
    font-size: 16px;
    font-weight: bold;
}footer {
    padding: 45px 7% 25px;
    background-color: #172033;
    color: white;
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

footer > p {
    color: #cbd2e1;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.footer-links a:hover {
    color: #8fa3ff;
}

footer .copyright {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #344054;
    font-size: 13px;
    color: #98a2b3;
}.footer-links a {
    margin-left: 25px;
}@media (max-width: 600px) {

    header {
        padding: 15px 5%;
        height: auto;
        flex-wrap: wrap;
        gap: 15px;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 50px 5%;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn {
        margin-left: 0 !important;
    }

    .hero-image {
        width: 100%;
        height: 280px;
    }

    .computer {
        font-size: 120px;
    }

    .phone {
        font-size: 65px;
    }

    .code {
        font-size: 20px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .portfolio-container {
        width: 100%;
    }

    .portfolio-card {
        flex-direction: column;
    }

    .portfolio-image {
        width: 100%;
        height: 160px;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        width: 100%;
    }

    .about-icon {
        width: 180px;
        height: 180px;
    }

    .contact {
        padding: 60px 5%;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}.contact-form button {
    width: 180px;
    margin: 5px auto 0;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #2444b5;
    transform: translateY(-2px);
    
}
.register-btn {
    padding: 10px 22px;
    background-color: #3155d9;
    color: white !important;
    border: 1px solid #3155d9;
    border-radius: 8px;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.register-btn:hover {
    background-color: #2444b5;
    border-color: #2444b5;
}
