/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    border: none;
    list-style: none;
    text-decoration: none;
    outline: none;
}

:root {
    --bg-color: #1f242d;
    --bg-color-2: #323946;
    --primary-color: #2bdfff;
    --primary-glass-bg: rgba(43, 223, 255, 0.1);
    --primary-glass-border: rgba(43, 223, 255, 0.4);
    --primary-glass-shadow: rgba(43, 223, 255, 0.2);
    --white-color: #fff;
    --disabled-color: #fff3;
}


html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--white-color);
    -webkit-text-size-adjust: none;
    /* Prevent Chrome from auto-scaling text */
    text-size-adjust: none;
    /* For other browsers */
}


span.change-clr {
    color: var(--primary-color);
}

h2.heading {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.4rem;
}

h2.heading span {
    color: var(--primary-color);
}

/*!---------------------------------------------------------------------------------------------------------------*/
/*!-------------------------------------------------HEADER--------------------------------------------------------*/
/*!---------------------------------------------------------------------------------------------------------------*/



/* ! Color changer of the page  */
/* home image and color option is in flex */
.home-img {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.color-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    margin-left: 3.6rem;
}

.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.3;
    transition: .5s;
}

.color-circle:hover {
    opacity: 1;
}

.circle-1 {
    background-color: #00ff7f;
}

.circle-2 {
    background-color: #ff9900;
}

.circle-3 {
    background-color: #ffff00;
}

.circle-4 {
    background-color: #00ff00;
}

.circle-5 {
    background-color: #2bdfff;
}

/* ! starting of Header  */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.6rem 4rem;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: .3rem solid var(--primary-color);
}

.logo {
    font-size: 2.4rem;
    color: var(--white-color);
    font-weight: 700;
    letter-spacing: .5rem;
}

.logo span {
    color: var(--primary-color);
}

nav a {
    font-size: 2rem;
    color: var(--white-color);
    font-weight: 500;
    margin-left: 3.2rem;
    transition: all 0.5s;
}


nav a:hover,
nav a.active {
    color: var(--primary-color);
}

#menu-icon {
    font-size: 3.6rem;
    display: none;
}


/*!---------------------------------------------------------------------------------------------------------------*/
/*!---------------------------------------------------Home detail Section------------------------------------------*/
/*!---------------------------------------------------------------------------------------------------------------*/
section {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10rem 7% 2rem;
    background: var(--bg-color);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

section.active {
    visibility: visible;
    opacity: 1;
    overflow-y: auto;
}

/* Ensure interactive content is stacked above the Vanta.js WebGL canvas */
.home-detail,
.home-img,
.services-container,
.resume-container,
.portfolio-container,
.contact-container {
    position: relative;
    z-index: 1;
}

/*!-----------home-detail section : h1, h2, p -----------  */
.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4.8rem;
}

.home-detail h1 {
    font-size: 5rem;
    letter-spacing: .5rem;
}

.home-detail .small-heading {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 100;
    color: var(--primary-color);
    letter-spacing: 0.2rem;
}

.home-detail h2 {
    display: inline-block;
    font-size: 3rem;
    font-weight: 600;
}

/* Animated "Available for Work" Recruiter Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    padding: .65rem 1.6rem;
    background: var(--primary-glass-bg, color-mix(in srgb, var(--primary-color) 12%, transparent));
    border: 1px solid var(--primary-glass-border, color-mix(in srgb, var(--primary-color) 40%, transparent));
    border-radius: 5rem;
    margin: 1.2rem 0;
    backdrop-filter: blur(8px);
    width: fit-content;
    box-shadow: 0 0 1.5rem var(--primary-glass-shadow, color-mix(in srgb, var(--primary-color) 20%, transparent));
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.status-dot {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    min-height: 1rem;
    aspect-ratio: 1 / 1;
    background-color: #00ff7f;
    border-radius: 50%;
    box-shadow: 0 0 .8rem #00ff7f;
    animation: dot-blink 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dot-blink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 .8rem #00ff7f;
    }
    50% {
        opacity: 0.2;
        box-shadow: 0 0 .2rem #00ff7f;
    }
}

.status-text {
    font-size: 1.35rem;
    font-weight: 500;
    color: #e2e8f0;
    letter-spacing: .03rem;
    line-height: 1;
}

.home-detail p {
    font-size: 1.6rem;
    margin: 1rem 0 2.5rem 0;
    color: var(--white-color);
    line-height: 1.5;
    opacity: 0.8;
    word-spacing: 0.2rem;
}

.text-typing {
    font-size: 4rem;
    margin: .5rem 0;
}

.text-typing span {
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: .5rem;
}


/*!-----------GENERAL CSS for .btn class-----------  */
.btn {
    display: inline-block;
    padding: 1rem 3rem;

    font-size: 1.6rem;
    color: var(--bg-color);
    font-weight: 500;

    background-color: var(--primary-color);
    border: .2rem solid var(--primary-color);
    box-shadow: 0 0 1rem var(--primary-color);
    border-radius: 4rem;
    transition: all .3s linear;

}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
}

.btn.btn-outline {
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
}

.btn.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 1rem var(--primary-color);
}

.cv-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.4rem;
    flex-wrap: nowrap;
    margin-left: 0;
}

.cv-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .9rem 2.2rem;
    white-space: nowrap;
    flex-shrink: 0;
}



/*!-----------home-detail social profiles section-----------  */
.home-detail .btn-sci {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.2rem;
    margin-top: 3rem;
    text-shadow: none;
    text-align: left;
}

.home-detail .btn-sci .sci {
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.8rem;
}

.home-detail .btn-sci .sci a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    padding: 0;
    font-size: 2.2rem;
    border-radius: 50%;
    color: var(--primary-color);
    border: .2rem solid var(--primary-color);
    transition: all .3s linear;
    background-color: var(--bg-color);
    flex-shrink: 0;
}

.home-detail .btn-sci .sci a:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 1rem var(--primary-color);
}

.home-detail .btn-sci .sci a svg {
    width: 2.2rem;
    height: 2.2rem;
    fill: currentColor;
    transition: all .3s linear;
}

/*!---------------------------------------------------------------------------------------------------------------*/
/*!--------------------------------home-img section with rotating animation------------------------------------------------*/
/*!---------------------------------------------------------------------------------------------------------------*/


/* Circular container for the image and animations */
.home-img .img-box {
    position: relative;
    /* Makes it a containing block for absolutely positioned elements */
    width: 32vw;
    /* Sets width relative to viewport */
    height: 32vw;
    /* Ensures it's a perfect circle */
    border-radius: 50%;
    /* Makes the shape circular */
    padding: 1rem;
    /* Adds spacing inside the container */
    display: flex;
    /* Enables flexbox for centering */
    justify-content: center;
    /* Centers child elements horizontally */
    align-items: center;
    /* Centers child elements vertically */
    overflow: hidden;
    /* Ensures content stays within the circular boundary */
}

/* Rotating border layers */
.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    /* Creates an empty pseudo-element */
    position: absolute;
    /* Positions it relative to .img-box */
    width: 50rem;
    /* Diameter of the border */
    height: 50rem;
    /* Matches width for a perfect circle */
    background: conic-gradient(transparent, transparent, transparent, var(--primary-color));
    /* Gradient for the border */
    animation: rotate-border 10s linear infinite;
    /* Spins the border */
}

/* Second border layer starts at a different time */
.home-img .img-box::after {
    animation-delay: -5s;
    /* Offset to create layered effect */
}

/* Animation for rotating the border */
@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
        /* Completes one full rotation */
    }
}

/* Inner container for the image */
.home-img .img-box .img-item {
    height: 100%;
    /* Matches the height of the parent container */
    background: var(--bg-color);
    /* Background color */
    border-radius: 50%;
    /* Ensures it stays circular */
    display: flex;
    /* Enables flexbox */
    justify-content: center;
    /* Centers the image horizontally */
    z-index: 1;
    /* Places it above the rotating borders */
    overflow: hidden;
    /* Ensures content doesn't overflow */
}

/* Styling for the image */
.home-img .img-box .img-item img {
    border-radius: 50%;
    /* Makes the image circular */
    padding: 2rem;
    /* Adds inner spacing */
    object-fit: cover;
    /* Ensures the image covers its container proportionally */
    mix-blend-mode: lighten;
    /* Blends image with the background for a light effect */
    transition: transform 0.3s;
    /* Smooth scaling animation */
}




/*?  ----------------------------------------------------------------------------------------              */
/*?  Font sizes (rem) : 1 / 1.2 / 1.4 / 1.6 / 1.8 / 2 / 2.4 / 3 / 3.6 / 4.4 / 5.2 / 6.2 / 7.4 / 8.6 / 9.8  */
/*?  ----------------------------------------------------------------------------------------              */
/*?  Spacing system (rem): 0.2 / 0.4 / 0.8 / 1.2 / 1.6 / 2.4 / 3.2 / 4.8 / 5.6 / 6.4 / 8 / 9.6 / 12.8      */
/*?  ----------------------------------------------------------------------------------------              */


/*!---------------------------------------------------------------------------------------------------------------*/
/*!-----------------------------------------------services section------------------------------------------------*/
/*!---------------------------------------------------------------------------------------------------------------*/




.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 2rem;
}

.services-box {
    padding: 2rem 2.5rem;
    background: var(--bg-color-2);
    border: .3rem solid var(--bg-color-2);
    border-radius: 1rem;
    transition: .3s;
}

/* Hover effect */
.services-box:hover {
    border: .3rem solid var(--primary-color);
    box-shadow: 0 0 2rem var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.services-box h3 {
    font-size: 3rem;
    margin: 2rem 0 0.5rem 0;
    transition: .5s;
    color: var(--primary-color);
}


.services-box p {
    font-size: 1.6rem;
}

.services-box .icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
    color: var(--primary-color);
}


.services-box .icon i {
    font-size: 5rem;
}

.services-box .icon a i {
    font-size: 3rem;
    color: var(--bg-color);
    transform: rotate(225deg);
}

.services-box .icon a {
    display: inline-flex;
    background: var(--white-color);
    border-radius: 50%;
    padding: .5rem;
    transition: .5s;
}

.services-box:hover .icon a {
    transform: rotate(-90deg);
    background-color: var(--primary-color);
}


/*!---------------------------------------------------------------------------------------------------------------*/
/*!-----------------------------------------------Resume-section------------------------------------------------*/
/*!---------------------------------------------------------------------------------------------------------------*/

.resume-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 5rem;
}

.resume-container>.resume-box>h2 {
    font-size: 4.5rem;
}

.resume-box p {
    font-size: 1.6rem;
}

.resume-box .desc {
    margin: 2rem 0 2.5rem;
}

.resume-box .resume-btn {
    width: 100%;
    height: 5.3rem;
    background: var(--bg-color-2);
    border: .2rem solid var(--bg-color-2);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border-radius: .8rem;
    cursor: pointer;
    color: var(--white-color);
    transition: .3s;
}


.resume-box .resume-btn.active {
    border: .3rem solid var(--primary-color);
    box-shadow: inset 0 0 2.5rem var(--primary-color);
    color: var(--white-color);
}


.resume-box .heading {
    font-size: 3.5rem;
    text-align: left;
}

.resume-detail {
    display: none;
}

.resume-detail.active {
    display: block;
}

/*-> ---------------------------------------- */
/*-> EXPERIENCE , EDUCATION SECTION   */
/*-> ---------------------------------------- */
/* .resume-list grid */
.resume-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
    height: 45rem;
    /*to make resume items scroll or we can specify overflow:scroll; */
    overflow: auto;
}

/* . editing scrollbar */
.resume-list::-webkit-scrollbar {
    width: .7rem;
}

.resume-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 1rem;
}


/*. editing .resume-items */
.resume-list .resume-item {
    background: var(--bg-color-2);
    border-radius: .8rem;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.resume-detail.education .resume-item,
.resume-detail.experience .resume-item {
    border: .2rem solid var(--bg-color);
    transition: .3s;
}

.resume-detail.education .resume-item:hover,
.resume-detail.experience .resume-item:hover {
    border: .2rem solid var(--primary-color);
}

.resume-item .year {
    color: var(--primary-color);
    font-weight: 500;
}

.resume-detail .resume-item h3 {
    font-size: 2.2rem;
    color: var(--white-color);
}

.resume-detail .resume-item:hover a h3 {
    text-decoration: underline;
}

/*. Creating a beautiful dot with blinking animation : used gpt*/
.resume-item .company {
    color: var(--primary-color);
    margin-left: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.resume-item .company::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: .5rem;
    background: var(--primary-color);
    border-radius: 50%;
    margin-left: -2rem;
    animation: blink 1s infinite ease-in-out;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/*-> -------------------- */
/*-> SKILLS SECTION   */
/*-> -------------------- */

.resume-detail.skills .resume-list {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    overflow: auto;
}

.resume-detail.skills .resume-item {
    position: relative;
    align-items: center;
    height: auto;
    border: .3rem solid var(--bg-color);
    transition: 0.5s;
}

.resume-detail.skills .resume-item:hover {
    color: var(--primary-color);
    box-shadow: inset 0 0 2rem var(--primary-color);
    border: .3rem solid var(--primary-color);
}

.resume-detail.skills .resume-item i {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 8.5rem;
}

/*!showing language name on hover */
.resume-detail.skills .resume-item span {
    position: absolute;
    bottom: 0%;
    right: 0%;
    background-color: var(--primary-color);

    color: var(--bg-color);
    font-size: 1.6rem;
    padding: .5rem;
    pointer-events: none;
    opacity: 0;
    transition: .2s;
}

.resume-detail.skills .resume-item:hover span {
    opacity: 1;
}

/*-> -------------------- */
/*-> About ME SECTION   */
/*-> -------------------- */
.resume-detail.about .resume-list {
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    width: 100%;
    overflow: auto;
}

.resume-detail.about .resume-item {
    border: .2rem solid var(--bg-color);
    transition: .3s;
}

.resume-detail.about .resume-item:hover {
    border: .2rem solid var(--primary-color);
}

.resume-detail.about .resume-item p {
    color: var(--primary-color);
    font-weight: 500;
}

.resume-detail.about .resume-item p span {
    color: var(--white-color);
    margin-left: 1rem;
    font-size: 1.6rem;
}

.text-typing-2 span {
    color: var(--primary-color);
    font-weight: 500;
}

/*!---------------------------------------------------------------------------------------------------------------*/
/*!-----------------------------------------------portfolio-section------------------------------------------------*/
/*!---------------------------------------------------------------------------------------------------------------*/
section.portfolio {
    padding-bottom: 0rem;
}

.portfolio-container {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.portfolio-detail {
    display: none;
}

.portfolio-detail.active {
    display: block;
}



.portfolio-box h3 {
    font-size: 3.5rem;
    margin: .8rem 0 2rem;
}

.portfolio-box h3 span {
    color: var(--primary-color);
}

.portfolio-box p {
    font-size: 1.6rem;
}

.portfolio-box .proj-desc {
    font-size: 1.6rem;
    line-height: 1.5;
}

.portfolio-box .number {
    color: var(--primary-color);
    font-size: 8rem;
    font-weight: 700;
    opacity: 0.5;
    line-height: 1;
}

.portfolio-box .tech {
    margin: 2rem 0;
    padding-bottom: 2rem;
    color: var(--primary-color);
    border-bottom: .1rem solid var(--white-color);
    word-spacing: .6rem;
}


.portfolio-box .live-github a {
    margin-right: 1.5rem;
    position: relative;
    display: inline-flex;
    padding: 1rem;
    font-size: 3.6rem;
    color: var(--white-color);
    border-radius: 50%;
    border: .3rem solid var(--bg-color);
    background: var(--bg-color-2);
    transition: .3s;

}

.portfolio-box .live-github a:hover {
    color: var(--primary-color);
    border: .3rem solid var(--primary-color);
    box-shadow: 0 0 1rem var(--primary-color);
}

/*. tooltip for -> live website and github */
.portfolio-box .live-github a span {
    position: absolute;
    /*  */
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    white-space: nowrap;
    padding: .5rem 1rem;
    border-radius: .6rem;
    pointer-events: none;
    background: var(--white-color);
    color: var(--bg-color);
    opacity: 0;
    scale: .9;
    transition: .2s;
}

.portfolio-box .live-github a:hover span {
    top: -70%;
    opacity: 1;
    scale: 1;
}

/* !------ Images Carrousal Using Pure CSS3------ */
.portfolio-box .portfolio-carousel {
    width: 100%;
    height: 42rem;
    border-radius: 1rem;
    /* for images not to overflow */
    overflow: hidden;
}

.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;
}

/* !carrousal navigation buttons and indicator dots */
.portfolio-box .navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.portfolio-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    flex-wrap: wrap;
    min-height: 1.6rem;
}

.portfolio-dot {
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    min-height: 1.1rem;
    border-radius: 50%;
    background: var(--bg-color-2);
    border: .18rem solid var(--primary-color);
    cursor: pointer;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    outline: none;
}

.portfolio-dot:hover {
    background: var(--primary-glass-bg);
    transform: scale(1.2);
}

.portfolio-dot.active {
    width: 2.8rem;
    height: 1.1rem;
    border-radius: 1rem;
    background: var(--primary-color);
    box-shadow: 0 0 1rem var(--primary-color);
}

.portfolio-box .nav-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-box .nav-arrows .arrow-right {
    margin-left: 2rem;
}

.portfolio-box .nav-arrows button {
    display: inline-flex;
    padding: .4rem;
    border-radius: .6rem;
    font-size: 4rem;
    background: var(--bg-color-2);
    border: .2rem solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all .25s ease;
}

.portfolio-box .nav-arrows button:hover {
    box-shadow: 0 0 2rem var(--primary-color);
}


/*!---------------------------------------------------------------------------------------------------------------*/
/*!-----------------------------------------------contact-section------------------------------------------------*/
/*!---------------------------------------------------------------------------------------------------------------*/

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
}

/* .!contact details styling */

.contact-container .contact-box:first-child {
    align-self: center;
}

.contact-box h2 {
    font-size: 4.5rem;
}

.contact-box h2 span {
    color: var(--primary-color);
}

.contact-box p {
    font-size: 1.6rem;
}

.contact-box .desc {
    margin: 1.5rem 0 6rem;
}

.contact-box .contact-detail {
    display: flex;
    align-items: center;
    margin: 2.5rem 0;
}

.contact-box .contact-detail p {
    font-size: 1.8rem;
}

.contact-box .contact-detail > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.8rem;
    height: 4.8rem;
    font-size: 2.2rem;
    background-color: var(--bg-color-2);
    color: var(--primary-color);
    border-radius: 1rem;
    margin-right: 1.6rem;
    border: .2rem solid var(--primary-color);
    flex-shrink: 0;
    transition: transform .3s ease, box-shadow .3s ease;
}

.contact-box .contact-detail:hover > i {
    transform: scale(1.05);
    box-shadow: 0 0 1.2rem var(--primary-color);
}

.contact-detail .detail p:first-child {
    color: var(--primary-color);
}



/* .!contact FORM styling */
.contact-box form {
    background-color: var(--bg-color-2);
    padding: 2.5rem 3.5rem 3.5rem;
    border-radius: 1rem;
    text-align: center;
}

.contact-box .heading {
    font-size: 3.5rem;
}

.contact-box .field-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-box .field-box input,
.contact-box .field-box textarea {
    padding: 1.5rem;
    background-color: var(--bg-color);
    border: .3rem solid var(--bg-color);
    border-radius: .6rem;
    font-size: 1.6rem;
    color: var(--white-color);
    transition: .3s;
}

.contact-box .field-box textarea {
    grid-column: 1/-1;
    height: 15rem;
    resize: none;
}

.contact-box .field-box input:focus,
.contact-box .field-box textarea:focus {
    border: .3rem solid var(--primary-color);
    box-shadow: 0 0 1.5rem var(--primary-color);
}

.contact-box .btn {
    margin-top: 2.5rem;
    cursor: pointer;
}


/* Accessibility: screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Email link styling */
.email-link {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--white-color);
    text-decoration: none;
    transition: color .2s ease;
}

.email-link:hover {
    color: var(--primary-color);
}

.email-link span {
    color: inherit;
    text-decoration: none;
}

/* Email Action Row & 1-Click Copy Button */
.email-action-row {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: .4rem;
}

.copy-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .45rem 1.1rem;
    background: var(--primary-glass-bg, color-mix(in srgb, var(--primary-color) 12%, transparent));
    color: var(--primary-color);
    border: .12rem solid var(--primary-color);
    border-radius: .6rem;
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.copy-email-btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 1rem var(--primary-color);
}

.copy-email-btn.copied {
    background: #00ff7f;
    color: #1f242d;
    border-color: #00ff7f;
    box-shadow: 0 0 1.2rem #00ff7f;
}

.copy-email-btn i {
    font-size: 1.5rem;
    display: inline-block;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: inherit;
}

/* Portfolio Filter Tabs */
.portfolio-filter-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1.5rem auto 2.5rem;
    position: relative;
    z-index: 1;
}

.filter-tab {
    padding: .8rem 2.2rem;
    font-size: 1.4rem;
    font-weight: 500;
    background: var(--bg-color-2);
    color: var(--white-color);
    border: .15rem solid transparent;
    border-radius: 3rem;
    cursor: pointer;
    transition: all .25s ease;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 0 1.2rem var(--primary-color);
}

/* Portfolio Visual Badges & Category Header */
.portfolio-meta-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .8rem;
    flex-wrap: wrap;
}

.portfolio-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.4rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 2rem;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.45);
    letter-spacing: .03rem;
    box-shadow: 0 0 1rem rgba(255, 215, 0, 0.2);
}

.portfolio-category {
    display: inline-flex;
    padding: .4rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 2rem;
    background: rgba(43, 223, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    opacity: 0.9;
}

/* Recommendations / Testimonials Cards */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
    gap: 1.5rem;
    height: 38rem;
    overflow-y: auto;
    padding-right: .5rem;
}

.testimonial-card {
    background: var(--bg-color-2);
    border-radius: 1rem;
    padding: 1.6rem 1.8rem;
    border: .15rem solid transparent;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 1.4rem rgba(43, 223, 255, 0.25);
    transform: translateY(-2px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    border: .2rem solid var(--primary-color);
    object-fit: cover;
    background: var(--bg-color);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 1.55rem;
    color: var(--white-color);
    margin-bottom: .2rem;
}

.testimonial-info p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

.testimonial-info .org {
    font-size: 1.1rem;
    color: #a0aec0;
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.55;
    color: #e2e8f0;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.verified-linkedin-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 1.3rem;
    font-size: 1.2rem;
    font-weight: 500;
    background: rgba(0, 119, 181, 0.25);
    color: #ffffff;
    border: 1px solid rgba(0, 119, 181, 0.55);
    border-radius: 2rem;
    transition: all .25s ease;
    align-self: flex-start;
}

.verified-linkedin-badge i {
    color: #38bdf8;
    font-size: 1.4rem;
}

.verified-linkedin-badge span {
    color: #ffffff;
}

.verified-linkedin-badge:hover {
    background: #0077b5;
    color: #ffffff;
    box-shadow: 0 0 1rem rgba(0, 119, 181, 0.5);
}

.verified-linkedin-badge:hover i,
.verified-linkedin-badge:hover span {
    color: #ffffff;
}
