@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap');

body {
    font-family: "Jura", sans-serif;
    padding: 0;
    margin: 0;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */

nav {
    padding: 22px 72px;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 5;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.menu-toggle {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list li {
    list-style: none;
    text-align: center;
}

.nav-list li a {
    text-decoration: none;
    color: #2A3147;
    font-weight: 700;
}

.nav-list li a:hover {
    color: #ED4242;
}

.nav-list .contact-btn,
.started-contact-btn {
    background-color: #1F316F;
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-family: "Jura";
    font-weight: 700;
    border: none;
}

.nav-list .contact-btn:hover {
    color: white;
}

.nav-item .nav-link.active {
    color: #ED4242; 
    border-bottom: 2px solid #ED4242;
}

/* Header  */

header {
    padding: 48px 72px 150px;
    background-position: right;
    background-size: cover;
}

.header-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 36px;
}

.header-content {
    grid-column: span 2/span 2;
    color: #050D26;
}

.header-content h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 64px;
}

.header-content p {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
    max-width: 90%;
}

.header-form {
    width: 100%;
    box-shadow: 0 2px 8px 0 rgba(0, 30, 60, 0.1);
    border-radius: 8px;
    padding: 40px;
    box-sizing: border-box;
    background-color: white;
}

.header-form input, .header-form textarea {
    width: 100%;
    border: 1px solid rgba(194, 199, 205, 1);
    border-radius: 4px;
    padding: 15px 20px;
    font-family: "Jura";
    box-sizing: border-box;
    margin-bottom: 12px;
    resize: none;
    outline: none;
}

.header-form button {
    width: 100%;
    background-color: #1F316F;
    color: white;
    border: none;
    cursor: pointer;
    font-family: "Jura";
    border-radius: 32px;
    padding: 12px 0;
    font-weight: 600;
}

/* Main Container  */

.why-choose-deuex,
.services,
.get-started {
    background-color: #EBF1F8;
    margin-top: -20px;
}

.why-us, 
.tech-stack-container,
.service-container,
.case-studies-container,
.achievements,
.trusted-by-container,
.get-started-container {
    max-width: 1440px;
    padding: 72px 72px 150px;
    margin: 0 auto;
}

.why-choose-deuex .why-choose-heading, 
.tech-stack .tech-stack-heading,
.services .service-heading,
.case-studies .case-studies-heading,
.trusted-by .trusted-by-heading,
.get-started .get-started-heading {
    position: relative;
}

.why-choose-deuex h2, 
.tech-stack h2,
.case-studies h2,
.trusted-by h2,
.get-started h2 {
    text-align: center;
    color: #1F316F;
    font-size: 44px;
    font-weight: 700;
}

.why-choose-deuex h2::before, 
.tech-stack h2::before,
.case-studies h2::before,
.trusted-by h2::before,
.get-started h2::before {
    content: '';
    position: absolute;
    overflow: hidden;
    background: #EF4343;
    z-index: 4;
    border-radius: 24px;
    width: 150px;
    height: 4px;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
}

.why-us-container,
.tech-stack-data {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
    margin-top: 104px;
}

.why-us-container .why-us-content h5 {
    color: #1F316F;
    font-size: 20px;
    font-weight: 700;
}

.why-us-container .why-us-content p {
    margin-top: -16px;
    line-height: 26px;
    max-width: 95%;
}

.why-us-container .why-us-image,
.tech-stack .tech-stack-image {
    justify-self: center;
}

.tech-stack,
.case-studies,
.trusted-by {
    background-color: #FBFCFF;
    margin-top: -20px;
}

.tech-stack-content div {
    line-height: 32px;
}

.tech-stack .heading {
    color: #1F316F;
    font-weight: 700;
}

.tech-stack-description {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #050D26;
    margin-top: 44px;
}

.service-container {
    padding: 154px 72px;
}

.services h2 {
    color: #1F316F;
    font-size: 44px;
    font-weight: 700;
}

.services h2::before {
    content: '';
    position: absolute;
    overflow: hidden;
    background: #EF4343;
    z-index: 4;
    border-radius: 24px;
    width: 150px;
    height: 4px;
    bottom: -16px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 72px;
}

.service-content {
    border: 1px solid #D6D7E3;
    background-color: white;
    border-radius: 16px;
    position: relative;
    padding: 30px;
    box-sizing: border-box;text-align: center;
}

.service-content div {
    position: absolute;
    color: rgba(239, 67, 67, 0.58);
    font-size: 72px;
    font-weight: 700;
    top: -46px;
}

.service-content .service-image {
    background-color: #EBF1F8;
    padding: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

.service-content h5 {
    font-size: 20px;
    font-weight: 600;
}

.service-content p {
    font-weight: 500;
}

.case-studies-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 96px;
}

.case-study-card {
    border: 1px solid #D6D7E3;
    background-color: white;
    border-radius: 16px;
}

.case-study-card img {
    width: 100%;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.case-study-card div {
    padding: 12px 30px;
}

.case-study-card h5 {
    font-size: 22px;
    font-weight: 600;
}

.case-study-card p {
    font-weight: 500;
    line-height: 22px;
}

.achievement-list {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 48px 0;
}

.divider {
    height: 74px;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 32px;
}

.achievement-card {
    text-align: center;
}

.achievement-card div {
    font-size: 50px;
    font-weight: 700;
}

.achievement-card h5 {
    margin: 0 auto;
    margin-top: 8px;
    font-size: 24px;
    font-weight: 500;
    max-width: 70%;
}

.trusted-by-container {
    padding-bottom: 150px;
}

.trusted-by-description {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    margin-top: 72px;
    max-width: 72%;
}

.swiper-container {
    margin: 48px 0;
    overflow: hidden;
    position: relative;
}

.swiper-slide img {
    width: 150px;
    margin: 0 auto;
    border: 1px solid rgba(194, 199, 205, 0.4);
    background-color: white;
    padding: 30px 40px;
    border-radius: 16px;
}

.get-started-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 72px;
}

.get-started-description {
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    max-width: 82%;
    margin: 64px auto 48px;
}

.started-contact-btn {
    text-decoration: none;
}

@media (max-width: 1280px) {
    nav {
        padding: 20px;
    }

    header {
        padding: 48px 20px 100px;
    }

    .header-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-content {
        grid-column: span 1/span 1;
    }

    .why-us, 
    .tech-stack-container,
    .service-container,
    .case-studies-container,
    .achievements,
    .trusted-by-container,
    .get-started-container {
        padding: 72px 20px 150px;
    }

    .service-list {
        gap: 36px;
    }

    .get-started-container {
        padding: 72px 20px;
    }
}

@media (max-width: 1024px) {
    nav {
        padding: 20px 30px;
    }

    header {
        padding: 48px 30px 100px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background-color: white;
        width: 100%;
        gap: 18px;
        position: absolute;
        z-index: 10;
        top: 70px;
        align-items: start;
        padding: 30px 20px;
        margin-left: -20px;
    }

    .nav-list.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    #menu-icon img {
        width: 30px;
        height: 30px;
    }

    .icon-cross {
        display: none;
    }

    .menu-toggle.cross #menu-icon .icon-cross {
        display: block;
    }

    .menu-toggle.cross #menu-icon .icon-hamburger {
        display: none;
    }

    .header-content h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .why-us, 
    .tech-stack-container,
    .service-container,
    .case-studies-container,
    .achievements,
    .trusted-by-container,
    .get-started-container {
        padding: 72px 30px;
    }

    .why-choose-deuex h2, 
    .tech-stack h2,
    .case-studies h2,
    .trusted-by h2,
    .get-started h2 {
        font-size: 32px;
    }

    .why-us-container,
    .tech-stack-data {
        grid-template-columns: repeat(1, 1fr);
        gap: 36px;
        margin-top: 72px;
    }

    .why-us-container .why-us-content {
        grid-row: span 2/span 2;
    }

    .why-us-container .why-us-content p {
        max-width: 100%;
    }

    .tech-stack-description {
        font-size: 20px;
    }

    .services h2 {
        font-size: 32px;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-studies-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .achievement-card div {
        font-size: 40px;
    }

    .achievement-card h5 {
        font-size: 18px;
    }

    .swiper-slide img {
        width: 150px;
        margin: 0 auto;
        border: none;
        background-color: transparent;
        padding: 0px;
        border-radius: 0px;
    }
}

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .header-content p {
        max-width: 100%;
    }

    .why-us-image img,
    .tech-stack img {
        width: 400px;
    }

    .service-list {
        gap: 24px;
    }

    .service-content div {
        font-size: 48px;
        top: -24px;
    }

    .divider {
        display: none;
    }

    .achievement-list {
        color: white;
        border: none;
        background-color: transparent;
        border-radius: 0px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        padding: 12px 0;
        gap: 24px;
    }

    .achievement-card {
        border: 2px solid rgba(194, 199, 205, 0.4);
        background-color: rgba(194, 199, 205, 0.4);
        padding: 24px 10px;
        border-radius: 16px;
    }

    .achievement-card h5 {
        max-width: 100%;
    }

    .trusted-by-description {
        max-width: 100%;
    }

    .get-started-description {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .service-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 36px;
    }

    .service-heading {
        justify-self: center;
    }

    .service-heading h2::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .case-studies-content {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 540px) {
    nav {
        padding: 20px;
    }

    header {
        padding: 36px 20px 72px;
        text-align: center;
    }

    .header-form {
        padding: 30px 20px;
    }

    .header-content p {
        margin: 0 auto;
    }

    .why-us, 
    .tech-stack-container,
    .service-container,
    .case-studies-container,
    .achievements,
    .trusted-by-container,
    .get-started-container {
        padding: 64px 20px;
    }

    .why-us-image img,
    .tech-stack img {
        width: 320px;
    }

    .service-content {
        padding: 30px 16px;
    }
}

.services-heading{
    background-color: #EBF1F8;
}

.services-description{
    text-align: center;
    margin-bottom: 80px;
}

.home-list-item{
    font-size: 20px;
    text-align: left;
}

.home-para{
    font-size: 18px !important;
    font-weight: 200px !important;
}

.get-started-section{
   padding-bottom: 15px;
}