* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #24282B;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    width: 100vw;
    height: 100vh;
}

p {
    margin-top: 20px;
}

h3 {
    font-size: 48px;
    font-weight: bold;
}

main {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}
main:before {
    content: '';
    position: absolute;
    border-radius: 100%;
    z-index: -1;
    width: 768px;
    height: 768px;
    background: linear-gradient(180deg, #414DB3 19.34%, rgba(46, 46, 157, 0.32) 100%);
    top: 0;
    left: 0;
    transform: translate(-40%, -30%);
}
main:after {
    content: '';
    position: absolute;
    border-radius: 100%;
    z-index: -1;
    width: 640px;
    height: 640px;
    background: linear-gradient(180deg, rgba(46, 46, 157, 0.32) 19.34%, #414DB3 100%);
    top: 0;
    right: 0;
    transform: translate(30%, 70%);
}
.base-container {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    min-height: calc(100vh - 60px);
}
.subtitle {
    color: #c1c1c1
}
.header {
    position: fixed;
    width: 100%;
    padding: 20px 20px 10px;
    top: 0;
    left: 0;
    z-index: 100;
    /* background: #000; */
}
.navbar {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .logo-img {
    width: auto;
    height: 36px;
}
.nav-item {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 360px;
    justify-content: space-between;
}
.nav-item a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px; 
    max-width: 1300px;
    margin: 0 auto;
}
footer .copyright {
    display: flex;
    align-items: center;
}
footer img {
    width: auto;
    height: 24px;
}
footer span {
    margin: 0 10px;
}
footer p {
    margin-top: 0;
    margin-left: 30px;
    font-size: 12px;
}
footer a {
    font-size: 12px;
}

#main {
    display: flex;
    padding-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#main .content {
    max-width: 420px;
}
#main a {
    text-decoration: none;
    border-radius: 5px;
    padding: 5px 15px;
    color: #414DB3;
    font-size: 18px;
    background: #fff;
}
#main img {
    width: 100%;
    height: auto;
    max-width: 480px;
}

#services {
    text-align: center;
}
.service-items {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 60px;
    gap: .5rem;
}
.service-items .item img {
    width: auto;
    height: 72px;
}
.service-items .item p {
    margin-top: 0;
}
.work-section {
    margin-top: 160px;
}
.work-items {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    width: 100%;
}
.divider {
    width: 96px;
    border: 2px dashed grey;
    position: relative;
}
.divider div {
    position: absolute;
    width: 48px;
    height: 48px;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    background: grey;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divider div img {
    width: 28px;
    height: 28px;
}
.round-container {
    border-radius: 100%;
    width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.round-container img {
    width: auto;
    height: 64px;
}
.round-container h4 {
    font-size: 20px;
    font-weight: bold;
}
.round-container p {
    margin: 0;
    color: #fff;
}
.gradient-1 {
    background: linear-gradient(180deg, #414DB3 19.34%, rgba(46, 46, 157, 0.32) 100%);
}
.gradient-2 {
    background: linear-gradient(180deg, rgba(46, 46, 157, 0.32) 19.34%, #414DB3 100%);
}
.list {
    width: fit-content;
    margin: 0 auto;
}
.list-item {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.list-item img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#contact-form {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    width: 100%;
}
#contact-form form {
    margin-top: 20px;
    width: 100%;
}
#contact-form form div {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}
#contact-form button {
    margin-top: 30px;
    outline: none;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    width: 180px;
    color: #fff;
    font-size: 18px;
    background: #414DB3;
}
#contact-form .input-text {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin-top: 20px;
}
#contact-form .input-text span {
    position: absolute;
    color: #757D8A;
    top: 8px;
    left: 12px;
    font-size: 12px;
}
input {
    width: 100%;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding-left: 13px;
    padding-right: 10px;
    padding-top: 20px;
}
input:focus {
    border: none;
    outline: none;
}

.main-about {
    overflow-y: hidden;
}
#about {
    min-height: calc(100vh - 60px);
    display: flex; 
    flex-direction: column; 
    justify-content: space-evenly;
}
#about p {
    margin-top: 0;
    line-height: 2;
    color: #fff;
}

/* breakpoint */
@media (max-width: 720px) {
    main:before {
        width: 540px;
        height: 540px;
    }
    main:after {
        width: 480px;
        height: 480px;
    }
    .main-about {
        overflow-y: auto;
    }
    .base-container {
        min-height: calc(100vh - 150px);
    }
    footer, footer .copyright {
        flex-direction: column;
        padding: 20px; 
    }
    footer p {
        margin-top: 10px;
        margin-left: 0;
    }
    #main {
        text-align: center;
        
    }
    #main .content {
        /* max-width: 100%; */
        margin: 0 auto;
    }
    #main img {
        display: none;
    }
}
@media (max-width: 640px) {
    .nav-item {
        justify-content: end;
    }
}
@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-item {
        justify-content: space-between;
    }
}