/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
    --bg-gradient-onyx: linear-gradient(to bottom right, hsl(240, 1%, 25%) 3%, hsl(0, 0%, 19%) 97%);
    --bg-gradient-jet: linear-gradient(to bottom right, hsla(240, 1%, 18%, 0.251) 0%, hsla(240, 2%, 11%, 0) 100%), hsl(240, 2%, 13%);
    --bg-gradient-yellow-1: linear-gradient(to bottom right, hsl(45, 100%, 71%) 0%, hsla(36, 100%, 69%, 0) 50%);
    --bg-gradient-yellow-2: linear-gradient(135deg, hsla(45, 100%, 71%, 0.251) 0%, hsla(35, 100%, 68%, 0) 59.86%), hsl(240, 2%, 13%);
    --border-gradient-onyx: linear-gradient(to bottom right, hsl(0, 0%, 25%) 0%, hsla(0, 0%, 25%, 0) 50%);
    --text-gradient-yellow: linear-gradient(to right, hsl(45, 100%, 72%), hsl(35, 100%, 68%));
    --jet: hsl(0, 0%, 22%);
    --onyx: hsl(240, 1%, 17%);
    --eerie-black-1: hsl(240, 2%, 13%);
    --eerie-black-2: hsl(240, 2%, 12%);
    --smoky-black: hsl(0, 0%, 7%);
    --white-1: hsl(0, 0%, 100%);
    --white-2: hsl(0, 0%, 98%);
    --orange-yellow-crayola: hsl(45, 100%, 72%);
    --vegas-gold: hsl(45, 54%, 58%);
    --light-gray: hsl(0, 0%, 84%);
    --light-gray-70: hsla(0, 0%, 84%, 0.7);
    --bittersweet-shimmer: hsl(0, 43%, 51%);
    --ff-poppins: 'Poppins', sans-serif;

    /* Incremented base font sizes */
    --fs-1: 28px;
    --fs-2: 22px;
    --fs-3: 20px;
    --fs-4: 18px;
    --fs-5: 17px;
    --fs-6: 16px;
    --fs-7: 15px;
    --fs-8: 13px;

    --fw-300: 300;
    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;
    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
    --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
    --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);
    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease-in-out;
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

a {
    text-decoration: none;
}

li {
    list-style: none;
}

img,
ion-icon,
a,
button,
time,
span {
    display: block;
}

button {
    font: inherit;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

input,
textarea {
    display: block;
    width: 100%;
    background: none;
    font: inherit;
}

::selection {
    background: var(--orange-yellow-crayola);
    color: var(--smoky-black);
}

:focus {
    outline-color: var(--orange-yellow-crayola);
}

html {
    font-family: var(--ff-poppins);
}

/* body {
    background: var(--smoky-black);
} */

body {
    background: var(--smoky-black);
    position: relative;
    /* Required to keep the grid at the top */
}

/* --- THE FADING TOP GRID --- */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Makes the grid cover exactly one screen height */
    z-index: -1;
    /* Puts the grid behind all your content */

    /* Draws the actual grid lines using your existing grey color */
    background-image:
        linear-gradient(var(--jet) 1px, transparent 1px),
        linear-gradient(90deg, var(--jet) 1px, transparent 1px);

    /* The size of the grid squares (adjust if you want them bigger/smaller) */
    background-size: 50px 50px;

    /* The magic part: Fades the grid out from top to bottom */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);

    /* Makes it subtle so it doesn't distract from your text */
    opacity: 0.4;
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

article {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 15px;
    z-index: 1;
    display: none;
}

article.active {
    display: block;
    animation: fade 0.5s ease backwards;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.separator {
    width: 100%;
    height: 1px;
    background: var(--jet);
    margin: 16px 0;
}

.icon-box {
    position: relative;
    background: var(--border-gradient-onyx);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: var(--orange-yellow-crayola);
    box-shadow: var(--shadow-1);
    z-index: 1;
}

.icon-box::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--eerie-black-1);
    border-radius: inherit;
    z-index: -1;
}

.icon-box ion-icon {
    --ionicon-stroke-width: 35px;
}

.h2,
.h3,
.h4,
.h5 {
    color: var(--white-2);
    text-transform: capitalize;
}

.h2 {
    font-size: var(--fs-1);
}

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

.h4 {
    font-size: var(--fs-4);
}

.h5 {
    font-size: var(--fs-7);
    font-weight: var(--fw-500);
}

.article-title {
    position: relative;
    padding-bottom: 7px;
    margin-bottom: 14px;
}

.article-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--text-gradient-yellow);
    border-radius: 3px;
}

.has-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.has-scrollbar::-webkit-scrollbar-track {
    background: var(--onyx);
    border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
    background: var(--orange-yellow-crayola);
    border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button {
    width: 20px;
}

.content-card {
    position: relative;
    background: var(--border-gradient-onyx);
    padding: 15px;
    padding-top: 45px;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    cursor: pointer;
    z-index: 1;
}

.content-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
}

/* Moved Inline Styles to Classes */
.section-description-wrapper {
    margin-bottom: 25px;
}

.section-description {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
    margin-bottom: 15px;
}

.highlight-link {
    color: var(--orange-yellow-crayola);
    font-weight: var(--fw-500);
    display: inline;
}

.social-links-list {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.social-link-btn {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
    font-weight: var(--fw-500);

    /* CHANGED THIS: Solid dark grey instead of transparent white */
    background: var(--eerie-black-2);

    border: 1px solid var(--jet);
    padding: 7px 14px;
    border-radius: 8px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-link-btn:hover {
    color: var(--white-1);

    /* CHANGED THIS: A slightly lighter solid grey on hover */
    background: var(--jet);
}

.social-link-btn ion-icon,
.social-link-btn svg {
    font-size: 18px;
}

/*-----------------------------------*\
  #TOP BAR
\*-----------------------------------*/

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: hsla(0, 0%, 5%, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--jet);
    box-shadow: var(--shadow-2);
    height: 60px;
}

.site-title {
    color: var(--white-2);
    font-size: var(--fs-4);
    font-weight: var(--fw-600);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.site-title span {
    display: inline;
    background: var(--text-gradient-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-list {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.navbar-link {
    color: var(--light-gray);
    font-size: var(--fs-8);
    padding: 8px 10px;
    border-radius: 8px;
    transition: color var(--transition-1), background var(--transition-1);
    white-space: nowrap;
}

.navbar-link:hover,
.navbar-link:focus {
    color: var(--light-gray-70);
    background: hsla(240, 1%, 25%, 0.5);
}

.navbar-link.active {
    color: var(--orange-yellow-crayola);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    z-index: 20;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--light-gray);
    border-radius: 2px;
    transition: var(--transition-1);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: hsla(0, 0%, 5%, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--jet);
    z-index: 9;
    padding: 10px 0;
    box-shadow: var(--shadow-3);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav .navbar-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 15px;
}

.mobile-nav .navbar-link {
    padding: 12px 15px;
    font-size: var(--fs-6);
    border-radius: 10px;
}

/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
    padding-top: 75px;
    /* Changed from margin-top to padding-top */
    margin-bottom: 40px;
    padding-left: 20px;
    /* Split from the shorthand padding */
    padding-right: 20px;
    /* Split from the shorthand padding */
    min-width: 259px;
}

.main-content {
    position: relative;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .article-title {
    margin-bottom: 15px;
}

.about-text {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 15px;
}

.service {
    margin-bottom: 35px;
}

.service-title {
    margin-bottom: 20px;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-item {
    position: relative;
    background: var(--border-gradient-onyx);
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    z-index: 1;
}

.service-item::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
}

.service-icon-box {
    margin-bottom: 10px;
}

.service-icon-box img {
    margin: auto;
}

.service-content-box {
    text-align: center;
}

.service-item-title {
    margin-bottom: 7px;
}

.service-item-text {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
}

/*-----------------------------------*\
  #CREATORS (Infinite Marquee)
\*-----------------------------------*/

.creators {
    margin-bottom: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--jet);
}

.creators-header {
    text-align: left;
    margin-bottom: 25px;
}

.section-subtext {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    margin-top: 5px;
}

.scroller {
    max-width: 100%;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.scroller-inner {
    padding-block: 10px;
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    width: max-content;
    animation: scroll 15s forwards linear infinite;
}

.scroller:hover .scroller-inner {
    animation-play-state: paused;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 1.5rem));
    }
}

.creator-item {
    list-style: none;
}

.creator-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.creator-link:hover {
    transform: scale(1.05);
}

.creator-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--onyx);
}

.creator-info {
    display: flex;
    flex-direction: column;
}

.creator-name {
    color: var(--white-2);
    font-size: var(--fs-6);
    font-weight: var(--fw-500);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.creator-name ion-icon {
    color: var(--light-gray-70);
    font-size: 14px;
}

.creator-subs {
    color: var(--light-gray-70);
    font-size: var(--fs-8);
    font-weight: var(--fw-300);
    white-space: nowrap;
}

/*-----------------------------------*\
  #SKILLS
\*-----------------------------------*/
.skills-title {
    margin-bottom: 20px;
}

.skills-list {
    padding: 20px;
}

.skills-item:not(:last-child) {
    margin-bottom: 15px;
}

.skill .title-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.skill .title-wrapper data {
    color: var(--light-gray);
    font-size: var(--fs-7);
    font-weight: var(--fw-300);
}

.skill-progress-bg {
    background: var(--jet);
    width: 100%;
    height: 8px;
    border-radius: 10px;
}

.skill-progress-fill {
    background: var(--orange-yellow-crayola);
    height: 100%;
    border-radius: inherit;
    position: relative;
}

.skill-progress-fill::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--orange-yellow-crayola);
    border-radius: 50%;
    box-shadow: var(--vegas-gold);
}

/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.project-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 10px;
}

.project-item {
    display: none;
}

.project-item.active {
    display: block;
    animation: scaleUp 0.25s ease forwards;
}

@keyframes scaleUp {
    0% {
        transform: scale(0.5);
    }

    100% {
        transform: scale(1);
    }
}

.project-item>a {
    width: 100%;
}

.project-img {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    transition: var(--transition-1);
}

.project-item>a:hover .project-img::before {
    background: hsla(0, 0%, 0%, 0.5);
}

/* --- FEATURED SHOWREEL --- */
.showreel-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--jet);
    box-shadow: var(--shadow-3);
    margin-bottom: 40px;
    background: var(--smoky-black);
    position: relative;
    cursor: pointer;
}

.showreel-timestamp {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white-1);
    font-size: 13px;
    font-weight: var(--fw-500);
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.showreel-container.is-playing .showreel-timestamp {
    opacity: 0;
}

.showreel-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    outline: none;
    transition: transform 0.4s ease;
}

.showreel-container:hover .showreel-video {
    transform: scale(1.05);
}

.showreel-container.is-playing:hover .showreel-video {
    transform: scale(1);
}

.showreel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.showreel-container:hover .showreel-overlay {
    opacity: 1;
}

.play-btn-circle {
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.showreel-container:hover .play-btn-circle {
    transform: scale(1);
}

.play-btn-circle ion-icon {
    color: var(--orange-yellow-crayola);
    font-size: 90px;
    margin-left: 0;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.7));
}

.showreel-container.is-playing .showreel-overlay,
.showreel-container.is-playing:hover .showreel-overlay {
    opacity: 0;
    pointer-events: none;
}

/* --- CUSTOM MINIMAL CONTROLS --- */
.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px 25px 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.timeline-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    color: var(--white-1);
    font-size: 13px;
    font-weight: var(--fw-500);
    font-variant-numeric: tabular-nums;
}

#timeline-slider {
    flex-grow: 1;
    cursor: pointer;
    accent-color: var(--orange-yellow-crayola);
    height: 4px;
    transition: height 0.1s;
}

#timeline-slider:hover {
    height: 6px;
}

.showreel-container.is-playing:hover .custom-controls {
    opacity: 1;
    pointer-events: all;
}

.control-btn {
    background: transparent;
    color: var(--white-1);
    font-size: 26px;
    transition: color 0.2s;
}

.control-btn:hover {
    color: var(--orange-yellow-crayola);
}

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

#volume-slider {
    width: 80px;
    cursor: pointer;
    accent-color: var(--orange-yellow-crayola);
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 10px;
}

/* --- VIDEO PORTFOLIO CARDS --- */
.video-thumbnail-box {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-timestamp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--white-2);
    font-size: 12px;
    font-weight: var(--fw-500);
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-1);
    z-index: 2;
}

.play-overlay ion-icon {
    color: var(--orange-yellow-crayola);
    font-size: 55px;
    filter: drop-shadow(0 4px 15px rgba(255, 0, 0, 0.6));
    transform: scale(0.8);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-card:hover .play-overlay ion-icon {
    transform: scale(1);
}

.video-card:hover .project-title {
    color: var(--orange-yellow-crayola);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-1);
}

.project-item>a:hover img {
    transform: scale(1.1);
}

.project-title,
.project-category {
    margin-left: 10px;
}

.project-title {
    color: var(--white-2);
    font-size: var(--fs-5);
    font-weight: var(--fw-400);
    text-transform: capitalize;
    line-height: 1.3;
}

.project-category {
    color: var(--light-gray-70);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
}

/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact-form {
    margin-bottom: 10px;
}

/* Email Validation Error */
.email-error-msg {
    position: absolute;
    bottom: -20px;
    left: 15px;
    color: var(--orange-yellow-crayola);
    font-size: 12px;
    font-weight: var(--fw-500);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-1);
}

.email-error-msg.show {
    opacity: 1;
    visibility: visible;
}

.form-input.invalid-email {
    border-color: var(--orange-yellow-crayola);
}

.form-title {
    margin-bottom: 20px;
}

.input-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-input {
    color: var(--white-2);
    font-size: var(--fs-6);
    font-weight: var(--fw-400);
    padding: 13px 20px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    outline: none;

    /* ADD THIS LINE: Gives it a solid dark grey background */
    background: var(--eerie-black-2);
}

.form-input::placeholder {
    font-weight: var(--fw-500);
}

.form-input:focus {
    border-color: var(--orange-yellow-crayola);
}

/* --- Character Counter & Auto-Expanding Textarea --- */
.textarea-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.textarea-wrapper textarea.form-input {
    padding-bottom: 40px !important;
    margin-bottom: 0 !important;
    overflow: hidden;
    resize: none;
    width: 100%;
    min-height: 120px;

    /* THE FIX: Removes the 200px ceiling so it can grow forever */
    max-height: none !important;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.char-count {
    position: absolute;
    bottom: 12px;
    right: 15px;
    font-size: 12px;
    color: var(--light-gray-70);
    pointer-events: none;
    transition: color 0.2s ease;
}

.char-count.limit-reached {
    color: #ff5e5e;
    font-weight: bold;
}

.form-btn {
    position: relative;
    width: 100%;
    background: var(--border-gradient-onyx);
    color: var(--orange-yellow-crayola);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 14px;
    font-size: var(--fs-6);
    text-transform: capitalize;
    box-shadow: var(--shadow-3);
    z-index: 1;
    transition: var(--transition-1);
}

.form-btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
    transition: var(--transition-1);
}

.form-btn ion-icon {
    font-size: 16px;
}

.form-btn:hover {
    background: var(--bg-gradient-yellow-1);
}

.form-btn:hover::before {
    background: var(--bg-gradient-yellow-2);
}

.form-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-btn:disabled:hover {
    background: var(--border-gradient-onyx);
}

.form-btn:disabled:hover::before {
    background: var(--bg-gradient-jet);
}


/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

@media (min-width: 450px) {
    .clients-item {
        min-width: calc(33.33% - 10px);
    }

    .project-img {
        height: auto;
    }
}

@media (min-width: 580px) {
    :root {
        /* Larger fonts for desktop visibility */
        --fs-1: 36px;
        --fs-2: 28px;
        --fs-3: 28px;
        --fs-4: 20px;
        --fs-6: 17px;
        --fs-7: 16px;
        --fs-8: 14px;
    }

    /* Allows content to breathe more than 520px limit */
    article {
        width: 100%;
        max-width: 650px;
        margin-inline: auto;
        padding: 30px;
    }

    .article-title {
        font-weight: var(--fw-600);
        padding-bottom: 15px;
        margin-bottom: 30px;
    }

    .article-title::after {
        width: 40px;
        height: 5px;
    }

    .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        font-size: 18px;
    }

    .navbar-link {
        font-size: var(--fs-7);
        padding: 8px 12px;
    }

    .about .article-title {
        margin-bottom: 20px;
    }

    .about-text {
        margin-bottom: 40px;
    }

    .service-item {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 18px;
        padding: 30px;
    }

    .service-icon-box {
        margin-bottom: 0;
        margin-top: 5px;
    }

    .service-content-box {
        text-align: left;
    }

    .content-card {
        padding: 30px;
        padding-top: 25px;
    }

    .skills-item:not(:last-child) {
        margin-bottom: 25px;
    }

    .project-img {
        border-radius: 16px;
    }

    .input-wrapper {
        gap: 30px;
        margin-bottom: 30px;
    }

    .form-input {
        padding: 15px 20px;
    }

    textarea.form-input {
        margin-bottom: 30px;
    }

    .form-btn {
        --fs-6: 16px;
        padding: 16px 20px;
    }

    .form-btn ion-icon {
        font-size: 18px;
    }
}

@media (min-width: 768px) {

    /* Stretching bounds closer to side */
    article {
        max-width: 850px;
    }

    .has-scrollbar::-webkit-scrollbar-button {
        width: 100px;
    }

    .navbar-link {
        font-size: var(--fs-6);
        padding: 10px 14px;
    }

    .article-title {
        padding-bottom: 20px;
    }

    .project-list {
        grid-template-columns: 1fr 1fr;
    }

    .input-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .form-btn {
        width: max-content;
        margin-left: auto;
    }
}

@media (min-width: 1024px) {
    :root {
        --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
        --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
        --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
    }

    /* Stretching bounds closer to side */
    article {
        max-width: 1100px;
    }

    .main-content {
        position: relative;
        width: 100%;
    }

    .navbar-link {
        font-size: var(--fs-6);
        font-weight: var(--fw-500);
        padding: 10px 16px;
    }

    .service-list {
        grid-template-columns: 1fr 1fr;
        gap: 20px 25px;
    }

    .service-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 12.5px);
        justify-self: center;
    }

    .project-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1250px) {
    body::-webkit-scrollbar {
        width: 20px;
    }

    body::-webkit-scrollbar-track {
        background: var(--smoky-black);
    }

    body::-webkit-scrollbar-thumb {
        border: 5px solid var(--smoky-black);
        background: hsla(0, 0%, 100%, 0.1);
        border-radius: 20px;
        box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11), inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
    }

    body::-webkit-scrollbar-thumb:hover {
        background: hsla(0, 0%, 100%, 0.15);
    }

    body::-webkit-scrollbar-button {
        height: 60px;
    }

    article {
        width: auto;
        min-height: 100%;
    }

    /* Expand the main wrapper container heavily */
    main {
        max-width: 1250px;
        margin-inline: auto;
    }
}

@media (max-width: 639px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        display: none;
    }

    .site-title {
        font-size: var(--fs-6);
    }
}

@media (min-width: 640px) {

    .mobile-nav,
    .hamburger {
        display: none !important;
    }
}

/* Hide all scrollbars but keep scrolling functionality */
html,
body,
.has-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none !important;
}

/* --- Custom Toast Notification --- */
.toast {
    position: fixed;
    bottom: 25px;
    right: -400px;
    background: var(--eerie-black-2);
    color: var(--white-2);
    padding: 16px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--orange-yellow-crayola);
    box-shadow: var(--shadow-3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-6);
    font-weight: var(--fw-500);
    z-index: 100;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    right: 25px;
}

.toast ion-icon {
    color: var(--orange-yellow-crayola);
    font-size: 24px;
}