@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    overflow-x: hidden;
}
body{
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
}
nav{
    width: 100%;
    height: 10vh;
    position: sticky;
}
.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.logo{
    color: black;
    font-size: 2rem;
    font-weight: bolder;
}
.logo span{
    color: rgb(109,67, 0);
    text-shadow: 0 0 10px rgb(109,67, 0);
}
.hamburg, .cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: black;
    font-size: 2rem;
    display: none;
}
.nav-container .links {
    display: flex;
    gap: 3rem;
    align-items: center;
}
.nav-container .links a{
    position: relative;
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    transform: 0.3s linear;
}
.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: rgb(109,67, 0);
    transition: 0.2s linear;
}
.nav-container .links a:hover::before{
    width: 100%;
}
.nav-container .contact-btn{
    background-color: transparent;
    padding: 5px 20px;
    border-radius: 20px;
    border: 2px solid rgb(109,67, 0);
    transition: 0.2s linear;
}
.nav-container .contact-btn a{
    color: rgb(109,67, 0);
    transition: 0.3s linear;
}
.nav-container .contact-btn:hover, .nav-container .contact-btn:hover a{
    background-color: rgb(109,67, 0);
    color:white;
}
.nav-container .links a:hover{
    color: rgb(109,67, 0);
}
.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: brightness(40%) blur(3px);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
}
.dropdown .links a{
    color: white;
    display: flex;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}
.dropdown .links a:hover{
    background-color: rgb(109,67, 0);
}

/* Slideshow */
.container {
    max-width: 100%;
    margin-top:60px;
    padding: 20px;
}

/* Experience Slider */
.experience-items {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    height: 50px;
}

.experience-slide {
    display: flex;
    gap: 15px;
    animation: scroll 4s linear infinite;
}

/* Smaller Image Size */
.item-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}


/* Services Section */
.services {
    padding: 50px 20px;
    text-align: center;
    background: transparent; /* Match your theme */
    color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: rgb(109,67, 0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 cards per row */
    gap: 20px;
    padding: 40px;
    justify-content: center;
    background:transparent;
    opacity: 0; /* Initially hidden */
    transform: translateY(50px);
    animation: fadeInUp 1.5s ease-out forwards;
}

.service-card {
    background: rgb(245, 209, 153);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    border: 2px solid rgb(109,67, 0);
    text-align: center;
    min-width: 250px; /* Fixed width for scrolling */
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(109, 67,0,  0.2);
}

.service-card i {
    font-size: 40px;
    color:rgb(109,67, 0);
    margin-bottom: 10px;
}

.service-card h3 {
    color: rgb(109,67, 0);
    font-size: 1.5rem;
}

.service-card p {
    color:black;
    font-size: 15px;
    text-align: center;
}


@media (max-width: 768px) {
    .services-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: justify;
    }
    .service-card {
        min-width: 200px; /* Adjust card size */
        padding: 15px;
    }

    .service-card i {
        font-size: 20px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .services-card p {
        font-size: 10px;
        text-align: center;
    }
}


/* Scroll Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


@media (max-width:768px) {
    body{
        overflow-y: visible;
    }
    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }
    .main-container{
        display: flex;
        flex-direction: column;
    }
    .nav-container .links{
        display: none;
    }
    .hamburg,.cancel{
        display: block;
    }
    .main-container .content{
        width: 80%;
    }
    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .cancel{
        color: white;
    }
    .main-container .image{
        width: 80%;
        margin-bottom: 0px;
    }
}
