/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --navy: #101a3a;
    --navy-light: #202945;

    --accent: #6654f6;
    --accent-hover: #5140df;
    --accent-light: #775cff;

    --cyan: #3c80ff;

    --surface: #ffffff;
    --surface-alt: #f8f9ff;

    --text: #4a5568;
    --muted: #707b92;

    --border: #e7e8f0;

    --shadow-sm: 0 4px 20px rgba(102, 84, 246, 0.04);
    --shadow-md: 0 16px 40px rgba(102, 84, 246, 0.08);
    --shadow-lg: 0 24px 60px rgba(16, 26, 58, 0.12);

    --container: 1200px;
    --radius: 20px;

    --transition: 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

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

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

body {
    font-family: "Inter", sans-serif;
    background: var(--surface);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: #fff;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;

    color: var(--accent);
}

.section-label::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 10px;
}

.section-heading {
    max-width: 780px;
}

.section-heading.centered {
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading.centered .section-label {
    justify-content: center;
}

.section-heading h2,
.section-intro h2 {
    margin-top: 16px;

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.035em;

    color: var(--navy);
}

.section-heading h2 span,
.section-intro h2 span {
    color: var(--accent);
}

.section-heading p,
.section-intro > p {
    margin-top: 20px;

    max-width: 700px;

    color: var(--muted);
    font-size: 16px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    z-index: 1000;

    top: 0;
    left: 0;
    width: 100%;

    background: rgba(255, 255, 255, 0.9);

    border-bottom: 1px solid rgba(231, 232, 240, 0.8);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: 150px;
    height: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.primary-nav > a:not(.nav-cta) {
    position: relative;

    font-size: 14px;
    font-weight: 600;

    color: var(--navy-light);

    transition: var(--transition);
}

.primary-nav > a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: width var(--transition);
}

.primary-nav > a:not(.nav-cta):hover {
    color: var(--accent);
}

.primary-nav > a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 20px;

    border-radius: 10px;

    background: var(--navy);
    color: #fff !important;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.nav-cta span {
    font-size: 16px;
}

.nav-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #fff;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 4px auto;

    background: var(--navy);

    transition: var(--transition);
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    min-height: 820px;

    display: flex;
    align-items: center;

    padding: 150px 0 100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(102, 84, 246, 0.10),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #fbfbff 0%,
            #ffffff 100%
        );
}

.hero-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.08fr 0.92fr;

    align-items: center;

    gap: 80px;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 14px;

    margin-bottom: 25px;

    border: 1px solid rgba(102, 84, 246, 0.16);
    border-radius: 50px;

    background: rgba(102, 84, 246, 0.06);

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #3bc48d;

    box-shadow: 0 0 0 5px rgba(59, 196, 141, 0.12);
}

.hero-eyebrow {
    margin-bottom: 14px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.18em;
}

.hero-content h1 {
    max-width: 720px;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.04;

    letter-spacing: -0.045em;

    color: var(--navy);
}

.hero-content h1 span {
    position: relative;

    color: var(--accent);
}

.hero-description {
    max-width: 650px;

    margin-top: 28px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;

    padding: 0 23px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #fff;

    box-shadow:
        0 12px 25px rgba(102, 84, 246, 0.22);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);

    box-shadow:
        0 16px 32px rgba(102, 84, 246, 0.28);
}

.btn-primary span {
    font-size: 18px;
}

.btn-secondary {
    background: #fff;

    border: 1px solid var(--border);

    color: var(--navy);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);

    transform: translateY(-3px);

    box-shadow: var(--shadow-sm);
}

.hero-trust {
    display: flex;
    align-items: center;

    gap: 25px;

    margin-top: 48px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    color: var(--navy);

    font-size: 22px;
    line-height: 1.2;
}

.trust-item span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 600;
}

.trust-divider {
    width: 1px;
    height: 38px;

    background: var(--border);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-main {
    position: relative;

    width: min(100%, 500px);
    height: 410px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.code-window {
    position: relative;
    z-index: 2;

    width: 410px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;

    background: var(--navy);

    box-shadow: var(--shadow-lg);

    transform: rotate(2deg);
}

.window-header {
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 17px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    background: var(--navy-light);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);
}

.window-title {
    color: rgba(255, 255, 255, 0.45);

    font-family: monospace;

    font-size: 11px;
}

.code-content {
    min-height: 310px;

    padding: 28px 30px;

    font-family: "Courier New", monospace;

    font-size: 13px;
    line-height: 2;
}

.code-purple {
    color: #b39cff;
}

.code-blue {
    color: #72a7ff;
}

.code-green {
    color: #6ee7b7;
}

.code-white {
    color: #f8f9ff;
}

.code-comment {
    color: #727b95;
}

.indent {
    padding-left: 24px;
}

.indent-two {
    padding-left: 48px;
}


/* =========================================================
   HERO FLOATING CARDS
========================================================= */

.floating-card {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 17px;

    border: 1px solid rgba(231, 232, 240, 0.9);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow: var(--shadow-md);

    backdrop-filter: blur(10px);

    animation: floatingCard 4s ease-in-out infinite;
}

.floating-card strong {
    display: block;

    color: var(--navy);

    font-size: 12px;
}

.floating-card div:last-child span {
    display: block;

    margin-top: 1px;

    color: var(--muted);

    font-size: 9px;
}

.floating-icon {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(102, 84, 246, 0.1);

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;
}

.woo-icon {
    background: rgba(60, 128, 255, 0.1);
    color: var(--cyan);
}

.floating-card-one {
    top: 45px;
    left: 5px;
}

.floating-card-two {
    right: 0;
    bottom: 35px;

    animation-delay: -2s;
}

.hero-orbit {
    position: absolute;

    border: 1px solid rgba(102, 84, 246, 0.12);

    border-radius: 50%;
}

.orbit-one {
    width: 480px;
    height: 480px;
}

.orbit-two {
    width: 580px;
    height: 580px;

    border-color: rgba(60, 128, 255, 0.08);
}

.hero-background-shape {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.hero-shape-one {
    width: 500px;
    height: 500px;

    top: -250px;
    right: -180px;

    background: rgba(102, 84, 246, 0.05);
}

.hero-shape-two {
    width: 300px;
    height: 300px;

    bottom: -180px;
    left: -120px;

    background: rgba(60, 128, 255, 0.05);
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }

}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--surface);
}

.section-intro {
    display: grid;

    grid-template-columns: 1fr 0.7fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 65px;
}

.about-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 90px;

    align-items: center;
}

.about-content .large-text {
    max-width: 700px;

    color: var(--navy);

    font-size: 21px;
    line-height: 1.7;
}

.about-content > p:not(.large-text) {
    max-width: 680px;

    margin-top: 20px;

    color: var(--muted);
}

.about-points {
    display: grid;

    gap: 25px;

    margin-top: 42px;
}

.about-point {
    display: grid;

    grid-template-columns: 48px 1fr;

    gap: 18px;

    padding-bottom: 24px;

    border-bottom: 1px solid var(--border);
}

.point-number {
    color: var(--accent);

    font-size: 12px;
    font-weight: 800;
}

.about-point h3 {
    margin-bottom: 5px;

    color: var(--navy);

    font-size: 16px;
}

.about-point p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   ABOUT FEATURE CARD
========================================================= */

.about-feature-card {
    position: relative;

    padding: 45px;

    overflow: hidden;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            var(--navy) 0%,
            #171f42 100%
        );

    color: #fff;

    box-shadow: var(--shadow-lg);
}

.about-feature-card::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -90px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(102, 84, 246, 0.25);
}

.feature-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(102, 84, 246, 0.2);

    color: #b8adff;
}

.feature-label {
    color: rgba(255, 255, 255, 0.5);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.about-feature-card h3 {
    position: relative;
    z-index: 2;

    margin-top: 30px;

    max-width: 400px;

    font-family: "Playfair Display", serif;

    font-size: 35px;
    line-height: 1.2;
}

.about-feature-card > p {
    position: relative;
    z-index: 2;

    margin-top: 18px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 14px;
}

.feature-list {
    position: relative;
    z-index: 2;

    display: grid;
    gap: 14px;

    margin-top: 30px;
}

.feature-list div {
    display: flex;
    align-items: center;
    gap: 11px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
}

.feature-list span {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(102, 84, 246, 0.25);

    color: #b8adff;

    font-size: 10px;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-section {
    background: var(--surface-alt);
}

.skills-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.skill-card {
    position: relative;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: #fff;

    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-7px);

    border-color: rgba(102, 84, 246, 0.3);

    box-shadow: var(--shadow-md);
}

.skill-card.featured-skill {
    background:
        linear-gradient(
            145deg,
            #f3f1ff 0%,
            #ffffff 100%
        );

    border-color: rgba(102, 84, 246, 0.18);
}

.skill-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}

.skill-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(102, 84, 246, 0.09);

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;
}

.skill-number {
    color: #b7bdcc;

    font-size: 10px;
    font-weight: 800;
}

.skill-card h3 {
    color: var(--navy);

    font-size: 17px;
    line-height: 1.3;
}

.skill-card p {
    margin-top: 13px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 23px;
}

.skill-tags span {
    padding: 5px 8px;

    border-radius: 6px;

    background: var(--surface-alt);

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-section {
    background: #fff;
}

.experience-timeline {
    position: relative;

    margin-top: 65px;
}

.experience-item {
    position: relative;

    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 55px;

    padding-bottom: 70px;
}

.experience-item:last-child {
    padding-bottom: 0;
}

.timeline-line {
    position: absolute;

    top: 15px;
    left: 159px;

    width: 1px;
    height: calc(100% - 15px);

    background: var(--border);
}

.experience-item:last-child .timeline-line {
    display: none;
}

.timeline-dot {
    position: absolute;

    top: 7px;
    left: 153px;

    width: 13px;
    height: 13px;

    border: 3px solid #fff;
    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 4px rgba(102, 84, 246, 0.12);
}

.experience-date {
    padding-top: 3px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.04em;
}

.experience-card {
    padding: 38px 42px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: #fff;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.experience-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.experience-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;
}

.experience-role {
    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.experience-header h3 {
    margin-top: 6px;

    color: var(--navy);

    font-size: 25px;
}

.experience-location {
    padding: 7px 11px;

    white-space: nowrap;

    border-radius: 7px;

    background: var(--surface-alt);

    color: var(--muted);

    font-size: 10px;
    font-weight: 700;
}

.experience-summary {
    margin-top: 18px;

    color: var(--text);

    font-size: 14px;
}

.experience-list {
    display: grid;

    gap: 13px;

    margin-top: 25px;
}

.experience-list li {
    position: relative;

    padding-left: 23px;

    color: var(--muted);

    font-size: 13px;
}

.experience-list li::before {
    content: "";

    position: absolute;

    top: 9px;
    left: 0;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--accent);
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 27px;
    padding-top: 22px;

    border-top: 1px solid var(--border);
}

.experience-tech span {
    padding: 6px 10px;

    border-radius: 6px;

    background: #f3f4fa;

    color: var(--navy-light);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   EDUCATION
========================================================= */

.education-section {
    background: var(--surface-alt);
}

.education-layout {
    display: grid;

    grid-template-columns: 0.75fr 1.25fr;

    gap: 90px;

    align-items: start;
}

.education-content {
    display: grid;
    gap: 20px;
}

.education-card,
.credentials-card {
    border: 1px solid var(--border);
    border-radius: 20px;

    background: #fff;

    box-shadow: var(--shadow-sm);
}

.education-card {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    padding: 30px;
}

.education-icon {
    width: 55px;
    height: 55px;

    flex: 0 0 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(102, 84, 246, 0.1);

    color: var(--accent);

    font-size: 13px;
    font-weight: 800;
}

.education-type {
    color: var(--accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.education-card h3 {
    margin-top: 5px;

    color: var(--navy);

    font-size: 20px;
}

.education-card p {
    margin-top: 6px;

    color: var(--muted);

    font-size: 12px;
}

.credentials-card {
    padding: 32px;
}

.credentials-heading {
    display: flex;
    align-items: center;

    gap: 15px;

    padding-bottom: 23px;

    border-bottom: 1px solid var(--border);
}

.mini-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(60, 128, 255, 0.09);

    color: var(--cyan);

    font-weight: 800;
}

.credentials-heading h3 {
    margin-top: 3px;

    color: var(--navy);

    font-size: 19px;
}

.credential-item {
    display: grid;

    grid-template-columns: 35px 1fr;

    gap: 15px;

    padding: 22px 0;

    border-bottom: 1px solid var(--border);
}

.credential-item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.credential-number {
    color: #b1b7c6;

    font-size: 11px;
    font-weight: 800;
}

.credential-item strong {
    display: block;

    color: var(--navy);

    font-size: 13px;
}

.credential-item small {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 100px 0;

    background: #fff;
}

.contact-card {
    position: relative;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;

    overflow: hidden;

    padding: 65px;

    border-radius: 28px;

    background:
        linear-gradient(
            120deg,
            var(--navy) 0%,
            #172247 100%
        );

    box-shadow: var(--shadow-lg);
}

.contact-glow {
    position: absolute;

    width: 400px;
    height: 400px;

    right: -150px;
    top: -200px;

    border-radius: 50%;

    background: rgba(102, 84, 246, 0.28);

    filter: blur(2px);

    pointer-events: none;
}

.light-label {
    color: #a9a0ff;
}

.light-label::before {
    background: #a9a0ff;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    max-width: 650px;

    margin-top: 17px;

    color: #fff;

    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15;
}

.contact-content h2 span {
    color: #a99fff;
}

.contact-content p {
    max-width: 570px;

    margin-top: 18px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 14px;
}

.contact-actions {
    position: relative;
    z-index: 2;

    display: grid;
    align-content: center;

    gap: 12px;
}

.contact-button {
    display: grid;

    grid-template-columns: 43px 1fr auto;

    align-items: center;

    gap: 13px;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.06);

    color: #fff;

    transition: var(--transition);
}

.contact-button:hover {
    border-color: rgba(255, 255, 255, 0.2);

    background: rgba(255, 255, 255, 0.1);

    transform: translateY(-3px);
}

.contact-button-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(102, 84, 246, 0.25);

    color: #b8adff;

    font-size: 15px;
    font-weight: 800;
}

.linkedin-icon {
    background: rgba(60, 128, 255, 0.2);
    color: #8eb6ff;
}

.contact-button small {
    display: block;

    margin-bottom: 1px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-button span:not(.contact-button-icon) {
    min-width: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 12px;
    font-weight: 600;
}

.contact-button strong {
    color: rgba(255, 255, 255, 0.5);

    font-size: 18px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 25px 0;

    border-top: 1px solid var(--border);

    background: #fff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-inner p {
    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero-container {
        grid-template-columns: 1fr 0.8fr;

        gap: 40px;
    }

    .hero-content h1 {
        font-size: 58px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 50px;
    }

    .education-layout {
        gap: 50px;
    }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 850px) {

    .navbar {
        min-height: 72px;
    }

    .brand-logo {
        width: 135px;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;

        top: calc(100% + 1px);
        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px;

        border: 1px solid var(--border);
        border-radius: 14px;

        background: #fff;

        box-shadow: var(--shadow-lg);
    }

    .primary-nav.open {
        display: flex;
    }

    .primary-nav > a:not(.nav-cta) {
        padding: 13px 12px;
    }

    .primary-nav > a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        justify-content: center;

        margin-top: 7px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        max-width: 100%;

        text-align: center;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        min-height: 430px;
    }

    .section-intro {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .education-layout {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, var(--container));
    }

    .section {
        padding: 80px 0;
    }

    .hero-section {
        min-height: auto;

        padding: 120px 0 70px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 12vw, 55px);
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 0.13em;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 15px;

        margin-top: 38px;
    }

    .trust-divider {
        height: 30px;
    }

    .trust-item strong {
        font-size: 18px;
    }

    .trust-item span {
        font-size: 9px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-card-main {
        height: 320px;
    }

    .code-window {
        width: 100%;
        max-width: 350px;
    }

    .code-content {
        min-height: 250px;

        padding: 20px;

        font-size: 10px;
    }

    .floating-card {
        padding: 9px 11px;
    }

    .floating-card-one {
        top: 5px;
        left: -5px;
    }

    .floating-card-two {
        right: -5px;
        bottom: 5px;
    }

    .floating-icon {
        width: 31px;
        height: 31px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card div:last-child span {
        font-size: 8px;
    }

    .orbit-one {
        width: 340px;
        height: 340px;
    }

    .orbit-two {
        width: 400px;
        height: 400px;
    }

    .section-heading.centered {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .section-intro h2 {
        font-size: 37px;
    }

    .about-content .large-text {
        font-size: 18px;
    }

    .about-feature-card {
        padding: 30px;
    }

    .about-feature-card h3 {
        font-size: 29px;
    }

    .skills-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .skill-card {
        padding: 25px;
    }

    .experience-timeline {
        margin-top: 45px;
    }

    .experience-item {
        display: block;

        padding-left: 25px;
        padding-bottom: 45px;
    }

    .timeline-line {
        left: 5px;
        top: 20px;
    }

    .timeline-dot {
        left: -1px;
        top: 13px;
    }

    .experience-date {
        padding-bottom: 14px;

        font-size: 10px;
    }

    .experience-card {
        padding: 25px 20px;
    }

    .experience-header {
        display: block;
    }

    .experience-header h3 {
        font-size: 21px;
    }

    .experience-location {
        display: inline-block;

        margin-top: 12px;
    }

    .education-card {
        padding: 25px 20px;
    }

    .credentials-card {
        padding: 25px 20px;
    }

    .contact-section {
        padding: 70px 0;
    }

    .contact-card {
        padding: 38px 25px;

        border-radius: 22px;

        gap: 35px;
    }

    .contact-content h2 {
        font-size: 35px;
    }

    .contact-button {
        grid-template-columns: 38px 1fr auto;

        padding: 11px;
    }

    .contact-button-icon {
        width: 38px;
        height: 38px;
    }

    .contact-button span:not(.contact-button-icon) {
        font-size: 10px;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-trust {
        gap: 10px;
    }

    .trust-divider {
        height: 25px;
    }

    .trust-item strong {
        font-size: 16px;
    }

    .trust-item span {
        font-size: 8px;
    }

    .code-content {
        font-size: 9px;
    }

    .floating-card-one {
        left: -8px;
    }

    .floating-card-two {
        right: -8px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

} 

/* =========================================================
   FAQ SECTION
========================================================= */

.faq-section {
    position: relative;
    background: var(--surface-alt);
    overflow: hidden;
}


/* FAQ heading */

.faq-section .section-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 55px;
}

.faq-section .section-heading p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}


/* FAQ list */

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* FAQ item */

.faq-item {
    position: relative;
    padding: 30px 34px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Left accent */

.faq-item::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(
        180deg,
        var(--accent),
        var(--cyan)
    );
    opacity: 0;
    transform: scaleY(0.5);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* Hover */

.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 84, 246, 0.22);
    box-shadow: var(--shadow-md);
}


.faq-item:hover::before {
    opacity: 1;
    transform: scaleY(1);
}


/* Question */

.faq-item h3 {
    position: relative;
    margin: 0 0 13px;
    padding-left: 34px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.45;
    font-weight: 700;
}


/* Question icon */

.faq-item h3::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 1px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(102, 84, 246, 0.10);
    color: var(--accent);

    font-size: 14px;
    font-weight: 800;
}


/* Answer */

.faq-item p {
    margin: 0;
    padding-left: 34px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   FAQ RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .faq-section .section-heading {
        margin-bottom: 38px;
    }

    .faq-list {
        gap: 14px;
    }

    .faq-item {
        padding: 24px 22px;
        border-radius: 16px;
    }

    .faq-item::before {
        top: 18px;
        bottom: 18px;
    }

    .faq-item h3 {
        padding-left: 31px;
        font-size: 17px;
        line-height: 1.5;
    }

    .faq-item p {
        padding-left: 31px;
        font-size: 14px;
        line-height: 1.75;
    }

    .faq-item h3::before {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }

}


@media (max-width: 480px) {

    .faq-item {
        padding: 20px 18px;
    }

    .faq-item h3 {
        padding-left: 29px;
        font-size: 16px;
    }

    .faq-item p {
        padding-left: 29px;
        font-size: 14px;
        line-height: 1.7;
    }

}