
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #102a43;
    --secondary: #087e8b;
    --accent: #eab54b;
    --background: #f5f8fc;
    --text: #263746;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background: var(--background);
    color: var(--text);
}

.header {
    min-height: 82px;
    padding: 15px 7%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 15px #00000008;
}

.logo {
    color: var(--primary);
    font-size: 23px;
    font-weight: 800;
    text-decoration: none;
}

.navigation {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.navigation a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.navigation a:hover {
    color: var(--secondary);
}

.login, .btn {
    background: var(--secondary);
    color: white;
    text-decoration: none;
    padding: 11px 23px;
    border-radius: 8px;
    font-weight: 700;
}

.hero {
    min-height: 460px;
    display: flex;
    align-items: center;
    padding: 75px 10%;
    background: linear-gradient(120deg, #102a43, #087e8b);
    color: white;
}

.hero-content {
    max-width: 650px;
}

.tag {
    color: var(--accent);
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(35px, 5vw, 55px);
    line-height: 1.6;
    margin: 15px 0;
}

.hero p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
}

.section {
    padding: 75px 8%;
    text-align: center;
}

.section h2 {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 18px;
}

.section > p {
    margin-bottom: 35px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 25px #102a4310;
    transition: transform .3s;
}

.card:hover {
    transform: translateY(-7px);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.card p {
    line-height: 1.9;
}

footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 35px 15px;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
    }

    .navigation {
        justify-content: center;
        gap: 12px;
    }

    .hero {
        min-height: 380px;
        padding: 55px 7%;
    }
}
