@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
  /* COLORS */
  --bg-primary: #1f242d;
  --bg-secondary: #323946;

  --text-primary: #ffffff;
  --text-secondary: #b0b7c3;

  --accent: #0ef;
  --border-color: rgba(255, 255, 255, 0.1);

  /* TYPOGRAPHY */
  --fs-xs: 1.2rem;
  --fs-sm: 1.4rem;
  --fs-base: 1.6rem;
  --fs-lg: 2rem;
  --fs-xl: 2.6rem;
  --fs-2xl: 3.2rem;
  --fs-3xl: 5rem;

  /* SPACING */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    position: relative;
    background:
        linear-gradient(rgba(5, 8, 15, 0.6), rgba(10, 15, 28, 0.7)),
        url("images/bg.png") center / cover no-repeat fixed;
    min-height: 100vh;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    line-height: 1.6;
    padding: 0 20px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at center,
        transparent 65%,
        rgba(0, 0, 0, 0.25));
    pointer-events: none;
    z-index: -2;
    filter: blur(40px);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
    radial-gradient(circle at 20% 30%, rgba(0,238,255,0.12), transparent 50%),  /* softer cyan */
    radial-gradient(circle at 80% 60%, rgba(80,120,255,0.10), transparent 50%), /* cooler blue */
    radial-gradient(circle at 40% 70%, rgba(0,238,255,0.06), transparent 60%),
    radial-gradient(circle at 60% 20%, rgba(120,80,255,0.06), transparent 60%); /* subtle violet */
    filter: blur(80px);
    opacity: 0.8;
    mix-blend-mode: screen;
    will-change: transform;
    animation: auroraFlow 30s ease-in-out infinite;
}

@keyframes auroraFlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-30px, 20px) scale(1.1);
    }
    50% {
        transform: translate(20px, -30px) scale(1.05);
    }
    75% {
        transform: translate(-10px, 10px) scale(1.1);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

section {
    min-height: 100vh;
    padding: var(--space-2xl) 9% var(--space-lg);
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow:
        0 0 30px rgba(0,0,0,0.3),
        0 0 20px rgba(0,238,255,0.05);
    margin: var(--space-lg) auto;
    max-width: 1200px;
}

section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        rgba(255,255,255,0.08),
        transparent 40%);
    pointer-events: none;
}

h1, h2, h3{
    letter-spacing: 0.5px;
}

/* ===== HEADER DESIGN ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-lg) 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 20px rgba(0,238,255,0.05);
    z-index: 100;
    transition: all 0.3s ease;
}

.header.sticky {
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(0,238,255,0.15);
    box-shadow:
        0 0 25px rgba(0,238,255,0.08);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(255,255,255,0.06),
        transparent 40%);
    pointer-events: none;
}

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

.logo img {
  width: 200px;   
  height: 25px;
  object-fit: cover;
  border-radius: 8px;
  mix-blend-mode: lighten;   
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-primary);
    margin-left: 4rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--accent);
}

/* == MENU BURGER BUTTON == */
#menu-icon {
    font-size: 3.6rem;
    color: var(--text-primary);
    display: none;
}

/* ===== SECTION 1 : HOME DESIGN ===== */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-img .img-box {
    position: relative;
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    padding: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* ROTATE ANIMATION */
.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    position: absolute;
    width: 50rem;
    height: 50rem;
    background: conic-gradient(transparent, transparent, transparent, var(--accent));
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
    filter: blur(15px);
}

.home-img .img-box::after {
    animation-delay: -5s;
}

@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}

.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: .01rem solid var(--accent);
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img {
    position: absolute;
    top: var(--space-xl);
    display: block;
    width: 85%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

.home-content h2 {
    font-size: var(--fs-2xl);
    font-weight: 700;
}

.home-content h2:nth-of-type(2) {
    margin-bottom: var(--space-lg);
}

/* == GLOBAL SPAN ANIMATION == */
span {
    background: linear-gradient(
        270deg,
        #00f0ff,
        #00c3ff,
        #3a86ff,
        #7a5cff,
        #00f2fe,
        #00f0ff
    );
    background-size: 300% 300%;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: spanMove 5s ease infinite
}

@keyframes spanMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
}

.home-content h3 {
    margin-bottom: var(--space-lg);
}

.home-content p {
    font-size: var(--fs-base);
    margin: var(--space-lg) 0 var(--space-xl);
    padding: 0 var(--space-lg);
    color: var(--text-secondary);
}

/* ICONS SOCIAL */
.social-media {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

.social-media span {
    font-size: var(--fs-base);
    margin-right: var(--space-xs);
    letter-spacing: .05rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--accent);
    border-radius: 50%;
    font-size: var(--fs-lg);
    color: var(--accent);
    margin: var(--space-xl) var(--space-md) var(--space-xl) 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--accent);
    color: var(--bg-secondary);
    box-shadow: 0 0 1rem var(--accent);
}

/* ===== SECTION 2 : ABOUT DESIGN ===== */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
}

.about-img .img-box {
    position: relative;
    width: 23vw;
    height: 34vw;
    border-radius: 5%;
    box-shadow: 0 0 20px var(--accent);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.about-img .img-box picture,
.about-img .img-box img {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* GLOBAL HEADING */
.heading {
    text-align: center;
    font-size: var(--fs-3xl);
    margin: var(--space-lg);
}

/* ABOUT CONTENT */
.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 600px;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: var(--fs-xl);
}

.about-content p {
    font-size: var(--fs-sm);
    max-width: 550px;
    line-height: 1.6;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}
.about-content h4 + p {
    margin-top: var(--space-sm);
}

/* HIGHLIGHTED PHARSE */
.about-content h4 {
    font-size: var(--fs-xs);
    margin-top: var(--space-sm);
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 600;
    border-left: 3px solid rgba(0, 238, 255, 0.25);
}

/* LIST LANGUAGE */
.prog-lang {
    margin-top: var(--space-lg);
}

.prog-lang h3 {
    font-size: var(--fs-base);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.cell {
    display:flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: .5s ease;
}

.cell img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}

.cell span {
    line-height: 1;
    display: flex;
    align-items: center;
    font-size: var(--fs-sm);
    color: var(--text-primary);
}

.cell:hover {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transform: translateY(-2px);
}

/* ===== SECTION 3 : JOURNEY DESIGN ===== */
/* BUTTON LINK */
.journey-tabs {
    padding: var(--space-lg);
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.journey-btn {
    background: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    column-gap: .25rem;
    cursor: pointer;
    transition: color .4s;
    font-size: var(--fs-lg);
}

.journey-btn i {
    font-size: var(--fs-lg);
}

.journey-btn:hover {
    color: var(--accent);
}

/* LAYOUT */
.journey-area {
    position: relative;
    padding-left: var(--space-sm);
    max-width: 700px;
    margin: 0 auto;
}

.journey-content {
    display: grid;
    row-gap: 4rem;
    padding: var(--space-sm);
}

.journey-card {
    display: grid;
    row-gap: var(--space-sm);
    max-width: 700px;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    column-gap: 3rem;
}

.journey-data {
    display: flex;
    justify-content: space-between;
    padding-left: var(--space-md);
}

.journey-title {
    margin-bottom: .5rem;
}

.journey-subtitle {
    font-weight: 400;
    color: var(--accent);
    font-size: var(--fs-base);
}

.journey-year {
    font-size: var(--fs-lg);
}

.journey-description {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

/* LINE STYLE */
.journey-line {
    width: 4px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0,238,255,0) 0%,
        rgba(0,238,255,0.3) 30%,
        rgba(0,238,255,1) 100%
    );
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
}

.journey-line::after {
    content: '';
    width: 16px;
    height: 16px;
    background-color: var(--accent);
    border-radius: 50%;
    position: absolute;
    bottom: -1px;
    left: -6px;
}

/* == SHOW & HIDE SECTION == */
.journey-area [data-content]{
    display: none;
}

.journey-active[data-content]{
    display: grid;
}

/* == ACTIVE TAB == */
.journey-btn.journey-active{
    color: var(--accent);
    border-bottom: 2px solid transparent;
    border-color: var(--accent);
}

/* ===== SECTION 4 : PORTFOLIO DESIGN ===== */
/* == GRID DISPLAY == */
.portfolio-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.portfolio-box {
    position: relative;
    border-radius: 16px;
    padding: 2rem;
    transition: 0.3s ease;
}

.portfolio-detail {
    display: none;
}

.portfolio-detail.active {
    display: block;
}

.portfolio-box .numb {
    font-size: 7rem;
    background: linear-gradient(45deg, #00eeff, #7f5cff);
    -webkit-background-clip: text;
    color: transparent;
    opacity: 0.3;
}

.portfolio-box h4 {
    font-size: var(--fs-2xl);
    margin: 0.5rem 0;
}

.portfolio-box p {
    font-size: var(--fs-base);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

.portfolio-box .tech {
    margin: 2rem 0;
    color: var(--accent);
    border-bottom: .1rem solid var(--text-primary);
    padding-bottom: 2rem;
}

.portfolio-box .tech h5 {
    font-size: var(--fs-base);
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.portfolio-box .live-github a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-size: 2.2rem;
    color: var(--text-primary);
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.portfolio-box .live-github a:hover {
    background: rgba(0,238,255,0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 0 15px rgba(0,238,255,0.3);
}

.portfolio-box .live-github a:first-child {
    margin-right: 1.5rem;
}

.portfolio-box .live-github a:first-child i {
    transform: rotate(135deg);
}

.portfolio-box .live-github a p {
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%) scale(.9);
    font-size: 1.6rem;
    white-space: nowrap;
    padding: .5rem 1rem;
    border-radius: .6rem;
    pointer-events: none;
    background: var(--text-primary);
    color: var(--bg-primary);
    opacity: 0;
    transition: .2s;
}

.portfolio-box .live-github a:hover p {
    top: -70%;
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* == IMAGE CAROUSEL == */
.portfolio-box .portfolio-carousel {
    width: 100%;
    height: 45rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.portfolio-carousel .img-slide {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 2rem;
    height: inherit;
    transition: .5s;
}

.portfolio-carousel .img-item {
    height: inherit;
}

.portfolio-carousel .img-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: 0.4s ease;
}

.portfolio-box .navigation {
    text-align: right;
    margin-top: 2rem;
}

.portfolio-box .navigation button {
    display: inline-flex;
    padding: .4rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,238,255,0.3);
    border-radius: 8px;
    font-size: 3rem;
    color: var(--accent);
    cursor: pointer;
}

.portfolio-box .navigation button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.portfolio-box .navigation .arrow-right {
    margin-left: 1.5rem;
}

/* ===== SECTION 5 : CONTACT DESIGN ===== */
/* CONTACT BOX */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-box {
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(6px);
}

.contact h3 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-sm);
}

.contact-box .desc {
    margin: var(--space-md) 0 var(--space-xl);
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-style: italic;
}

.contact-box .contact-detail {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

/* CONTACT ICON */
.contact-detail i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(0, 238, 255, 0.08);
    color: var(--accent);
    font-size: var(--fs-lg);
    border-radius: 10px;
    border: 1px solid rgba(0, 238, 255, 0.2);
    transition: var(--transition-smooth);
}

.contact-detail:hover i {
    box-shadow: 0 0 12px rgba(0, 238, 255, 0.5);
    transform: translateY(-2px);
}

.contact-detail .detail p:first-child {
    color: var(--accent);
    font-size: var(--fs-sm);
    margin-bottom: 2px;
}

.contact-detail .detail p:last-child {
    color: var(--text-primary);
    font-size: var(--fs-base);
}

.contact h2 {
    margin-bottom: var(--space-xl);
}

.contact h3 {
    font-size: var(--fs-xl);
}

/* FORM CONTACT */
.contact form {
    max-width: 70rem;
    margin: var(--space-sm) auto;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact form .input-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);

}

.contact form .field {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .field label {
    margin-bottom: .5rem;
    font-size: var(--fs-sm);
    color: var(--accent);
    text-align: left;
}

.contact form input:not(.btn),
.contact form textarea {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--fs-base);
    color: var(--text-primary);
    background: rgba(31, 36, 45, 0.7);
    border-radius: .8rem;
    border: none;
}

.contact form textarea {
    grid-column: 1 / 3;
    resize: none;
}

.contact form .btn {
    margin-top: var(--space-lg);
    cursor: pointer;  
}

/* GLOBAL BUTTON STYLE */
.btn {
    display: inline-block;
    padding: var(--space-sm) 2.8rem;
    background: var(--accent);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--accent);
    font-size: var(--fs-base);
    color: var(--bg-secondary);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn:hover {
    box-shadow: none;
}

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

.footer {
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-2xl) 9% var(--space-lg);
    
}

/* GRID LAYOUT */
.footer-container {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: var(--space-2xl);
    align-items: start;
}

/* LOGO */
.footer-logo img {
    width: 160px;
    height: 100px;
    margin-bottom: var(--space-sm);
}

.footer-logo p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    font-style: italic;
}

/* LINKS */
.footer-links h3,
.footer-social h3 {
    margin-bottom: var(--space-md);
    font-size: var(--fs-base);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    transition: var(--transition-smooth);
}

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

/* SOCIAL */
.footer-social a {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    position: relative;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    color: var(--accent);
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-md);
}

.footer-bottom p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

/* ICON TOP */
.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--accent);
    border-radius: .8rem;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 var(--space-sm) var(--accent);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--bg-secondary);
}

/* ===== BREAKPOINTS ===== */
/* ===== FOR 2048px ===== */
@media screen and (min-width: 2048px) {
    body {
        zoom: 1.4;
    }
}

/* ===== FOR DEKSTOP LAYOUT ===== */
@media screen and (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .journey-container {
        grid-template-columns: 1050px;
        row-gap: 3rem;
    }

    .journey-content {
        row-gap: 5rem;
    }

    .journey-card {
        column-gap: 9rem;
    }

    .journey-title {
        font-size: var(--fs-2xl);
    }

    .journey-subtitle,
    .journey-description {
        font-size: var(--fs-lg);
    }
}

@media (max-width: 992px) {
    .header {
        padding: var(--space-lg) 4%;
    }

    section {
        padding: 10rem 4% var(--space-lg);
    }

    .journey {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: var(--space-lg) 3%;
    }
}

/* ===== FOR TABLET LAYOUT ===== */
@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: var(--space-sm) 3%;
        background: var(--bg-primary);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: var(--fs-lg);
        margin: var(--space-xl);
    }

    .home {
        flex-direction: column-reverse;
        justify-content: center;
        gap: var(--space-lg);
        padding-top: 100px;
        min-height: auto;
    }

    .home-content h1 {
        font-size: var(--fs-xl);
        padding-top: var(--space-lg);
    }

    .home-content h2 {
        font-size: var(--fs-3xl);
    }

    .home-content h3 {
        font-size: var(--fs-xl);
        padding-top: var(--space-lg);
    }

    .home-img .img-box {
        width: 35rem;
        height: 35rem;
    }

    .social-media h1 {
        font-size: 1.3rem;
    }

    .about {
        flex-direction: column-reverse;
    }

    .about-img .img-box {
        width: 53vw;
        height: 55vw;
    }

    .cell {
        padding: 5px 10px;
        font-size: 0.85rem;
    }

    .cell img {
        display: block;
        margin: auto;
        width: 20px;
        height: 20px;
    }

    .journey h1 {
        margin-bottom: var(--space-xl);
    }

    .journey-container {
        grid-template-columns: 600px;
    }

    .journey-area {
        padding-left: var(--space-sm);
    }

    .journey-card {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
    }

    .journey-line {
        left: -.25rem;
        right: auto;
        margin: 0;
    }

    .portfolio h1 {
        margin-bottom: var(--space-xl);
    }

    .portfolio-container {
        grid-template-columns: 1fr;
    }

    .portfolio-container .portfolio-box:first-child {
        order: 1;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social a {
        margin: 0 var(--space-xs);
    }
}

/* ===== FOR MOBILE LAYOUT ===== */
@media (max-width: 576px) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }

    .home-img .img-box {
        width: 30rem;
        height: 30rem;
    }

    .journey-container {
        grid-template-columns: 460px;
        justify-content: center;
    }

    .journey-tabs {
        width: 330px;
        justify-self: center;
    }

    .journey-data {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .contact-box .input-box {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .contact form .input-box input {
        width: 100%;
    }
}

@media (max-width: 365px) {
    .home-img .img-box {
        width: 25rem;
        height: 25rem;
        align-items: center;
    }

    .home-content h1,
    .home-content h2,
    .home-content h3,
    .home-content p {
        text-align: center;
    }

    .about-content h1,
    .about-content h2,
    .about-content p {
        text-align: center;
    }

    .about-img img {
        width: 90vw;
    }

    .journey-tabs {
        padding-inline: 1rem;
    }

    .footer p {
        text-align: center;
        margin-top: var(--space-lg);
    }
}