@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg: linear-gradient(90deg,rgb(236, 239, 255) 0%, rgb(236, 249, 255) 59%, rgba(224, 230, 255, 1) 100%);;
    --surface: #e7ebf7;
    --surface-hover: #7e90cf;
    --text: #0b002e;
    --muted: #94a3b8;
    --primary: #6366f1;
    --secondary: #22d3ee;
    --border: rgba(17, 3, 35, 0.377);
    --radius: 20px;
    --transition: .3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}







/* =================================
   SPLASH SCREEN
================================= */

.splash-screen {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    z-index: 99999;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: var(--bg);

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

.splash-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* BACKGROUND */

.splash-bg {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(99,102,241,.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(34,211,238,.08),
            transparent 45%
        );

    animation: splashGlow 3s ease-in-out infinite;
}


/* CONTENT */

.splash-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* LOGO */

.splash-logo {
    width: 190px;
    height: 190px;

    display: grid;
    place-items: center;

    position: relative;
    
    opacity: 0;

    transform:
        scale(.45)
        rotate(-12deg);

    animation:
        splashLogoIn 1.1s cubic-bezier(.16,1,.3,1) .15s forwards;
}


/* OUTER GLOW */

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

    position: absolute;
    inset: -20px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    filter: blur(45px);

    opacity: .22;

    animation: logoGlow 2.5s ease-in-out infinite;
}


/* RING */

.splash-logo::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

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

    box-shadow:
        0 0 0 10px rgba(99,102,241,.025),
        0 0 50px rgba(99,102,241,.12);
}


/* IMAGE */

.splash-logo img {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;

    filter:
        drop-shadow(0 20px 35px rgba(0,0,0,.4));
}


/* NAME */

.splash-name {
    margin-top: 28px;

    opacity: 0;

    transform: translateY(18px);

    animation:
        splashTextIn .7s ease .75s forwards;
}

.splash-name h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(1.8rem, 5vw, 2.8rem);

    font-weight: 700;

    letter-spacing: -.045em;

    background:
        linear-gradient(
            90deg,
            var(--text),
            var(--secondary)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.splash-name p {
    margin-top: 5px;

    color: var(--muted);

    font-size: .8rem;

    letter-spacing: .18em;

    text-transform: uppercase;
}


/* LOADER */

.splash-loader {
    width: 130px;
    height: 2px;

    margin-top: 30px;

    overflow: hidden;

    border-radius: 10px;

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

    opacity: 0;

    animation:
        splashLoaderIn .5s ease 1.1s forwards;
}

.splash-loader span {
    display: block;

    width: 40%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

    animation:
        splashLoading 1.3s ease-in-out infinite;
}


/* =================================
   ANIMATIONS
================================= */

@keyframes splashLogoIn {

    0% {
        opacity: 0;

        transform:
            scale(.45)
            rotate(-12deg);
    }

    60% {
        opacity: 1;

        transform:
            scale(1.08)
            rotate(2deg);
    }

    100% {
        opacity: 1;

        transform:
            scale(1)
            rotate(0);
    }
}


@keyframes splashTextIn {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes splashLoaderIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes splashLoading {

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

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


@keyframes splashGlow {

    0%,
    100% {
        opacity: .7;
    }

    50% {
        opacity: 1;
    }
}


@keyframes logoGlow {

    0%,
    100% {
        opacity: .15;
        transform: scale(.9);
    }

    50% {
        opacity: .3;
        transform: scale(1.1);
    }
}


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

@media (max-width: 600px) {

    .splash-logo {
        width: 145px;
        height: 145px;
    }

    .splash-name {
        margin-top: 22px;
    }

    .splash-name h1 {
        font-size: 1.8rem;
    }

    .splash-name p {
        font-size: .65rem;
    }

    .splash-loader {
        width: 105px;
        margin-top: 24px;
    }
}


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

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

    .splash-logo,
    .splash-name,
    .splash-loader,
    .splash-bg,
    .splash-logo::before,
    .splash-loader span {
        animation: none;
    }

    .splash-logo {
        opacity: 1;
        transform: none;
    }

    .splash-name,
    .splash-loader {
        opacity: 1;
        transform: none;
    }
}




















body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

/* NAVBAR */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    width: min(var(--max-width), 92%);
    margin: 18px auto;
    padding: 5px 10px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
}

nav {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 50%;
}

.logo-img:hover {
    transform: scale(1.06);
}

.logo h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(
        90deg,
        rgb(1, 1, 74),
        rgb(18, 0, 54)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu a {
    display: block;
    padding: 10px 15px;
    color: var(--muted);
    font-weight: 600;
    font-size: .92rem;
    border-radius: 10px;
    transition: var(--transition);
}

.menu a:hover,
.menu.is-active a {
    color: var(--text);
    background: var(--surface-hover);
}

/* RESUME */
.menu.resume a {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 18px;
}

.menu.resume a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* MOBILE BUTTON */
.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* MOBILE */
@media (max-width: 768px) {

    nav {
    min-height: 45px; 
   }

    .navbar {
        margin: 10px auto;
        padding: 5px 10px;
    }

    .logo-img {
        width: 45px;
        height: 45px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    nav ul {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        padding: 12px;
        margin-top: 0.5rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        backdrop-filter: blur(20px);
    }

    nav ul.active {
        display: flex;
    }

    .menu a {
        text-align: center;
        padding: 13px;
    }

    .menu.resume a {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .logo h3 {
        font-size: .95rem;
    }

    .navbar {
        width: 94%;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }
}





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

.hero {
    min-height: 100vh;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(99, 102, 241, .16),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 70%,
            rgba(34, 211, 238, .08),
            transparent 28%
        );
}

.hero-container {
    width: min(var(--max-width), 92%);
    margin: auto;

    min-height: calc(100vh - 230px);

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;

}


/* LEFT */

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

.hero-badge {
    width: fit-content;

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

    padding: 8px 13px;

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

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

    color: var(--muted);

    font-size: .78rem;
    font-weight: 600;

    margin-bottom: 2px;
}

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

    border-radius: 50%;

    background: #22c55e;

    box-shadow: 0 0 12px #22c55e;
}

.hero-intro {
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

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

    font-size: clamp(3.8rem, 7vw, 6.8rem);

    line-height: .9;

    letter-spacing: -.065em;

    font-weight: 700;

    margin-bottom: 25px;
}

.hero h1 span {
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(1.35rem, 3vw, 2rem);

    font-weight: 600;

    color: var(--text);

    margin-bottom: 18px;
}

.typing-dot {
    color: var(--secondary);
}

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

    color: var(--muted);

    font-size: 1.02rem;

    line-height: 1.8;
}


/* TECHNOLOGIES */

.hero-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 24px;
}

.hero-tech span {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

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

    border-radius: 8px;

    color: var(--muted);

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

    font-size: .75rem;

    transition: var(--transition);
}

.hero-tech span:hover {
    color: var(--text);
    border-color: rgba(99,102,241,.5);
    transform: translateY(-2px);
}

.hero-tech i {
    color: var(--secondary);
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 30px;
}

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

    padding: 13px 19px;

    border-radius: 11px;

    font-size: .9rem;
    font-weight: 700;

    transition: var(--transition);
}

.hero-btn.primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #4f8cff
        );

    box-shadow:
        0 12px 30px rgba(99,102,241,.25);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(99,102,241,.35);
}

.hero-btn.secondary {
    border: 1px solid var(--border);

    background: var(--surface);

    color: var(--text);
}

.hero-btn.secondary:hover {
    background: var(--surface-hover);

    transform: translateY(-3px);
}


/* SOCIAL */

.hero-social {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 27px;
}

.hero-social span {
    color: var(--muted);
    font-size: .78rem;
    margin-right: 5px;
}

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

    display: grid;
    place-items: center;

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

    color: var(--muted);

    transition: var(--transition);
}

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

    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-3px);
}


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

.hero-visual {
    min-height: 560px;

    display: grid;
    place-items: center;

    position: relative;
}

.hero-glow {
    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    filter: blur(100px);

    opacity: .16;
}


/* IMAGE */

.hero-image-wrapper {
    width: min(450px, 80vw);
    aspect-ratio: 1;

    position: relative;

    display: grid;
    place-items: center;
}

.hero-ring {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(99,102,241,.25);
}

.ring-one {
    inset: 0;

    animation: rotateRing 20s linear infinite;
}

.ring-two {
    inset: 35px;

    border-color: rgba(34,211,238,.2);

    animation: rotateRingReverse 15s linear infinite;
}

.hero-image {
    width: 75%;
    height: 75%;

    border-radius: 50%;

    overflow: hidden;

    position: relative;
    z-index: 2;

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

    background: var(--surface);

    box-shadow:
        0 30px 80px rgba(0,0,0,.4),
        0 0 50px rgba(99,102,241,.15);
}

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

    object-fit: cover;
}

/* SCROLL */

.scroll-indicator {
    position: absolute;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

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

    color: var(--muted);

    font-size: .72rem;
}

.scroll-indicator i {
    color: var(--secondary);

    animation: scrollArrow 1.5s ease-in-out infinite;
}


/* ANIMATIONS */

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

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

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

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

@keyframes rotateRingReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0);
    }
}

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

    50% {
        transform: translateY(5px);
    }
}


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

@media (max-width: 900px) {

    .hero {
        padding-top: 130px;
    }

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

        text-align: center;

        /* gap: 40px; */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 680px;
    }

    .hero-visual {
        min-height: 480px;

        order: -1;
    }

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

    .hero-buttons{
        display: flex;
        flex-wrap: nowrap;
        height: 3rem;
    }
    .hero-tech,
    .hero-buttons,
    .hero-social {
        justify-content: center;
    }

    .card-code {
        left: 8%;
    }

    .card-stack {
        right: 5%;
    }
}


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

@media (max-width: 600px) {

    .hero {
        padding: 50px 0 70px;
    }

    .hero-container {
        width: 94%;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 17vw, 5rem);
    }

    .hero h2 {
        font-size: 1.35rem;
    }

    .hero-description {
        font-size: .9rem;
        line-height: 1.7;
    }

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

    .hero-image-wrapper {
        width: 310px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-btn {
        flex: 1;
        min-width: 180px;
    }

    .scroll-indicator {
        display: none;
    }
}

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

    .hero-ring,
    .floating-card,
    .scroll-indicator i {
        animation: none;
    }
}









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

#education {
    position: relative;
    overflow: hidden;
}

.edu {
    width: 100%;
}

/* Header */

.edu__head {
    max-width: 720px;
    margin: 0 auto 65px;
    text-align: center;
}

.edu__title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -.05em;
    margin-bottom: 18px;
}

.edu__subtitle {
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.7;
    max-width: 600px;
    margin: auto;
}


/* ================================
   TIMELINE
================================ */

.eduTimeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 10px 0;
}

/* Vertical line */

.eduTimeline::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary),
        var(--secondary),
        transparent
    );
    opacity: .45;
}


/* Timeline item */

.eduItem {
    position: relative;
    padding-left: 82px;
    margin-bottom: 45px;
}

.eduItem:last-child {
    margin-bottom: 0;
}


/* ================================
   MARKER
================================ */

.eduItem__marker {
    position: absolute;
    left: 0;
    top: 5px;

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--bg);

    border: 1px solid rgba(99, 102, 241, .4);

    box-shadow:
        0 0 0 7px rgba(99, 102, 241, .05),
        0 10px 30px rgba(0, 0, 0, .25);

    z-index: 2;
}

.eduItem__icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 50%;

    background: #fff;
}

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

    object-fit: contain;
}


/* Connector */

.eduItem__connector {
    position: absolute;

    left: 64px;
    top: 36px;

    width: 18px;
    height: 1px;

    background: var(--primary);

    opacity: .5;
}


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

.eduCard2 {
    position: relative;

    padding: 28px;

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

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

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

    box-shadow: 0 20px 55px rgba(0,0,0,.18);

    overflow: hidden;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.eduCard2::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    top: -90px;

    border-radius: 50%;

    background: var(--primary);

    filter: blur(80px);

    opacity: .08;

    pointer-events: none;
}

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

    border-color: rgba(99, 102, 241, .35);

    box-shadow:
        0 25px 65px rgba(0,0,0,.28),
        0 0 35px rgba(99,102,241,.06);
}


/* ================================
   TOP META
================================ */

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

    gap: 15px;

    margin-bottom: 14px;
}

.eduCard2__year {
    color: var(--secondary);

    font-family: "Space Grotesk", sans-serif;

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.eduCard2__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;

    border-radius: 50px;

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

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

    color: var(--muted);

    font-size: .7rem;

    white-space: nowrap;
}

.eduCard2__badge i {
    color: #22c55e;
}


/* ================================
   TITLE
================================ */

.eduCard2__title {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(1.3rem, 2.5vw, 1.65rem);

    line-height: 1.2;

    letter-spacing: -.025em;

    margin-bottom: 25px;
}

.eduCard2__institution {
    color: var(--secondary);

    font-size: .95rem;

    font-weight: 700;

    margin-bottom: 17px;
}


/* ================================
   CARD GRID
================================ */

.eduCard2__grid {
    display: grid;

    grid-template-columns: 1fr 260px;

    gap: 30px;

    align-items: center;
}


/* ================================
   LIST
================================ */

.eduCard2__list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.eduCard2__list li {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: var(--muted);

    font-size: .88rem;

    line-height: 1.55;
}

.eduCard2__list li i {
    width: 18px;

    margin-top: 4px;

    flex-shrink: 0;

    color: var(--primary);

    font-size: .78rem;
}

.eduCard2__list strong {
    color: var(--text);

    margin-left: 4px;
}


/* ================================
   IMAGE
================================ */

.eduCard2__image {
    width: 100%;
    height: 190px;

    overflow: hidden;

    border-radius: 16px;

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

    background: var(--surface);

    position: relative;
}

.eduCard2__image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(99,102,241,.08),
            transparent 50%
        );

    pointer-events: none;
}

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

    object-fit: cover;

    transition: transform .5s ease;
}

.eduCard2:hover .eduCard2__image img {
    transform: scale(1.05);
}


/* ================================
   ACTIONS
================================ */

.edu__actions {
    display: flex;

    gap: 9px;

    margin-top: 25px;
}

.btn--small {
    display: inline-flex;

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

    gap: 7px;

    padding: 9px 13px;

    border-radius: 9px;

    font-size: .75rem;

    font-weight: 700;

    transition: var(--transition);
}

.btn--primary {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #4f8cff
        );

    border: 1px solid transparent;
}

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

    box-shadow:
        0 10px 25px rgba(99,102,241,.25);
}

.btn--ghost {
    color: var(--text);

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

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

.btn--ghost:hover {
    background: var(--surface-hover);

    transform: translateY(-2px);
}


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

.reveal {
    opacity: 0;

    transform: translateY(25px);

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

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 850px) {

    .edu__head {
        margin-bottom: 50px;
    }

    .eduCard2__grid {
        grid-template-columns: 1fr 210px;

        gap: 20px;
    }

    .eduCard2__image {
        height: 170px;
    }

    .eduItem {
        padding-left: 72px;
    }

    .eduTimeline::before {
        left: 27px;
    }

    .eduItem__marker {
        width: 56px;
        height: 56px;
    }

    .eduItem__icon {
        width: 40px;
        height: 40px;
    }

    .eduItem__connector {
        left: 56px;
    }
}


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

@media (max-width: 620px) {

    .edu__head {
        margin-bottom: 40px;
    }

    .edu__title {
        font-size: 2.5rem;
    }

    .edu__subtitle {
        font-size: .88rem;
    }

    .eduTimeline::before {
        left: 20px;
    }

    .eduItem {
        padding-left: 52px;

        margin-bottom: 30px;
    }

    .eduItem__marker {
        left: 0;

        width: 42px;
        height: 42px;

        box-shadow:
            0 0 0 5px rgba(99,102,241,.05);
    }

    .eduItem__icon {
        width: 30px;
        height: 30px;
    }

    .eduItem__connector {
        left: 42px;
        width: 10px;
    }

    .eduCard2 {
        padding: 20px;

        border-radius: 17px;
    }

    .eduCard2__top {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .eduCard2__title {
        font-size: 1.2rem;

        margin-bottom: 20px;
    }

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

    .eduCard2__image {
        height: 170px;

        order: -1;
    }

    .eduCard2__list li {
        font-size: .82rem;
    }

    .edu__actions {
        flex-wrap: wrap;
    }

    .btn--small {
        flex: 1;

        min-width: 110px;
    }
}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .eduItem {
        padding-left: 45px;
    }

    .eduTimeline::before {
        left: 17px;
    }

    .eduItem__marker {
        width: 36px;
        height: 36px;
    }

    .eduItem__icon {
        width: 26px;
        height: 26px;
    }

    .eduItem__connector {
        left: 36px;
    }

    .eduCard2 {
        padding: 17px;
    }
}


/* REDUCED MOTION */

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

    .reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }

    .eduCard2,
    .eduCard2__image img {
        transition: none;
    }
}









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

.contact-section {
    position: relative;
    overflow: hidden;
}


/* HEADER */

.contact__head {
    max-width: 750px;
    margin: 80px auto 65px;
    text-align: center;
}

.contact__title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.055em;
    margin-bottom: 20px;
}

.contact__title span {
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact__subtitle {
    max-width: 650px;
    margin: auto;

    color: var(--muted);

    font-size: .98rem;
    line-height: 1.75;
}


/* GRID */

.contact-grid {
    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 25px;

    max-width: 1100px;

    margin: auto;
}


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

.contact-info {
    padding: 32px;

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

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        );

    backdrop-filter: blur(15px);

    box-shadow: 0 25px 60px rgba(0,0,0,.18);
}

.contact-label {
    color: var(--secondary);

    font-size: .7rem;

    font-weight: 700;

    letter-spacing: .15em;
}

.contact-info__top h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.9rem;

    line-height: 1.1;

    letter-spacing: -.04em;

    margin: 13px 0;
}

.contact-info__top h3 span {
    color: var(--primary);
}

.contact-info__top p {
    color: var(--muted);

    font-size: .87rem;

    line-height: 1.7;

    margin-bottom: 27px;
}


/* CONTACT ITEM */

.contact-item {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 14px 0;

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

    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item__icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: rgba(99,102,241,.1);

    color: var(--secondary);

    border: 1px solid rgba(99,102,241,.15);
}

.contact-item__content {
    min-width: 0;
    flex: 1;
}

.contact-item__content small {
    display: block;

    color: var(--muted);

    font-size: .68rem;

    margin-bottom: 2px;
}

.contact-item__content strong {
    display: block;

    color: var(--text);

    font-size: .78rem;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.contact-item__arrow {
    color: var(--muted);

    font-size: .7rem;

    transition: var(--transition);
}

.contact-item:hover .contact-item__arrow {
    color: var(--secondary);

    transform: translate(2px,-2px);
}


/* LOCATION */

.contact-location {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    padding-top: 20px;

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

    color: var(--muted);

    font-size: .78rem;
}

.contact-location i {
    color: var(--secondary);
}


/* =================================
   FORM
================================= */

.contact-form-wrapper {
    position: relative;

    border-radius: 24px;

    overflow: hidden;

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        );

    backdrop-filter: blur(15px);

    box-shadow: 0 25px 60px rgba(0,0,0,.18);
}

.form-glow {
    position: absolute;

    width: 250px;
    height: 250px;

    right: -100px;
    top: -100px;

    border-radius: 50%;

    background: var(--primary);

    filter: blur(100px);

    opacity: .1;

    pointer-events: none;
}

.contact-form {
    position: relative;

    padding: 32px;

    z-index: 1;
}


/* FORM HEADER */

.form-header {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 27px;
}

.form-header > span {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #4f8cff
        );

    box-shadow: 0 10px 25px rgba(99,102,241,.2);
}

.form-header h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.2rem;
}

.form-header p {
    color: var(--muted);

    font-size: .72rem;

    margin-top: 2px;
}


/* FORM ROW */

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


/* FORM GROUP */

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

.form-group label {
    display: block;

    color: var(--muted);

    font-size: .73rem;

    font-weight: 600;

    margin-bottom: 7px;
}


/* INPUT */

.input-box {
    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 47px;

    padding: 0 13px;

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

    border-radius: 10px;

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

    transition: var(--transition);
}

.input-box:focus-within {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(99,102,241,.08);
}

.input-box > i {
    color: var(--muted);

    font-size: .78rem;
}

.input-box:focus-within > i {
    color: var(--secondary);
}

.input-box input,
.input-box textarea {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: var(--text);

    font-family: inherit;

    font-size: .82rem;
}

.input-box input {
    height: 45px;
}

.input-box textarea {
    resize: vertical;

    min-height: 130px;

    padding: 13px 0;

    line-height: 1.6;
}

.input-box input::placeholder,
.input-box textarea::placeholder {
    color: #64748b;
}


/* TEXTAREA */

.textarea-box {
    align-items: flex-start;

    padding-top: 12px;
}


/* SUBMIT */

.contact-submit {
    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: none;

    border-radius: 11px;

    cursor: pointer;

    color: white;

    font-family: inherit;

    font-size: .82rem;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #4f8cff
        );

    box-shadow:
        0 12px 30px rgba(99,102,241,.2);

    transition: var(--transition);
}

.contact-submit:hover {
    transform: translateY(-3px);

    box-shadow:
        0 17px 35px rgba(99,102,241,.3);
}

.contact-submit i {
    transition: var(--transition);
}

.contact-submit:hover i {
    transform: translateX(4px);
}


/* NOTE */

.form-note {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 6px;

    color: var(--muted);

    font-size: .65rem;

    margin-top: 13px;
}

.form-note i {
    color: #22c55e;
}


/* =================================
   SOCIAL
================================= */

.contact-bottom {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-top: 40px;
}

.contact-bottom > span {
    color: var(--muted);

    font-size: .75rem;
}

.contact-socials {
    display: flex;

    gap: 8px;
}

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

    display: grid;
    place-items: center;

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

    border-radius: 10px;

    color: var(--muted);

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

    transition: var(--transition);
}

.contact-socials a:hover {
    color: white;

    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-3px);
}


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

@media (max-width: 850px) {

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

    .contact-info {
        padding: 27px;
    }
}


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

@media (max-width: 600px) {

    .contact__head {
        margin-bottom: 40px;
    }

    .contact__title {
        font-size: 2.5rem;
    }

    .contact__subtitle {
        font-size: .87rem;
    }

    .contact-info,
    .contact-form {
        padding: 21px;
    }

    .contact-info__top h3 {
        font-size: 1.6rem;
    }

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

    .contact-item__content strong {
        font-size: .7rem;
    }

    .contact-bottom {
        flex-direction: column;
    }
}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .contact-info,
    .contact-form {
        padding: 17px;
    }

    .contact-item__icon {
        width: 38px;
        height: 38px;
    }

    .contact-item__content strong {
        font-size: .65rem;
    }
}













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

.footer {
    position: relative;

    margin-top: 50px;
    margin: 20px;

    padding: 70px 0 25px;

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

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(99,102,241,.08),
            transparent 30%
        ),
        var(--bg);
}


/* TOP */

.footer-main {
    display: grid;

    grid-template-columns: 1.7fr .8fr .8fr 1.2fr;

    gap: 50px;

    padding-bottom: 55px;
}


/* BRAND */

.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 17px;
}

.footer-logo img {
    width: 48px;
    height: 48px;

    object-fit: contain;

    border-radius: 12px;
}

.footer-logo h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 1.5rem;

    line-height: 1.2;
}

.footer-logo span {
    display: block;

    color: var(--secondary);

    font-size: .68rem;

    margin-top: 3px;
}

.footer-brand > p {
    max-width: 330px;

    color: var(--muted);

    font-size: .8rem;

    line-height: 1.7;
}


/* SOCIALS */

.footer-socials {
    display: flex;

    gap: 8px;

    margin-top: 20px;
}

.footer-socials a {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

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

    border-radius: 10px;

    color: var(--muted);

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

    transition: var(--transition);
}

.footer-socials a:hover {
    color: #fff;

    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-3px);
}


/* COLUMNS */

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

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

    font-size: .85rem;

    margin-bottom: 8px;
}

.footer-column a,
.footer-column span {
    color: var(--muted);

    font-size: .76rem;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--text);

    transform: translateX(3px);
}


/* CONTACT */

.footer-contact a,
.footer-contact span {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    line-height: 1.5;
}

.footer-contact i {
    color: var(--secondary);

    width: 14px;

    margin-top: 3px;

    flex-shrink: 0;
}


/* BOTTOM */

.footer-bottom {
    padding-top: 22px;

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

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p,
.footer-bottom-links {
    color: var(--muted);

    font-size: .7rem;
}

.footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 8px;
}

.footer-bottom-links a {
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--text);
}

.footer-bottom-links i {
    color: #f43f5e;
    margin: 0 2px;
}


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

@media (max-width: 900px) {

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

        gap: 35px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}


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

@media (max-width: 600px) {

    .footer {
        padding: 55px 0 22px;
    }

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

        gap: 35px 25px;

        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;

        gap: 10px;
    }

    .footer-bottom-links {
        justify-content: center;

        flex-wrap: wrap;
    }
}


/* SMALL MOBILE */

@media (max-width: 380px) {

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

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-column {
        gap: 8px;
    }
}