@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

*,
html {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
    user-select: none;
}

body {
    box-sizing: border-box;
    width: 100%;
    font-family: "Nunito Sans", sans-serif;
    background: rgb(255, 255, 255);
    line-height: 2.0;
    letter-spacing: 0.6;
    word-spacing: 3px;
}

header {
    padding: 8px 20px;
    position: fixed;
    backdrop-filter: blur(12px);
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.301);
    box-sizing: border-box;
    height: 80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow: hidden;
}

header nav {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul li {
    padding: 10px;
    margin-left: 10px;
    text-align: center;
    border-radius: 4px;
}

nav li:hover {
    text-decoration: underline hsla(0, 0%, 22%, 0.116);
    background-color: hsla(0, 0%, 22%, 0.116);
    color: aliceblue;
}

nav li a {
    text-decoration: none;
    color: rgb(0, 72, 255);
    padding: 5px 8px;
}

nav .left img {
    border-radius: 50%;
    width: 100%;
    height: 50px;
}

main {
    padding: 20px 0;
    margin-top: 60px;
}

.s1 {
    background-color: rgb(253, 253, 253);
    padding: 20px 80px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.s1 h1 {
    font-size: 55px;
    margin-bottom: 10px;
}

.s1 h4 {
    font-size: 32px;
    font-weight: 600;
}

.s1 img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.s2,
.s3,
.s4,
.contact {
    padding: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    gap: 20px;

    p {
        width: 700px;
        text-align: center;
    }

    h1 {
        font-size: 40px;
    }
}

.s2 .d1 {
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 25px;
    border-radius: 20px;
    width: 240px;
    height: 60px;
}

.s2 button {
    border: none;
    outline: none;
    font-family: "Nunito Sans", sans-serif;
    padding: 10px 20px;
    font-size: 14px;
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid #eee;

    &:hover {
        background-color: hsla(202, 81%, 65%, 0.356);
    }
}

.s3 .desc {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px;
    gap: 20px;
}

.s3 .desc .card {
    width: 200px;
    padding: 10px;
    box-shadow: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        8px 8px 16px #d1d9e6,
        -8px -8px 16px #ffffff;

    &:hover {
        transform: translateY(-8px);
    }
}

.s4 .desc {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    line-height: 3;
}

.contact .desc {
    display: flex;
    flex-direction: column;
    padding: 30px;
    line-height: 3;

    a {
        padding: 10px;
        border-radius: 4px;
        box-shadow: rgba(255, 255, 255, 0.301) 0 4px 14px;
        text-decoration: none;
        color: #666;

        &:hover {
            text-decoration: underline;
        }
    }
}

.basic {
    background-color: #ffffff;
    /* Clean white background */
    padding: 40px 30px;
    max-width: 600px;
    margin: 50px auto;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: left;
    font-family: "Nunito Sans", sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.basic:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.basic h1 {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.basic .desc p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 10px 0;
}

.basic .desc strong {
    color: #000;
    font-weight: 600;
}

footer {
    padding: 36px;
    text-align: center;
    background-color: #666;
    color: azure;
}

@media only screen and (max-width: 767px) {
    nav ul {
        display: none;
    }

    .s1 {
        display: flex;
        padding: 16px;
    }

    .s1 {
        h1 {
            font-size: 30px;
        }

        h4 {
            display: none;
        }

        img {
            width: 200px;
            height: 200px;
        }
    }

    .s2 p {
        width: 400px;
    }

    .contact h1 {
        font-size: 32px;
    }
}

.try-now {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    width: 380px;
    max-width: 700px;
    margin: 50px auto;
    font-family: "Nunito Sans", sans-serif;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.try-now:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.try-now h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: #111;
}

.try-now ul {
    list-style: none;
    padding: 0;
}

.try-now li {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.try-now li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.try-now a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: #4CAF50;
}

.try-now p {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}