* {
    box-sizing: border-box;
    list-style: none;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    font-family: "PT Serif", serif;
    font-weight: 600;
    font-style: normal;
    scroll-behavior: smooth;
}

/* Header / Banner */
.head {
    background-color: aqua;
    width: 100%;
    height: 400px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-image: url(img/bannerr.png);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Title */
h1 {
    text-align: center;
    font-size: 50px;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    /* Corrected from "top: 5;" */
    background-color: rgb(224, 240, 244);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px;
    z-index: 1000;
    height: auto;
}

nav a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: bold;
    margin: 0 15px;
    display: inline-block;
}

nav a:hover {
    color: rgb(36, 98, 184);
}

/* Reusable section container styles */
.Review-main,
.Video-main,
.Image-main {
    border-radius: 2px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

/* Section specific background colors */
.Review-main {
    background-color: rgb(81, 179, 201);
}

.Video-main {
    background-color: #118bd7;
}

.Image-main {
    background-color: #4a6ec0;
}

/* Cards (Reusable style) */
.Review,
.Video,
.Image, .online {
    background-color: #f5f7f2;
    padding: 10px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(197, 189, 189, 0.1);
    transition: transform 0.3s ease;
}

.Review:hover,
.Video:hover,
.Image:hover {
    transform: scale(1.03);
}

/* Images inside Reviews */
section .Review img {
    width: 100%;
    height: auto;
    max-width: 420px;
}

/* Founder Section */
.founder {
    border-radius: 5px;
    padding: 50px 20px;
    margin-top: 20px;
    text-align: center;
    background-color: #b6a8bf;
}

.founder img {
    border-radius: 50%;
    max-width: 200px;
    width: 100%;
    height: auto;
}

/* Headings */
.headings {
    padding: 10px;
    border-radius: 20px;
    background-color: rgb(252, 252, 250);
    font-size: 30px;
    text-align: center;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Small Screens: Mobile (≤ 600px) */
@media screen and (max-width: 600px) {
    * {
        scroll-behavior: smooth;
        font-family: 'Times New Roman', Times, serif;
    }

    h1 {
        font-size: 2rem;
    }


    nav {
        margin: 15px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        font-size: 0.3rem;
        gap: 8px;
        position: sticky;
        margin-bottom: 2px;


    }

    nav a {
        height: 18px;
        display: block;
        justify-content: flex-start;
        align-items: flex-start;
        margin: 10px 0;
        font-size: 16px;
        text-align: center;
    }

    .online {
        text-decoration: none;
        margin: 15px;
        border-radius: 5px;
        padding: 50px 20px;
        margin-top: 20px;
        text-align: center;
        background-color: #ffffff;
        color: rgb(47, 126, 196);
        text-decoration: none;
        font-size: 1rem;
        justify-content: center;
        align-items: center;
        height: 350px;

    }


    .Review,
    .Video,
    .Image {
        margin: 5px;
        width: 80%;
    }

    .container {
        width: 50%;

    }

    video,
    img {
        background-size: auto;
        height: auto !important;
    }
}

/* Medium Screens: Tablets (601px – 991px) */
@media screen and (min-width: 601px) and (max-width: 991px) {

    .Review,
    .Video,
    .Image {
        width: 45%;
    }

    nav a {
        font-size: 18px;
        margin: 0 10px;
    }

    .container {
        width: 90%;
    }

    .online {
        height: 350PX;

    }
}

/* Large Screens: Desktops (≥ 992px) */
@media screen and (min-width: 992px) {
    .Review {
        width: 30%;
    }

    .Video {
        width: 25%;
    }

    .Image {
        width: 250px;
    }

    .container {
        width: 500px;
    }
}

.online {
    text-decoration: none;
    margin: 15px;
    border-radius: 5px;
    padding: 50px 20px;
    margin-top: 20px;
    text-align: center;
    background-color: #ffffff;
    color: rgb(47, 126, 196);
    text-decoration: none;
    font-size: 1rem;
    justify-content: center;
    align-items: center;
    height: 350px;

}

.online a {
    color: rgba(0, 212, 249, 0.664);
    text-decoration: none;
    font-size: 2rem;
}

.online a:hover {
    color: rgb(39, 103, 158);
    text-decoration: none;
    font-size: 2rem;
    font-size: 2.5rem;
}

#icon a:hover {
    box-shadow: lightgray;
    background-color: rgb(247, 249, 248);
    height: 200px;
    width: 200px;

}

footer {
    background-color: #0a4275;
    color: white;
    text-align: center;
    padding: 20px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
    background-color: #1ebd58;
}


.slider-container {
    position: relative;
    max-width: 500px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider .slide {
    width: 100%;
    display: none;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: #ddd;
}