* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e9e9e9;
    line-height: 1.6;
    color: #333;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 2rem;
    background: rgba(28, 30, 83, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}

.container-nav {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.logo:hover,
.nav-links a:hover {
    cursor: pointer;
    color: #ffdb80;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    position: relative;
}

.contact {
    border: 1px solid gray;
    background-color: rgba(28, 30, 83, 1);
    border-radius: 3rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    color: white;
    transition: all 0.4s ease-in-out;
    margin-left: 1rem;
}

.contact:hover {
    color: #4b32f4;
    background-color: white;
    border: 1px solid gray;
    border-radius: 3rem;
    cursor: pointer;
}

.nav-links a span {
    margin: 0.5rem;
}

@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .footer-contact h1 {
        font-size: 2.5rem;
    }
}

section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    background-color: rgb(28, 30, 83);
    color: #fff;
}

.hero p {
    color: #a0aec0;
}

.hero-content {
    max-width: 90%;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    padding: 40px 0;
    justify-content: space-between;
}

.hero-text {
    width: 45%;
}

.hero-text h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.hero-button {
    display: flex;
    justify-content: start;
    margin: auto;
}

.btn1 {
    border: 1px solid gray;
    background-color: #ffdb80;
    border-radius: 3rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    color: #222;
    transition: all 0.4s ease-in-out;
}

.btn1:hover {
    background-color: white;
    color: #4b32f4;
}

.hero-button>a {
    text-decoration: none;
}

.btn2 {
    background-color: rgba(28, 30, 83, 1);
    border: 2px solid white;
    border-radius: 3rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    color: white;
    transition: all 0.4s ease;
    margin-left: 1rem;
}

.btn2:hover {
    color: #4b32f4;
    background-color: white;
    border: 1px solid gray;
    border-radius: 3rem;
    transition: all 0.4s ease-in-out;
}

#feat {

    font-size: 20px;
    font-weight: 400;
    border: 2px solid #222;
    padding: 1rem;
    border-radius: 1rem;

}

#feat:hover {
    background-color: white;
    color: #4b32f4;
    cursor: pointer;
}

#design {
    margin: 3rem auto;
    font-weight: 700;
    width: 26%;
}

.How-we-work {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
    max-width: 90%;
    margin: 0 auto;
}

.hero-image {
    width: 45%;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
}



.left {
    width: 35%;
}

.left h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.left p {
    color: #666;
    margin-bottom: 24px;
    max-width: 85%;
}

.left a {
    color: #4b32f4;
    font-weight: 500;
    text-decoration: none;
}

.cardRightSide {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    width: calc(65% - 50px);
}

.card img {
    padding-bottom: 2rem;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: white;
    border-radius: 1rem;
    transition: transform 0.2s ease-in-out;
    padding: 20px;
    width: calc(50% - 40px);
}

.section-part2 a {
    border: 2px solid grey;
    padding: 1rem;
    border-radius: 1rem;
    font-size: 18px;
    color: #842bce;
}

.section-part2 a:hover {
    background-color: white;
    transition: all 0.4s ease-in-out;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h1 {
    font-size: 1.75rem;
    margin: 12px 0;
    font-weight: 500;
}

.card p {
    color: #666;
    margin: 0;
}

.featuresHead span {
    font-size: 0.875rem;
    font-weight: bold;
}

.featuresHead {
    text-align: center;
}


.featuresHead h2 {
    font-size: 2rem;
    margin: 8px auto;
}

.cards-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.card-down {
    background-color: white;
    padding: 24px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    text-align: left;
    width: 25%;
    border-radius: 1rem;
}

.card-down h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.card-down:hover {
    transform: translateY(-5px);
}

.card-down .icon-wrapper {
    font-size: 1.875rem;
    color: #5239fa;
    margin-bottom: 16px;
}


.card-down p {
    color: #666;
}

.container-two {
    max-width: 90%;
    margin: 0 auto;
}

footer {
    margin-top: 100px;
    background-color: rgb(28, 30, 83);
    color: #fff;
}

.footer-content {
    display: flex;
    flex-direction: row;
    padding: 30px 0;
    max-width: 90%;
    margin: 0 auto;
}


.footer-left p {
    color: #a0aec0;
    max-width: 80%;
}

.footer-right {
    width: 50%;
}

.footer-left {
    width: 50%;
}

.footer-left .logo {
    margin: 20px 0;
}
.footer-left .logo img:hover{
    color: #222;
}

.footer-contact h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-contact p {
    color: #a0aec0;
    max-width: 300px;
}

.social-icons {
    display: flex;
    margin-top: 24px;
}

.social-icons a {
    color: #a0aec0;
    transition: color 0.3s ease;
    margin-right: 20px;
}

.social-icons a:hover {
    color: #fff;
}



@media (max-width: 992px) {

    .hero-text,
    .hero-image {
        width: 100%;
    }

    .hero-text {
        text-align: center;
    }

    .hero-button {
        justify-content: center;
    }

    .left {
        width: 100%;
        text-align: center;
    }

    .cardRightSide {
        width: 100%;
    }

    .card {
        width: 49%;
    }

    .cards-container {
        gap: 24px;
    }

    .card-down {
        flex: 1 1 45%;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    #feat {
        border: 0px;
        font-size: 1rem;
    }

    #design {
        padding: 0;
        font-size: 2rem;
        margin: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .card {
        width: 99%;
    }

    .card-down {
        flex: 1 1 99%;
    }

    .hero-button {
        flex-direction: column;
        gap: 10px;
    }

    .btn1,
    .btn2,
    .btn {
        width: 100%;
        max-width: 320px;
        margin-left: 0;
    }

    .footer-contact h1 {
        font-size: 1.8rem;
    }

    #feat {
        font-size: 1rem;
    }

    #design {
        padding: 0;
        font-size: 2rem;
        margin: auto;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 0.6rem 1rem;
    }

    .hero-content {
        gap: 16px;
        padding: 16px 0;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .nav-links a span {
        display: none;
    }

    #feat {
        border: 0px;
        font-size: 0.7rem;
    }

    #design {
        padding: 0;
        font-size: 1.2rem;
        margin: auto;
    }
}