@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
    --primary-color: #0f62fe;
    --primary-deep: #0b4acc;
    --text-main: #1d2736;
    --text-soft: #5f6f86;
    --surface: #ffffff;
    --surface-muted: #f4f7fb;
    --line: #e4eaf3;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
    background:
    radial-gradient(1200px 520px at 85% -12%, #eaf1ff 0%, transparent 62%),
    radial-gradient(900px 420px at 0% 8%, #f3f7ff 0%, transparent 60%),
    #f8faff;
}

section {
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid rgba(15, 98, 254, 0.08);
}

.navbar-brand {
    font-size: 1.03rem;
}

.nav-link {
    color: #42526a;
    font-weight: 700;
    font-size: 0.92rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

#hero {
    min-height: 92vh;
    background: transparent !important;
}

#hero .container,
#about .container,
#skills .container,
#experience .container,
#contact .container {
    background: var(--surface);
    border: 1px solid #eaf0fa;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(24, 53, 107, 0.06);
}

#hero .container {
    padding: 2.5rem 2rem;
}

.hero-actions {
    align-items: center;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-pill {
    background: #f1f6ff;
    border: 1px solid #d8e5ff;
    color: #2f4f7f;
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.72rem;
    font-weight: 800;
    color: #5f7aa4;
    margin-bottom: 0.25rem;
}

#brands .container {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(17, 39, 76, 0.06);
}

.brands-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands-track {
    display: flex;
    width: max-content;
    gap: 0.8rem;
    animation: brands-scroll 24s linear infinite;
}

.brands-marquee:hover .brands-track {
    animation-play-state: paused;
}

.brand-item {
    min-height: 76px;
    min-width: 170px;
    border: 1px solid #e6edf8;
    border-radius: 14px;
    background: #fbfdff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

.brand-item img {
    max-width: 108px;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes brands-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 0.4rem));
    }
}

#hero .text-uppercase {
    display: inline-block;
    background: #edf3ff;
    border: 1px solid #d9e6ff;
    border-radius: 999px;
    color: #29538f !important;
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
}

#hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
}

.text-muted {
    color: var(--text-soft) !important;
}

.btn {
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-deep));
    border: none;
}

.btn-outline-secondary {
    border: 1px solid #cad7ea;
    color: #2b3f5b;
}

#about,
#skills,
#experience,
#contact {
    background: transparent !important;
}

#about .container,
#skills .container,
#experience .container,
#contact .container {
    padding: 2rem;
}

#about .container,
#skills .container,
#experience .container {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.metric-card {
    border: 1px solid #e3ebf8;
    border-bottom-width: 1px;
    border-radius: 16px !important;
    background: #ffffff !important;
}

#skills .card {
    border: 1px solid #e6edf8 !important;
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
}

#skills .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(29, 52, 92, 0.1) !important;
}

.icon-box {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7e4ff;
    background: #eef4ff;
}

.bg-primary-subtle {
    background-color: #eef4ff;
}

.timeline > div {
    border-left: 2px solid #d6e3f7 !important;
    padding-left: 1.35rem !important;
    margin-bottom: 2.2rem !important;
}

.experience-item {
    background: transparent;
    border: 0;
    border-left: 2px solid #d6e3f7 !important;
    border-radius: 0;
    padding: 0.4rem 0 1.15rem 1.25rem !important;
}

.timeline > div > .position-absolute.bg-primary {
    width: 11px !important;
    height: 11px !important;
    left: -8px !important;
    top: 16px !important;
}

.timeline .text-primary {
    color: #1f62d9 !important;
    font-weight: 600;
}

.timeline ul {
    margin-bottom: 0;
}

.timeline li {
    color: #4f6079;
    line-height: 1.7;
}

.company-logo-wrap {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    background: #ffffff;
    border: 1px solid #e6edf8;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(30, 53, 92, 0.08);
    flex-shrink: 0;
}

.contact-link {
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.35);
}

.company-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

#contact {
    color: var(--text-main) !important;
}

#contact .container {
    background: linear-gradient(165deg, #102038 0%, #111f31 100%);
    border: 0;
    box-shadow: 0 16px 34px rgba(13, 30, 54, 0.2);
}

#about h2,
#skills h2,
#experience h2,
#contact h2 {
    font-size: clamp(1.65rem, 2.4vw, 2.3rem);
}

#about p,
#skills p,
#experience li,
#contact p {
    font-size: 1.02rem;
}

#contact h2,
#contact p,
#contact a,
#contact label {
    color: #f5f8ff !important;
}

#contact .lead {
    color: #c3d0e8 !important;
}

#contact form {
    border-radius: 18px !important;
    border: 1px solid #dbe6f8;
}

#contact .form-label {
    color: #2c3f5d !important;
}

#contact .text-danger {
    color: #f05555 !important;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid #d9e4f2;
    border-radius: 999px;
    overflow: hidden;
    background: #f3f8ff;
}

.lang-btn {
    border: 0;
    background: transparent;
    padding: 7px 12px;
    font-size: 0.76rem;
    font-weight: 800;
    color: #4a5f7a;
    line-height: 1;
}

.lang-btn.active {
    background: var(--primary-color);
    color: #ffffff;
}

@media (max-width: 992px) {
    #hero {
        min-height: auto;
        padding-top: 5.4rem;
    }

    #hero .container,
    #about .container,
    #skills .container,
    #experience .container,
    #contact .container {
        border-radius: 20px;
        padding: 1.4rem;
    }

    #hero .d-flex.gap-3 {
        flex-wrap: wrap;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .brand-item {
        min-height: 68px;
        min-width: 140px;
    }

    .brands-track {
        animation-duration: 18s;
    }

    .contact-link {
        min-width: 0;
        width: 100%;
    }

    #contact .d-flex.justify-content-center {
        flex-direction: column;
    }

    .navbar .lang-switch {
        margin-top: 0.35rem;
    }
}
