@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #3c94d1;
    --text-dark: black;
    --text-light: rgb(190, 190, 190);
    --extra-light: rgb(230, 221, 221);
    --white: white;
    --max-width: 1200px;
    --gradient: linear-gradient(180deg, #ffffff 15%, #3c94d1 100%);
}

* {
    padding:0;
    margin:0;
    box-sizing: border-box;
}

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
    text-align: center;
}

.section__subheader {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
}

.section__header {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.btn {
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    background-color: #3c94d1;
    white-space: nowrap;
    border-radius: 4px;
    transition: 0.5s;
    cursor: pointer;
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.btn:hover {
    background-color: #077ed3;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
    transition: 0.5s;
}

ul {
    list-style: none;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header {
    position: relative;
}

header::before{
    position: absolute;
    content: --;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: linear-gradient(to bottom, darkblue, blue);
    z-index: -1;
}

nav{
    position: absolute;
    isolation: isolate;
    width: 100vw;
    z-index: 9;
}

.nav__header{
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 1Opx;
}


.nav__logo img{
    width: 20%;
}

.nav__menu__btn {
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav__links{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--primary-color);
    transition: 0.5s;
    z-index: -1;
    transform: translateY(-100%); 
}

.nav__links.open {
    transform: translateY(0);
}

.nav__links a {
    font-weight: 700;
    color: var(--white);
}

.nav__links .btn {
    padding: 0;
    background-color: transparent;
}

.nav__btns {
    display: none;
}

.steps__container :is(.section__subheader, .section__header) {
    text-align: center;
    margin-top: 4rem;
}

.steps__grid {
    margin-top: 15rem;
    display: grid;
    gap: 4rem;
}

.steps__card {
    text-align: center;
    gap: 5rem;
}

.steps__card img {
    margin-bottom: 2rem;
}

.steps__card h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

.steps__card p {
    color: var(--text-light);
    line-height: 1.75rem;
}

.nadpis{
    text-align: center;
    padding-top: 5rem;
}



.service__container {
    display: grid;
    gap: 2rem;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--extra-light);
}

.service__list {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
    text-align: center;
    justify-content: center;
}

.service__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service__list li span {
    padding: 12px 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: var(--extra-light);
    border: 4px solid var(--white);
    border-radius: 5px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.service__list h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service__list p {
    color: var(--text-light);
    line-height: 1.75rem;
    text-align: left;
}

.contact_us{
    color: #ffffff;
    width: 80%;
    background: var(--white);
    border-radius: 6px;
    padding: 30px 60px 40px 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.contact_us .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact_us .content .left-side{
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    position: relative;
}

.content .left-side .details {
    margin: 14px;
    text-align: center;
}

.contact_us .content .right-side{
    width: 75%;
}

.content .left-side .details i{
    font-size: 3Opx;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.content .left-side .details .topic{
    font-size: 20px;
    color: var(--primary-color);
}

.content .left-side .details .text-one,
.content .left-side .details .text-two{
    font-size: 14px;
    color: var(--text-dark);
}

.content .right-side .topic-text{
    font-size: 23px;
    font-weight: 600;
    color: var(--primary-color);
}

.content .right-side p{
    color: var(--text-dark);
}


.right-side .input-box{
    width: 100%;
    margin: 12px 0;
}

.right-side .input-box input,textarea{
    height: 100%;
    width: 100%;
    height: 30px;
    margin: 8px 0;
    border-radius: 6px;
    border-color: var(--extra-light);
    border-width: 1px;
    padding: 4px 15px;
}

.right-side .input-box textarea {
    min-height: 110px;
    margin-top: 6px;
}

.right-side .input-box button {
    background: var(--primary-color);
    font-size: 18px;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.right-side .button{
    display: inline-block;
    margin-top: 12px;
}



.footer__container {
    display: grid;
    gap: 4rem 2rem;
    border-bottom: 1px solid var(--text-light);
}

.footer__col h4 {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer__links {
    display: grid;
    gap: 1rem;
}

.footer__links a {
    font-weight: 600;
    color: var(--text-light);
}

.footer__links a:hover {
    color: var(--primary-color);
}

.footer__bar {
    padding-block: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__bar h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer__bar p {
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__socials a {
    display: inline-block;
    padding: 8px 10px;
    font-size: 1rem;
    color: var(--text-dark);
    border-radius: 100%;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.footer__socials a:hover {
    color: var(--white);
    background: var(--primary-color);
}

.nav__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav__links > li {
    position: relative;
    display: inline-block;
}

.nav__links a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
    z-index: 1000;
    border-radius: 8px;
}

.dropdown a {
    color: black;
}

.nav__links > li:hover .dropdown {
    display: block;
}

@media (max-width: 950px) {
    .contact_us{
        width: 90%;
        padding: 30px 35px 40px 35px;
        align-items: center;
    }
}

@media (max-width: 820px) {
    .contact_us{
        margin: 4Opx;
        height: 100%;
    }

    .contact_us .content{
        flex-direction: column-reverse;
    }

    .contact_us .content .left-side{
        width: 100%;
        flex-direction: column;
        margin-top: 40px;
    } 

    .contact_us .content .left-side .details{
        margin: 30px;
    } 

    .contact_us .content .left-side::before{
        display: none;
    } 

}


@media(width > 768px) {
    .steps__card {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 768px) {
    header::before {
        height: calc(100% - 4rem);
    }

    nav {
        padding-block: 2rem;
        padding-inline: 9rem;
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        position: absolute;
        width: 100%;
        padding-bottom: 2rem;
    }

    .nav__header {
        flex: 1;
        padding: 0;
        background-color: transparent;
    }

    .nav__menu__btn {
        display: none;

    }

    .nav__logo img{
        width: 100px;
    }

    .nav__links {
        position: static;
        padding: 0;
        width: fit-content;
        flex-direction: row;
        background-color: transparent;
        transform: none;
        
    }

    .nav__links a {
        padding-block: 5px;
        color: var(--text-dark);
        border-bottom: 2px solid transparent;
    }

    .nav__links a:hover {
        border-color: var(--primary-color);
    }

    .nav__links__btn {
        display: none;
    }

    .nav__btns {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
    }

    .nav__btns .btn__primary {
        color: var(--text-dark);
        background-color: transparent;
    }

    .steps__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    
    .image-container {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 2rem;
        gap: 5rem;
    }
    
    .image-item {
        text-align: center;
        flex: 1;
    }
    
    .image-item img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .service__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    
    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer__bar {
        flex-direction: row;
    }

    .footer__bar :is(h4, .footer__socials) {
        flex: 1;
    }

    .footer__socials {
        justify-content: flex-end;
    }
}