/* =========================================
   VARIABLES
========================================= */

:root {

    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;

    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --card: #ffffff;

    --text: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;

    --shadow:
        0 20px 50px rgba(15, 23, 42, .08);

    --radius: 20px;

    --transition: .3s ease;
}


body.dark {

    --bg: #080b14;
    --bg-secondary: #0d111d;
    --card: #111827;

    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --border: #1e293b;

    --shadow:
        0 20px 50px rgba(0, 0, 0, .3);
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Inter", sans-serif;

    background: var(--bg);
    color: var(--text);

    line-height: 1.7;

    transition:
        background .3s ease,
        color .3s ease;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
}


/* =========================================
   CONTAINER
========================================= */

.container {

    width: min(1120px, 90%);

    margin: auto;
}


/* =========================================
   SECTION
========================================= */

.section {

    padding: 110px 0;

    position: relative;
}

.section-heading {

    max-width: 700px;

    margin:
        0 auto
        65px;

    text-align: center;
}

.section-label {

    display: inline-block;

    font-size: .75rem;
    font-weight: 800;

    letter-spacing: 2px;

    color: var(--primary);

    margin-bottom: 12px;
}

.section-heading h2 {

    font-family: "Poppins", sans-serif;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.2;

    margin-bottom: 16px;
}

.section-heading p {

    color: var(--text-secondary);

    font-size: 1rem;
}


/* =========================================
   HEADER
========================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition: .3s;
}

.header.scrolled {

    background: rgba(255,255,255,.85);

    box-shadow:
        0 10px 40px rgba(0,0,0,.05);

    backdrop-filter: blur(20px);
}

body.dark .header.scrolled {

    background: rgba(8,11,20,.85);

    box-shadow:
        0 10px 40px rgba(0,0,0,.3);
}

.navbar {

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {

    font-family: "Poppins", sans-serif;

    font-size: 1.6rem;

    font-weight: 800;

    letter-spacing: -1px;
}

.logo span {

    color: var(--primary);
}

.nav-menu {

    display: flex;

    align-items: center;

    gap: 28px;
}

.nav-link {

    position: relative;

    font-size: .88rem;

    font-weight: 600;

    color: var(--text-secondary);

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {

    color: var(--primary);
}

.nav-link::after {

    content: "";

    position: absolute;

    bottom: -8px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: .3s;
}

.nav-link.active::after,
.nav-link:hover::after {

    width: 100%;
}

.nav-actions {

    display: flex;

    align-items: center;

    gap: 10px;
}

.theme-btn,
.menu-btn {

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--bg-secondary);

    color: var(--text);

    transition: .3s;
}

.theme-btn:hover,
.menu-btn:hover {

    background: var(--primary);

    color: white;

    transform: rotate(10deg);
}

.menu-btn {

    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding-top: 130px;

    overflow: hidden;
}

.hero-bg {

    position: absolute;

    inset: 0;

    overflow: hidden;

    z-index: -1;
}

.grid-bg {

    position: absolute;

    inset: 0;

    opacity: .35;

    background-image:
        linear-gradient(
            rgba(99,102,241,.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(99,102,241,.06) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}

.blob {

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: .15;
}

.blob-1 {

    background: var(--primary);

    top: -200px;
    left: -150px;
}

.blob-2 {

    background: var(--secondary);

    right: -150px;
    bottom: -200px;
}

.hero-container {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 70px;
}

.availability {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 7px 14px;

    border-radius: 50px;

    background: rgba(34,197,94,.1);

    color: #16a34a;

    font-size: .78rem;

    font-weight: 700;

    margin-bottom: 22px;
}

.status-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 5px rgba(34,197,94,.1);
}

.hero-greeting {

    color: var(--text-secondary);

    font-size: 1.05rem;

    margin-bottom: 5px;
}

.hero h1 {

    font-family: "Poppins", sans-serif;

    font-size: clamp(3.2rem, 7vw, 5.5rem);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 15px;
}

.hero h1 span {

    display: block;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero h2 {

    min-height: 45px;

    font-size: clamp(1.4rem, 3vw, 2rem);

    color: var(--text-secondary);

    margin-bottom: 20px;
}

#typingText::after {

    content: "|";

    color: var(--primary);

    animation: blink .7s infinite;
}

@keyframes blink {

    50% {
        opacity: 0;
    }
}

.hero-description {

    max-width: 620px;

    color: var(--text-secondary);

    font-size: 1.05rem;

    margin-bottom: 32px;
}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 30px;
}

.btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 22px;

    border-radius: 12px;

    font-size: .9rem;

    font-weight: 700;

    transition: .3s;
}

.btn-primary {

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:
        0 10px 25px rgba(99,102,241,.25);
}

.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(99,102,241,.35);
}

.btn-outline {

    border: 1px solid var(--border);

    background: var(--bg);

    color: var(--text);
}

.btn-outline:hover {

    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-3px);
}

.social-links {

    display: flex;

    gap: 10px;
}

.social-links a {

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--text-secondary);

    transition: .3s;
}

.social-links a:hover {

    color: white;

    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-3px);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image {

    display: flex;

    justify-content: center;
}

.profile-wrapper {

    width: min(420px, 80vw);

    aspect-ratio: 1;

    position: relative;

    display: grid;

    place-items: center;
}

.profile-ring {

    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    border: 1px solid var(--primary);

    opacity: .3;

    animation: spin 15s linear infinite;
}

.profile-ring::before,
.profile-ring::after {

    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--primary);
}

.profile-ring::before {

    top: 5%;
    left: 18%;
}

.profile-ring::after {

    bottom: 12%;
    right: 8%;

    background: var(--secondary);
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }
}

.profile-image {

    width: 82%;
    height: 82%;

    object-fit: cover;

    border-radius: 50%;

    border: 10px solid var(--bg);

    box-shadow:
        0 30px 70px rgba(0,0,0,.15);
}

.floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 18px;

    border-radius: 15px;

    background: var(--card);

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    animation: float 4s ease-in-out infinite;
}

.floating-card i {

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(99,102,241,.1);

    color: var(--primary);
}

.floating-card strong {

    display: block;

    font-size: 1.1rem;
}

.floating-card small {

    display: block;

    color: var(--text-secondary);

    font-size: .65rem;
}

.card-one {

    left: -20px;
    top: 20%;
}

.card-two {

    right: -30px;
    bottom: 20%;

    animation-delay: 1s;
}

@keyframes float {

    50% {
        transform: translateY(-10px);
    }
}

.scroll-down {

    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;

    color: var(--text-secondary);

    font-size: .7rem;
}

.scroll-down i {

    color: var(--primary);

    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    50% {
        transform: translateY(5px);
    }
}


/* =========================================
   ABOUT
========================================= */

.about {

    background: var(--bg-secondary);
}

.about-grid {

    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.about-image-box {

    position: relative;
}

.about-image-box img {

    width: 100%;

    aspect-ratio: 4/5;

    object-fit: cover;

    border-radius: 25px;
}

.experience-badge {

    position: absolute;

    right: -25px;
    bottom: 30px;

    display: flex;

    flex-direction: column;

    padding: 18px 22px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: white;

    box-shadow:
        0 20px 40px rgba(99,102,241,.3);
}

.experience-badge strong {

    font-size: 2rem;

    line-height: 1;
}

.experience-badge span {

    font-size: .7rem;

    opacity: .9;
}

.about-content h3 {

    font-family: "Poppins", sans-serif;

    font-size: 2rem;

    line-height: 1.3;

    margin-bottom: 20px;
}

.about-content h3 span {

    color: var(--primary);
}

.about-content > p {

    color: var(--text-secondary);

    margin-bottom: 15px;
}

.about-info {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin: 30px 0;
}

.about-info div {

    padding-bottom: 12px;

    border-bottom: 1px solid var(--border);
}

.about-info span {

    display: block;

    font-size: .75rem;

    color: var(--text-secondary);

    margin-bottom: 3px;
}

.about-info strong {

    font-size: .9rem;
}

.available {

    color: #16a34a;
}


/* =========================================
   SKILLS
========================================= */

.skills-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.skills-card,
.tools-card {

    padding: 30px;

    border: 1px solid var(--border);

    background: var(--card);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.skill-card-header {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 30px;
}

.skill-icon {

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    font-size: 1.4rem;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );
}

.skill-card-header h3 {

    font-size: 1.05rem;

    margin-bottom: 2px;
}

.skill-card-header p {

    color: var(--text-secondary);

    font-size: .75rem;
}

.skill-item {

    margin-bottom: 20px;
}

.skill-item:last-child {

    margin-bottom: 0;
}

.skill-title {

    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;

    font-size: .8rem;
}

.skill-title strong {

    color: var(--primary);
}

.skill-bar {

    width: 100%;
    height: 7px;

    overflow: hidden;

    border-radius: 20px;

    background: var(--bg-secondary);
}

.skill-bar span {

    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );
}

.tools-card {

    grid-column: 1 / -1;
}

.tools-list {

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 12px;
}

.tools-list span {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 18px 10px;

    border-radius: 12px;

    background: var(--bg-secondary);

    color: var(--text-secondary);

    font-size: .75rem;

    transition: .3s;
}

.tools-list span i {

    font-size: 1.4rem;

    color: var(--primary);
}

.tools-list span:hover {

    color: var(--text);

    transform: translateY(-4px);
}


/* =========================================
   TIMELINE
========================================= */

.experience-section {

    background: var(--bg-secondary);
}

.timeline {

    max-width: 850px;

    margin: auto;

    position: relative;
}

.timeline::before {

    content: "";

    position: absolute;

    left: 130px;

    top: 0;
    bottom: 0;

    width: 1px;

    background: var(--border);
}

.timeline-item {

    display: grid;

    grid-template-columns: 110px 40px 1fr;

    gap: 20px;

    position: relative;

    margin-bottom: 55px;
}

.timeline-item:last-child {

    margin-bottom: 0;
}

.timeline-date {

    text-align: right;

    font-size: .75rem;

    color: var(--text-secondary);

    padding-top: 5px;
}

.timeline-dot {

    width: 14px;
    height: 14px;

    margin: 5px auto;

    border-radius: 50%;

    background: var(--primary);

    border: 4px solid var(--bg-secondary);

    box-shadow:
        0 0 0 1px var(--primary);
}

.timeline-content {

    padding: 25px;

    border-radius: 18px;

    border: 1px solid var(--border);

    background: var(--card);

    box-shadow: var(--shadow);
}

.timeline-content > span {

    font-size: .75rem;

    color: var(--primary);

    font-weight: 700;
}

.timeline-content h3 {

    margin: 5px 0 8px;

    font-size: 1.2rem;
}

.timeline-content p {

    color: var(--text-secondary);

    font-size: .85rem;

    margin-bottom: 15px;
}

.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.tags span,
.project-tech span {

    padding: 5px 9px;

    border-radius: 6px;

    background: rgba(99,102,241,.08);

    color: var(--primary);

    font-size: .65rem;

    font-weight: 700;
}


/* =========================================
   PROJECTS
========================================= */

.project-filters {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 40px;
}

.filter-btn {

    padding: 9px 18px;

    border-radius: 50px;

    background: var(--bg-secondary);

    color: var(--text-secondary);

    font-size: .8rem;

    font-weight: 600;

    transition: .3s;
}

.filter-btn:hover,
.filter-btn.active {

    background: var(--primary);

    color: white;
}

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.project-card {

    overflow: hidden;

    border-radius: var(--radius);

    background: var(--card);

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    transition: .4s;
}

.project-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 25px 60px rgba(15,23,42,.12);
}

.project-card.hide {

    display: none;
}

.project-image {

    height: 270px;

    position: relative;

    overflow: hidden;
}

.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s;
}

.project-card:hover .project-image img {

    transform: scale(1.06);
}

.project-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background:
        rgba(15,23,42,.65);

    opacity: 0;

    transition: .3s;
}

.project-card:hover .project-overlay {

    opacity: 1;
}

.project-overlay a {

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: white;

    color: #111827;

    transition: .3s;
}

.project-overlay a:hover {

    color: white;

    background: var(--primary);

    transform: scale(1.1);
}

.project-content {

    padding: 25px;
}

.project-category {

    color: var(--primary);

    font-size: .7rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.project-content h3 {

    margin: 5px 0 8px;

    font-size: 1.2rem;
}

.project-content p {

    color: var(--text-secondary);

    font-size: .8rem;

    margin-bottom: 15px;
}

.project-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


/* =========================================
   EDUCATION
========================================= */

.education-section {

    background: var(--bg-secondary);
}

.education-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.education-card {

    display: flex;

    gap: 15px;

    padding: 25px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: var(--shadow);

    transition: .3s;
}

.education-card:hover {

    transform: translateY(-5px);
}

.education-icon {

    min-width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: rgba(99,102,241,.1);

    color: var(--primary);
}

.education-card span {

    font-size: .7rem;

    color: var(--primary);

    font-weight: 700;
}

.education-card h3 {

    font-size: .95rem;

    margin: 5px 0;
}

.education-card p {

    color: var(--text-secondary);

    font-size: .75rem;
}

.education-card small {

    color: var(--text-secondary);

    font-size: .65rem;
}


/* =========================================
   SERVICES
========================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.service-card {

    padding: 30px 25px;

    border: 1px solid var(--border);

    background: var(--card);

    border-radius: 18px;

    transition: .3s;
}

.service-card:hover {

    transform: translateY(-7px);

    border-color: var(--primary);

    box-shadow: var(--shadow);
}

.service-icon {

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 13px;

    color: var(--primary);

    background: rgba(99,102,241,.1);

    font-size: 1.2rem;
}

.service-card h3 {

    font-size: 1rem;

    margin-bottom: 10px;
}

.service-card p {

    color: var(--text-secondary);

    font-size: .75rem;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {

    background: var(--bg-secondary);
}

.contact-wrapper {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 60px;

    padding: 60px;

    border-radius: 30px;

    background: var(--card);

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}

.contact-info h2 {

    font-family: "Poppins", sans-serif;

    font-size: 2.5rem;

    line-height: 1.2;

    margin: 15px 0;
}

.contact-info h2 span {

    color: var(--primary);
}

.contact-info > p {

    color: var(--text-secondary);

    font-size: .9rem;

    margin-bottom: 35px;
}

.contact-details {

    display: flex;

    flex-direction: column;

    gap: 20px;
}

.contact-details a {

    display: flex;

    align-items: center;

    gap: 15px;
}

.contact-icon {

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    color: var(--primary);

    background: rgba(99,102,241,.1);
}

.contact-details span {

    display: block;

    color: var(--text-secondary);

    font-size: .65rem;
}

.contact-details strong {

    font-size: .8rem;
}

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {

    display: flex;

    flex-direction: column;

    gap: 7px;
}

.form-group label {

    font-size: .75rem;

    font-weight: 700;
}

.form-group input,
.form-group textarea {

    width: 100%;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--bg-secondary);

    color: var(--text);

    outline: none;

    padding: 12px 14px;

    resize: vertical;

    transition: .3s;
}

.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(99,102,241,.1);
}

.submit-btn {

    align-self: flex-start;
}


/* =========================================
   FOOTER
========================================= */

.footer {

    padding: 30px 0;

    border-top: 1px solid var(--border);

    background: var(--bg);
}

.footer-container {

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.footer p {

    color: var(--text-secondary);

    font-size: .7rem;
}

.footer-social {

    display: flex;

    gap: 8px;
}

.footer-social a {

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--bg-secondary);

    color: var(--text-secondary);

    transition: .3s;
}

.footer-social a:hover {

    color: white;

    background: var(--primary);
}


/* =========================================
   BACK TOP
========================================= */

.back-top {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--primary);

    color: white;

    box-shadow:
        0 10px 25px rgba(99,102,241,.3);

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition: .3s;

    z-index: 100;
}

.back-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================
   TOAST
========================================= */

.toast {

    position: fixed;

    right: 25px;
    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 15px 20px;

    border-radius: 12px;

    background: #16a34a;

    color: white;

    font-size: .8rem;

    box-shadow: var(--shadow);

    transform:
        translateX(150%);

    transition: .4s;

    z-index: 1001;
}

.toast.show {

    transform:
        translateX(0);
}


/* =========================================
   PRELOADER
========================================= */

.preloader {

    position: fixed;

    inset: 0;

    display: grid;
    place-items: center;

    background: var(--bg);

    z-index: 9999;

    transition: .5s;
}

.preloader.hide {

    opacity: 0;

    visibility: hidden;
}

.loader {

    width: 45px;
    height: 45px;

    border-radius: 50%;

    border: 3px solid var(--border);

    border-top-color: var(--primary);

    animation:
        spin-loader .8s linear infinite;
}

@keyframes spin-loader {

    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.show {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   RESPONSIVE TABLET
========================================= */

@media (max-width: 900px) {

    .nav-menu {

        position: fixed;

        top: 80px;
        left: 5%;
        right: 5%;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        padding: 25px;

        border-radius: 18px;

        background: var(--card);

        border: 1px solid var(--border);

        box-shadow: var(--shadow);

        transform:
            translateY(-20px);

        opacity: 0;

        visibility: hidden;

        transition: .3s;
    }

    .nav-menu.show {

        transform:
            translateY(0);

        opacity: 1;

        visibility: visible;
    }

    .menu-btn {

        display: grid;
    }

    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-content {

        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .hero-image {

        order: -1;
    }

    .profile-wrapper {

        width: min(350px, 75vw);
    }

    .hero-description {

        max-width: 700px;
    }

    .social-links {

        justify-content: center;
    }

    .about-grid {

        grid-template-columns: 1fr;

    }

    .about-image {

        max-width: 500px;

        margin: auto;
    }

    .skills-grid {

        grid-template-columns: 1fr;
    }

    .tools-card {

        grid-column: auto;
    }

    .tools-list {

        grid-template-columns:
            repeat(3, 1fr);
    }

    .education-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .contact-wrapper {

        grid-template-columns: 1fr;

        padding: 40px;
    }
}


/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media (max-width: 600px) {

    .section {

        padding: 80px 0;
    }

    .navbar {

        height: 70px;
    }

    .nav-menu {

        top: 70px;
    }

    .hero {

        padding-top: 100px;
    }

    .hero h1 {

        font-size: 3rem;

        letter-spacing: -2px;
    }

    .hero h2 {

        font-size: 1.25rem;
    }

    .hero-buttons {

        width: 100%;

        flex-direction: column;
    }

    .hero-buttons .btn {

        width: 100%;
    }

    .floating-card {

        padding: 10px;

    }

    .card-one {

        left: -5px;
    }

    .card-two {

        right: -5px;
    }

    .about-info {

        grid-template-columns: 1fr;
    }

    .skills-card,
    .tools-card {

        padding: 22px;
    }

    .tools-list {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .timeline::before {

        left: 7px;
    }

    .timeline-item {

        grid-template-columns:
            25px 1fr;

        gap: 15px;
    }

    .timeline-date {

        grid-column: 2;

        grid-row: 1;

        text-align: left;

        padding: 0;
    }

    .timeline-dot {

        grid-column: 1;

        grid-row: 1 / span 2;

        margin-top: 5px;
    }

    .timeline-content {

        grid-column: 2;
    }

    .projects-grid {

        grid-template-columns: 1fr;
    }

    .education-grid {

        grid-template-columns: 1fr;
    }

    .services-grid {

        grid-template-columns: 1fr;
    }

    .contact-wrapper {

        padding: 25px;

        border-radius: 20px;
    }

    .form-row {

        grid-template-columns: 1fr;
    }

    .footer-container {

        flex-direction: column;

        gap: 15px;

        text-align: center;
    }

}