:root {
    --main: #193059;
    --sec: #6f91cf;
    
    --fs-md: calc(clamp(1.8rem, 0.671vw + 1.111rem, 2.4rem));
    --fs-mdlg: calc(clamp(2.4rem, 0.895vw + 1.482rem, 3.2rem));
    --fs-lg: calc(clamp(3rem, 2.796vw + 1.131rem, 6.5rem));
}

html, body {
	scroll-behavior: smooth;
}

.site-inner {
    overflow-x: hidden;
}

p {
    font-size: calc(clamp(1.5rem, 0.336vw + 1.156rem, 1.8rem));
}

.wrap {
    max-width: 100%;
    max-width: min(1500px, 100% - 3rem)
}

.site-inner>.wrap {
    max-width: 100%;
}

/* topbar */
.topbar {
    padding: 5px;
}

.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.topbar-flex::before, .topbar-flex::after {
    content: none;
}

.topbar a {
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 10px;
}

@media(max-width: 1024px) {
    
    .topbar-flex {
        justify-content: center;
    }
}

/* hero */

.landing-hero {
    position: relative;
    background: radial-gradient(circle at 80% 50%,rgba(74, 103, 154, 1) 0%, rgba(25, 48, 89, 1) 30%);
}

.logo-img {
    max-width: 260px;
    height: auto;
    object-fit: contain;
}

.landing-hero-content {
    padding: calc(clamp(7rem, 5.034vw + 1.836rem, 11.5rem)) 20px;
    padding-bottom: calc(2 * clamp(7rem, 5.034vw + 1.836rem, 11.5rem));
    color: white;
    max-width: 830px;
    position: relative;
}

.hero-image {
    position: absolute;
    right: -100%;
    bottom: 0;
    max-width: 900px;
}

.landing-hero-title {
    font-size: var(--fs-lg);
    color: white;
    font-weight: bold;
}

.hero-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-link {
    font-size: var(--fs-md);
    padding: 12px 40px;
    border-radius: 50px;
    text-transform: capitalize;
    font-weight: bold;
    line-height: 1;
    border: 2px solid white;
    transition: .4s;
}

.hero-link:hover {
    transform: translateY(-5px);
    filter: brightness(120%);
}

.hero-link:nth-of-type(odd) {
    background: white;
    color: var(--main);
}

.hero-link:nth-of-type(even) {
    background: none;
    color: white;
}

@media(max-width: 1600px) {
    .hero-image {
        max-width: 750px;
        right: -80%;
    }
}

@media(max-width: 1400px) {
    .logo-img {
        margin-inline: auto;
        display: block;
    }
    
    .hero-image {
        position: relative;
        margin-inline: auto;
        display: block;
        width: 100%;
        max-width: 600px;
        inset: 0;
        margin-top: 50px;
    }

    .landing-hero-content {
        margin-inline: auto;
        text-align: center;
        padding: calc(clamp(0rem, 5.034vw + 1.836rem, 7.5rem)) 20px;
        padding-bottom: 0;
    }

    .hero-links {
        justify-content: center;
    }

    .landing-hero {
        background: radial-gradient(circle at 50% 80%,rgba(74, 103, 154, 1) 0%, rgba(25, 48, 89, 1) 50%);
    }
}

/* services */
.services {
    position: relative;
    margin-top: -50px;
    margin-bottom: 50px;
    z-index: 5;
}

.services>.wrap {
    background: var(--sec);
    padding: 32px;
    border-radius: 25px;

    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.services>.wrap::before, .services>.wrap::after {
    content: none;
}

.service {
    width: 450px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    gap: 26px;
    color: white;
}

.service img {
    display: block;
    aspect-ratio: 1 / 1;
    height: auto;
    width: 150px;
    border-radius: 15px;
    object-fit: cover;
}

.service-title {
    color: white;
    font-weight: bold;
    font-size: var(--fs-md);
}

.service p {
    font-size: calc(clamp(1.4rem, 0.224vw + 1.17rem, 1.6rem));
    line-height: 1.3;
}

@media(max-width: 1024px) {
    .service {
        max-width: 100%;
    }
}

@media(max-width: 550px) {
    .services>.wrap {
        justify-content: center;
    }
    
    .service {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

}

/* form stuff */
.ta {
	padding-bottom: 50px;
}

.ta-flex {
    display: flex;
    gap: 30px;
}

.ta-flex>*{
    width: 50%;
}

.ta-title {
    color: var(--main);
}

.ta-title, .form-title {
    font-size: var(--fs-mdlg);
    font-weight: bold;
    text-wrap: pretty;
}

.ta-form {
    background: var(--main);
    padding: 20px;
    box-shadow: 30px 30px 0px 0px rgb(233 239 248);
    border-radius: 20px;
    color: white;
    accent-color: var(--sec);
}

.ta-form input, .ta-form textarea {
    border-radius: 20px;
}

.form-title {
    color: white;
}

@media(max-width: 1024px) {
    .ta-flex {
        flex-wrap: wrap;
    }
    
    .ta-flex>* {
        width: 100%;
    }
}