@import url("https://fonts.googleapis.com/css2?family=Lalezar&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;700&display=swap");
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Tajawal", sans-serif;
}
::selection {
    background-color: #6e06af;
    color: white;
}
html {
    scroll-behavior: smooth;
}
/* First Section : Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    height: 50px;
    width: 80%;
    margin: auto;
}
header .logo {
    width: 10%;
    display: flex;
    justify-content: space-around;
    gap: 15px;
    align-items: center;
    font-family: "Lalezar", cursive;
}
header .logo i {
    font-size: 2.5rem;
    color: #6e06af;
}
header ul {
    display: flex;
    list-style: none;
    justify-content: space-evenly;
    align-items: center;
    width: 40%;
}
header ul a {
    text-decoration: none;
    cursor: pointer;
    color: #000;
}
header ul a:hover {
    color: #6e06af
}
/* Second Section : Main */
.container {
    margin: 10px 0 30px;
    padding: 20px 10%;
    background-color: #f8f7fc;
}
main {
    height: 80vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
main img {
    width: 25%;
    height: 70%;
}
main .content {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 10px;
}
main .content h3, section#choices h3, section#phones h3 {
    color: #6e06af;
}
main .content p {
    font-size: 16px;
    /* line-height: 1.5; */
}
main .content p span {
    color: #6e06af;
}
main .content a, section#phones a {
    width: 120px;
    padding: 10px 3px;
    border-radius: 10px;
    background-color: #6e06af;
    border: 2px solid #6e06af;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
main .content a:hover, section#phones a:hover {
    background-color: white;
    color: #6e06af;
}
main .content a {
    margin-top: 5px;
}
/* Third Section : Why we are best choice */
section#choices {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
div.choices {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 10px 0;
}
section#choices div.choices .choice {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: 0.5s;
}
section#choices div.choices .choice i {
    font-size: 1.3rem;
    color: #6e06af;
    margin-bottom: 10px;
}
section#choices div.choices .choice:hover {
    transform: scale(1.1);
}
/* Fourth Section : Phones */
section#phones a {
    width: 150px;
    align-self: center; /* center any thing, but it has to be in a flex or grid */
}
section#phones {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1rem 8rem;
}
section#phones div.phones {
    display: grid;
    grid-template-columns: repeat(3, auto);
    text-align: center;
}
section#phones div.phones .phone {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    transition: 0.5s;
}
section#phones div.phones .phone:hover {
    transform: scale(1.1);
}
/* Fifth Section : Footer */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 15vh;
    background-color: #eee;
    margin-top: 20px;
    font-size: 20px;
}
footer a {
    text-decoration: none;
    color: #000;
    margin-left: 15px;
    font-size: 30px;
}
footer a:hover {
    color: #6e06af;
}
/* Responsive */
@media screen and (max-width: 800px) {
    header {
        flex-direction: column;
        align-items: center;
        height: 80px;
    }
    header .logo {
        width: 100%;
        justify-content: center;
    }
    header .logo h1 {
        font-size: 22px;
    }
    header .logo i {
        font-size: 25px;
    }
    header ul {
        width: 100%;
        justify-content: center;
        font-size: 15px;
    }
    header ul li {
        margin: 5px 10px;
    }

    main {
        height: 80vh;
        width: 90%;
        margin-top: 10px;
    }
    main .content {
        width: 60%;
    }
    main img {
        width: 30%;
        height: 40vh;
        margin: auto;
    }
    main h3, main h2, main p {
        margin-bottom: 8px;
    }
    main h3 {
        font-size: 18px;
    }
    main h2 {
        font-size: 20px;
    }
    main p {
        font-size: 14px;
    }

    div.choices {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    section#phones {
        padding: 0 2rem;
    }
    section#phones div.phones {
        grid-template-columns: repeat(2, auto);
    }
}