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

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

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

:root {

    --primary: #0a2342;
    --primary-light: #123a6b;

    --blue: #155eef;
    --blue-light: #eaf2ff;

    --teal: #008c95;
    --green: #00b67a;

    --text: #14213d;
    --text-light: #64748b;

    --white: #ffffff;
    --background: #ffffff;
    --gray-bg: #f7f9fc;

    --border: #e5eaf1;

    --shadow:
        0 10px 35px rgba(15, 39, 71, 0.07);

    --shadow-hover:
        0 20px 50px rgba(15, 39, 71, 0.13);

    --radius: 16px;

    --transition: 0.3s ease;
}

body.dark {

    --background: #08111f;
    --gray-bg: #0d1929;

    --white: #101d30;

    --text: #f1f5f9;
    --text-light: #a8b4c5;

    --border: #1e3047;

    --primary: #dce8ff;

    background: var(--background);
    color: var(--text);
}

body {
    font-family: "Inter", sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

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

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

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1380px, 92%);
    margin: auto;
}

.section {
    padding: 110px 0;
}

.gray-section {
    background: var(--gray-bg);
}


/* =========================================================
   LOADER
========================================================= */

.loader {
    position: fixed;

    inset: 0;

    background: #ffffff;

    z-index: 99999;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 80px;
    height: 80px;

    border-radius: 20px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            #0a2342,
            #155eef
        );

    color: #ffffff;

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

    box-shadow:
        0 20px 50px rgba(21, 94, 239, 0.25);
}

.loader-line {
    width: 100px;
    height: 3px;

    background: #e5eaf1;

    margin-top: 25px;

    overflow: hidden;

    position: relative;
}

.loader-line::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    height: 100%;
    width: 50%;

    background: #155eef;

    animation: loading 1s infinite;
}

@keyframes loading {

    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 76px;

    z-index: 1000;

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

    border-bottom:
        1px solid rgba(229, 234, 241, 0.7);

    backdrop-filter: blur(18px);

    transition: var(--transition);
}

body.dark .navbar {
    background:
        rgba(8, 17, 31, 0.92);
}

.navbar.scrolled {
    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.06);
}

.nav-wrapper {
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;

    border-radius: 9px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            #0a2342,
            #155eef
        );

    color: white;

    font-family: "Manrope", sans-serif;

    font-weight: 800;

    font-size: 16px;

    position: relative;

    overflow: hidden;
}

.brand-logo::before {
    content: "";

    position: absolute;

    width: 35px;
    height: 5px;

    background: #00b67a;

    transform: rotate(-35deg);

    top: 12px;
    left: 8px;

    opacity: 0.8;
}

.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1.05;
}

.brand-text strong {
    font-family: "Manrope", sans-serif;

    letter-spacing: 0.5px;

    font-size: 16px;
}

.brand-text span {
    font-size: 10px;

    letter-spacing: 3px;

    color: var(--text-light);

    margin-top: 4px;
}

.nav-menu {
    display: flex;

    align-items: center;

    gap: 26px;
}

.nav-link {
    font-size: 13px;

    font-weight: 600;

    color: var(--text);

    position: relative;

    padding: 29px 0;

    transition: var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--blue);

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;

    align-items: center;

    gap: 12px;
}

.btn {
    min-height: 48px;

    padding: 0 23px;

    border-radius: 9px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 1px solid transparent;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            #0a2342,
            #155eef
        );

    color: white;

    box-shadow:
        0 10px 25px rgba(21, 94, 239, 0.18);
}

.btn-primary:hover {
    box-shadow:
        0 15px 35px rgba(21, 94, 239, 0.28);
}

.btn-outline {
    background: transparent;

    color: var(--primary);

    border-color: #aebdce;
}

.btn-outline:hover {
    border-color: var(--blue);

    color: var(--blue);

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

.theme-btn {
    width: 44px;
    height: 44px;

    border-radius: 50%;

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

    background: var(--background);

    color: var(--text);

    display: grid;

    place-items: center;

    transition: var(--transition);
}

.theme-btn:hover {
    color: var(--blue);

    border-color: var(--blue);
}

.mobile-menu {
    display: none;

    width: 44px;
    height: 44px;

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

    background: var(--background);

    border-radius: 8px;

    color: var(--text);
}


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

.hero {
    padding-top: 160px;

    min-height: 800px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(21, 94, 239, 0.08),
            transparent 30%
        );
}

.hero-grid {
    min-height: 510px;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 60px;
}

.eyebrow {
    display: inline-block;

    color: var(--blue);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 15px;
}

.hero h1 {
    font-family: "Manrope", sans-serif;

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

    line-height: 0.98;

    letter-spacing: -3px;

    color: var(--primary);

    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--blue);
}

.hero h2 {
    font-size: 22px;

    color: var(--blue);

    margin-bottom: 20px;
}

.hero h2 span {
    color: var(--text-light);

    padding: 0 7px;
}

.hero-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 22px;
}

.hero-tech span,
.tag-list span,
.footer-tags span {
    padding: 6px 11px;

    border-radius: 7px;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 11px;

    font-weight: 700;
}

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

    color: var(--text-light);

    font-size: 16px;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.hero-social {
    display: flex;

    gap: 10px;

    margin-top: 30px;
}

.hero-social a {
    width: 40px;
    height: 40px;

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

    border-radius: 9px;

    display: grid;

    place-items: center;

    transition: var(--transition);
}

.hero-social a:hover {
    color: white;

    background: var(--blue);

    border-color: var(--blue);

    transform: translateY(-3px);
}


/* HERO VISUAL */

.hero-visual {
    position: relative;

    height: 540px;

    display: flex;

    justify-content: center;

    align-items: center;
}

.portrait-ring {
    width: 440px;
    height: 440px;

    border-radius: 50%;

    padding: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(21, 94, 239, 0.05),
            rgba(0, 182, 122, 0.12)
        );

    box-shadow:
        0 0 0 10px rgba(21, 94, 239, 0.03),
        0 30px 80px rgba(21, 94, 239, 0.12);

    position: relative;

    z-index: 2;
}

.portrait {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    overflow: hidden;

    background: #eef4fb;

    border: 8px solid white;
}

.portrait img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.floating-card {
    position: absolute;

    z-index: 5;

    padding: 15px 20px;

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

    border:
        1px solid rgba(229,234,241,0.9);

    box-shadow: var(--shadow);

    border-radius: 14px;

    display: flex;

    align-items: center;

    gap: 10px;

    backdrop-filter: blur(10px);
}

.floating-card strong {
    font-size: 24px;

    color: var(--primary);
}

.floating-card span {
    font-size: 11px;

    color: var(--text-light);

    line-height: 1.3;
}

.experience-card {
    top: 70px;
    right: 20px;
}

.project-card {
    left: 15px;
    bottom: 90px;
}

.problem-card {
    right: 20px;
    bottom: 110px;
}

.problem-card i {
    color: var(--blue);

    font-size: 20px;
}

.hero-dots {
    position: absolute;

    width: 80px;
    height: 80px;

    background-image:
        radial-gradient(
            var(--blue) 1.5px,
            transparent 1.5px
        );

    background-size: 16px 16px;

    opacity: 0.7;
}

.dots-one {
    top: 60px;
    left: 40px;
}

.dots-two {
    right: 0;
    bottom: 70px;
}


/* =========================================================
   STATS
========================================================= */

.stats-bar {
    margin-top: 20px;

    display: grid;

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

    background: var(--background);

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

    border-radius: 16px;

    box-shadow: var(--shadow);

    overflow: hidden;
}

.stat {
    padding: 24px;

    display: flex;

    align-items: center;

    gap: 14px;

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

.stat:last-child {
    border-right: none;
}

.stat-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--blue-light);

    color: var(--blue);

    display: grid;

    place-items: center;
}

.stat strong {
    font-family: "Manrope", sans-serif;

    font-size: 25px;

    color: var(--primary);
}

.stat b {
    color: var(--blue);
}

.stat span {
    display: block;

    color: var(--text-light);

    font-size: 11px;

    margin-top: -3px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    margin-bottom: 50px;

    position: relative;
}

.section-heading h2,
.contact-heading h2 {
    font-family: "Manrope", sans-serif;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.1;

    letter-spacing: -1.5px;

    color: var(--primary);

    margin-bottom: 15px;
}

.section-heading h2 span {
    color: var(--blue);
}

.section-heading p {
    max-width: 650px;

    color: var(--text-light);
}

.section-heading::after,
.contact-heading::after {
    content: "";

    display: block;

    width: 45px;
    height: 3px;

    background: var(--blue);

    margin-top: 18px;
}


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

.about-section {
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    gap: 70px;

    align-items: center;
}

.about-text > p {
    color: var(--text-light);

    margin-bottom: 16px;

    font-size: 15px;
}

.about-details {
    display: grid;

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

    gap: 14px;

    margin: 30px 0;
}

.about-details > div {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

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

    border-radius: 10px;

    background: var(--background);
}

.about-details i {
    color: var(--blue);

    width: 25px;
}

.about-details span {
    display: flex;

    flex-direction: column;

    font-size: 12px;

    font-weight: 600;
}

.about-details small {
    color: var(--text-light);

    font-size: 10px;

    font-weight: 500;

    margin-bottom: 2px;
}

.about-details em {
    color: var(--green);

    font-style: normal;
}

.about-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.about-image {
    position: relative;
}

.image-frame {
    width: 100%;

    max-width: 440px;

    aspect-ratio: 0.85;

    margin-left: auto;

    border-radius: 22px;

    overflow: hidden;

    background: #eef4fb;

    border: 8px solid var(--background);

    box-shadow:
        0 25px 70px rgba(15, 39, 71, 0.14);

    position: relative;
}

.image-frame::before {
    content: "";

    position: absolute;

    inset: 0;

    border: 1px solid rgba(21, 94, 239, 0.2);

    z-index: 2;

    border-radius: 15px;
}

.image-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.signature {
    position: absolute;

    bottom: 25px;
    right: 20px;

    font-family: cursive;

    font-size: 22px;

    color: white;

    text-shadow:
        0 2px 8px rgba(0,0,0,0.4);

    z-index: 3;
}

.sub-heading {
    margin: 100px 0 30px;
}

.sub-heading span {
    color: var(--blue);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.sub-heading h3 {
    font-family: "Manrope", sans-serif;

    font-size: 28px;

    margin-top: 8px;
}

.service-grid {
    display: grid;

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

    gap: 18px;
}

.service-card {
    padding: 28px;

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

    border-radius: 16px;

    background: var(--background);

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);

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

    border-color: rgba(21, 94, 239, 0.25);
}

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

    border-radius: 12px;

    display: grid;

    place-items: center;

    background: #eaf2ff;

    color: #155eef;

    font-size: 19px;

    margin-bottom: 18px;
}

.service-icon.green {
    color: #00a878;
    background: #e8faf4;
}

.service-icon.purple {
    color: #7c3aed;
    background: #f1eafe;
}

.service-icon.orange {
    color: #f59e0b;
    background: #fff5df;
}

.service-icon.pink {
    color: #db2777;
    background: #fce8f2;
}

.service-icon.teal {
    color: #008c95;
    background: #e5f8fa;
}

.service-card h4 {
    font-family: "Manrope", sans-serif;

    font-size: 16px;

    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-light);

    font-size: 13px;
}


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

.skills-layout {
    display: grid;

    grid-template-columns:
        1.4fr
        0.6fr;

    gap: 24px;
}

.skills-card {
    display: grid;

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

    gap: 28px 45px;

    padding: 35px;

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

    background: var(--background);

    border-radius: 18px;

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

.skill-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 9px;
}

.skill-top span {
    font-size: 13px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 9px;
}

.skill-top i {
    color: var(--blue);

    font-size: 17px;
}

.skill-top strong {
    font-size: 11px;

    color: var(--text-light);
}

.progress {
    height: 6px;

    border-radius: 20px;

    background: #e7ebf0;

    overflow: hidden;
}

.progress span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #155eef,
            #00aef0
        );

    animation:
        progressAnimation 1.5s ease forwards;
}

@keyframes progressAnimation {

    from {
        width: 0 !important;
    }

}

.skills-side {
    padding: 30px;

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

    background: var(--background);

    border-radius: 18px;

    box-shadow: var(--shadow);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;
}

.skills-circle {
    width: 170px;
    height: 170px;

    flex-shrink: 0;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background:
        conic-gradient(
            #155eef 0 80%,
            #e8eef7 80% 100%
        );

    position: relative;
}

.skills-circle::before {
    content: "";

    position: absolute;

    inset: 9px;

    background: var(--background);

    border-radius: 50%;
}

.skills-circle > div {
    position: relative;

    text-align: center;
}

.skills-circle strong {
    display: block;

    color: var(--blue);

    font-size: 20px;

    margin-bottom: 4px;
}

.skills-circle span {
    font-size: 12px;

    font-weight: 700;

    line-height: 1.2;
}

.achievement-list {
    display: grid;

    gap: 17px;
}

.achievement-list div {
    display: flex;

    flex-direction: column;
}

.achievement-list strong {
    font-size: 20px;

    color: var(--primary);
}

.achievement-list span {
    font-size: 11px;

    color: var(--text-light);
}


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

.experience-grid {
    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    gap: 70px;
}

.timeline {
    position: relative;

    padding-left: 35px;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 7px;

    top: 10px;

    bottom: 10px;

    width: 2px;

    background:
        linear-gradient(
            #155eef,
            #dce8ff
        );
}

.timeline-item {
    position: relative;

    padding-bottom: 50px;
}

.timeline-dot {
    position: absolute;

    left: -35px;

    top: 7px;

    width: 16px;
    height: 16px;

    background: var(--background);

    border: 4px solid var(--blue);

    border-radius: 50%;

    z-index: 2;
}

.timeline-date {
    color: var(--blue);

    font-size: 12px;

    font-weight: 800;
}

.timeline-item h3 {
    font-family: "Manrope", sans-serif;

    font-size: 20px;

    margin: 5px 0;
}

.timeline-item h4 {
    font-size: 13px;

    color: var(--blue);

    margin-bottom: 10px;
}

.timeline-item p {
    color: var(--text-light);

    font-size: 13px;

    max-width: 650px;
}

.tag-list {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 15px;
}

.experience-side {
    display: grid;

    gap: 15px;

    align-content: start;
}

.side-card {
    padding: 28px;

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

    border-radius: 15px;

    background: var(--background);

    transition: var(--transition);
}

.side-card:hover {
    transform: translateX(6px);

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

.side-card i {
    color: var(--blue);

    font-size: 25px;

    margin-bottom: 14px;
}

.side-card h3 {
    font-size: 17px;

    margin-bottom: 6px;
}

.side-card p {
    font-size: 13px;

    color: var(--text-light);
}


/* =========================================================
   PROJECTS
========================================================= */

.project-heading {
    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 30px;
}

.project-grid {
    display: grid;

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

    gap: 25px;
}

.project-card {
    overflow: hidden;

    background: var(--background);

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

    border-radius: 17px;

    box-shadow: var(--shadow);

    transition: var(--transition);
}

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

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

.project-image {
    height: 220px;

    position: relative;

    overflow: hidden;

    background: #eef4fb;
}

.project-number {
    position: absolute;

    right: 15px;
    top: 15px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

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

    color: var(--primary);

    display: grid;

    place-items: center;

    font-size: 12px;

    font-weight: 800;
}


/* FAKE ECOMMERCE */

.fake-dashboard {
    position: absolute;

    inset: 20px 35px;

    background: white;

    border-radius: 8px;

    display: flex;

    overflow: hidden;

    box-shadow:
        0 15px 30px rgba(0,0,0,.12);
}

.fake-sidebar {
    width: 28%;

    background: #0a2342;
}

.fake-content {
    flex: 1;

    padding: 15px;
}

.fake-banner {
    height: 50px;

    border-radius: 5px;

    background:
        linear-gradient(
            135deg,
            #eaf2ff,
            #cce0ff
        );

    margin-bottom: 15px;
}

.fake-products {
    display: grid;

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

    gap: 8px;
}

.fake-products span {
    height: 75px;

    background: #f2f5f9;

    border-radius: 5px;
}


/* BOOK */

.book-dashboard {
    position: absolute;

    inset: 20px 30px;

    background: white;

    border-radius: 8px;

    display: flex;

    overflow: hidden;

    box-shadow:
        0 15px 30px rgba(0,0,0,.12);
}

.book-sidebar {
    width: 24%;

    background:
        linear-gradient(
            #0a2342,
            #123a6b
        );
}

.book-table {
    flex: 1;

    padding: 16px;
}

.book-table div {
    height: 25px;

    margin-bottom: 9px;

    border-radius: 4px;

    background: #edf2f7;
}

.book-table div:first-child {
    background: #d9e7fb;
}


/* PAYROLL */

.payroll-dashboard {
    position: absolute;

    inset: 20px 30px;

    background: white;

    border-radius: 8px;

    display: flex;

    overflow: hidden;

    box-shadow:
        0 15px 30px rgba(0,0,0,.12);
}

.payroll-sidebar {
    width: 22%;

    background: #14213d;
}

.payroll-main {
    flex: 1;

    padding: 13px;
}

.payroll-stats {
    display: grid;

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

    gap: 7px;
}

.payroll-stats span {
    height: 35px;

    background: #edf2f7;

    border-radius: 4px;
}

.payroll-chart {
    height: 95px;

    margin-top: 10px;

    border-radius: 5px;

    background:
        linear-gradient(
            170deg,
            transparent 45%,
            #155eef 46%,
            #155eef 49%,
            transparent 50%
        ),
        #f4f7fb;
}

.project-body {
    padding: 25px;
}

.project-icon {
    width: 45px;
    height: 45px;

    border-radius: 12px;

    background: #eaf2ff;

    color: var(--blue);

    display: grid;

    place-items: center;

    margin-bottom: 16px;
}

.project-icon.green {
    color: #00a878;
    background: #e8faf4;
}

.project-icon.purple {
    color: #7c3aed;
    background: #f1eafe;
}

.project-body h3 {
    font-family: "Manrope", sans-serif;

    font-size: 18px;

    margin-bottom: 9px;
}

.project-body p {
    font-size: 13px;

    color: var(--text-light);

    min-height: 62px;
}

.project-links {
    display: flex;

    justify-content: space-between;

    align-items: center;

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

    margin-top: 22px;

    padding-top: 17px;
}

.project-links a {
    font-size: 12px;

    font-weight: 700;

    color: var(--primary);

    display: flex;

    align-items: center;

    gap: 8px;
}

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


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

.education-grid {
    display: grid;

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

    gap: 20px;
}

.education-card {
    padding: 28px;

    display: flex;

    gap: 18px;

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

    border-radius: 16px;

    background: var(--background);

    transition: var(--transition);
}

.education-card:hover {
    transform: translateY(-5px);

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

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

    flex-shrink: 0;

    border-radius: 12px;

    background: var(--blue-light);

    color: var(--blue);

    display: grid;

    place-items: center;
}

.education-year {
    font-size: 11px;

    font-weight: 800;

    color: var(--blue);
}

.education-card h3 {
    font-size: 16px;

    margin: 5px 0;
}

.education-card p {
    font-size: 12px;

    color: var(--blue);

    margin-bottom: 5px;
}

.education-card small {
    color: var(--text-light);

    font-size: 11px;
}


/* =========================================================
   CERTIFICATIONS
========================================================= */

.certification-grid {
    display: grid;

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

    gap: 18px;
}

.cert-card {
    padding: 25px;

    display: flex;

    align-items: center;

    gap: 18px;

    background: var(--background);

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

    border-radius: 15px;

    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);

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

.cert-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 12px;

    background: var(--blue-light);

    color: var(--blue);

    display: grid;

    place-items: center;

    font-size: 19px;
}

.cert-card h3 {
    font-size: 16px;

    margin-bottom: 3px;
}

.cert-card span {
    color: var(--blue);

    font-size: 11px;

    font-weight: 700;
}

.cert-card p {
    color: var(--text-light);

    font-size: 12px;

    margin-top: 4px;
}


/* =========================================================
   ACHIEVEMENTS
========================================================= */

.achievement-grid {
    display: grid;

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

    gap: 18px;
}

.achievement-card {
    padding: 35px 25px;

    text-align: center;

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

    border-radius: 16px;

    background: var(--background);

    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);

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

.achievement-big {
    font-family: "Manrope", sans-serif;

    color: var(--blue);

    font-size: 40px;

    font-weight: 800;

    margin-bottom: 8px;
}

.achievement-card h3 {
    font-size: 16px;

    margin-bottom: 6px;
}

.achievement-card p {
    color: var(--text-light);

    font-size: 12px;
}


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

.contact-section {
    background:
        linear-gradient(
            180deg,
            var(--gray-bg),
            var(--background)
        );
}

.contact-heading {
    max-width: 700px;

    margin-bottom: 50px;
}

.contact-heading p {
    color: var(--text-light);

    max-width: 600px;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        0.75fr
        1.25fr;

    gap: 25px;

    align-items: start;
}

.contact-info {
    display: grid;

    gap: 14px;
}

.contact-info-card {
    display: flex;

    gap: 16px;

    padding: 22px;

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

    background: var(--background);

    border-radius: 15px;

    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(5px);

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

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

    flex-shrink: 0;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--blue-light);

    color: var(--blue);
}

.contact-info-card h4 {
    font-size: 14px;

    margin-bottom: 3px;
}

.contact-info-card a,
.contact-info-card span {
    font-size: 12px;

    font-weight: 600;

    color: var(--primary);
}

.contact-info-card a:hover {
    color: var(--blue);
}

.contact-info-card p {
    font-size: 11px;

    color: var(--text-light);

    margin-top: 3px;
}

.contact-social {
    padding: 20px;

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

    border-radius: 15px;

    background: var(--background);

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.contact-social > span {
    font-size: 13px;

    font-weight: 700;
}

.contact-social div {
    display: flex;

    gap: 8px;
}

.contact-social a {
    width: 38px;
    height: 38px;

    border-radius: 8px;

    background: var(--blue-light);

    color: var(--blue);

    display: grid;

    place-items: center;

    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--blue);

    color: white;
}

.contact-form {
    padding: 35px;

    background: var(--background);

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

    border-radius: 18px;

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

.form-heading {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 30px;
}

.form-icon {
    width: 50px;
    height: 50px;

    border-radius: 12px;

    background: var(--blue-light);

    color: var(--blue);

    display: grid;

    place-items: center;

    font-size: 19px;
}

.form-heading h3 {
    font-family: "Manrope", sans-serif;

    font-size: 20px;
}

.form-heading p {
    font-size: 12px;

    color: var(--text-light);
}

.form-row {
    display: grid;

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

    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;

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

    border-radius: 9px;

    background: var(--background);

    color: var(--text);

    padding: 14px;

    outline: none;

    font-size: 13px;

    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(21,94,239,.08);
}

.form-group textarea {
    resize: vertical;

    min-height: 140px;
}

.form-submit {
    border: none;

    width: 180px;
}

.form-note {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-left: 15px;

    color: var(--text-light);

    font-size: 11px;
}

.form-note i {
    color: var(--green);
}

.contact-strip {
    margin-top: 25px;

    padding: 25px;

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

    border-radius: 16px;

    background: var(--background);

    display: grid;

    grid-template-columns:
        1.3fr
        1.2fr
        1.2fr
        auto;

    gap: 25px;

    align-items: center;
}

.contact-strip > div {
    display: flex;

    align-items: center;

    gap: 13px;
}

.contact-strip > div > i {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--blue-light);

    color: var(--blue);

    display: grid;

    place-items: center;
}

.contact-strip strong {
    display: block;

    font-size: 12px;
}

.contact-strip span {
    display: block;

    color: var(--text-light);

    font-size: 10px;
}


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

.footer {
    background:
        linear-gradient(
            135deg,
            #06162e,
            #0a2342
        );

    color: #ffffff;

    padding-top: 65px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.3fr
        0.7fr
        1.2fr
        1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer-brand h4 {
    font-size: 13px;

    margin: 18px 0 10px;
}

.footer-brand p {
    color: #aebdd0;

    font-size: 12px;

    max-width: 320px;
}

.footer-logo {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-logo .brand-logo {
    background: white;

    color: #0a2342;
}

.footer-logo .brand-text strong {
    color: white;
}

.footer-logo .brand-text span {
    color: #8fa4bf;
}

.footer-social {
    display: flex;

    gap: 8px;

    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;

    border-radius: 8px;

    background:
        rgba(255,255,255,.08);

    display: grid;

    place-items: center;

    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--blue);

    transform: translateY(-3px);
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-column h4 {
    font-family: "Manrope", sans-serif;

    font-size: 14px;

    margin-bottom: 17px;
}

.footer-column > a {
    color: #aebdd0;

    font-size: 12px;

    margin-bottom: 9px;

    transition: var(--transition);
}

.footer-column > a:hover {
    color: white;

    transform: translateX(4px);
}

.footer-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.footer-tags span {
    background:
        rgba(255,255,255,.06);

    border:
        1px solid rgba(255,255,255,.14);

    color: #dbe7f5;
}

.footer-contact {
    display: grid;

    gap: 13px;
}

.footer-contact span {
    color: #b7c6d8;

    font-size: 11px;

    display: flex;

    align-items: flex-start;

    gap: 9px;
}

.footer-contact i {
    color: #75a7ff;

    width: 15px;

    margin-top: 2px;
}

.footer-resume {
    margin-top: 20px;

    padding: 10px 14px;

    border:
        1px solid rgba(255,255,255,.2);

    border-radius: 8px;

    color: white !important;

    display: inline-flex;

    align-items: center;

    gap: 8px;
}

.footer-bottom {
    border-top:
        1px solid rgba(255,255,255,.1);
}

.footer-bottom-inner {
    min-height: 60px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #8fa4bf;

    font-size: 10px;
}

.footer-bottom b {
    color: #ff5364;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: var(--blue);

    color: white;

    box-shadow:
        0 10px 30px rgba(21,94,239,.3);

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: var(--transition);

    z-index: 900;
}

.back-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   TOAST
========================================================= */

.toast {
    position: fixed;

    bottom: 25px;

    left: 50%;

    transform:
        translate(-50%, 100px);

    padding: 13px 20px;

    background: #0a2342;

    color: white;

    border-radius: 9px;

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 12px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.2);

    opacity: 0;

    transition: .4s ease;

    z-index: 9999;
}

.toast.show {
    opacity: 1;

    transform:
        translate(-50%, 0);
}

.toast i {
    color: #00b67a;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 1200px) {

    .nav-menu {
        gap: 17px;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero-grid {
        gap: 30px;
    }

    .portrait-ring {
        width: 380px;
        height: 380px;
    }

    .skills-side {
        flex-direction: column;
    }

}


@media (max-width: 1050px) {

    .nav-menu {
        position: fixed;

        top: 76px;

        left: 0;
        right: 0;

        background: var(--background);

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

        flex-direction: column;

        padding: 25px;

        gap: 0;

        transform:
            translateY(-130%);

        transition: .3s ease;

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

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;

        padding: 14px 0;
    }

    .mobile-menu {
        display: grid;

        place-items: center;
    }

    .resume-btn span {
        display: none;
    }

    .resume-btn {
        width: 44px;

        padding: 0;
    }

    .hero-grid,
    .about-grid,
    .experience-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

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

    .hero-buttons,
    .hero-social {
        justify-content: center;
    }

    .hero-visual {
        height: 480px;
    }

    .about-image {
        order: -1;
    }

    .image-frame {
        margin: auto;
    }

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

    .skills-side {
        flex-direction: row;
    }

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

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

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

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

}


@media (max-width: 700px) {

    .section {
        padding: 75px 0;
    }

    .container {
        width: min(92%, 560px);
    }

    .brand-text {
        display: none;
    }

    .hero {
        padding-top: 125px;
    }

    .hero h1 {
        font-size: 46px;

        letter-spacing: -2px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .hero-visual {
        height: 390px;
    }

    .portrait-ring {
        width: 290px;
        height: 290px;
    }

    .floating-card {
        padding: 10px 13px;
    }

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

    .experience-card {
        top: 30px;
        right: 0;
    }

    .project-card {
        left: 0;
        bottom: 40px;
    }

    .problem-card {
        right: 0;
        bottom: 50px;
    }

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

    .stat {
        border-bottom: 1px solid var(--border);

        padding: 17px;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

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

    .service-grid,
    .project-grid,
    .education-grid,
    .certification-grid {
        grid-template-columns: 1fr;
    }

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

    .skills-side {
        flex-direction: column;
    }

    .project-heading {
        flex-direction: column;

        align-items: flex-start;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-note {
        display: flex;

        margin: 15px 0 0;
    }

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

    .contact-strip > .btn {
        width: 100%;
    }

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

        gap: 35px;
    }

    .footer-bottom-inner {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        padding: 18px 0;
    }

}


@media (max-width: 430px) {

    .hero h1 {
        font-size: 39px;
    }

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

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;

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

    .stat:last-child {
        border-bottom: none;
    }

    .about-buttons .btn {
        width: 100%;
    }

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

    .contact-form {
        padding: 22px;
    }

}
