html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f5f5;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 80px;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 100;
}

.navbar-toggle {
    display: none;
}

.navbar .logo {
    display: flex;
    align-items: center;
    height: 80%;
}

.navbar .logo img {
    height: auto;
    width: 80px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    max-width: 400px;
    list-style: none;
    gap: 1.5rem;
}

.navbar-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    border-radius: 20px;
    border: 2px solid transparent;
    padding: 2px 20px;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
    color: #050430;
    background-color: #888888;
    border: 2px solid #050430;
}

.navbar-toggle {
    display: none;
    /* flex-direction: column; */
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
}

.navbar-toggle span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Responsive Styles */
@media (max-width: 880px) {
    .navbar {
        /* padding: 15px 5%; */
        backdrop-filter: blur(10px);
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.7rem !important;
        position: absolute;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        padding: 3rem 1.5rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .navbar-menu.active {
        display: flex;
        z-index: 1000;
    }

    .navbar-menu li {
        margin: 15px 0;
    }

    .navbar-toggle {
        display: block;
        z-index: 1001;
    }
}

/*main body*/

.banner {
    height: 80vh;
    width: 100%;
    background: url('images/banner_img.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
    padding: 0 20px;
}

.banner-msg {
    background: rgba(0, 0, 0, 0.75);
    padding: 3rem 2rem;
    height: 80vh;
    width: 100vw;
    backdrop-filter: blur(2px);
    display: grid;
    place-content: center;
}

.banner-head {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner-text {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5rem;
}

.cta {
    background-color: #4946fc;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-bottom: 1rem;
    margin-top: 3rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta a {
    color: #fff;
    text-decoration: none;
}

.cta:hover {
    background: #628bfc;
}

.services {
    width: 100%;
    height: auto;
    background-color: #e6e5e591;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services h1 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    font-weight: 700;
    color: #222222;
}

.card-section {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
}

.card {
    width: 30%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(111, 94, 114, 0.6);
    margin: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    color: #333;
    text-align: center;
}

.card img {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.card p {
    padding: 0 1rem 1rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.card button {
    background-color: #050430;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-bottom: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card button:hover {
    background-color: #333;
}

.card button a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

@media (max-width: 768px) {
    .card {
        width: 90%;
    }
}

.surfaces {
    width: 100%;
    height: auto;
    background-color: #444444;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.surfaces h1 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    font-weight: 700;
    color: #f5f5f5;
}

.surfaces p {
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5rem;
    color: #f5f5f5;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.surfaces ul {
    list-style-type: none;
    margin-top: 1rem;
    text-align: left;
    padding-left: 20%;
    color: #f5f5f5;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.surfaces ul li {
    font-size: clamp(0.8rem, 2rem, 1rem);
    padding-top: 1rem;
    background: #797878;
    margin-top: 1rem;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    width: fit-content;
}

.whatsapp {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 10%;
    bottom: 30vh;
    border-radius: 50%;
    background:#02c733;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
    transition: transform 0.4s ease;
    z-index: 1000;
}

.whatsapp:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.carousel {
    width: 100%;
    overflow-x: auto;
    display: flex;
    margin: 3rem auto;
    gap: 1rem;
    position: relative;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    anchor-name: --carousel;
    scroll-marker-group: before;
}

.carousel .carousel-card {
    scroll-snap-align: start;
    flex: 0  0 20rem;
    height: 20rem;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(111, 94, 114, 0.6);
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel .carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.carousel::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
}

.carousel-card::scroll-marker {
    content: '';
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background: #cfcccc;
}

.carousel-card::scroll-marker:target-current {
    background:rgba(19, 19, 19, 0.6)
}

.carousel::scroll-button(right), .carousel::scroll-button(left) {
    content: '>';
    border: none;
    background: rgb(16, 16, 87);
    color: #fff;
    font-family: Consolas, monospace;
    font-size: 2rem;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    position-anchor: --carousel;
    position-area: right center;
    translate: -100%;
    z-index: 1000;
}

.carousel::scroll-button(left) {
    content: '<';
    position-area: left center;
    translate: 100%;
}

.carousel.carousel::scroll-button(left):disabled, .carousel.carousel::scroll-button(right):disabled {
    cursor: auto;
    background: rgba(16, 16, 87, 0.5);
}

@media (max-width: 500px) {
    .carousel .carousel-card {
        flex: 0 0 100%;
        height: 15rem;
    }
}

.faq {
    width: 100%;
    height: auto;
    background-color: #000;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #f5f5f5;
}

.faq h1 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    font-weight: 700;
}

.faq-item {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.footer {
    width: 100%;
    height: 12vh;
    background:rgba(16, 16, 87, 0.5);
    display: flex;
    color: #f5f5f5;
    align-items: center;
    justify-content: space-between;
    padding-left: 10%;
    padding-right: 10%;
}

.footer p {
    font-size: clamp(0.75rem, 1.5rem, 1rem);
}

.social-media {
    display: flex;
    width: 30%;
    height: 100%;
    background: #cfcccc;
}

.social-media a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}