@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --blue: #3c9af0;
    --blue-mid: #1f6fc4;
    --blue-dark: #0d3f7a;
    --blue-deepest: #092c55;
    --ink: #1b2b47;
    --tint: #eef5fd;
    --paper: #ffffff;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background-color: var(--paper);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* ---------- Nav ---------- */
.brand-nav {
    background-color: rgba(13, 63, 122, 0.92);
    backdrop-filter: blur(6px);
    padding: 0.75rem 0;
}

.brand-nav .navbar-brand img {
    height: 36px;
}

.brand-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0 0.5rem;
}

.brand-nav .nav-link:hover {
    color: #ffffff;
}

.brand-nav .lang-switch {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;
    padding: 0.15rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.brand-nav .lang-switch:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    padding-top: 5rem;
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero .gears {
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    opacity: 0.18;
    pointer-events: none;
}

.hero .svg-icon-large {
    width: clamp(12rem, 30vw, 22rem);
    height: clamp(12rem, 30vw, 22rem);
    animation: spinLeft 12000ms linear infinite;
}

.hero .svg-icon path {
    fill: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 46rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.hero .lead {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-block;
    background-color: var(--blue);
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 2.2rem;
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(13, 63, 122, 0.35);
    transition: all 0.25s ease;
}

.btn-cta:hover {
    background-color: #ffffff;
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.section-title.text-start {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: #5a6b85;
    font-size: 1.05rem;
    max-width: 40rem;
    margin: 0 auto;
}

/* ---------- Cloud cards ---------- */
.clouds-section {
    background-color: var(--paper);
}

.cloud-card {
    height: 100%;
    padding: 2.25rem 1.75rem;
    border-radius: 1rem;
    background-color: var(--tint);
    border: 1px solid #dbe9fa;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cloud-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(13, 63, 122, 0.12);
}

.cloud-card i {
    font-size: 2.75rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.cloud-card h3 {
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.cloud-card p {
    color: #5a6b85;
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- Expertise / skills ---------- */
.expertise-section {
    background-color: var(--tint);
}

.skill-card {
    height: 100%;
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--paper);
    box-shadow: 0 8px 24px rgba(13, 63, 122, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(13, 63, 122, 0.15);
}

.skill-card i {
    font-size: 2.25rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.skill-card p {
    color: #5a6b85;
    font-size: 0.92rem;
    margin: 0;
}

/* ---------- About ---------- */
.about-section {
    background-color: var(--paper);
}

.about-intro {
    margin-bottom: 2.5rem;
}

.about-photo {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 12%;
    border: 4px solid var(--blue);
    box-shadow: 0 12px 30px rgba(13, 63, 122, 0.2);
    margin-bottom: 1.25rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.about-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--ink);
}

.about-list i {
    color: var(--blue);
    margin-right: 0.75rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #435370;
}

/* ---------- Contact ---------- */
.contact-section {
    background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue-deepest) 100%);
    color: #ffffff;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.contact-section .section-title {
    color: #ffffff;
}

.socials .links {
    padding: 0;
    margin: 2rem 0 0 0;
    display: flex;
    list-style: none;
}

.links li {
    list-style: none;
    margin: 0 0.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    cursor: pointer;
}

.links li:hover {
    background-color: #ffffff;
}

.links li a {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.links li:hover a {
    color: var(--blue-dark);
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--blue-deepest);
    color: rgba(255, 255, 255, 0.6);
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

@keyframes spinLeft {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
