* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #8d1612;
    color: #e6eaf0;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    width: 100%;
    padding: 10px 20px;
    background-color: transparent;
    z-index: 999;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
    max-width: 1600px;
}

.navbar-logo {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.navbar-container .navbar-menu {
    display: flex;
    text-align: center;
    gap: 1.5rem;
    list-style: none;
}

.navbar-container .navbar-menu li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    padding: 3px 20px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.7s ease;
    white-space: nowrap;
}

.navbar-container .navbar-menu li a:hover,
.navbar-container .navbar-menu li a.active {
    color: #e7841a;
    background: white;
    border: 2px;
}

.navbar-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: white;
    transition: all 1.3s ease-in-out;
}


main hr {
    border: 0;
    background: #9c97f1;
    height: 1.2px;
    margin: 40px 84px;
}

.firstsection {
    display: flex;
    justify-content: space-around;
    margin: 170px 0px;
    align-items: center;
    flex-wrap: wrap;
}

.firstsection>div {
    width: auto;

}

.leftsection {
    width: 70%;
    font-size: 3rem;
    margin: 70px 0;
}

.social {
    display: flex;
    padding-left: 2rem;
    font-size: 2rem;
}

.social a {
    padding-top: 1rem;
    box-sizing: border-box;
    flex-shrink: 0;
    display: grid;
    transition: transform 0.4s ease;

}

.social a svg {
    height: 35px;
    fill: #0866ff;
    background-color: #fff;
    border-radius: 56px;

}

.social a:hover {
    transform: translateY(-5px);
}

.rightsection img {
    width: 300px;
    max-width: 100%;
}

.purple {
    color: rgb(255, 92, 16);
}

.secondsection {
    padding: 150px 20px;
    text-align: center;
}

.services {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;

}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    color: black;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;

}

.card-text {
    font-size: 14px;
    color: #2c2a2a;
}

.thirdsection {
    padding: 150px 20px;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
}

.content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: transform 0.4s ease;
    padding: 20px;
    max-width: 500px;

}

.content:hover {
    transform: translateY(-5px);
}

.content .title {
    font-size: 30px;
    font-weight: bold;
    color: black;
}

.text {
    font-size: 20px;
    color: #2d3748;
}

.content p {
    margin-top: 10px;
    color: #a16929;
}

.social-icon {
    display: flex;
    justify-content: center;

}

.social-icon a {
    padding-top: 1rem;
    box-sizing: border-box;
    flex-shrink: 0;
    display: grid;
}

.social-icon a svg {
    height: 35px;
    fill: #0866ff;
    margin-top: 10px;

}

footer {
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #5E0F0B;
    color: #ffffff;

}


/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .navbar-container .navbar-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.7rem;
        position: absolute;
        height: 100vh;
        width: 250px;
        top: 0;
        right: 0;
        padding: 5rem 1.5rem;
        box-shadow: 0 10px 10px rgb(255, 92, 16);
        backdrop-filter: blur(10px);
    }

    .navbar-container .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
        z-index: 999;
    }

    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .leftsection {
        font-size: 2rem;
    }

    .card {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .left {
        font-size: 1.4rem;
    }

    .leftsection {
        font-size: 1.5rem;
    }

    .services {
        font-size: 2rem;
    }

}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-logo {
        font-size: 1.7rem;
    }

    .navbar-container .navbar-menu li a {
        font-size: 1.2rem;
        padding: 3px 15px;
    }
}