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


body {
    font-family: "Poppins", sans-serif;
    background: #f3f4f6; 
    color: #111827;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


header {
    width: 100%;
    background: #ffffff;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.logo {
    font-family: "Katibeh", serif;
    font-size: 56px;
    color: #111827;
}

nav a {
    text-decoration: none;
    font-size: 20px;
    margin-left: 25px;
    color: #111827;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #F7DF1E;
    transition: 0.2s ease-in-out;
}
nav a:hover::after {
    width: 100%;
}


.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 120px;
    gap: 120px;
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: 46px;
    font-weight: 700;
    line-height: 58px;
    color: #111827;
}

.subtext {
    margin-top: 20px;
    font-size: 20px;
    color: #4b5563;
}


.buttons {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn.start {
    width: 240px;
    height: 65px;
    background: #F7DF1E;
    color: #111827;
    border: none;
    border-radius: 999px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(247, 223, 30, 0.35);
    transition: 0.15s ease-in-out;
}

.btn.start:hover {
    background: #facc15;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(234, 179, 8, 0.45);
}

.learn {
    font-size: 20px;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: underline;
}


.hero-img-box {
    background: linear-gradient(135deg, #eef2ff, #fef9c3);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 320px;
    height: auto;
    transform: scale(1.1);
}


.features {
    margin: 60px auto;
    width: 85%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.feature-card {
    flex: 1;
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    border: 1px solid #f3f4f6;
    transition: 0.2s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 18px;
    color: #4b5563;
}

footer {
    background: #e5e7eb;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    font-size: 18px;
    font-style: italic;
}
@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .subtext {
        font-size: 16px;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn.start {
        width: 100%;
        height: 55px;
        font-size: 18px;
    }

    .hero-img {
        width: 220px;
    }

    .features {
        flex-direction: column;
        width: 90%;
        gap: 20px;
    }
}
/* ===== GLOBAL RESPONSIVE ===== */

@media (max-width: 900px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        gap: 10px;
    }

    .logo {
        font-size: 38px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    nav a {
        margin: 0;
        font-size: 16px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px 20px;
        font-size: 14px;
        height: auto;
    }
}