*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --blue-deep: #1c396e;
    --blue-mid: #004f7f;
    --blue-light: #0a6fa8;
    --white: #ffffff;
    --white-dim: rgba(255,255,255,0.75);
    --white-faint: rgba(255,255,255,0.12);
    --accent: #0d5690;
    --accent2: #008acf;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Montserrat", sans-serif;
    color: var(--blue-deep);
    background: #f4f7fc;
    overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────────────── */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(28, 57, 110, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--white-faint);
    padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    height: 100px;
}

.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--white);
}
.logo img {
    max-height: 75px;
    padding-right: 40px;
}
.logo-mark {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--blue-light));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 20px; font-weight: 900;
    box-shadow: 0 0 20px rgba(94,196,240,0.4);
}
.logo-text {
    font-family: "JetBrains Mono", monospace;
    font-size: 22px; font-weight: 700; letter-spacing: 0.5px;
}
.logo-text span { color: var(--accent); }

nav { display: flex; gap: 30px; align-items: center; }
nav a {
    color: var(--white-dim); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: color 0.2s;
}
@media (min-width: 1200px) {
    nav a {
        max-width: 115px;
    }
    nav a:nth-child(1) {
        max-width: 90px;
    }
}
nav a:hover { color: var(--white); }

.nav-cta {
    background: var(--accent); color: #fff !important;
    padding: 9px 22px; border-radius: 8px;
    font-weight: 600 !important; font-size: 14px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(94,196,240,0.4) !important; }

/* ── HERO ─────────────────────────────────────── */
#hero {
    background: url('../images/hero_img.jpg') top right / 75% no-repeat;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 5% 80px;
    position: relative; overflow: hidden;
}
@media (min-width: 991px) {
    #hero::before {
        content: '';
        position: absolute;
        inset: 0;
        /*background: linear-gradient(135deg, rgba(15, 35, 75, 0.82) 0%, rgba(10, 50, 90, 0.60) 100%);*/
        pointer-events: none;
    }
}
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #fff 55%, transparent);
    width: 60%;
}

.hero-inner {
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: center;
    position: relative; z-index: 1;
    text-align: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center; text-align: center;
    background: var(--white-faint);
    border: 1px solid rgba(94,196,240,0.3);
    padding: 6px 16px; border-radius: 100px;
    font-size: 18px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
    color: var(--accent); margin-bottom: 35px; margin-top: 35px;
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-title {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 700; line-height: 1.08;
    margin-bottom: 24px;
    color: var(--blue-deep);
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-desc {
    font-size: 17px; line-height: 1.7;
    color: var(--blue-deep); margin-bottom: 10px;
}
.hero-desc-small {
    font-size: 13px; line-height: 1;
    color: var(--blue-deep);
    margin-top: 20px;
    text-align: center;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap;
    margin-top: 40px;
    justify-content: center;
}
.btn-primary {
    background: var(--accent); color: #fff;
    padding: 14px 32px; border-radius: 10px;
    font-weight: 700; font-size: 15px; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(94,196,240,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(94,196,240,0.5); }
.btn-secondary {
    border: 1.5px solid rgba(255,255,255,0.4); color: #ffffff;
    padding: 14px 32px; border-radius: 10px;
    font-weight: 500; font-size: 15px; text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); background: rgba(255,255,255,0.1); }

.hero-img {
    width: 100%;border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.hero-card-header {
    font-family: "JetBrains Mono", monospace;
    font-size: 18px; margin-bottom: 24px;
    color: var(--accent);
}
.stat-row { display: flex; gap: 24px; margin-bottom: 20px; }
.stat { flex: 1; }
.stat-num {
    font-family: "JetBrains Mono", monospace;
    font-size: 36px; font-weight: 700; color: var(--blue-deep);
}
.stat-label { font-size: 12px; color: rgba(28,57,110,0.6); margin-top: 2px; }
.hero-bar { height: 6px; background: rgba(28,57,110,0.1); border-radius: 99px; margin-bottom: 10px; }
.hero-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.bar-label { display: flex; justify-content: space-between; font-size: 12px; color: rgba(28,57,110,0.6); margin-bottom: 6px; }

/* ── GRID SECTION ─────────────────────────────── */
#grid-section {
    background: #ffffff;
    padding: 100px 5%;
}

.section-label {
    text-align: center;  font-size: 16px; letter-spacing: 0.01em;
    color: var(--accent); margin-bottom: 12px;
}
.section-label.subheader {
    font-size: 16px;
    font-weight: 600;
}
.section-title {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(32px, 4vw, 50px); font-weight: 800;
    text-align: center; margin-bottom: 16px; line-height: 1.15;
}
.section-sub {
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.01em;
    color: var(--accent);
    margin: 0 auto 60px;
    line-height: 1.3;
}
#grid-section .section-sub {
    margin-top: 60px;
    margin-bottom: 0;
}
#grid-section .section-title {
    margin-bottom: 60px;
}
.grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; max-width: 1200px; margin: 0 auto;
}
.grid-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1;
    background: linear-gradient(160deg, var(--blue-deep) 0%, #0a3d62 100%);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    transition: transform 0.3s, box-shadow 0.3s;
}
.grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 72px;
    height: 72px;
    color: #ffffff;
    background: linear-gradient(135deg, #38c8f0 0%, #0095d5 60%, #0070b8 100%);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 6px 24px rgba(56, 200, 240, 0.55), 0 2px 8px rgba(0,0,0,0.25);
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), opacity 0.35s ease;
    z-index: 1;
}
.card-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}
.grid-card:hover .card-icon {
    transform: translate(-50%, -80%);
    opacity: 0.25;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(5, 20, 50, 0.5) 50%,
            rgba(5, 15, 40, 0.92) 100%
    );
    transition: background 0.35s;
    z-index: 2;
}
.grid-card:hover .card-overlay {
    background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(5, 20, 50, 0.65) 40%,
            rgba(5, 15, 40, 0.97) 100%
    );
}

.card-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 22px;
    z-index: 3;
}

.card-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 17px; font-weight: 700; line-height: 1.3;
    margin-bottom: 10px;
    color: var(--white);  /* intentional: text overlays dark image gradient */
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
}
.grid-card:hover .card-title {
    transform: translateY(-4px);
}

.card-text {
    font-size: 13px; color: var(--white-dim); line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.4s ease;
}
.grid-card:hover .card-text {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

.card-accent-line {
    width: 0; height: 2px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 10px;
    transition: width 0.35s ease;
}
.grid-card:hover .card-accent-line {
    width: 32px;
}
/* ── 2-COLUMN SECTION ─────────────────────────── */
#two-col {
    background: #f4f7fc;
    padding: 100px 5%;
}

.two-col-inner { max-width: 1200px; margin: 0 auto; }
.two-col-header { margin-bottom: 56px; }

/* ── SKILLS SECTION ───────────────────────────── */
.skills-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.skills-col-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
}
.skills-col-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.skills-col-image-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px 18px;
    background: linear-gradient(to top, rgba(10,30,60,0.9), transparent);
    font-family: "JetBrains Mono", monospace;
    font-size: 20px; font-weight: 700;
    color: var(--white);
    letter-spacing: 0.3px;
}

.skills-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-item {
    background: rgba(28,57,110,0.05);
    border: 1px solid rgba(28,57,110,0.1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}
.skill-item:hover {
    background: rgba(28,57,110,0.09);
    border-color: rgba(94,196,240,0.35);
}

.skill-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}
.skill-item-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: rgba(94,196,240,0.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.skill-item-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}
.skill-item-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 15px; font-weight: 700;
    color: var(--blue-deep);
    line-height: 1.3;
}

.skill-item-text {
    font-size: 13px;
    color: rgba(28,57,110,0.6);
    line-height: 1.65;
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}
.skill-item:hover .skill-item-text {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    padding: 0 18px 16px;
}
#two-col .section-sub {
    margin-top: 40px;
    margin-bottom: 0;
    width: 100%;
}

#projects-grid {
    background: #ffffff;
    padding: 100px 5%;
}

.pgrid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pgrid-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(28,57,110,0.04);
    border: 1px solid rgba(28,57,110,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.pgrid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-color: rgba(94,196,240,0.3);
}

/* Image wrapper — stacks both images on top of each other */
.pgrid-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.pgrid-img-default {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.45s ease;
    z-index: 1;
}

/* Hover image + overlay wrapper */
.pgrid-img-hover-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.45s ease;
}
.pgrid-card:hover .pgrid-img-hover-wrap {
    opacity: 1;
}
.pgrid-card:hover .pgrid-img-default {
    opacity: 0;
}

.pgrid-img-hover {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(2px) brightness(0.45);
    transform: scale(1.05); /* hide blur edge artefacts */
}

.pgrid-hover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.pgrid-hover-text {
    font-size: 14px;
    color: var(--white);
    line-height: 1.65;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* Card body — title + text below image */
.pgrid-body {
    padding: 20px 22px 24px;
}

.pgrid-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 17px; font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.2s;
}
.pgrid-card:hover .pgrid-title {
    color: var(--accent);
}

.pgrid-text {
    font-size: 13px;
    color: rgba(28,57,110,0.6);
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
}
.pgrid-card:hover .pgrid-text {
    max-height: 150px;
    opacity: 1;
    transform: translateY(0);
}
.bottom-section-sub {
    margin-top: 40px;
    margin-bottom: 0;
}

/* ── COMPARISON SECTION ───────────────────────── */
#comparison {
    background: #f4f7fc;
    padding: 100px 5%;
}

.cmp-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.cmp-col {
    background: rgba(28,57,110,0.04);
    border: 1px solid rgba(28,57,110,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.cmp-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.cmp-col--highlight {
    background: rgba(94,196,240,0.08);
    border-color: rgba(94,196,240,0.35);
    box-shadow: 0 0 40px rgba(94,196,240,0.1);
}
.cmp-col--highlight .cmp-col-header {
    background: linear-gradient(135deg, rgba(94,196,240,0.2), rgba(0,79,127,0.4));
}

.cmp-col-header {
    background: rgba(28,57,110,0.04);
    padding: 28px 24px 24px;
    border-bottom: 1px solid rgba(28,57,110,0.08);
    text-align: center;
}

.cmp-col-icon {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1;
}

.cmp-col-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 22px; font-weight: 800;
    color: var(--blue-deep);
    margin-bottom: 6px;
}

.cmp-col--highlight .cmp-col-title {
    color: var(--blue-deep);
}

.cmp-col-duration {
    display: inline-block;
    font-size: 12px; letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(94,196,240,0.1);
    border: 1px solid rgba(94,196,240,0.25);
    padding: 4px 12px; border-radius: 100px;
}

.cmp-list {
    list-style: none;
    padding: 16px 0;
}

.cmp-item {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(28,57,110,0.06);
    transition: background 0.2s;
}
.cmp-item:last-child { border-bottom: none; }
.cmp-item:hover { background: rgba(28,57,110,0.04); }

.cmp-item-year {
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.cmp-col--highlight .cmp-item-year {
    color: var(--accent);
}

.cmp-item-text {
    font-size: 14px;
    color: rgba(28,57,110,0.6);
    line-height: 1.65;
}

#comparison .section-label {
    margin-top: 10px;
    margin-bottom: 40px;
}

#comparison .section-sub {
    margin-bottom: 20px;
}

.section-sub a {
    color: rgba(28,57,110,0.6); text-decoration: none;
   transition: color 0.2s;
}
.section-sub a:hover { color: var(--blue-deep); }

/* ── CONTACT FORM ─────────────────────────────── */
#contact-form {
    background: #f4f7fc;
    padding: 100px 5%;
}

.form-wrapper {
    max-width: 700px; margin: 0 auto;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

label { font-size: 13px; font-weight: 500; letter-spacing: 0.3px; color: rgba(28,57,110,0.6); }

input, textarea, select {
    background: #ffffff;
    border: 1px solid rgba(28,57,110,0.15);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--blue-deep);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(28,57,110,0.3); }
input:focus, textarea:focus, select:focus {
    border-color: var(--accent);
    background: rgba(94,196,240,0.06);
}
select option { background: #ffffff; color: var(--blue-deep); }
textarea { resize: vertical; min-height: 130px; }

.form-submit {
    margin-top: 12px; text-align: center;
}
.btn-submit {
    background: var(--accent); color: var(--blue-deep);
    border: none; cursor: pointer;
    padding: 15px 48px; border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700; font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(94,196,240,0.35);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(94,196,240,0.5); }

/* ── CONTACT / CTA SECTION ────────────────────── */
#contact-form {
    background: #f4f7fc;
    padding: 100px 5%;
    text-align: center;
}

.cta-contact-inner {
    max-width: 760px;
    margin: 0 auto;
}

.cta-contact-title {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 48px;
    color: var(--blue-deep);
}
.cta-contact-title span {
    color: var(--accent);
}

/* CTA buttons row */
.cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: var(--blue-deep);
    border: 1.5px solid rgba(28,57,110,0.15);
    background: rgba(28,57,110,0.05);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    flex: 0 0 calc(33% - 10px);
    max-width: calc(33% - 10px);
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.cta-btn--whatsapp:hover  { background: #25D366; border-color: #25D366; }
.cta-btn--telegram:hover  { background: #229ED9; border-color: #229ED9; }
.cta-btn--viber:hover     { background: #7360F2; border-color: #7360F2; }
.cta-btn--facebook:hover     { background: #1877F2; border-color: #1877F2; }
.cta-btn--email:hover     { background: var(--accent); border-color: var(--accent); color: var(--blue-deep); }
.cta-btn--email:hover svg { fill: var(--blue-deep); }
.cta-btn--form {
    margin-top: 20px;
    display: flex;
    max-width: calc(100% - 10px);
    flex: calc(100% - 10px);
}
/* Divider */
.cta-divider {
    width: 60px;
    height: 2px;
    background: rgba(94,196,240,0.4);
    border-radius: 2px;
    margin: 0 auto 48px;
}

/* Link cards */
.cta-links-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 56px;
}

.cta-link-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: rgba(28,57,110,0.05);
    border: 1px solid rgba(28,57,110,0.1);
    border-radius: 14px;
    text-decoration: none;
    color: var(--blue-deep);
    text-align: left;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.cta-link-card:hover {
    background: rgba(94,196,240,0.1);
    border-color: rgba(94,196,240,0.4);
    transform: translateX(4px);
}

.cta-link-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cta-link-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--blue-deep);
    margin-bottom: 3px;
}
.cta-link-sub {
    font-size: 13px;
    color: rgba(28,57,110,0.6);
    line-height: 1.4;
    text-align: left;
}

.cta-link-arrow {
    flex-shrink: 0;
    margin-left: auto;
    color: var(--accent);
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}
.cta-link-card:hover .cta-link-arrow {
    opacity: 1;
    transform: translateX(4px);
}


/* ── CAREERS SECTION ──────────────────────────── */
#careers {
    background: #ffffff;
    padding: 100px 5%;
}

.careers-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.careers-col-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 20px;
}

.jobs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jobs-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(28,57,110,0.04);
    border: 1px solid rgba(28,57,110,0.1);
    border-radius: 10px;
    font-size: 15px;
    color: var(--blue-deep);
    transition: background 0.2s, border-color 0.2s;
    cursor: default;
}

.jobs-list li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
}

.jobs-list li:hover {
    background: rgba(28,57,110,0.08);
    border-color: rgba(94,196,240,0.35);
}

.job-content {
    display: flex;
    flex-direction: column;
}

.job-title {
    font-weight: 600;
    line-height: 1.4;
}

.job-desc {
    font-size: 13px;
    color: rgba(28,57,110,0.6);
    line-height: 1.55;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.jobs-list li:hover .job-desc {
    max-height: 80px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 5px;
}

.companies-scroll {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(94,196,240,0.3) transparent;
}

.companies-scroll::-webkit-scrollbar { width: 4px; }
.companies-scroll::-webkit-scrollbar-track { background: transparent; }
.companies-scroll::-webkit-scrollbar-thumb { background: rgba(94,196,240,0.3); border-radius: 4px; }

.company-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(28,57,110,0.04);
    border: 1px solid rgba(28,57,110,0.1);
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    cursor: default;
}

.company-card:hover {
    background: rgba(94,196,240,0.08);
    border-color: rgba(94,196,240,0.35);
    transform: translateX(4px);
}

.company-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid rgba(28,57,110,0.08);
    padding: 4px;
}

.company-logo--text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
    color: #ffffff;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    border: none;
    padding: 0;
}

.company-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--blue-deep);
    line-height: 1.3;
}

/* ── REVIEWS SECTION ──────────────────────────── */
#reviews {
    background: url('../images/hero2-img.jpg') center / cover no-repeat;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}
#reviews::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #fff 30%, transparent)
}
#reviews .section-label,
#reviews .section-title,
#reviews .section-sub {
    position: relative;
    z-index: 1;
}
#reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 0;
}
.reviews-inner {
    display: flex;
    grid-template-columns: 1fr 3fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    position: relative;
    z-index: 1;
}
@media (min-width: 991px) {
    #reviews::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(15, 35, 75, 0.82) 0%, rgba(10, 50, 90, 0.60) 100%);
        pointer-events: none;
    }
}
@media (min-width: 1200px) {
    .hero-inner {
        max-width: 1200px;
        margin: 0 5%;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
    .hero-content {
        max-width: 50%;
    }
}
@media (min-width: 901px) and (max-width: 1300px) {
    .hero-title {
        font-size: 26px;
    }
    .hero-badge {
        margin-bottom: 15px;
        margin-top: 15px;
        font-size: 16px;
    }
    .hero-desc {
        font-size: 14px;
    }
    #hero {
        align-items: flex-start;
        min-height: unset;
    }
}
.move20 {
    object-position: 0 -20px;
}
.move40 {
    object-position: 0 -40px;
}
.move5 {
    object-position: 0 -5px;
}

/* Scrollable column */
.reviews-scroll {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 620px;
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(94,196,240,0.3) transparent;
    direction: rtl;
}
.reviews-scroll::-webkit-scrollbar { width: 4px; }
.reviews-scroll::-webkit-scrollbar-track { background: transparent; }
.reviews-scroll::-webkit-scrollbar-thumb { background: rgba(94,196,240,0.3); border-radius: 4px; }

/* Individual review card */
.review-card {
    background: rgba(28,57,110,0.04);
    border: 1px solid rgba(28,57,110,0.1);
    border-radius: 14px;
    padding: 20px 22px;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.review-card:hover {
    background: rgba(28,57,110,0.07);
    border-color: rgba(94,196,240,0.3);
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    margin-bottom: 16px;
}

.review-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(94,196,240,0.4);
    display: block;
    margin: 0 auto 14px;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.review-name {
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-deep);
    line-height: 1.2;
}

.review-role {
    font-size: 12px;
    font-weight: 400;
    color: rgba(28,57,110,0.45);
    letter-spacing: 0.2px;
}

.review-text {
    font-size: 14px;
    color: rgba(28,57,110,0.6);
    line-height: 1.7;
    font-style: italic;
    text-align: center;
    direction: ltr;
}

/* Right photo panel */
.reviews-photo {
    position: sticky;
    top: 92px;
    border-radius: 18px;
    overflow: hidden;
}
.image-divider img {
    max-width: 50%;
    margin: 0 auto;
    border-radius: 14px;
}
.image-divider {
    display: flex;
    margin-bottom: 60px;
}
.reviews-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.reviews-photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 18px;
    background: linear-gradient(to top, rgba(10,30,60,0.9), transparent);
    font-size: 13px;
    color: var(--white-dim);
    font-style: italic;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
    background: #0d2347;
    border-top: 1px solid var(--white-faint);
    padding: 64px 5% 32px;
}

.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 48px; max-width: 1200px; margin: 0 auto 56px;
}
.footer-col.social-col {
    display: flex;
    justify-content: flex-end;
}
.footer-col.contact-col {
    text-align: center;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-desc { font-size: 14px; color: var(--white-dim); line-height: 1.7; margin-bottom: 24px; }

.social-links { display: flex; gap: 12px; }
.social-link {
    width: 38px; height: 38px; border-radius: 9px;
    background: var(--white-faint);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 16px;
    transition: background 0.2s, transform 0.2s;
}
.social-link:hover { background: var(--accent); transform: translateY(-2px); }

.footer-col h4 {
    font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 20px; font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--white-dim); text-decoration: none;
    font-size: 14px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.single-input input {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: rgba(28,57,110,0.05);
    border: 1px solid rgba(28,57,110,0.1);
    border-radius: 14px;
    text-decoration: none;
    color: var(--blue-deep);
    text-align: left;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.single-input {
    margin-bottom: 20px;
    width: 100%;
}
.contact-form-wrapper .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contact-form-wrapper .col-md-12 {
    max-width: 100%;
    flex: 0 0 100%;
}
.contact-form-wrapper .col-md-6 {
    max-width: calc(50% - 5px);
    flex: 0 0 calc(50% - 5px);
    display: inline-flex;
}
.contact-info { list-style: none; }
.contact-info li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--white-dim); font-size: 14px; margin-bottom: 12px; line-height: 1.5;
}
.contact-info li span:first-child { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    border-top: 1px solid var(--white-faint);
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--white-dim); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: var(--white-dim); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--white); }
.footer-icon { margin-right: 5px;}

/* ── BURGER MENU ──────────────────────────────── */
.burger {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    width: 42px; height: 42px; cursor: pointer;
    border: 1px solid var(--white-faint);
    border-radius: 10px; background: var(--white-faint);
    gap: 5px; z-index: 200;
    transition: background 0.2s;
}
.burger:hover { background: rgba(94,196,240,0.15); }
.burger span {
    display: block; width: 20px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), opacity 0.25s, width 0.25s;
    transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: fixed; top: 100px; left: 0; width: 100%; z-index: 99;
    background: rgba(13, 35, 71, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--white-faint);
    flex-direction: column;
    padding: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.23,1,0.32,1), padding 0.3s;
}
.mobile-nav.open {
    max-height: 400px;
    padding: 16px 0 24px;
}
.mobile-nav a {
    color: var(--white-dim); text-decoration: none;
    font-size: 17px; font-weight: 500;
    padding: 14px 6%;
    border-bottom: 1px solid var(--white-faint);
    display: block;
    transition: color 0.2s, background 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--white); background: var(--white-faint); }
.mobile-nav .mob-cta {
    margin: 16px 6% 0;
    background: var(--accent); color: #fff !important;
    border-radius: 10px; font-weight: 700 !important;
    text-align: center; border-bottom: none !important;
    padding: 14px 6% !important;
}
.mobile-nav .mob-cta:hover { background: #7dd4f5 !important; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
    #hero {
        background: url('../images/hero_img.jpg') right 100px / 100% no-repeat;
        padding-top: 430px;
    }
    #hero::after {
        display: none;
    }
    .logo {
        width: calc(100% - 50px);
    }
    .logo img {
        max-width: 100%;
        padding-right: 10px;
    }
    nav { display: none; }
    .burger { display: flex; }
    .mobile-nav { display: flex; }
    .hero-inner { padding: 0; display: flex;
        width: 100%;
        gap: 20px;
    }
    .grid-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 8px 0 24px;
        margin: 0;
        max-width: 100%;
        scrollbar-width: none;
    }
    #grid-section .section-title {
        padding-left: 5%;
        padding-right: 5%;
    }
    #grid-section {
        padding-left: 0;
        padding-right: 0;
    }
    .row-item, .row-item.reverse .row-text, .row-item.reverse .row-visual { grid-template-columns: 1fr; order: unset; }
    .row-item { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    /* careers */
    .careers-inner { grid-template-columns: 1fr; }
    .companies-scroll { max-height: 340px; }
    .job-desc {
        max-height: 200px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 5px;
    }
    /* comparison slider */
    #comparison { padding: 60px 0; }
    #comparison .section-label,
    #comparison .section-title,
    #comparison .section-sub { padding: 0 5%; }
    .cmp-columns {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 8px 5% 24px;
        margin: 0;
        max-width: 100%;
        /* hide scrollbar */
        scrollbar-width: none;
    }
    .cmp-columns::-webkit-scrollbar { display: none; }
    .cmp-col {
        flex: 0 0 75%;
        scroll-snap-align: start;
        min-width: 0;
    }
    .section-sub {
        max-width: 100%;
    }
    .footer-col.contact-col {
        text-align: unset;
    }
    .footer-col.social-col {
        display: block;
    }
    /* reviews */
    #reviews { padding: 60px 0; display: flex;}
    #reviews .section-label,
    #reviews .section-title,
    #reviews .section-sub { padding: 0 5%; }
    .reviews-content {
        width: 100%;
    }
    .review-role {
        color: rgb(28, 57, 110);
    }
    #reviews::after {
        background: linear-gradient(to right, #fff 10%, transparent);
    }
    .review-card {
        background: rgba(255, 255, 255, 0.7);
    }
    .review-text {
        color: rgb(28, 57, 110);
    }
    .reviews-inner {
        grid-template-columns: 1fr;
    }
    .reviews-photo {
        display: none;
    }
    .reviews-scroll {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 8px 5% 24px;
        max-height: none;
        scrollbar-width: none;
        direction: ltr;
    }
    .reviews-scroll::-webkit-scrollbar { display: none; }
    .review-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
        min-width: 0;
    }
    .review-avatar {
        width: 120px;
        height: 120px;
    }
    .hero-title {
        font-size: clamp(32px, 5vw, 48px);
        margin-bottom: 0;
    }
    .contact-form-wrapper .col-md-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .pgrid-title {
        font-size: 14px;
        word-break: break-word;
    }
    .move12-md {
        object-position: 0 -12px;
    }
    .move5-md {
        object-position: 0 -5px;
    }
    .move0-md {
        object-position: 0 0;
    }
}
@media (max-width: 600px) {
    .grid-cards { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .grid-card {
        min-height: 250px;
        max-width: 65%;
        flex: 0 0 65%;
    }
    .card-icon {
        width: 52px;
        height: 52px;
    }
    .card-body {
        padding: 16px 14px;
    }
    .card-text {
        opacity: 1;
        max-height: none;
        transform: translateY(0);
        font-size: 11px;
    }
    .card-accent-line {
        width: 32px;
    }

    /* skills section mobile */
    .skills-columns {
        grid-template-columns: 1fr;
    }
    .skill-item-text {
        max-height: none;
        opacity: 1;
        transform: translateY(0);
        padding: 0 18px 16px;
    }


    /* projects grid mobile */
    .pgrid-cards {
        grid-template-columns: 1fr 1fr;
    }
    .pgrid-text {
        max-height: none;
        opacity: 1;
        transform: translateY(0);
    }
    .pgrid-img-hover-wrap {
        display: none;
    }

    /* cta contact mobile */
    .cta-btns {
        flex-wrap: wrap;
        align-items: stretch;
    }
    .cta-btn {
        justify-content: center;
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    .cta-btn--form {
        max-width: calc(100% - 10px);
        flex: calc(100% - 10px);
    }
}
@media (min-width: 1150px) and (max-width: 1280px) {
    .logo img {
        max-height: 50px;
        margin-right: 20px;
    }
    nav a, nav a:nth-child(1), nav a:nth-child(2) {
        font-size: 12px;
        max-width: 115px;
    }
}
@media (min-width: 1000px) and (max-width: 1149px) {
    .logo img {
        max-height: 40px;
        margin-right: 20px;
    }
    nav a, nav a:nth-child(1), nav a:nth-child(2) {
        font-size: 10px;
        max-width: unset;
    }
}
@media (min-width: 1280px) and (max-width: 1450px) {
    .logo img {
        max-height: 60px;
        padding-right: 60px;
    }
}
@media (min-width: 1450px) {
    nav a {
        max-width: 125px;
        font-size: 16px;
    }
}