* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Tajawal", Arial, sans-serif;
    background: #f4f6ff;
    color: #111650;
}

.hero-wrap {
    width: 100%;
    min-height: 100vh;
    /* padding: 22px 45px 35px; */
    background:
        radial-gradient(circle at 20% 35%, rgba(139, 130, 255, 0.20), transparent 32%),
        linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
    overflow: hidden;
}

.top-nav {
    margin-top: 23px !important;
    max-width: 1120px;
    margin: 0 auto;
    min-height: 76px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(55, 70, 140, 0.13);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 0 32px;
    position: relative;
}

.logo img {
    width: 150px;
    max-height: 55px;
    object-fit: contain;
    display: block;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.menu a {
    color: #17185d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.contact-btn {
    min-width: 140px;
    height: 46px;
    padding: 0 16px;
    background: #111650;
    color: #fff;
    border-radius: 40px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
}

.contact-btn b {
    width: 28px;
    height: 28px;
    background: #fff;
    color: #afa9ee;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #111650;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.hero-content {
    max-width: 1120px;
    margin: 55px auto 0;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-content: space-between;
}

.hero-text {
    text-align: right;
}

.hero-text h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.35;
    font-weight: 900;
    color: #10144f;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: #8177ff;
}

.hero-text p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.9;
    color: #3b3c68;
    font-weight: 500;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #111650, #171b69);
    color: #fff;
    text-decoration: none;
    border-radius: 45px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(17, 22, 80, 0.25);
}

.main-btn span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #111650;
    display: grid;
    place-items: center;
    font-size: 22px;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.features {
    max-width: 1080px;
    margin: 35px auto 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(55, 70, 140, 0.12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.feature-card {
    min-height: 95px;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    border-left: 1px solid #dde0ff;
}

.feature-card:last-child {
    border-left: none;
}

.icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f4f1ff 0%, #e8e3ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
}

.feature-card h3 {
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 900;
    color: #111650;
}

.feature-card p {
    margin: 0;
    font-size: 13px;
    color: #4e5177;
    line-height: 1.5;
}
.site-footer {
    position: relative;
    overflow: hidden;
    background: #25245c;
    min-height: 654px;
    padding: 40px 55px 25px;
    color: #fff;
}

.footer-graphic {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45%;
    max-width: 550px;
    height: auto;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    margin-left: auto;
    text-align: right;
}

.footer-logo {
    width: 296px;
    height: auto;
    margin-bottom: 18px;
}

.footer-content p {
    margin: 0 0 24px;
    font-size: 38px;
    line-height: 1.45;
    font-weight: 900;
}

.footer-content span {
    margin: 0 0 10px;
    font-size: 43px;
    font-weight: 900;
    margin-bottom: 14px;
    display: block;
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.footer-phones a {
    color: #b9b2ff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}

.footer-menu {
    display: flex;
    justify-content: flex-start;
    gap: 45px;
    margin-bottom: 22px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 900;
}

.copyright {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 14px !important;
}

@media (max-width: 992px) {
    .hero-wrap {
        padding: 18px 18px 30px;
    }

    .top-nav {
        padding: 16px 20px;
        gap: 14px;
    }

    .menu {
        gap: 14px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .hero-image {
        order: 1;
    }

    .hero-text {
        order: 2;
        text-align: center;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:nth-child(2) {
        border-left: none;
    }
}


@media (max-width: 768px) {
    .site-footer {
        padding: 35px 20px 220px;
        text-align: center;
    }

    .footer-content {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .footer-graphic {
        bottom: -118PX;
    }
    .footer-logo {
        width: 190px;
        height: auto;
    }

    .footer-content h2 {
        font-size: 22px;
    }

    .footer-content h3 {
        font-size: 22px;
    }

    .footer-phones a {
        font-size: 38px;
    }

    .footer-menu {
        justify-content: center;
        gap: 28px;
        flex-wrap: wrap;
    }

    .footer-menu a {
        font-size: 19px;
    }

    .footer-graphic {
        width: 80%;
        max-width: 360px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-text p {
        margin: 0 0 28px;
        font-size: 16px;
        line-height: 1.9;
        color: #3b3c68;
        font-weight: 500;
    }
    .hero-text h1 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .hero-wrap {
        padding: 12px 8px 24px;
    }

    .top-nav {
        min-height: 58px;
        padding: 10px 14px;
        border-radius: 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    .logo img {
        width: 105px;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-btn {
        display: none;
    }

    .menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 100%;
        background: #fff;
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 18px 35px rgba(0,0,0,0.12);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: 0.3s;
        z-index: 99;
    }

    .menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu a {
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px solid #ececff;
    }

    .menu a:last-child {
        border-bottom: none;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-top: 0px;
    }

    .hero-image {
        order: 1;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-text {
        order: 2;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 43px;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .hero-text p {
        font-size: 20px;
        line-height: 1.8;
        margin-bottom: 18px;
    }

    .main-btn {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 11px 14px;
    }

    .main-btn span {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .features {
        grid-template-columns: 1fr;
        margin-top: 24px;
        border-radius: 14px;
    }

    .feature-card {
        border-left: none;
        border-bottom: 1px solid #dde0ff;
        padding: 16px;
    }

    .feature-card:last-child {
        border-bottom: none;
    }
}

@media (min-width: 430px) and (max-width: 575px) {
    .hero-content
    {
        margin-top: 20px;
    }
    .hero-text h1 {
        font-size: 54px;
    }
    .hero-text p {
        font-size: 24px;
    }
    .hero-content {
        margin-top: 35px;
    }
}
