:root {
    --max-width: 83vw;
    --font-logo: 'Caveat', cursive;
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Poetsen One', sans-serif;
    --purple: #7f1dff;
    --pink: #D46F88;
    --orange: #EAAE5d;
    --yellow: #FFEB34;
    --selection: #E29B6B;
    --bg-color: rgb(20, 20, 20);
    --card-color: rgb(23, 23, 23);
}

::selection {
    background-color: var(--selection);
    color: var(--bg-color);

}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: var(--font-body);
    background-color: #181818;
    color: #fff;
    overflow-x: hidden !important;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: none;
}

/* --------------------------------------------CUSTOM CURSOR----------------------------------------------------------- */

.custom-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    background: url('../assets/images/cursor.webp') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    will-change: transform;
    z-index: 10000;
}

/* -----------------------------------------------------ANIMATION.JS----------------------------------------------------------- */

.typed-cursor {
    display: none;
}

/* -----------------------------------------------------NAVBAR----------------------------------------------------------- */

header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 0;
    transition: all ease-in-out 0.3s;
}

nav {
    width: 100%;
    max-width: 95vw;
    margin: 0.5rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

nav .logo {
    font-family: var(--font-logo);
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    font-weight: 900;
    background: linear-gradient(to right, var(--purple), var(--pink), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(0.5rem, 1.5vw, 0.8rem) clamp(1rem, 4vw, 2rem);
    list-style: none;
    font-size: 1.2rem;
    position: relative;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
}

nav ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, var(--purple), var(--pink), var(--orange));
    border-radius: 50px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1.5px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    position: relative;
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: linear-gradient(to right, var(--purple), var(--pink), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a,
button,
.hamburger {
    cursor: none;
}

.download {
    padding: clamp(0.5rem, 1vw, 0.71rem) clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-family: var(--font-heading);
    background: linear-gradient(to right, var(--purple) 0%, var(--pink) 75%, var(--orange) 100%);
    color: white;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: none;
    border-radius: 1.5rem;
}

.download:active {
    transform: scale(0.95);
    will-change: transform;
}

.download i {
    font-size: 1.1rem;
    font-weight: 900;
    margin-right: 0.1rem;
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: white;
    z-index: 1000;
}

/*----------------------------------------------------HERO---------------------------------------------------------------- */
section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.main {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

#lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;

    -webkit-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #181818 13%, #181818 87%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #181818 13%, #181818 87%, transparent 100%);
}

#home {
    position: relative;
    z-index: 1;
    width: 100%;
    height: calc(100vh + 80px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

#hello button {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    font-weight: bold;
    font-family: var(--font-heading);
    padding: clamp(0.5rem, 1vw, 0.71rem) clamp(1.5rem, 4vw, 2rem);
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 3.5rem;
    cursor: none;
    transition: all 0.3s ease;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#home .text {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

#home h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    font-family: var(--font-logo);
    font-weight: 900;
    margin-bottom: -1.2rem;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.445));
}

#home h1 span {
    font-size: clamp(2rem, 8vw, 5rem);
    font-family: var(--font-heading);
    font-weight: 900;
    background: linear-gradient(to right, var(--purple), var(--pink), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#home p {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    font-family: var(--font-logo);
    color: white;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.445));
}

#home .my_pic {
    height: 106vh;
    position: absolute;
    bottom: 0;
    object-fit: cover;
    object-position: top;
    will-change: transform;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.3));
    -webkit-mask-image: linear-gradient(to bottom, #181818 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, #181818 93%, transparent 100%);
}

/* ------------------------------------------------------STRING---------------------------------------------------------------- */


#string {
    position: absolute;
    bottom: -12.6%;
    z-index: 100;
    height: 200px;
    width: 100%;
    /* z-index: 10000; */
}

#string svg {
    height: 100%;
    width: 100%;
    overflow: hidden;
    opacity: 0.2;
}

/* ------------------------------------------------------ABOUT---------------------------------------------------------------- */

#about {
    position: relative;
    width: 100%;
    padding: 0rem 0 4.2rem 0;
    overflow: hidden;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/lines_3.webp');
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(24, 24, 24, 0.99) 20%, rgba(24, 24, 24, 0.99) 87%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(24, 24, 24, 0.99) 20%, rgba(24, 24, 24, 0.99) 87%, transparent 100%);
}

#about h1 {
    text-align: center;
    margin: 2rem 0 3rem;
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 600;
    font-family: var(--font-heading);
    background: linear-gradient(to right, var(--purple), var(--pink), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

#about .container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    z-index: 1;
    height: fit-content;
}


.about_intro-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: clamp(1rem, 5vw, 2rem);
    background-color: rgba(30, 30, 30, 0.2);
    border: 1px solid rgba(109, 102, 102, 0.229);
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(4px);
}


.about_card-image {
    flex: 0 0 37%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
}

.about_card-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    border: 1px solid rgba(109, 102, 102, 0.229);
}

.about_card-info-title {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.71rem;
    overflow: hidden;
    word-spacing: 2px;

}

.about_card-info-title h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}


.about_card-info-title h4 {
    font-size: clamp(1rem, 1.7vw, 2.7rem);
    font-family: var(--font-logo);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
    margin-bottom: 0.51rem;
    width: fit-content;
}

.about_card-info-title h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(to right, var(--purple), var(--pink), var(--orange));
    width: 10%;
    transition: width 0.4s ease;
    border-radius: 999px;
}

.about_card-info-title h4:hover::after {
    width: 100%;
}

.about_card-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 98%;
}

.about_card-desc span {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-family: var(--font-body);
    text-align: justify;
    color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------MARQUEE-------------------------------------------- */

#move {
    background-color: transparent;
    display: flex;
    overflow: hidden;
    padding: 1vw 0;
}

.marque {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 3vw;
    padding: 0 1.5vw;
    will-change: transform;
    transform: translateX(-100%);
}

.marque img {
    width: 40px;
    height: 40px;
}

.marque i {
    font-size: 50px;
    color: #ec4899;
    background: linear-gradient(90deg, #d946ef, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------------------------------skills---------------------------------------------------------------- */


#skills,
#others,
#projects {
    position: relative;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#others {
    padding: 0;
}


#skills h1,
#others h1,
#projects h1,
#contact h1 {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 600;
    font-family: var(--font-heading);
    background: linear-gradient(to right, var(--purple), var(--pink), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


#about .blurRectangle {
    position: absolute;
    top: 30%;
    right: 13%;
    z-index: 0;
    opacity: 0.3;
    /* filter: blur(10px); */
    pointer-events: none;
    transform: translate(30%, -30%) rotate(37deg);
    border: 4px solid rgba(203, 203, 203, 0.506);
    animation: smoothFloat 7.5s ease-in-out infinite;
}

@keyframes smoothFloat {
    0% {
        transform: translate(30%, -30%) rotate(37deg);
    }

    50% {
        transform: translate(32%, -34%) rotate(39deg);
    }

    100% {
        transform: translate(30%, -30%) rotate(37deg);
    }
}

.blurRectangle img {
    width: 450px;
    height: auto;
    object-fit: cover;
    user-select: none;
    animation: floatImage 7.5s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

#skills .blurRectangle,
#projects .blurRectangle {
    position: absolute;
    top: 50%;
    left: -10%;
    z-index: 0;
    opacity: 0.3;
    filter: blur(3px);
    pointer-events: none;
    will-change: transform;
    transform: translate(30%, -30%) rotate(37deg);
    border: 4px solid rgba(203, 203, 203, 0.506);
    animation: smoothFloat 3.5s ease-in-out infinite;
    z-index: -1;
}

#cards,
#boards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    padding: 5rem 1rem;
    justify-content: center;
    align-items: center;
    margin: 0;
}


.card,
.board {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    height: 260px;
    width: 100%;
    max-width: 580px;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.board:hover::before {
    opacity: 1;

}

.card::before,
.card::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 500ms;
    width: 100%;

}

.card::before {
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 183, 0, 0.261),
            transparent 40%);
    z-index: 3;
}

.card::after {
    background: radial-gradient(280px circle at var(--mouse-x) var(--mouse-y),
            /* #8d36ff, */
            rgb(212, 111, 136) 1%,
            rgb(234, 173, 93) 70%,
            #de8c751c 90%);
    z-index: 1;
}

.board::before,
.board::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 500ms;
    width: 100%;
}

#cards:hover>.card::after {
    opacity: 1;
}

#boards:hover>.board::after {
    opacity: 1;
}

.board::before {
    background: radial-gradient(280px circle at var(--mouse-x) var(--mouse-y),
            rgba(156, 156, 149, 0.144),
            rgba(0, 0, 0, 0.1));
    z-index: 3;
}

.board::after {
    background: radial-gradient(280px circle at var(--mouse-x) var(--mouse-y),
            /* rgba(255, 255, 255, 0.7),
                rgba(255, 255, 255, 0.1)); */

            rgb(255, 184, 201) 1%,
            rgb(255, 221, 177) 70%,
            #ffaa921c 90%);
    z-index: 1;
    z-index: 1;
}

.board:hover::after {
    opacity: 1;
}

.iTag {
    color: white;
}

.card>.card-content {
    background-color: var(--card-color);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    inset: 2px;
    padding: 10px;
    position: absolute;
    z-index: 2;
    transition: all ease 0.3s;
    gap: 1rem;
}

.board>.board-content {
    background-color: var(--card-color);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    inset: 2px;
    padding: 10px;
    position: absolute;
    z-index: 2;
    transition: all ease 0.3s;
    gap: 1rem;

}

.card:hover .card-content {
    opacity: 1;
}

.board:hover .board-content {
    opacity: 1;
}


.card-content.inner,
.board-content.inner {
    background-color: var(--card-color);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    inset: 2px;
    padding: 10px;
    position: absolute;
    z-index: 2;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.card:hover .card-content.inner {
    opacity: 1;
}

.board:hover .board-content.inner {
    opacity: 1;
}


.card-content.inner .heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.board-content.inner .headings {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.card-content.inner .heading i {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    color: rgb(240, 240, 240);
}

.board-content.inner .headings img {
    width: clamp(3rem, 4vw, 7rem);
    /* border: 1px solid white; */
}

.board-content.inner .headings i {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 600;
    filter: drop-shadow(0px 10px 15px rgb(0, 0, 0));
    /* border: 1px solid wheat; */
}

.yt {
    opacity: 0.8;
    color: rgb(255, 28, 28);
}

.cameraa {
    opacity: 0.8;
    color: rgb(65, 105, 225);
}

.videoo {
    opacity: 0.8;
    color: rgb(232, 23, 65);
}

#pw {
    background-color: white;
    border-radius: 50%;
    padding: 2px;
}

.card-content.inner .heading h4 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: rgb(240, 240, 240);
}

.board-content.inner .headings h4 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: rgb(240, 240, 240);
}

.card-content.inner p {
    width: 90%;
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 400;
    color: #adadad;
    padding: 0 10px;
}

.board-content.inner p {
    width: 90%;
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 400;
    color: #adadad;
    padding: 0 10px;
}



.card-image {
    align-items: center;
    display: flex;
    height: 140px;
    justify-content: center;
    overflow: hidden;
}

.board-image {
    align-items: center;
    display: flex;
    height: 140px;
    justify-content: center;
    overflow: hidden;
}

.card-image>i {
    font-size: clamp(4em, 8vw, 6em);
    opacity: 0.25;
}

.board-image>i {
    font-size: clamp(4em, 8vw, 6em);
    opacity: 0.65;
}

.board-image>img {
    width: clamp(4em, 8vw, 10em);
}

.card-info-wrapper {
    align-items: center;
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    padding: 0px 20px;
}

.board-info-wrapper {
    align-items: center;
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    padding: 0px 20px;
}

.card-info {
    align-items: flex-start;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 10px;
}

.board-info {
    align-items: flex-start;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 10px;
}

.card-info>i {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 0.5rem;
}

.board-info>i {
    font-size: clamp(2rem, 4vw, 2.3rem);
    margin-top: 0.5rem;
}

.board-info>img {
    width: clamp(1rem, 20vw, 3rem);
    margin-top: 0.5rem;
}



.card-info-title>h3 {
    font-size: clamp(1.1em, 1.5vw, 1.5em);
}

.card-info-title>h4 {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.48em, 1.2vw, 0.85em);
    margin-top: 0.5rem;
}

.card-info-title>p {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.48em, 1.2vw, 0.85em);
    margin-top: 0.5rem;
}

.board-info-title>h3 {
    font-size: clamp(1.1em, 1.5vw, 1.5em);
}

.board-info-title>h4 {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.48em, 1.2vw, 0.85em);
    margin-top: 0.5rem;
}

.board-info-title>p {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.48em, 1.2vw, 0.85em);
    margin-top: 0.5rem;
}

/* ------------------------------------OTHERS BG-------------------------------------  */

#others {
    z-index: 1;
    margin: 0;
}

#others h1,
#contact h1 {
    margin-top: -3rem;
}

#others::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 95%;
    background-image: url('../assets/images/paper_crush2.webp');
    mix-blend-mode: multiply;
    background-size: cover;
    z-index: -2;
    opacity: 1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #181818 13%, #181818 87%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #181818 13%, #181818 73%, transparent 100%);
}

#others .blurRectangle {
    position: absolute;
    top: 45%;
    right: 18%;
    z-index: 0;
    opacity: 0.3 !important;
    filter: blur(3px);
    pointer-events: none;
    will-change: transform;
    transform: translate(30%, -30%) rotate(37deg);
    border: 4px solid rgba(203, 203, 203, 0.506);
    animation: smoothFloat 4.5s ease-in-out infinite;
}

.CTA {
    width: calc(var(--max-width) - 2rem);
    padding: 1rem 2rem;
    text-align: center;
}

.CTA a {
    font-family: var(--font-heading);
    background: linear-gradient(to right, var(--purple), var(--pink), var(--orange));
    padding: 0.5rem 1.5rem;
    border-radius: 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

/* ----------------------------------------CONTACT-----------------------------------------  */


#contact {
    position: relative;
    width: 100%;
    padding: 2rem 1rem 5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

#contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/lines_3.webp');
    background-size: contain;
    opacity: 0.04;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(24, 24, 24, 0.99) 5%, rgba(24, 24, 24, 0.99) 87%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(24, 24, 24, 0.99) 5%, rgba(24, 24, 24, 0.99) 87%, transparent 100%);
}


#contact-heading {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 600;
    font-family: var(--font-heading);
    background: linear-gradient(to right, var(--purple), var(--pink), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

.contact-flex {
    max-width: var(--max-width);
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}


.contact-col {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-col.col1 form {
    width: 100%;
    padding: 2rem;
    background: rgba(30, 30, 30, 0.2);
    border: 1px solid rgba(109, 102, 102, 0.229);
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    cursor: none;
}


.contact-col.col1 form label {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-family: var(--font-body);
    color: rgb(240, 240, 240);
    cursor: none;
}


.contact-col.col1 form input,
.contact-col.col1 form textarea {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: none;
}

.contact-col.col1 form input:focus,
.contact-col.col1 form textarea:focus {
    outline: none;
    cursor: none;
}

.contact-col.col1 form textarea {
    resize: none;
    height: 120px;
    cursor: none;
}

.contact-col.col1 form button {
    padding: 0.8rem 2rem;
    background: linear-gradient(to right, var(--purple), var(--pink), var(--orange));
    border: none;
    border-radius: 1.5rem;
    color: white;
    font-size: 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    will-change: transform;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: none;
}



.contact-col.col2 {
    background: rgba(30, 30, 30, 0.2);
    border: 1px solid rgba(109, 102, 102, 0.229);
    border-radius: 1rem;
    backdrop-filter: blur(4px);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-col.col2 .social-links a svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    fill: currentColor;
}


.contact-col.col1 form input:invalid:focus,
.contact-col.col1 form textarea:invalid:focus {
    border-color: #cd44ef4a;
}

.contact-col.col1 form button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(127, 29, 255, 0.3);
}

.cardContact {
    position: relative;
    width: 100%;
    height: 100%;
    background: lightgrey;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: all 1s ease-in-out;
}

.background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 100%, #7f1dff 0%, #b157aa 25%, #d46f88 40%, #e29b6b 60%, #eaae5d 75%, #ffeb34 100%);
    pointer-events: none;
    transition: all 0.6s ease-in-out;

}

.logoContact {
    position: absolute;
    right: 50%;
    bottom: 50%;
    will-change: transform;
    transform: translate(50%, 50%);
    transition: all 0.6s ease-in-out;
}

.logoContact .logo2Contact {
    font-size: 4rem;
    font-weight: bolder;
    font-family: var(--font-logo);
    transition: font-size 0.6s ease-in-out;
}

.cardContact:hover .logoContact .logo2Contact {
    font-size: 2rem;
}

.icon {
    display: inline-block;
    width: 30px;
    height: 30px;
}

.icon .svg {
    fill: rgba(255, 255, 255, 0.797);
    width: 100%;
    transition: all 0.5s ease-in-out;
}

.box {
    position: absolute;
    padding: 1rem;
    text-align: right;
    background: rgba(255, 255, 255, 0.389);
    border-top: 2px solid rgb(255, 255, 255);
    border-right: 1px solid white;
    border-radius: 10% 13% 42% 0%/10% 12% 75% 0%;
    box-shadow: rgba(100, 100, 111, 0.364) -7px 7px 29px 0px;
    will-change: transform;
    transform-origin: bottom left;
    transition: all 1s ease-in-out;
}

.box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.box:hover .svg {
    fill: white;
}

.box1 {
    width: 70%;
    height: 70%;
    bottom: -70%;
    left: -70%;
}

.box1::before {
    background: radial-gradient(circle at 30% 107%, #0077B5 0%, #0e76a8 100%);
}

.box1:hover::before {
    opacity: 1;
}

.box1:hover .icon .svg {
    filter: drop-shadow(0 0 5px white);
}

.box2 {
    width: 50%;
    height: 50%;
    bottom: -50%;
    left: -50%;
    transition-delay: 0.2s;
}

.box2::before {
    background: radial-gradient(circle at 30% 107%, #91e9ff 0%, #00ACEE 90%);

}

.box2:hover::before {
    opacity: 1;
}

.box2:hover .icon .svg {
    filter: drop-shadow(0 0 5px white);
}

.box3 {
    width: 30%;
    height: 30%;
    bottom: -30%;
    left: -30%;
    transition-delay: 0.4s;
}

.box3::before {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #ff53d4 60%, #62c2fe 90%);
}

.box3:hover::before {
    opacity: 1;
}

.box3:hover .icon .svg {
    filter: drop-shadow(0 0 5px white);
}

.box4 {
    width: 10%;
    height: 10%;
    bottom: -10%;
    left: -10%;
    transition-delay: 0.6s;
}

.cardContact:hover {
    will-change: transform;
    transform: scale(1.1);
}

.cardContact:hover .box {
    bottom: -1px;
    left: -1px;
}

.cardContact:hover .logoContact {
    will-change: transform;
    transform: translate(0, 0);
    bottom: 20px;
    right: 20px;
}


/* --------------------------------------------RESPONSIVE STYLES----------------------------------------------------------- */

/* Extra Small Mobile Devices (≤360px) */
@media screen and (max-width: 360px) {

    /* Navigation */
    nav {
        padding: 0 0.5rem;
    }

    nav .logo {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }

    .nav-links {
        width: 80vw;
        max-width: 200px;
    }

    .nav-links li a {
        font-size: 1rem;
        padding: 0.6rem;
    }

    .download {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }

    /* Cards and Boards */
    .card,
    .board {
        width: 100%;
        height: 200px;
        border-radius: 0.5rem;
    }

    .card-content,
    .board-content {
        padding: 6px;
        gap: 0.4rem;
    }

    .card-content.inner,
    .board-content.inner {
        padding: 6px;
    }

    .board-image {
        height: 80px;
    }

    .board-image>i {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .board-image>img {
        width: clamp(2rem, 5vw, 3.5rem);
    }

    .board-info-wrapper {
        padding: 0 8px;
    }

    .board-info {
        gap: 0.8rem;
        padding: 0 4px;
    }

    .board-info>i {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }

    .board-info>img {
        width: clamp(0.7rem, 14vw, 1.8rem);
    }

    .board-info-title>h3 {
        font-size: clamp(0.8rem, 1.8vw, 1.1rem);
    }

    .board-info-title>h4 {
        font-size: clamp(0.35rem, 1.3vw, 0.65rem);
        margin-top: 0.2rem;
    }

    .board-content.inner .headings img {
        width: clamp(1.8rem, 2.8vw, 3.5rem);
    }

    .board-content.inner .headings i {
        font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    }

    .board-content.inner .headings h4 {
        font-size: clamp(0.9rem, 2.8vw, 1.2rem);
    }

    .board-content.inner p {
        font-size: clamp(0.65rem, 2.3vw, 0.85rem);
        padding: 0 4px;
    }

    /* About Section */
    #about .about_intro-card {
        flex-direction: column;
        align-items: center;
    }

    #about .about_card-image {
        width: 100%;
        max-height: 30vh;
        margin-bottom: 1rem;
        padding-right: 0;
    }

    #about .about_card-image::before {
        right: 0;
    }

    #about .about_card-info-title {
        width: 100%;
        align-items: center;
        gap: 0.5rem;
    }

    #about .about_card-info-title h3 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    #about .about_card-info-title h4 {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    /* Contact Section */
    #contact {
        padding: 2rem 0.5rem;
    }

    #contact-heading {
        font-size: clamp(1.2rem, 4vw, 2rem);
        margin-bottom: 1.5rem;
    }

    .contact-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-col {
        min-width: 100%;
        padding: 0.5rem;
    }

    .contact-col.col1 form {
        padding: 1rem;
    }

    .contact-col.col1 form label {
        font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    }

    .contact-col.col1 form input,
    .contact-col.col1 form textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .contact-col.col1 form button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-col.col2 {
        padding: 1rem;
    }

    .contact-col.col2 p {
        font-size: clamp(0.8rem, 1.2vw, 0.9rem);
        margin-bottom: 1rem;
    }

    .contact-col.col2 .social-links a {
        font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    }

    .contact-col.col2 .social-links a svg {
        width: 1.2rem;
        height: 1.2rem;
    }
}

/* Small Mobile Devices (361px–480px) */
@media screen and (min-width: 361px) and (max-width: 480px) {

    /* Navigation */
    nav .logo {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }

    .nav-links {
        width: 80vw;
        max-width: 200px;
    }

    .nav-links li a {
        font-size: 1.2rem;
        padding: 0.8rem;
    }

    .download {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }

    /* General Section */
    section {
        padding: 2rem 1rem;
        min-height: auto;
    }

    /* Cards and Boards */
    .card,
    .board {
        width: 100%;
        height: 180px;
        border-radius: 0.6rem;
    }

    .card-content,
    .board-content {
        padding: 8px;
        gap: 0.5rem;
    }

    .card-content.inner,
    .board-content.inner {
        padding: 8px;
    }

    .board-image {
        height: 80px;
    }

    .board-image>i {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }

    .board-image>img {
        width: clamp(2.5rem, 6vw, 4rem);
    }

    .board-info-wrapper {
        padding: 0 10px;
    }

    .board-info {
        gap: 1rem;
        padding: 0 5px;
    }

    .board-info>i {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .board-info>img {
        width: clamp(0.8rem, 15vw, 2rem);
    }

    .board-info-title>h3 {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
    }

    .board-info-title>h4 {
        font-size: clamp(0.4rem, 1.5vw, 0.7rem);
        margin-top: 0.3rem;
    }

    .board-content.inner .headings img {
        width: clamp(2rem, 3vw, 4rem);
    }

    .board-content.inner .headings i {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .board-content.inner .headings h4 {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }

    .board-content.inner p {
        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
        padding: 0 5px;
    }

    /* Skills and Others */
    #skills h1,
    #others h1 {
        margin: 1rem 0;
        font-size: clamp(1.2rem, 6vw, 2.5rem);
    }

    #cards,
    #boards {
        padding: 1.5rem 0.5rem;
    }

    /* About Section */
    #about .about_intro-card {
        flex-direction: column;
        align-items: center;
    }

    #about .about_card-image {
        width: 100%;
        max-height: 35vh;
        margin-bottom: 1.5rem;
        padding-right: 0;
    }

    #about .about_card-image::before {
        right: 0;
    }

    #about .about_card-info-title {
        width: 100%;
        align-items: center;
        gap: 0.5rem;
    }

    #about .about_card-info-title h3 {
        font-size: clamp(1.5rem, 4vw, 1.8rem);
    }

    #about .about_card-info-title h4 {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    }

    /* Contact Section */
    #contact {
        padding: 2.5rem 0.75rem;
    }

    #contact-heading {
        font-size: clamp(1.5rem, 4.5vw, 2.5rem);
        margin-bottom: 2rem;
    }

    .contact-flex {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-col {
        min-width: 100%;
        padding: 0.75rem;
    }

    .contact-col.col1 form {
        padding: 1.5rem;
    }

    .contact-col.col1 form label {
        font-size: clamp(0.9rem, 1.3vw, 1rem);
    }

    .contact-col.col1 form input,
    .contact-col.col1 form textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .contact-col.col1 form button {
        padding: 0.7rem 1.75rem;
        font-size: 0.95rem;
    }

    .contact-col.col2 {
        padding: 1.5rem;
    }

    .contact-col.col2 p {
        font-size: clamp(0.9rem, 1.3vw, 1rem);
        margin-bottom: 1.25rem;
    }

    .contact-col.col2 .social-links a {
        font-size: clamp(0.9rem, 1.3vw, 1rem);
        /* Fixed typo in original */
    }

    .contact-col.col2 .social-links a svg {
        width: 1.3rem;
        height: 1.3rem;
    }

}

/* Larger Small Mobile Devices (481px–576px) */
@media screen and (min-width: 481px) and (max-width: 576px) {

    /* Skills and Others */
    #skills,
    #others {
        padding: 1rem 0;
    }

    #skills h1,
    #others h1 {
        font-size: clamp(1.2rem, 6vw, 2.5rem);
    }

    #cards,
    #boards {
        padding: 2rem 0.5rem;
        gap: 1rem;
    }

    /* Cards and Boards */
    .card,
    .board {
        height: 220px;
        max-width: 100%;
        border-radius: 0.75rem;
    }

    .card-content,
    .board-content {
        padding: 8px;
        gap: 0.5rem;
    }

    .card-content.inner,
    .board-content.inner {
        padding: 8px;
    }

    .board-image {
        height: 100px;
    }

    .board-image>i {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .board-image>img {
        width: clamp(2.5rem, 6vw, 4rem);
    }

    .board-info-wrapper {
        padding: 0 10px;
    }

    .board-info {
        gap: 1rem;
        padding: 0 5px;
    }

    .board-info>i {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .board-info>img {
        width: clamp(0.8rem, 15vw, 2rem);
    }

    .board-info-title>h3 {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
    }

    .board-info-title>h4 {
        font-size: clamp(0.4rem, 1.5vw, 0.7rem);
        margin-top: 0.3rem;
    }

    .board-content.inner .headings img {
        width: clamp(2rem, 3vw, 4rem);
    }

    .board-content.inner .headings i {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .board-content.inner .headings h4 {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }

    .board-content.inner p {
        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
        padding: 0 5px;
    }

    /* Background Images */
    #skills::before,
    #others::before,
    #projects::before {
        width: 100%;
        left: 0;
        background-size: cover;
    }

    /* About Section */
    #about .about_intro-card {
        flex-direction: column;
        align-items: center;
    }

    #about .about_card-image {
        width: 100%;
        max-height: 40vh;
        margin-bottom: 1.5rem;
        padding-right: 0;
    }

    #about .about_card-image::before {
        right: 0;
    }

    #about .about_card-info-title {
        width: 100%;
        align-items: center;
        gap: 0.5rem;
    }

    #about .about_card-info-title h3 {
        font-size: clamp(1.5rem, 4vw, 1.8rem);
    }

    #about .about_card-info-title h4 {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    }

    /* Contact Section */
    #contact {
        padding: 3rem 1rem;
    }

    #contact-heading {
        font-size: clamp(1.8rem, 5vw, 3rem);
        margin-bottom: 2.5rem;
    }

    .contact-flex {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-col {
        min-width: 100%;
        padding: 1rem;
    }

    .contact-col.col1 form {
        padding: 1.75rem;
    }

    .contact-col.col1 form label {
        font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    }

    .contact-col.col1 form input,
    .contact-col.col1 form textarea {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .contact-col.col1 form button {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .contact-col.col2 {
        padding: 1.75rem;
    }

    .contact-col.col2 p {
        font-size: clamp(0.95rem, 1.4vw, 1.1rem);
        margin-bottom: 1.5rem;
    }

    .contact-col.col2 .social-links a {
        font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    }

    .contact-col.col2 .social-links a svg {
        width: 1.4rem;
        height: 1.4rem;
    }
}

/* Mobile and Small Tablets (≤768px) */
@media screen and (max-width: 768px) {

    /* Body and Cursor */
    body {
        cursor: auto;
        align-items: flex-start;
        overflow: auto;
    }

    .custom-cursor,
    .cursor {
        display: none;
    }

    a,
    button,
    .hamburger {
        cursor: pointer;
    }

    /* Header and Navigation */
    header {
        background: rgba(24, 24, 24, 0.9);
        backdrop-filter: blur(3px);
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70vw;
        max-width: 250px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(24, 24, 24, 0.95);
        backdrop-filter: blur(10px);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links::before {
        display: none;
    }

    .nav-links li a {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .download {
        margin: 1rem auto;
        display: block;
        padding: clamp(0.4rem, 0.8vw, 0.6rem) clamp(1rem, 2vw, 1.5rem);
        font-size: clamp(0.8rem, 1vw, 0.9rem);
    }

    nav {
        padding: 0 1rem;
    }

    /* Cards and Boards */
    .card,
    .board {
        height: 240px;
        max-width: 90%;
        border-radius: 0.85rem;
    }

    .card-content,
    .board-content {
        padding: 10px;
        gap: 0.75rem;
    }

    .card-content.inner,
    .board-content.inner {
        padding: 10px;
    }

    .board-image {
        height: 120px;
    }

    .board-image>i {
        font-size: clamp(3rem, 7vw, 5rem);
    }

    .board-image>img {
        width: clamp(3rem, 7vw, 6rem);
    }

    .board-info-wrapper {
        padding: 0 15px;
    }

    .board-info {
        gap: 1.2rem;
        padding: 0 8px;
    }

    .board-info>i {
        font-size: clamp(1.5rem, 3.5vw, 1.8rem);
    }

    .board-info>img {
        width: clamp(1rem, 18vw, 2.5rem);
    }

    .board-info-title>h3 {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }

    .board-info-title>h4 {
        font-size: clamp(0.45rem, 1.8vw, 0.8rem);
        margin-top: 0.4rem;
    }

    .board-content.inner .headings img {
        width: clamp(2.5rem, 3.5vw, 5rem);
    }

    .board-content.inner .headings i {
        font-size: clamp(1.8rem, 5.5vw, 2.5rem);
    }

    .board-content.inner .headings h4 {
        font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    }

    .board-content.inner p {
        font-size: clamp(0.8rem, 2.8vw, 0.95rem);
        padding: 0 8px;
    }

    /* Background Images */
    #skills::before,
    #others::before,
    #projects::before {
        width: 100%;
        left: 0;
        background-size: cover;
    }

    /* About Section */
    #about .about_intro-card {
        flex-direction: column;
        align-items: center;
    }

    #about .about_card-image {
        width: 100%;
        max-height: 50vh;
        margin-bottom: 2rem;
        padding-right: 0;
    }

    #about .about_card-image::before {
        right: 0;
    }

    #about .about_card-info-title {
        width: 100%;
        align-items: center;
        gap: 0.5rem;
    }

    #about .about_card-info-title h3 {
        font-size: clamp(1.8rem, 5vw, 2rem);
    }

    #about .about_card-info-title h4 {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }

    /* Contact Section */
    #contact {
        padding: 3rem 1rem;
        min-height: auto;
    }

    #contact-heading {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .contact-flex {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .contact-col {
        min-width: 100%;
        max-width: 90%;
    }

    .contact-col.col1 form {
        padding: 2rem;
    }

    .contact-col.col2 {
        padding: 2rem;
    }

    /* Decorative Elements */
    .triangle,
    .circle,
    .zigZag,
    .plus,
    .vector,
    .circleTech,
    .zigzaag,
    .blurRectangle,
    .ele,
    .triangle-contact {
        display: none;
    }
}

/* Tablets and Small Desktops (769px–992px) */
@media screen and (min-width: 769px) and (max-width: 992px) {

    /* Navigation */
    nav {
        max-width: 90vw;
        padding: 0 1.5rem;
    }

    nav ul {
        gap: clamp(0.8rem, 1.5vw, 1rem);
        padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.8rem, 2vw, 1.5rem);
    }

    nav ul li a {
        font-size: clamp(0.9rem, 1.2vw, 1rem);
    }

    /* Body */
    body {
        align-items: flex-start;
        overflow: auto;
    }

    /* Cards and Boards */
    #cards,
    #boards {
        max-width: 1000px;
        padding: 4rem 1.5rem;
        gap: 1.3rem;
    }

    .card,
    .board {
        flex-shrink: 1;
        width: calc(50% - 4px);
        height: 250px;
        max-width: 500px;
        border-radius: 0.85rem;
    }

    .card-content,
    .board-content {
        padding: 12px;
        gap: 0.8rem;
    }

    .card-content.inner,
    .board-content.inner {
        padding: 12px;
    }

    .board-image {
        height: 130px;
    }

    .board-image>i {
        font-size: clamp(3.5rem, 7.5vw, 5.5rem);
    }

    .board-image>img {
        width: clamp(3.5rem, 7.5vw, 7rem);
    }

    .board-info-wrapper {
        padding: 0 18px;
    }

    .board-info {
        gap: 1.3rem;
        padding: 0 10px;
    }

    .board-info>i {
        font-size: clamp(1.8rem, 4vw, 2rem);
    }

    .board-info>img {
        width: clamp(1.2rem, 19vw, 2.8rem);
    }

    .board-info-title>h3 {
        font-size: clamp(1.05rem, 2.8vw, 1.4rem);
    }

    .board-info-title>h4 {
        font-size: clamp(0.5rem, 2vw, 0.9rem);
        margin-top: 0.4rem;
    }

    .board-content.inner .headings img {
        width: clamp(2.8rem, 4vw, 6rem);
    }

    .board-content.inner .headings i {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .board-content.inner .headings h4 {
        font-size: clamp(1.15rem, 3.8vw, 1.5rem);
    }

    .board-content.inner p {
        font-size: clamp(0.85rem, 3vw, 1rem);
        padding: 0 10px;
    }

    /* Skills and Others */
    #skills,
    #others {
        padding: 2rem 0;
    }

    #skills h1,
    #others h1 {
        font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    }

    /* Background Images */
    #skills::before,
    #others::before,
    #projects::before {
        width: 100%;
        left: 0;
        background-size: cover;
    }

    /* About Section */
    #about .about_intro-card {
        flex-direction: column;
        align-items: center;
    }

    #about .about_card-image {
        width: 100%;
        max-height: 60vh;
        margin-bottom: 2rem;
        padding-right: 0;
    }

    #about .about_card-image::before {
        right: 0;
    }

    #about .about_card-info-title {
        width: 100%;
        align-items: center;
        gap: 0.5rem;
    }

    #about .about_card-info-title h3 {
        font-size: clamp(2rem, 5vw, 2.2rem);
    }

    #about .about_card-info-title h4 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    /* Contact Section */
    #contact {
        padding: 3.5rem 1.5rem;
    }

    #contact-heading {
        font-size: clamp(2.5rem, 5vw, 3.8rem);
    }

    .contact-flex {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1.5rem;
    }

    .contact-col {
        min-width: 45%;
        max-width: 500px;
    }

    .contact-col.col1 form {
        padding: 1.5rem;
    }

    .contact-col.col2 {
        padding: 1.5rem;
    }

    /* Decorative Elements */
    .triangle-contact-1 {
        top: 15%;
        left: 10%;
    }

    .triangle-contact-2 {
        bottom: 15%;
        right: 10%;
    }
}

/* Medium-Large Desktops (993px–1200px) */
@media screen and (min-width: 993px) and (max-width: 1200px) {

    /* Navigation */
    nav {
        max-width: 95vw;
        padding: 0 2rem;
    }

    /* Skills and Others */
    #skills,
    #others {
        padding: 2.5rem 0;
    }

    #skills h1,
    #others h1 {
        font-size: clamp(2rem, 4vw, 3.8rem);
    }

    /* Cards and Boards */
    #cards,
    #boards {
        padding: 4.5rem 2rem;
        gap: 1.4rem;
    }

    .card,
    .board {
        height: 270px;
        max-width: 600px;
        border-radius: 0.85rem;
    }

    .card-content,
    .board-content {
        padding: 14px;
        gap: 1rem;
    }

    .board-image {
        height: 150px;
    }

    .board-image>i {
        font-size: clamp(4rem, 8vw, 6rem);
    }

    .board-image>img {
        width: clamp(4rem, 8vw, 8rem);
    }

    .board-info>i {
        font-size: clamp(2rem, 4.5vw, 2.5rem);
    }

    .board-info>img {
        width: clamp(1.5rem, 20vw, 3.5rem);
    }

    .board-info-title>h3 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .board-info-title>h4 {
        font-size: clamp(0.6rem, 2.2vw, 1rem);
    }

    .board-content.inner .headings img {
        width: clamp(3rem, 4.5vw, 7rem);
    }

    .board-content.inner .headings i {
        font-size: clamp(2.2rem, 6.5vw, 3rem);
    }

    .board-content.inner .headings h4 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    /* About Section */
    #about .about_intro-card {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    #about .about_card-image {
        width: 50%;
        max-height: 70vh;
        padding-right: 1rem;
    }

    #about .about_card-image::before {
        right: 1rem;
    }

    #about .about_card-info-title {
        width: 50%;
        align-items: flex-start;
        gap: 1rem;
    }

    #about .about_card-info-title h3 {
        font-size: clamp(2.2rem, 4vw, 2.5rem);
    }

    #about .about_card-info-title h4 {
        font-size: clamp(1.3rem, 3vw, 1.6rem);
    }

    /* Contact Section */
    #contact {
        padding: 4rem 2rem;
    }

    #contact-heading {
        font-size: clamp(3rem, 5vw, 4rem);
    }

    .contact-flex {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 2rem;
    }

    .contact-col {
        min-width: 40%;
        max-width: 550px;
    }

    .contact-col.col1 form {
        padding: 2rem;
    }

    .contact-col.col2 {
        padding: 2rem;
    }
}

/* Large Desktops (1201px and above) */
@media screen and (min-width: 1201px) {

    /* Contact Section */
    .contact-flex {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 2rem;
    }

    .contact-col {
        flex: 1;
        max-width: 600px;
    }
}

/* Optimize for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

#hamburger:hover {
    cursor: none !important;
}

@media (pointer: coarse),
(hover: none) {
    .custom-cursor {
        display: none !important;
    }
}

@media (pointer: coarse),
(hover: none) {
    .marque {
        animation: marquee-move-reverse 8s linear infinite;
    }

    @keyframes marquee-move-reverse {
        0% {
            transform: translateX(-200%);
        }

        100% {
            transform: translateX(0);
        }
    }
}

#subtitle2.section-subtitle {
    /* color: #ffb366; */
    font-weight: 900;
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: -0.5em;
    margin-top: 0.5em;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
}