/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f7f9fc;
    color: #101b35;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   COLORS
========================================= */

:root {
    --navy: #101b35;
    --blue: #246bfe;
    --blue-light: #5d91ff;
    --yellow: #ffd45c;
    --cream: #fffaf0;
    --white: #ffffff;
    --muted: #667085;
    --light-blue: #edf4ff;
}


/* =========================================
   BACKGROUND GLOW
========================================= */

.glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.16;
    pointer-events: none;
    z-index: -1;
}

.glow-one {
    background: #4e83ff;
    top: -250px;
    right: -150px;
}

.glow-two {
    background: #ffd45c;
    bottom: -300px;
    left: -200px;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    width: 100%;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -2px;
}

.logo span,
.footer-logo span {
    color: var(--blue);
}

.navbar nav {
    display: flex;
    gap: 38px;
}

.navbar nav a {
    font-size: 14px;
    color: #59657b;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--blue);
}

.nav-button {
    background: var(--navy);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-button:hover {
    transform: translateY(-2px);
    background: var(--blue);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: calc(100vh - 86px);
    padding: 70px 7% 50px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
}


/* =========================================
   HERO TEXT
========================================= */

.student-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: rgba(36, 107, 254, 0.08);
    color: var(--blue);

    padding: 9px 15px;
    border-radius: 30px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;

    margin-bottom: 25px;
}

.pulse {
    width: 7px;
    height: 7px;
    background: #35c76f;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(53, 199, 111, 0.12);
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.99;
    letter-spacing: -3px;
    color: var(--navy);
    max-width: 750px;
}

.hero h1 span {
    color: var(--blue);
    position: relative;
}

.hero h1 span::after {
    content: "";
    position: absolute;
    height: 8px;
    background: var(--yellow);
    bottom: -3px;
    left: 4px;
    right: 4px;
    border-radius: 10px;
    z-index: -1;
}

.hero-description {
    max-width: 590px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin-top: 28px;
}

.hero-description strong {
    color: var(--navy);
}


/* =========================================
   BUTTONS
========================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    background: var(--blue);
    color: white;

    padding: 16px 23px;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 12px 30px rgba(36, 107, 254, 0.2);
    transition: 0.3s;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 35px rgba(36, 107, 254, 0.28);
}

.primary-button span {
    font-size: 20px;
}

.secondary-button {
    padding: 15px 20px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.secondary-button:hover {
    color: var(--blue);
}


/* =========================================
   STATS
========================================= */

.quick-stats {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 55px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 23px;
    color: var(--navy);
}

.stat span {
    font-size: 9px;
    letter-spacing: 1.2px;
    color: #8993a5;
    margin-top: 3px;
}

.stat-line {
    height: 30px;
    width: 1px;
    background: #dce2ec;
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    min-height: 560px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card {
    width: 330px;
    min-height: 430px;

    background: var(--navy);
    color: white;

    border-radius: 24px;

    padding: 27px;

    position: relative;
    z-index: 2;

    box-shadow:
        0 35px 80px rgba(16, 27, 53, 0.25);

    transform: rotate(3deg);

    transition: 0.5s;
}

.profile-card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.card-top {
    display: flex;
    justify-content: space-between;

    font-size: 9px;
    letter-spacing: 1.5px;
}

.mini-label {
    color: var(--yellow);
}

.year {
    color: #8e9bb4;
}

.avatar {
    width: 145px;
    height: 145px;
    border-radius: 50%;

    margin: 42px auto 28px;

    overflow: hidden;

    border: 7px solid rgba(255,255,255,0.12);

    background: #246bfe;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.2);
}

.photo-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}

.profile-card h2 {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 0.95;
    text-align: center;
}

.profile-card > p {
    text-align: center;
    color: #9ca8bd;
    font-size: 12px;
    margin-top: 15px;
}

.location {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;

    color: #b8c1d2;
    font-size: 11px;

    margin-top: 25px;
}

.location span {
    color: #4ade80;
    font-size: 9px;
}

.card-bottom {
    position: absolute;
    bottom: 25px;
    left: 27px;
    right: 27px;

    border-top: 1px solid rgba(255,255,255,0.1);

    padding-top: 18px;

    display: flex;
    justify-content: space-between;

    color: #71809b;

    font-size: 8px;
    letter-spacing: 1px;
}


/* =========================================
   ORBITS
========================================= */

.orbit {
    position: absolute;
    border: 1px solid rgba(36,107,254,0.13);
    border-radius: 50%;
}

.orbit-one {
    width: 510px;
    height: 510px;
}

.orbit-two {
    width: 390px;
    height: 390px;
}


/* =========================================
   FLOATING CARDS
========================================= */

.floating-card {
    position: absolute;
    z-index: 4;

    background: rgba(255,255,255,0.94);

    padding: 13px 17px;

    border-radius: 13px;

    display: flex;
    align-items: center;
    gap: 11px;

    box-shadow: 0 15px 40px rgba(16,27,53,0.12);

    backdrop-filter: blur(10px);

    animation: float 4s ease-in-out infinite;
}

.floating-card > span {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--light-blue);
    color: var(--blue);

    border-radius: 9px;

    font-size: 16px;
}

.floating-card small {
    display: block;
    font-size: 8px;
    color: #9099a9;
    margin-bottom: 3px;
}

.floating-card strong {
    display: block;
    font-size: 11px;
    color: var(--navy);
}

.floating-one {
    top: 95px;
    right: 15px;
}

.floating-two {
    bottom: 120px;
    left: 0;
    animation-delay: 1s;
}

.floating-three {
    bottom: 40px;
    right: 20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}


/* =========================================
   INTRO STRIP
========================================= */

.intro-strip {
    margin: 40px 7% 0;

    border-top: 1px solid #dfe5ee;
    border-bottom: 1px solid #dfe5ee;

    padding: 30px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro-strip p {
    max-width: 750px;
    color: #667085;
    font-size: 15px;
    line-height: 1.7;
}

.intro-strip p span {
    color: var(--blue);
    font-weight: 700;
    margin-right: 20px;
}

.scroll-arrow {
    font-size: 25px;
    color: var(--blue);
}


/* =========================================
   SECTION COMMON
========================================= */

.about-preview,
.projects-preview {
    padding: 130px 7%;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.section-label span {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--light-blue);

    border-radius: 50%;

    font-size: 9px;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    margin-top: 45px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.about-grid h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.about-grid h2 em {
    color: var(--blue);
    font-style: normal;
}

.about-text {
    padding-top: 10px;
}

.about-text p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
}


/* =========================================
   PROJECTS
========================================= */

.projects-preview {
    background: var(--navy);
    color: white;
}

.projects-preview .section-label {
    color: var(--yellow);
}

.projects-preview .section-label span {
    background: rgba(255,255,255,0.08);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1;
    letter-spacing: -2px;
}

.section-heading h2 span {
    color: var(--yellow);
}

.project-grid {
    margin-top: 65px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    min-height: 330px;

    padding: 30px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    background: rgba(255,255,255,0.035);

    position: relative;

    transition: 0.35s;
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.06);
}

.project-number {
    position: absolute;
    top: 25px;
    right: 27px;

    color: #65718a;

    font-size: 11px;
}

.project-icon {
    font-size: 32px;
    margin-bottom: 70px;
}

.project-card h3 {
    font-size: 21px;
    margin-bottom: 13px;
}

.project-card p {
    color: #8995aa;
    font-size: 13px;
    line-height: 1.7;
    max-width: 290px;
}

.project-card a {
    position: absolute;
    bottom: 27px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
}


/* =========================================
   CLOSING
========================================= */

.closing {
    padding: 150px 7%;
    text-align: center;

    background:
        radial-gradient(
            circle at center,
            #edf4ff 0%,
            #f7f9fc 55%
        );
}

.closing-content {
    max-width: 800px;
    margin: auto;
}

.quote-mark {
    font-family: Georgia, serif;
    color: var(--yellow);
    font-size: 80px;
    line-height: 0;
}

.closing h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1;
    letter-spacing: -2px;
    margin: 40px 0 25px;
}

.closing h2 span {
    color: var(--blue);
}

.closing p {
    max-width: 560px;
    margin: auto;

    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;

    margin-bottom: 35px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #0a1225;
    color: white;

    padding: 70px 7% 30px;

    text-align: center;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
}

.footer-logo span {
    color: var(--yellow);
}

footer > p {
    color: #758199;
    font-size: 13px;
    margin: 15px auto 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: #aab4c7;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--yellow);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.07);

    margin-top: 50px;
    padding-top: 25px;

    color: #4e5b72;
    font-size: 10px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 6%;
    }

    .hero-text {
        text-align: center;
    }

    .student-badge,
    .hero-buttons {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .quick-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 500px;
    }

    .about-preview,
    .projects-preview {
        padding: 90px 6%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        margin-top: 35px;
    }
}


@media (max-width: 600px) {

    .navbar {
        height: 70px;
    }

    .nav-button {
        display: none;
    }

    .hero {
        padding-top: 45px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .quick-stats {
        gap: 12px;
    }

    .hero-visual {
        transform: scale(0.85);
        margin-top: -30px;
        margin-bottom: -50px;
    }

    .floating-one {
        right: -5px;
    }

    .floating-two {
        left: -10px;
    }

    .floating-three {
        right: 0;
    }

    .intro-strip {
        margin-left: 6%;
        margin-right: 6%;
    }

    .intro-strip p {
        font-size: 13px;
    }

    .about-grid h2 {
        font-size: 43px;
    }

    .closing {
        padding: 110px 6%;
    }

    .closing h2 {
        font-size: 45px;
    }
}