* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 80px;
    margin: 0;
    padding: 0;
    font-family: "League Spartan", sans-serif;
    font-display: swap;
    overflow-x: hidden;
}

.carousel {
    background: linear-gradient(to right, #373b44, #4286f4);

}

.carouselimg{
width: 100%;
}

.carouselsize{
    width: 50%;
    padding-top: 30px;
    padding-bottom: 50px;
}

.apart {
    font-size: 24px;
    max-width: 800px;
    margin: auto;
    font-weight: 400;
}

.subheader {
    font-size: 60px;
    padding-top: 50px;
    padding-right: 50px;
    padding-left: 50px;

}

/* Brand slider */

.section4 {
    align-items: center;
    display: flex;
    width: 100%;
    justify-content: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-600px * 7));
    }
}

.slider {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 200px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100vw;

    &::before,
    &::after {
        content: "";
        height: 200px;
        position: absolute;
        width: 600px;
        z-index: 2;
    }

    &::after {
        right: 0;
        top: 0;
        transform: rotateZ(180deg);
    }

    &::before {
        left: 0;
        top: 0;
    }

    .slide-track {
        animation: scroll 20s linear infinite;
        display: flex;
        width: calc(600px * 14);
    }

    .slide {
        height: 200px;
        width: 600px;
    }
}

.brandimg{
    height: 200px ;
    width: 600px ;
}

/* Service cards */

.section3 {
    font-size: 62.5%;
    color: #f3f3f3;
    font-weight: 400;
    text-align: left;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(to right, #373b44, #4286f4);
}

.h1 {
    font-size: 3rem;
    line-height: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.p {
    font-size: 2rem;
    line-height: 28px;
    letter-spacing: 0.5px;
}

.split:hover .h1 {
    color: #161616;
}

.split:hover .p {
    color: #161616;
}

.containerser {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(360px, 1fr));
    gap: 25px;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-left: 150px;
    padding-right: 150px;
    padding-bottom: 150px;
    padding-top: 50px;
}

.containerser::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.3;
}

.card2 {
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.32);
    cursor: pointer;
    position: relative;
    transform-origin: center;
    transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: auto;
}

.card2:hover {
    transform: scale(1.05);
}

.card2 .content {
    padding: 40px 24px 48px 24px;
    position: relative;
    transition: all 400ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card2 .content .h1,
.card2 .content .p {
    transition: all 400ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card2 .content .copy {
    margin: 16px 0 0 0;
}

.servicebtn {
    padding: 15px;
    background-color: #0066FF;
    color: #fff;
    font-size: 1rem;

}

.full {
    height: 600px;
    background: #161616;
    overflow: hidden;
    position: relative;
}

.full .content {
    position: absolute;
    z-index: 1;
    bottom: 40px;
    padding: 0 24px;
    transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.full:hover .content {
    bottom: 56px;
}

.full .image2 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.full .image2 img {
    height: 600px;
    width: auto;
}

.full .image2::before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    position: absolute;
}

/* Gallery */

.gallery {
    background-color: #ffffff;
}

.section2 {
    background: linear-gradient(to right, #373b44, #4286f4);
    padding: 25px 0;
}

.container2 {
    max-width: 1044px;
    margin: 0 auto;
    padding: 0 20px;

}

.carousel2 {
    max-width: 1000px;
    margin: auto;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 735px;
    object-fit: contain;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 5px;
    justify-content: center;
    margin-top: 10px;
    max-width: 60vw;
    margin-left: auto;
    margin-right: auto;
}

.thumbnails img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.thumbnails img:hover {
    transform: scale(1.1);
}

.nav-btn {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* END GALLERY */


.navcon {
    margin-left: 100px;
    margin-right: 100px;
}

/* Navbar Brand (logo) */
    /* Apply hover effect to all nav links */
    .navbar-nav .nav-link {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .navbar-nav .nav-link:hover {
        transform: scale(1.1);
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        border-radius: 6px; /* optional for text links */
        background-color: #ddd;
    }

    .navbar-nav .nav-img:hover{
        background-color: #0066FF;
    }


.navbar-brand img {
    max-height: 80px;
    margin-left: 20%;
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #ffffff;
    font-size: 20px;
    text-transform: uppercase;
}

/* Active Link and Hover Effects */
.navbar-nav .nav-link.active {
    color: #000000;
    /* Active link color */
}

.navbar-nav .nav-link:hover {
    color: #ff5722;
}

/* Fullscreen Mobile Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0066ff;
    color: white;
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.fullscreen-menu.show {
    display: flex;
}

.fullscreen-menu .nav-link {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 10px 0;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fullscreen-menu .nav-link:hover {
    color: #000000;
}

.contact-section {
    text-align: center;
    padding: 120px;
    background: linear-gradient(to right, #373b44, #4286f4);
    color: white;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    width: 500px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    margin: 5px 0;
}

/* Header Content */
.header-content {
    position: absolute;
    top: 90%;
    left: 2em;
    color: white;
    max-width: 600px;
    transform: translateY(-50%);
    /* Vertically centers the content */
}

.header-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.header-content hr {
    max-width: 400px;
    margin-right: 26px;
    margin-left: 26px;
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.header-content button {
    padding: 15px 30px;
    font-size: 1.25rem;
    background-color: #0066FF;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header-content button:hover {
    background-color: #fffffc;
    color: black;
}

.index-header {
    background-image: url('images/Hero.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 45em;
    position: relative;
    font-optical-sizing: auto;
    font-style: normal;
}

.navbar-collapse {
    transition: top 0.3s ease-in-out;
}

header {
    height: 50em;
    position: relative;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    /* Higher than other elements like the header */
    width: 100%;
    background-color: #0066ff;
    /* Set the background color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional: Adds a shadow to make it stand out */
}


.navbar-nav .nav-link {
    color: #ffffff;
    font-size: 20px;
}

.down nav {
    background-color: #0066FF;
}

.fdown {
    padding-bottom: 7em;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 6em;
    transform: translateY(-50%);
    color: white;
    max-width: 900px;
    text-align: left;
    padding: 20px;
    z-index: 2;
}

.header-content h1 {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.header-content .divider {
    border-top: 2px solid #fff;
    width: 50%;
    margin-bottom: 20px;
}

.header-content p {
    font-size: 2rem;
    margin-bottom: 24px;
}

.contact-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.25rem;
    background-color: #0066FF;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-button:hover {
    background-color: #fffffc;
    color: black;
}

@media (max-width: 768px) {
    .header-content {
        left: 1em;
        max-width: 100%;
        text-align: center;
    }

    .header-content h1 {
        font-size: 3.25rem;
    }

    .header-content p {
        font-size: 1.75rem;
    }

    .contact-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

.down {
    margin-top: 10em;
}

hr {
    border: 0;
    border-top: 4px solid #0066ff;
}

.fte {
    background-color: #0066FF;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
}

.fullscreen-menu.show {
    display: flex;
}

.fullscreen-menu .nav-link {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 10px 0;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fullscreen-menu .nav-link:hover {
    color: #ff5722;
}

.fullscreen-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

section h1 {
    color: #0066FF;
}

#customer-reviews {
    background-color: #f9f9f9;
}

#customer-reviews h2 {
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.05);
}

.card-title {
    font-size: 1.25rem;
    color: #007bff;
    margin-bottom: 15px;
}

.card-text {
    font-size: 1rem;
    color: #555;
}

.text-muted {
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 600px) {
    .thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

@media (max-width: 1024px) {
    .containerser {
        grid-template-columns: repeat(2, minmax(360px, 1fr));
    }
}

@media (max-width: 768px) {
    .containerser {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .index-header {
        height: 30em;
    }

    .header-content {
        top: 50%;
        margin-left: 3em;
        max-width: 80%;
    }

    .navcon {
        margin-left: 10px;
        margin-right: 10px;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 15px;
    }

    .navbar-brand img {
        max-height: 100px;
        margin-left: 1em;
    }

    
    .header-content button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .container img {
        max-width: 100%;
    }

    #customer-reviews h2 {
        font-size: 1.5rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-img-top {
        height: 150px;
        object-fit: cover;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        text-transform: none;
        font-weight: normal;
    }

    .star-rating {
        font-size: 1.5rem;
    }

    .phone-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {

    .carouselsize{
        width: 75%;
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .subheader{
        font-size: 40px;
        padding-top: 40px;
        padding-right: 50px;
        padding-left: 50px;
    }

    .containerser {
        width: 100vw;
        height: auto;
        display: grid;
        grid-template-columns: repeat(1, minmax(360px, 1fr));
        gap: 25px;
        justify-content: center;
        align-items: center;
        position: relative;
        padding-left: 80px;
        padding-right: 80px;
        padding-bottom: 80px;
    }

    .full {
        height: 480px;
        background: #161616;
        overflow: hidden;
        position: relative;
    }

    .h1 {
        font-size: 2rem;
        line-height: 35px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .p {
        font-size: 1.5rem;
        line-height: 28px;
        letter-spacing: 0.5px;
    }

    .navcon {
        margin-left: 10px;
        margin-right: 10px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px 10px;
    }

    .header-content button {
        font-size: 1rem;
        padding: 8px 18px;
    }

    .navbar-brand img {
        max-height: 80px;
        margin-left: 1em;
    }

    .star-rating {
        font-size: 1.5rem;
        gap: 4px;
    }

    .card-img-top {
        height: 140px;
        object-fit: cover;
    }

    .products-section {
        padding-top: 0;
    }

    .apart {
        font-size: 15px;
        font-weight: 500;
        margin: 25px;
    }
}