* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #e9e9e9;
    padding: 40px;
}

.hero {
    max-width: 1400px;
    margin: auto;
    background: #f5f5f5;
    border-radius: 40px;
    padding: 40px;
}

/* NAVBAR */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.search {
    font-size: 1.4rem;
}

/* GRID */

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 15px;
}

/* CARDS */

.card {
    border-radius: 28px;
    overflow: hidden;
}

/* Intro */

.intro-card {
    background: #dfe3e5;
    padding: 35px;
    grid-column: span 2;
    min-height: 420px;
    position: relative;
}

.arrow {
    position: absolute;
    top: 35px;
    right: 35px;
    background: white;
    width: 55px;
    height: 55px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
}

.intro-card h1 {
    font-size: 4rem;
    max-width: 600px;
    line-height: 1.05;
    margin-bottom: 40px;
}

.intro-card hr {
    margin-bottom: 30px;
}

.intro-card p {
    max-width: 450px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Services */

.service-card {
    background: linear-gradient(145deg,#020917,#11284f);
    color: white;
    padding: 30px;
    min-height: 260px;
}

.icon {
    width: 65px;
    height: 65px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    margin-bottom: 35px;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-card p {
    line-height: 1.8;
}

/* Profile Card */

.profile-card {
    background: linear-gradient(145deg,#020917,#14284d);
    color: white;
    grid-column: 3;
    grid-row: 1 / span 2;
    position: relative;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.top-text {
    max-width: 420px;
    font-size: 1.2rem;
    line-height: 1.6;
    z-index: 2;
}

.profile-card img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 88%;
    object-fit: contain;
}

.buttons {
    display: flex;
    gap: 20px;
    z-index: 2;
}

.btn {
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 16px;
    font-weight: 600;
}

.primary {
    background: #4b83e8;
    color: white;
}

.secondary {
    background: white;
    color: black;
}

/* Footer */

.footer-text {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    font-size: 1.1rem;
}

/* Responsive */

@media(max-width:1100px){

    .grid-container {
        grid-template-columns: 1fr;
    }

    .intro-card,
    .profile-card {
        grid-column: auto;
    }

    .profile-card {
        min-height: 700px;
    }

    .footer-text {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        display: none;
    }

    .intro-card h1 {
        font-size: 2.8rem;
    }
}

@media(max-width:768px){

    body {
        padding: 15px;
    }

    .hero {
        padding: 20px;
    }

    .intro-card h1 {
        font-size: 2.2rem;
    }

    .profile-card img {
        width: 100%;
        height: auto;
    }

    .buttons {
        flex-direction: column;
    }
}