:root{
    --slate600: oklch(55.4% 0.046 257.417);
    --slate700: oklch(37.2% 0.044 257.287);
    --slate800: oklch(27.9% 0.041 260.031);
    --slate900: oklch(20.8% 0.042 265.755);
    --slate200: oklch(92.9% 0.013 255.508);
    --slate300: oklch(86.9% 0.022 252.894);
    --slate400: oklch(70.4% 0.04 256.788);
}

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

body{
    display: flex;
    align-items: center;
    flex-direction: column;
    color: azure;
    background-color: var(--slate200);
    overflow-x: hidden;
}

h2{
    font-size: 45px;
    color: var(--slate900);
    font-weight: 900;
    margin-top: 10px;
}

h2::after {
    content: "";
    display: block;
    width: 80%;
    height: 5px;
    background-color: var(--slate700);
    margin: 8px auto 0;
    border-radius: 2px;
}

span{
    font-size: 25px;
    font-weight: bolder;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: var(--slate700);
}

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60px;
    background: var(--slate600);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    padding: 2%;
    border-radius: 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    z-index: 100;
}

.navbar .logo {
    display: flex;
    align-items: center;
    width: 150px;
    color: var(--slate200);
    height: 100px;
}

.navbar .logo img {
    width: 100%;
    height: 100%;
    margin-left: 15px;
}

.navbar .nav-links {
    display: flex;
    gap: 15px;
    z-index: 2;
}

.navbar .nav-links a {
    color: var(--slate900);
    font-weight: 900;
    font-size: larger;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.5s ease, transform 0.5s ease;
}

.navbar .nav-links a:hover {
    color: var(--slate200);
    transform: scale(1.1);
}

/* ─── Main ────────────────────────────────────────────────────── */
main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 125px;
}

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
    width: 95%;
    height: 85vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2%;
}

.hero .hero-text {
    width: 40%;
    height: 100%;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.hero .hero-text p {
    color: var(--slate800);
    font-weight: bolder;
    font-size: 32px;
}

/* ─── Button ──────────────────────────────────────────────────── */
button {
    position: relative;
    background: var(--slate900);
    padding: 15px 30px;
    border: none;
    border-radius: 20px;
    color: var(--slate800);
    font-size: larger;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: background 0.3s ease;
}

button::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 22px;
    background: linear-gradient(45deg, var(--slate700), var(--slate400), var(--slate600));
    background-size: 300% 300%;
    z-index: -1;
    animation: borderAnimation 3s linear infinite;
}

button:hover {
    background: var(--slate600);
}

@keyframes borderAnimation {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 75%  50%; }
    100% { background-position: 0%   50%; }
}

.hero .hero-image {
    width: 60%;
    height: 100%;
    border-radius: 20px;
}

.hero .hero-image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* ─── Features ────────────────────────────────────────────────── */
.features {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 2%;
    gap: 20px;
}

.card {
    width: 100%;
    background: var(--slate300);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.features .card img {
    width: 100%;
    height: 50%;
    padding: 2%;
}

.features .card p {
    color: var(--slate800);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    text-align: center;
    padding: 1%;
}

/* ─── About ───────────────────────────────────────────────────── */
.about {
    margin-top: 20px;
    width: 90%;
    height: 50vh;
    padding: 3%;
    display: flex;
    align-items: center;
    background: var(--slate300);
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 12px var(--slate400);
}

.about p {
    color: var(--slate800);
    text-align: center;
    font-size: 25px;
    font-weight: 800;
}

/* ─── Reviews ─────────────────────────────────────────────────── */
.reviews {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 2%;
    gap: 20px;
}

.reviews .card img {
    width: 100%;
    height: 50%;
    padding: 2%;
}

.reviews .card p {
    text-align: center;
    font-size: larger;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    color: var(--slate900);
}

/* ─── Footer ──────────────────────────────────────────────────── */
footer {
    width: 100%;
    height: 25vh;
    background-color: var(--slate400);
    padding: 5%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

footer .left-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
}

footer .left-section h3 {
    font-weight: 900;
    font-size: 45px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--slate900);
}

footer .left-section ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

footer .left-section ul li {
    list-style: none;
    font-size: 30px;
    color: var(--slate700);
    cursor: pointer;
    transition: color 0.5s ease, transform 0.5s ease;
}

footer .left-section ul li:hover {
    color: var(--slate900);
    transform: scale(1.1);
}

footer .contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
}

footer .contact-form h3 {
    font-weight: 900;
    font-size: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--slate900);
}

footer .contact-form input {
    padding: 2%;
    border-radius: 20px;
    background: var(--slate200);
    color: var(--slate900);
    width: 80%;
    border: none;
    text-align: start;
}

input::placeholder {
    color: var(--slate900);
}

input:focus {
    outline: none;
}

footer .contact-form button {
    width: 60%;
    padding: 2%;
    background-color: var(--slate900);
    text-align: center;
}



@media (max-width: 1200px) {
    .navbar {
        width: 85%;
    }

    .hero .hero-text p {
        font-size: 24px;
    }

    .features .card p,
    .reviews .card p {
        font-size: 17px;
    }

    .about p {
        font-size:18px;
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 36px;
    }

    .navbar {
        width: 92%;
        height: 55px;
    }

    .navbar .logo {
        width: 120px;
        height: 80px;
    }

    .navbar .nav-links a {
        font-size: 16px;
    }

    .hero {
        flex-direction: column;
        height: auto;
        gap: 30px;
        padding: 4% 2%;
    }

    .hero .hero-text {
        width: 100%;
        height: auto;
    }

    .hero .hero-text p {
        font-size: 24px;
    }

    .hero .hero-image {
        width: 100%;
        height: 50vh;
    }

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

    .about {
        height: auto;
        min-height: 30vh;
    }

    .about p {
        font-size: 20px;
    }

    footer {
        flex-direction: column;
        height: auto;
        gap: 30px;
        padding: 8% 5%;
    }

    footer .left-section h3 {
        font-size: 36px;
    }

    footer .contact-form {
        width: 100%;
    }

    footer .contact-form input {
        width: 90%;
        padding: 3%;
    }

    footer .contact-form button {
        width: 50%;
        padding: 3%;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 30px;
    }

    span {
        font-size: 20px;
    }

    main {
        margin-top: 100px;
    }

    .navbar {
        width: 95%;
        height: 50px;
        top: 12px;
        padding: 3%;
        border-radius: 16px;
    }

    .navbar .logo {
        width: 100px;
        height: 65px;
    }

    .navbar .nav-links {
        gap: 10px;
    }

    .navbar .nav-links a {
        font-size: 14px;
    }

    .hero .hero-text p {
        font-size: 20px;
    }

    button {
        font-size: 15px;
        padding: 12px 22px;
    }

    .features,
    .reviews {
        grid-template-columns: 1fr;
        padding: 4%;
    }

    .features .card img,
    .reviews .card img {
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }

    .features .card p,
    .reviews .card p {
        font-size: 16px;
        padding: 4%;
    }

    .about {
        width: 95%;
        padding: 5%;
    }

    .about p {
        font-size: 17px;
        line-height: 1.7;
    }

    footer .left-section h3 {
        font-size: 28px;
    }

    footer .contact-form h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 26px;
        text-align: center;
    }

    span {
        font-size: 18px;
    }

    main {
        margin-top: 90px;
    }

    .navbar {
        width: 95%;
        height: auto;
        flex-direction: column;
        padding: 10px 16px;
        top: 10px;
        gap: 6px;
        border-radius: 16px;
    }

    .navbar .logo {
        width: 90px;
        height: 55px;
        margin: 0 auto;
    }

    .navbar .logo img {
        margin-left: 0;
    }

    .navbar .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .navbar .nav-links a {
        font-size: 13px;
    }

    main {
        margin-top: 140px;
    }

    .hero {
        padding: 4%;
        gap: 20px;
    }

    .hero .hero-text p {
        font-size: 18px;
        line-height: 1.6;
    }

    .hero .hero-image {
        height: 40vh;
    }

    .features,
    .reviews {
        gap: 14px;
        padding: 3%;
    }

    .card {
        border-radius: 14px;
    }

    .features .card p,
    .reviews .card p {
        font-size: 15px;
        padding: 3% 4%;
    }

    .about p {
        font-size: 15px;
    }

    footer {
        padding: 10% 5%;
        gap: 25px;
    }

    footer .left-section h3 {
        font-size: 24px;
    }

    footer .left-section ul li {
        font-size: 24px;
    }

    footer .contact-form h3 {
        font-size: 17px;
    }

    footer .contact-form input {
        width: 100%;
        font-size: 14px;
    }

    footer .contact-form button {
        width: 70%;
        font-size: 14px;
    }
}


@media (max-width: 400px) {
    body{
        overflow-x: hidden;
    }
    h2 {
        font-size: 22px;
    }

    .navbar .nav-links a {
        font-size: 12px;
    }

    .hero .hero-text p {
        font-size: 16px;
    }

    button {
        font-size: 13px;
        padding: 10px 18px;
    }

    .hero .hero-image {
        height: 30vh;
    }

    .features .card p,
    .reviews .card p {
        font-size: 14px;
    }

    .about p {
        font-size: 14px;
    }

    footer .left-section h3 {
        font-size: 20px;
    }

    footer .contact-form h3 {
        font-size: 15px;
    }

    footer .contact-form button {
        width: 80%;
    }
}