@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary: #002c41;
    --secondary: #ffd400;
    --tetiary: #1a4254;

    --yellow : #ffb703;
    --orange: #fb8500;

    --max-width: 1280px;
    --max-width-logos: 1000px;
    --section-padding: 30px;
}

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

body {
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12pt;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    text-align: center;
    color: #fff;
    letter-spacing: 3px;
}

h2 {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    text-align: center;
    color: #fff;
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1.5;
}

h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-transform: uppercase;
    margin-bottom: 25px;
    color: vaR(--primary);
}

.top {
    width: 100%;
    background-color: var(--tetiary);
    padding: 10px 20px;
    text-align: center;
}

.link-switch {
    text-decoration: none;
    color: #fff;
}

.link-switch:hover {
    color: #fff;
    text-decoration: underline;
}

.text-secondary {
    color: var(--secondary);
}

.text-bold {
    font-weight: bold;
}

.about-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
}

.about {
    padding: 40px var(--section-padding) 0 var(--section-padding);
    width: 100%;
    max-width: var(--max-width);
}

.about-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    padding-top: 50px;
    color: #fff;
}

.about-text:first-child {
    margin-top: 0;
}

.about-text {
    text-align: justify;
    margin-top: 25px;
    line-height: 1.3;
}

.linkedin-link {
    text-decoration: none;
    color: #fff;
}

.linkedin-link:hover {
    text-decoration: underline;
}

.download-cv {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
    gap: 30px;
    align-items: center;
}

.btn-cta {
    text-decoration: none;
    padding: 10px 40px;
    background-color: var(--secondary);
    color: #000;
    border-radius: 5px;
    border: 1px solid var(--secondary);
}

.btn-cta:hover {
    background-color: var(--yellow);
    border: 1px solid var(--yellow);
}

.btn-outline {
    text-decoration: none;
    padding: 10px 40px;
    background-color: none;
    color: #fff;
    border-radius: 5px;
    border: 1px solid var(--secondary);
}

.btn-outline:hover {
    background-color: var(--yellow);
    background-color: var(--yellow);
    color: #000;
}

hr {
    border: none;
    height: 1px;
    width: 100%;
    background-color: #333;
    margin: 20px 0;
}

.cv-section {
    width: 100%;
    max-width: var(--max-width);
    padding: 30px var(--section-padding);
}

.experience-item, .education-item {
    width: 100%;
    margin-top: 20px;
}

.job-head, .education-head {
    display: flex;
    justify-content: space-between;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.job-title {
    font-weight: bold;
    font-style: italic;
}

.job-time {
    font-weight: bold;
}

.job-position {
    margin-top: 5px;
    font-weight: bold;
    color: var(--orange);
}

.job-responsibilities-list, .professional-slkills-list, .languages-list, .cert-list {
    margin-top: 15px;
}

.job-responsibilities-list li, .professional-slkills-list li, .languages-list li, .cert-list li {
    margin-left: 20px;
    margin-top: 5px;
}

.education-university {
    font-weight: bold;
    color: var(--orange);
}

.education-time {
    font-weight: bold;
}

.education-title {
    margin-top: 5px;
}

.trusted-container {
    width: 100%;
    background-color: var(--primary);
    padding: 0 var(--section-padding);
    display: flex;
    justify-content: center;
}

.trusted {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    max-width: var(--max-width);
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
    max-width: var(--max-width-logos);
    align-items: center;
    justify-items: center;
}

.client-logos img {
    width: 100%;
    max-width: 130px;
    height: 80px;
    object-fit: contain;
}

@media screen and (max-width: 992px) {
    .client-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 792px) {
    .job-head, .education-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px; 
    }

    .download-cv {
        flex-direction: column;
    }

    .btn-cta, .btn-outline {
        width: 100%;
        text-align: center;
    }

    .p-xs {
        padding: 0 var(--section-padding);
    }
}

@media screen and (max-width: 480px) {
    .client-logos {
        gap: 1rem;
    }

    .client-logos img {
        height: 60px;
        max-width: 140px;
    }
}