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

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


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #07101f;
    color: #e5edf7;

    line-height: 1.7;
}


a {
    text-decoration: none;
}


ul {
    list-style-position: outside;
}


.section {
    padding: 100px 8%;
}


.section-dark {
    background: #091425;
}


.section-heading {
    max-width: 850px;
    margin-bottom: 55px;
}


.section-heading p,
.eyebrow {

    color: #38bdf8;

    font-size: 14px;

    letter-spacing: 3px;

    font-weight: 700;

    margin-bottom: 12px;
}


.section-heading h2 {

    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.15;

    color: #f8fafc;
}



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

header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(3, 9, 20, 0.9);

    backdrop-filter: blur(14px);

    border-bottom:
        1px solid rgba(148, 163, 184, 0.12);
}


.navbar {

    max-width: 1500px;

    margin: auto;

    padding: 20px 8%;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.logo {

    color: #ffffff;

    font-size: 24px;

    font-weight: 800;

    letter-spacing: 1px;
}


.logo span {
    color: #38bdf8;
}


.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;
}


.nav-links a {

    color: #cbd5e1;

    font-size: 15px;

    transition: 0.25s;
}


.nav-links a:hover {
    color: #38bdf8;
}


.menu-toggle {

    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;
}



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

.hero {

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

    padding: 80px 8%;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 70px;

    align-items: center;

    max-width: 1600px;

    margin: auto;
}


.hero h1 {

    font-size: clamp(48px, 7vw, 85px);

    line-height: 1.04;

    color: #ffffff;

    margin-bottom: 20px;
}


.hero h1 span {

    display: block;

    color: #38bdf8;
}


.hero h2 {

    font-size: clamp(25px, 3vw, 38px);

    color: #94a3b8;

    margin-bottom: 25px;
}


.hero-description {

    max-width: 700px;

    color: #cbd5e1;

    font-size: 19px;

    margin-bottom: 28px;
}


.hero-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 35px;
}


.hero-tech span,
.tags span {

    padding: 8px 13px;

    border-radius: 999px;

    border:
        1px solid rgba(56, 189, 248, 0.25);

    background:
        rgba(56, 189, 248, 0.07);

    color: #bae6fd;

    font-size: 13px;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-buttons .btn {
    padding: 13px 18px;
    font-size: 15px;
}


.btn {

    display: inline-block;

    padding: 14px 24px;

    border-radius: 10px;

    font-weight: 700;

    transition: 0.25s;
}


.btn-primary {

    background: #38bdf8;

    color: #04101d;
}


.btn-primary:hover {

    transform: translateY(-2px);

    background: #7dd3fc;
}


.btn-secondary {

    color: #38bdf8;

    border: 1px solid #38bdf8;
}


.btn-secondary:hover {

    background:
        rgba(56, 189, 248, 0.08);

    transform: translateY(-2px);
}



/* ===============================
   TERMINAL CARD
================================ */

.hero-card {

    background: #030914;

    border:
        1px solid rgba(56, 189, 248, 0.25);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}


.terminal-header {

    padding: 15px;

    display: flex;

    gap: 8px;

    background: #0c1627;
}


.terminal-header span {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: #475569;
}


.terminal-header span:nth-child(1) {
    background: #ef4444;
}


.terminal-header span:nth-child(2) {
    background: #f59e0b;
}


.terminal-header span:nth-child(3) {
    background: #22c55e;
}


.terminal-body {

    padding: 30px;

    font-family:
        "Courier New",
        monospace;

    font-size: 15px;
}


.terminal-body p {
    margin-bottom: 9px;
}


.terminal-green {
    color: #22c55e;
}


.terminal-output {

    color: #38bdf8;

    padding-left: 20px;

    margin-bottom: 20px !important;
}



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

.about-grid {

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 65px;

    align-items: start;
}


.about-text p {

    color: #cbd5e1;

    font-size: 18px;

    margin-bottom: 22px;
}


.about-stats {

    display: grid;

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

    gap: 18px;
}


.stat-card {

    min-height: 150px;

    padding: 25px;

    border-radius: 15px;

    background: #0c192b;

    border:
        1px solid rgba(148, 163, 184, 0.12);

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.stat-card strong {

    color: #38bdf8;

    font-size: 42px;
}


.stat-card span {

    color: #94a3b8;
}



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

.timeline {

    max-width: 1100px;

    position: relative;

    padding-left: 35px;
}


.timeline::before {

    content: "";

    position: absolute;

    left: 7px;

    top: 10px;

    bottom: 0;

    width: 2px;

    background:
        rgba(56, 189, 248, 0.25);
}


.timeline-item {

    position: relative;

    margin-bottom: 35px;
}


.timeline-dot {

    position: absolute;

    left: -35px;

    top: 24px;

    width: 16px;

    height: 16px;

    border-radius: 50%;

    background: #38bdf8;

    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.7);
}


.timeline-card {

    padding: 30px;

    border-radius: 16px;

    background: #0d1a2d;

    border:
        1px solid rgba(148, 163, 184, 0.12);
}


.experience-header {

    display: flex;

    justify-content: space-between;

    align-items: start;

    gap: 20px;

    margin-bottom: 8px;
}


.timeline-card h3 {

    color: #f8fafc;

    font-size: 25px;
}


.timeline-card h4 {

    color: #38bdf8;

    font-size: 18px;
}


.experience-date {

    white-space: nowrap;

    color: #bae6fd;

    background:
        rgba(56, 189, 248, 0.08);

    padding: 7px 12px;

    border-radius: 8px;

    font-size: 13px;
}


.experience-location {

    color: #64748b;

    margin-bottom: 18px;
}


.timeline-card ul {

    padding-left: 20px;

    color: #cbd5e1;
}


.timeline-card li {

    margin-bottom: 9px;
}



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

.skills-grid {

    display: grid;

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

    gap: 20px;
}


.skill-card {

    padding: 27px;

    border-radius: 15px;

    background: #0b1729;

    border:
        1px solid rgba(148, 163, 184, 0.12);

    transition: 0.25s;
}


.skill-card:hover {

    transform: translateY(-4px);

    border-color:
        rgba(56, 189, 248, 0.4);
}


.skill-card h3 {

    margin-bottom: 20px;

    color: #f8fafc;

    font-size: 19px;
}


.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}



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

.cert-grid {

    display: grid;

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

    gap: 20px;
}


.cert-card {

    padding: 28px;

    min-height: 250px;

    border-radius: 16px;

    background: #0d1a2d;

    border:
        1px solid rgba(148, 163, 184, 0.12);

    transition: 0.25s;
}


.cert-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(56, 189, 248, 0.45);
}


.cert-provider {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 55px;

    height: 42px;

    padding: 0 10px;

    border-radius: 8px;

    font-weight: 800;

    margin-bottom: 22px;
}


.cert-provider.aws {

    background: #ff9900;

    color: #111827;
}


.cert-provider.gcp {

    background: #ffffff;

    color: #1a73e8;
}


.cert-card h3 {

    font-size: 20px;

    margin-bottom: 12px;

    color: #f8fafc;
}


.cert-card p {

    color: #94a3b8;

    margin-bottom: 10px;
}


.cert-card span {

    color: #64748b;

    font-size: 14px;
}



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

.projects-grid {

    display: grid;

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

    gap: 22px;
}


.project-card {

    padding: 30px;

    border-radius: 16px;

    background: #0c192b;

    border:
        1px solid rgba(148, 163, 184, 0.12);

    transition: 0.25s;
}


.project-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(56, 189, 248, 0.4);
}


.project-number {

    color: #38bdf8;

    font-size: 14px;

    letter-spacing: 3px;

    margin-bottom: 25px;
}


.project-card h3 {

    font-size: 23px;

    line-height: 1.3;

    margin-bottom: 18px;

    color: #f8fafc;
}


.project-card p {

    color: #94a3b8;

    margin-bottom: 25px;
}



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

.education-card {

    max-width: 700px;

    padding: 32px;

    background: #0d1a2d;

    border:
        1px solid rgba(148, 163, 184, 0.12);

    border-radius: 16px;
}


.education-card h3 {

    color: #f8fafc;

    font-size: 25px;
}


.education-card p {

    color: #38bdf8;

    margin-top: 5px;
}


.education-card span {

    display: inline-block;

    margin-top: 12px;

    color: #94a3b8;
}



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

.contact {

    text-align: center;

    max-width: 950px;

    margin: auto;
}


.contact h2 {

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.15;

    margin-bottom: 22px;
}


.contact p:not(.eyebrow) {

    max-width: 650px;

    margin: 0 auto 30px;

    color: #94a3b8;

    font-size: 18px;
}



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

footer {

    border-top:
        1px solid rgba(148, 163, 184, 0.12);

    padding: 28px 8%;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #64748b;

    font-size: 14px;
}



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

@media (max-width: 1050px) {

    .hero {

        grid-template-columns: 1fr;

        min-height: auto;
    }


    .hero-card {

        max-width: 700px;
    }


    .about-grid {

        grid-template-columns: 1fr;
    }


    .cert-grid {

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


    .projects-grid {

        grid-template-columns: 1fr;
    }

}



@media (max-width: 760px) {

    .section {
        padding: 75px 6%;
    }


    .navbar {
        padding: 18px 6%;
    }


    .menu-toggle {
        display: block;
    }


    .nav-links {

        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        right: 0;

        padding: 25px;

        flex-direction: column;

        align-items: flex-start;

        background: #030914;

        border-bottom:
            1px solid rgba(148, 163, 184, 0.12);
    }


    .nav-links.active {
        display: flex;
    }


    .hero {

        padding: 70px 6%;
    }


    .skills-grid,
    .cert-grid,
    .about-stats {

        grid-template-columns: 1fr;
    }


    .experience-header {

        flex-direction: column;
    }


    .experience-date {

        white-space: normal;
    }


    footer {

        flex-direction: column;

        text-align: center;
    }

}