@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
  --hue: 175; /* A youthful teal-aqua (between cyan and green) */
  --sat: 85%; /* High saturation for vibrancy */
  --light: 70%; /* Bright but not neon */

  --primary-color: hsl(var(--hue), var(--sat), var(--light)); /* Main aqua */
  --white-color: hsl(var(--hue), 10%, 98%); /* Soft white with a hint of aqua */
  --dark-color: hsl(var(--hue), 35%, 10%); /* Deep teal for contrast */

  /* For dark/light theme switching */
  --color-01: hsl(var(--hue), var(--sat), var(--light)); /* Primary */
  --color-02: hsl(var(--hue), 10%, 98%); /* White */
  --color-03: hsl(var(--hue), 35%, 10%); /* Dark */
  --color-04: hsl(var(--hue), 15%, 75%); /* Light gray (softer) */
  --color-05: hsl(175, 80%, 60%); /* A brighter aqua for highlights */

  --body-color: hsl(176deg 97.99% 3.65%); /* Deep teal background */
  --hover-color: hsl(var(--hue), var(--sat), calc(var(--light) - 10%)); /* Darker on hover */

  /* Backgrounds (with a glowing effect!) */
  --bottom-nav-bg: hsl(var(--hue), 50%, 30% / 0.7); /* Semi-transparent teal */
  --card-bg: hsl(var(--hue), 20%, 32%);  
  --modal-backdrop-bg: hsl(var(--hue), 70%, 80% / 0.15); /* Soft aqua glow */
  --footer-bg: hsl(var(--hue), 30%, 18%); 

  /* Scrollbar (fun and modern) */
  --scrollbar-color: hsl(var(--hue), 30%, 20%);
  --scrollbar-thumb: hsl(var(--hue), 80%, 60%); /* Bright aqua */
  --scrollbar-thumb-hover: hsl(var(--hue), 90%, 70%); /* Even brighter! */

/*Typography*/
--body-font-family: "Inter", sans-serif;

--h1-font-size: 2.25rem;
--h2-font-size: 1.85rem;
--h3-font-size: 1.6rem;
--h4-font-size: 1.3rem;
--h5-font-size: 1.05rem;

--xlarge-font-size: 1.2rem;
--large-font-size: 1.1rem;
--medium-font-size: 1.05rem;
--base-font-size: 1rem;
--small-font-size: 0.95rem;
--tiny-font-size: 0.88rem;


/*Font Weight*/
--font-light: 300;
--font-regular: 400;
--font-medium: 500;
--font-semi-bold: 600;
--font-bold: 700;

--z-minus: -1;
--z-base: 0;
--z-low: 1;
--z-high: 10;
--z-content: 100;
--z-tooltip: 1000;
--z-fixed: 1100;
--z-overlay: 1110;
--z-modal: 1990;
--z-max: 9999;
} 

/*Light Theme*/
.light-theme{
    --hue: 175; /* Keeping the same youthful teal-aqua hue */
    --sat: 85%; /* Same high saturation for vibrancy */
    --light: 30%; /* Darkened from 70% to 30% for light mode */

    --primary-color: hsl(var(--hue), var(--sat), var(--light)); /* Now a deeper teal */
    --white-color: hsl(var(--hue), 35%, 10%); /* Dark version of soft white */
    --dark-color: hsl(var(--hue), 10%, 98%); /* Light version of deep teal */

    /* For dark/light theme switching */
    --color-01: hsl(var(--hue), var(--sat), var(--light)); /* Primary */
    --color-02: hsl(var(--hue), 35%, 10%); /* Dark (was white) */
    --color-03: hsl(var(--hue), 10%, 98%); /* White (was dark) */
    --color-04: hsl(var(--hue), 15%, 25%); /* Dark gray (was light gray) */
    --color-05: hsl(175, 80%, 40%); /* A darker aqua for highlights */

    --body-color: hsl(177, 20%, 79%); /* Light background (was deep teal) */
    --hover-color: hsl(var(--hue), var(--sat), calc(var(--light) - 5%)); /* Darker on hover */

    /* Backgrounds */
    --bottom-nav-bg: hsl(var(--hue), 50%, 70% / 0.7); /* Light semi-transparent teal */
    --card-bg: hsl(var(--hue), 20%, 68%);  /* Light card background */
    --modal-backdrop-bg: hsl(var(--hue), 70%, 20% / 0.15); /* Darker aqua glow */
    --footer-bg: hsl(var(--hue), 30%, 82%); /* Light footer */

    /* Scrollbar */
    --scrollbar-color: hsl(var(--hue), 30%, 80%);
    --scrollbar-thumb: hsl(var(--hue), 80%, 40%); /* Darker aqua */
    --scrollbar-thumb-hover: hsl(var(--hue), 90%, 30%); /* Even darker */

    
    .bottom-nav .menu-hide-btn{
        box-shadow: 0 2px 4px hsl(0, 0%, 1%, .25);
        
    }

    .pro-card,
    .skill-card,
    .portfolio-card,
    .contact-form-container{
        box-shadow: 0 2px 8px hsl(0, 0%, 1%, .05);
    }

    .contact-icon,
    .contact-social-links li{
        box-shadow: 0 2px 4px hsl(0, 0%, 1%, .1);
    }

    .lv-footer .copy-right{
        color: hsl(var(--hue) 26% 40%);
    }

    .lv-footer .copy-right a{
        color: hsl(175, 80%, 40%); 
    }

    .lv-footer .copy-right a:hover{
        color: hsl(var(--hue), var(--sat), calc(var(--light) - 5%));
    }

    .to-top-btn{
        background: hsl(var(--hue) 26% 12% / .2);
    }

    .portfolio-tabs .tab-btn:hover{
        color:  hsl(var(--hue), var(--sat), calc(var(--light) - 5%));
    }

}

/*Reset*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--body-font-family);
}

ul, li {
    list-style: none;
}

a{
    color: var(--color-04);
    text-decoration: none;
    cursor: pointer;
}

/*Base*/
html{
    scroll-behavior: smooth;
}

body{
    color: var(--color-04);
    background: var(--body-color);
    transition: .3s;
}

/*Reusable*/
.lv-section{
    position: relative;
    overflow: hidden;
}

.lv-container{
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

.lv-sub-container{
    padding-top: 7em;
    padding-bottom: 5em;
}

.lv-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
}

.section-title{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
}

.section-title h3{
    color: var(--color-01);
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 10px;
}

.section-title p{
    color: var(--color-04);
    font-size: var(--base-font-size);
    font-weight: var(--font-regular);
}

.section-content{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 75px;
}


/*Header*/
.lv-header{
    z-index: var(--z-fixed);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 30px 0;
    transition: .3s ease;
}

.lv-header.shrink{
    background: var(--body-color);
    padding: 20px 0;
}

.lv-header .inner{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lv-logo a{
    color: var(--color-01);
    font-size: 2.6rem;
    font-weight: var(--font-semi-bold);
    letter-spacing: -3px;
    transition: .3s;
}

.lv-logo a:hover{
    color: var(--hover-color);
}

.header-btns{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 25px;
}

.lets-talk-icon{
    color: var(--color-01);
    font-size: 1.8rem;
    cursor: pointer;
    transition: .3s;
    display: none;
}

.lets-talk-icon:hover{
    color: var(--hover-color);
}


/**ScrollBar**/
::-webkit-scrollbar{
    width: 5px;
    background: var(--scrollbar-color);
}

::-webkit-scrollbar-thumb{
    background: var(--scrollbar-thumb);
    border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover{
    background: var(--scrollbar-thumb-hover);
}


/*Cursor*/
.cursor{
    z-index: var(--z-max);
    position: fixed;
    /* top: 50%;
    left: 50%; */
    pointer-events: none;
}

.cursor-dot{
    position: absolute;
    background: var(--primary-color);   
    width: 5px;
    height: 5px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition-property: top, left, width, height;
    transition-duration: .03s, .03s, .3s, .3s;
}

.cursor-dot.large{
    background: hsl(var(--hue) var(--sat) var(--light) / .35);
    width: 50px;
    height: 50px;
    transition-property: top, left, width, height;
    transition-duration: .03s, .03s, .3s, .3s;
}

.cursor-circle{
    position: absolute;
    border: 2px solid var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    opacity: .5;
    transform: translate(-50%, -50%);
    transition-property: top, left;
    transition-duration: .09s, .09s;
}


/*To Top Button*/
.to-top-btn{
    z-index: var(--z-fixed);
    position: fixed;
    background: hsl(var(--hue) 54% 74% / .2);
    height: 100px;
    width: 2px;
    bottom: 25px;
    right: -30px;
    cursor: pointer;
    transition: all .3s ease;
}

.to-top-btn.active{
    right: 30px;
}

.to-top-btn a{
    color: var(--color-01);
    transition: .3s;
}

.to-top-btn a:hover{
    color: var(--hover-color);
}

.to-top-btn a span{
    position: absolute;
    left: 0;
    bottom: 155px;
    transform: rotateZ(90deg);
    transform-origin: left;
    font-size: .85rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.to-top-btn .scroll-indicator-bar{
    position: absolute;
    background: var(--color-01);
    width: 2px;
    height: auto;
    opacity: .5s;
}




/*Buttons*/
.lv-main-btn{
    width: fit-content;
    padding: 14px 30px;
    border-radius: 35px;
    cursor: pointer;
    transition: .3s;
}

.lv-main-btn:hover{
    color: var(--white-color);
    background: var(--hover-color);
    border: 2px solid var(--hover-color);
}

.lv-main-btn a{
    color: var(--color-01);
    font-size: var(--small-font-size);
    font-weight: 500;
    transition: .3s;
}

.lv-main-btn:hover a{
    color: var(--body-color)
}

.border-btn{
    border: 2px solid var(--color-01);
}

.fill-btn, .submit-btn{
    width: fit-content;
    padding: 14px 30px;
    border-radius: 35px;
    cursor: pointer;
    display: inline-block;
    transition: transform .3s ease;
    transform-origin: center;
    color: var(--body-color);
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.fill-btn:hover, .submit-btn:hover{
    transform: rotate(-3deg) scale(1.05);
    color: var(--body-color);
    background: var(--hover-color);
}

.fill-btn a{
    color: var(--dark-color);
}

/*Dark and Light Theme Btn*/
.theme-btn{
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
    width: 27px;
    cursor: pointer;
}

.theme-btn i{
    position: absolute;
    color: var(--color-01);
    font-size: 1.7rem;
    cursor: pointer;
    transition: .3s;
}

.theme-btn:hover i{
    color: var(--hover-color);
    transform: rotate(-15deg);
}

/* .theme-btn .moon-icon{
    display: none;
} */


.theme-btn.active-sun-icon .moon-icon,
.theme-btn .sun-icon{
    opacity: 1;
    transition: .3s;
}

.theme-btn.active-sun-icon .sun-icon,
.theme-btn .moon-icon{
    opacity: 0;
    transition: .3s;
}

/*Tooltip*/
.lv-main-btn[data-tooltip] {
    position: relative;
    cursor: pointer;
}

.lv-main-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%; /* place above the button */
    left: 50%;
    transform: translateX(50%);
    background-color: hsla(175, 70%, 45%, 0.2);;
    color: var(--color-01);
    padding: 6px 10px;
    font-size: 0.75rem;
    font-style: italic;
    white-space: nowrap;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 10;
}

.lv-main-btn[data-tooltip]:hover::after {
    opacity: 1;
}


/*Bottom Nav Menu*/
.bottom-nav-container{
    position: relative;
}

.bottom-nav{
    z-index: var(--z-fixed);
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    /* bottom: 50px; */
    bottom: -75px;
    opacity: 0;
    transition: .5s ease, .3s ease;
    transition-property: bottom, opacity;
}

.bottom-nav.active{
    bottom: 50px;
    opacity: 1;
    transition: .5s ease, .3s ease;
    transition-property: bottom, opacity;
}


.bottom-nav-inner{
    position: relative;
}

.bottom-nav .menu{
    background: var(--bottom-nav-bg);
    backdrop-filter: blur(10px);
    padding: 16px 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 25px;
    border-bottom: 1px solid hsl(var (--hue) 45% 98% / .1);
    border-left: 2px solid hsl(var (--hue) 45% 98% / .1);
    border-radius: 50px;
    /* display: none; */
} 

.bottom-nav .menu li a{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.bottom-nav .menu li a i{
    color: var(--color-02);
    font-size: 1.4rem;
    padding: 10px;
    border-radius: 50%;
    transition: .3s;
}

.bottom-nav .menu li:hover a i{
    color: var(--white-color);
    background: var(--hover-color);
}

.bottom-nav .menu .current i{
    color: var(--dark-color);
    background: var(--primary-color);
}

.bottom-nav .menu li a span{
    z-index: var(--z-tooltip);
    position: absolute;
    color: var(--dark-color);
    background: var(--primary-color);
    font-size: var(--tiny-font-size);
    font-weight: var(--font-medium);
    padding: 3px 10px;
    transform: translateY(-53px);
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
}

.bottom-nav .menu li:hover a span{
    opacity: 1;
}

.bottom-nav .menu li a span:before{
    content: "";
    z-index: var(--z-minus);
    position: absolute;
    background: var(--primary-color);
    width: 10px;
    height: 10px;
    left: 50%;
    bottom: -8px;
    transform: rotate(45deg) translateX(-50%);
}

.bottom-nav .menu-hide-btn{
    z-index: var(--z-fixed);
    position: absolute;
    top: -5px;
    right: 0;
    color: var(--dark-color);
    font-size: 1.52rem;
    background: var(--primary-color);
    padding: 2px;
    border-radius: 50%;
    cursor: pointer;
    transition: .3s ease;
    pointer-events: none;
    opacity: 0;
}

.menu-hide-btn.active{
    pointer-events: all;
    opacity: 1;
}


.bottom-nav .menu-hide-btn:hover{
    color: var(--white-color);
    background: var(--hover-color);
}

.menu-show-btn{
    z-index: var(--z-fixed);
    position: fixed;
    background: var(--bottom-nav-bg);
    backdrop-filter: blur(10px);
    width: 85px;
    height: 50px;
    border-bottom: 1px solid hsl(var(--hue) 45% 98% / .1);
    border-left: 1px solid hsl(var(--hue) 45% 98% / .1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 5px;
    transform: translateX(-50%);
    left: 50%;
    /* bottom: 50px; */
    bottom: -75px;
    opacity: 0;
    border-radius: 5px;
    cursor: pointer;
    transition: .5s ease, .3s ease;
    transition-property: bottom, opacity;
    overflow: hidden;
    animation: wiggle 2s linear infinite;
    animation-delay: 1s;
}

.menu-show-btn.active{
    bottom: 50px;
    opacity: 1;
    transition: .5s ease, .3s ease;
    transition-property: bottom, opacity;
}


@keyframes wiggle {
    0%, 5% {
        transform: translateX(-50%) rotate(0);
    }
    15% {
        transform: translateX(-50%) rotateZ(-15deg);
    }
    20% {
        transform: translateX(-50%) rotateZ(10deg);
    }
    25% {
        transform: translateX(-50%) rotateZ(-10deg);
    }
    30% {
        transform: translateX(-50%) rotateZ(6deg);
    }
    35% {
        transform: translateX(-50%) rotateZ(-4deg);
    }
    40%, 100% {
        transform: translateX(-50%) rotateZ(0);
    }
}


.menu-show-btn .bar-01, 
.menu-show-btn .bar-02{
    background: var(--primary-color);
    width: 40px;
    height: 4px;
    transition: .15s;
}

.menu-show-btn:hover .bar-01, 
.menu-show-btn:hover .bar-02{
    background: var(--hover-color);
}

/*Home*/

.home-container{
    height: 100vh;
}

.home-container .lv-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 25px;
}

.avatar-img{
    position: relative;
    width: 425px;
    height: 425px;
}

.avatar-img img{
    position: absolute;
    width: 100%;
}

.ghost-float {
        animation: ghostFloat 3s ease-in-out infinite;
    }
    
    @keyframes ghostFloat {
        0%, 100% {
            transform: translateY(0);
            /* filter: drop-shadow(0 5px 5px rgba(255, 255, 255, 0.4)); */
        }
        50% {
            transform: translateY(-15px);
            /* filter: drop-shadow(0 5px 5px rgba(255, 255, 255, 0.6)); */
        }
    }

.home-social{
    position: absolute;
    left: 0;
}

.home-social span{
    position: absolute;
    left: 10px;
    color: var(--color-01);
    font-size: var(--tiny-font-size);
    white-space: nowrap;
    transform: rotateZ(-90deg);
    transform-origin: left;
}

.home-social .social-line{
    background: var(--color-01);
    width: 1px;
    height: 100px;
    margin-top: 37px;
    margin-bottom: 25px;
    margin-left: 10px;
}

.home-social .social-icons{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.home-social .social-icons li a{
    color: var(--color-01);
    font-size: var(--xlarge-font-size);
    transition: .3s;
}

.home-social .social-icons li a:hover{
    color: var(--hover-color);
}

.avatar-container .hire-btn-01{
    display: none;
}

.avatar-info{
    position: relative;
}

.avatar-info .text-content{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.avatar-info .hello-text{
    font-size: var(--base-font-size);
    font-weight: var(--font-semi-bold);
}

.avatar-info .my-name{
    color: var(--color-02);
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
}

.avatar-info .what-i-do{
    font-size: var(--base-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 35px;
}

.avatar-info .what-i-do .typing {
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--color-02);
  animation: blinkCursor 0.7s step-end infinite;
}

@keyframes blinkCursor {
  0%, 100% {
    border-color: transparent;
  }
  50% {
    border-color: var(--color-02);
  }
}


.home-scroll-btn{
    position: absolute;
    right: -5px;
    color: var(--color-01);
    display: grid;
    justify-items: center;
    row-gap: 3px;
    animation: up-down 3s linear infinite;
    animation-delay: 1.85s;
}

/* @keyframes up-down {
    0%{
        transform: translateY(8px);
    }
    50%{
        transform: translateY(-8px);
    }
    100%{
        transform: translateY(8px);
    }
} */

.home-scroll-btn:hover{
    color: var(--hover-color);
}


.home-scroll-btn div{
    font-size: var(--tiny-font-size);
    font-weight: var(--font-regular);
    writing-mode: vertical-lr;
    text-orientation: mixed;
    white-space: nowrap;
    transform: rotate(180deg);
    margin-top: 7px;
}

.home-scroll-btn i{
    font-size: 2rem;
}

/*About*/
.about-img {
  position: relative;
  width: 35%;
  aspect-ratio: 1 / 1; /* ensures a square aspect ratio */
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img .flip-card {
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  cursor: pointer;
}

.flip-inner.flipped {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px; /* match .about-img image rounding */
  overflow: hidden;
}

.flip-front img,
.flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  transform: rotateY(180deg);
}


.about-details{
    width: 65%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.about-info .iam{
    color: var(--color-02);
    font-size: var(--h4-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 30px;
}

.about-description{
    font-size: var(--base-font-size);
    font-weight: var(--font-regular);
    line-height: 25px;
    text-align: justify;
}

.about-buttons .lv-main-btn.fill-btn {
    display: none;
}

.about-buttons {
    display: flex;
    justify-content: center; /* Aligns all buttons to the right */
    gap: 1rem; /* Adds spacing between buttons */
}


.pro-list{
    position: relative;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    column-gap: 10px;
    row-gap: 12px;
    margin: 38px 0;
}

.pro-card-wrapper {
  position: relative;
  display: inline-block;
  padding: 2px; /* border thickness */
  border-radius: 5px;
  overflow: hidden; /* clips the gradient edges */
}

.pro-card-wrapper::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(
    from 0deg,
    #ff3ca6,
    #3cffac,
    #3c84ff,
    #ff3ca6
  );
  animation: rotateBorder 8s linear infinite;
}

.pro-card {
  background: var(--card-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  padding: 15px 20px;
  text-align: left;
  border-radius: 5px;
  position: relative;
  z-index: 1;
}

.pro-card span {
  color: var(--primary-color);
  font-size: 2.75rem;
  font-weight: var(--font-bold);
}


.pro-card p{
    color: var(--color-02);
    font-size: var(--tiny-font-size);
    font-weight: var(--font-regular);
    line-height: 20px;
    max-width: 100px;
}

.about-buttons{
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 25px;
}

/*Resume*/
.resume-tabs{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 30px;
    margin-bottom: 100px;
}

.resume-tabs .tab-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
    color: var(--color-01);
    font-size: var(--medium-font-size);
    font-weight: var(--font-medium);
    padding: 12px 0;
    border-radius: 25px;
    cursor: pointer;
    transition: .3s;
}

.resume-tabs .tab-btn:hover{
    color: var(--hover-color);
    padding: 12px 15px;
    background: var(--card-bg);
}

.resume-tabs .tab-btn i{
    font-size: var(--xlarge-font-size);
    margin-right: 3px;
}

.resume-tabs .tab-btn.active{
    color: var(--body-color);
    background: var(--primary-color);
    padding: 12px 15px;
}

.resume-tabs .tab-btn.active:hover{
    color: var(--body-color);
    background: var(--hover-color);
}

.resume-tab-content{
    position: relative;
    /* display: flex; */
    width: 100%;
    justify-content: center;
    margin-bottom: 25px;
    display: none;
    opacity: 0;
    transition: opacity .3s ease;
    height: auto;
}

.resume-tab-content.active{
    display: flex;
    opacity: 1;
}

.education .resume-line{
    background: var(--primary-color);
    width: 2px;
    height: 500px;
}

.resume-tab-content.experience .resume-line{
    background: var(--primary-color);
    width: 2px;
    height: 755px;
}

.resume-items{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 125px;
}

.resume-items .item{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resume-items .item:before{
    content: "";
    position: absolute;
    background: var(--primary-color);
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.resume-items .item .info{
    position: absolute;
    width: 250px;
    display: flex;
    align-items: center;
    column-gap: 25px;
}

.resume-items .item-left .info{
    right: 35px;
}

.resume-items .item-right .info{
    left: 50px;
}

.resume-items .item .info i{
    color: var(--primary-color);
    font-size: 2.15rem;
}

.resume-items .item .info h5{
    color: var(--color-02);
    font-size: var(--h5-font-size);
    font-weight: var(--font-semi-bold);
    white-space: break-spaces;
    margin-bottom: 10px;
}

.resume-items .item .info p{
    color: var(--color-04);
    font-size: var(--small-font-size);
    white-space: break-spaces;
    margin-bottom: 18px;
}

.resume-items .item .info span{
    position: relative;
    background: var(--primary-color);
    color: var(--dark-color);
    font-size: var(--font-medium);
    padding: 3px 12px;
    border-radius: 3px;
}

.experience .resume-line{
    background: var(--primary-color);
    width: 2px;
    height: 500px;
}

.education, .experience{
    transform: translateY(35px);
}

.skill-container{
    max-width: 100%;
    display: grid;
    place-items: center;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 50px;
    row-gap: 50px;
}

.skill-card-wrapper {
  position: relative;
  display: inline-block;
  padding: 3px; /* thickness of animated border */
  border-radius: 14px; /* slightly larger than .skill-card */
  overflow: hidden;
  z-index: 0;
  transition: transform 0.3s;
}

.skill-card-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    #ff3ca6,
    #3cffac,
    #3c84ff,
    #ff3ca6
  );
  animation: rotateBorder 10s linear infinite;
  z-index: -1;
}

@keyframes rotateBorder {
  to {
    transform: rotate(360deg);
  }
}

.skill-card {
  width: 120px;
  padding: 20px;
  background: var(--footer-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
  position: relative;
  z-index: 1; /* sits above the rotating gradient */
}

.skill-card-wrapper:hover {
  transform: scale(1.05);
  transition: transform .3s ease;
}


.skill-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.skill-title i {
  font-size: 32px;
  color: #333;
}

.skill-title span {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-01);
  text-transform: capitalize;
}

/* ✅ New: Style for logo images */
.skill-title img.skill-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(0.2); /* optional: slight tone-down effect */
}

/* ✅ New: Progress bar container */
.skill-bar {
  width: 100%;
  height: 8px;
  background-color: #b9b5b5;
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}

/* ✅ New: Progress fill */
.skill-progress {
  height: 100%;
  background-color: #4CAF50; /* You can use your --primary-color if defined */
  width: 0%;
  transition: width 1s ease-in-out;
}



/*Portfolio*/
.portfolio-tabs{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 15px;
    margin-bottom: 85px;
}

.portfolio-tabs .tab-btn{
    color: var(--color-01);
    font-size: var(--medium-font-size);
    font-weight: var(--font-medium);
    padding: 12px 0;
    border-radius: 25px;
    cursor: pointer;
    transition: .3s;
}

.portfolio-tabs .tab-btn:hover{
    color: var(--hover-color);
    background: var(--card-bg);
    padding: 12px 25px;
}

.portfolio-tabs .tab-btn.active{
    color: var(--body-color);
    background: var(--primary-color);
    padding: 12px 25px;
}

.portfolio-tabs .tab-btn.active:hover{
    color: var(--body-color);
    background: var(--hover-color);
}

.portfolio-container{
    display: grid;
    place-items: center;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
    row-gap: 55px;
}

.portfolio-container .card-with-modal{
    display: block;
}

.portfolio-container .card-with-modal.hidden{
    display: none;
}

.portfolio-card {
    position: relative;
    background: var(--card-bg);
    width: 300px;
    height: 200px;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
}

.portfolio-card .card-img {
    width: 100%;
}

.portfolio-card .card-img iframe,
.portfolio-card .card-img img {
    width: 100%;
    height: 145px;
    object-fit: fill;   
}

.portfolio-card .card-info {
    position: relative;
    padding: 10px 15px 20px 20px;
}

.portfolio-card .card-info span {
    color: var(--primary-color);
    font-size: var(--tiny-font-size);
    font-weight: var(--font-regular);
    text-transform: uppercase;
    transition: color 0.3s;
}

.portfolio-card .card-info span:hover {
    color: var(--hover-color);
}

.portfolio-card .card-info i {
    position: absolute;
    right: 0;
    bottom: 0;
    color: var(--primary-color);
    font-size: 1.7rem;
    margin: 15px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-info i {
    transform: scale(1);
}

.portfolio-modal-backdrop {
    z-index: var(--z-overlay);
    position: fixed;
    background: var(--modal-backdrop-bg);
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: start;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.portfolio-modal-backdrop::-webkit-scrollbar {
    background: hsl(var(--hue) 25% 20%);
    width: 6px;
    border-radius: 4px;
}

.portfolio-modal-backdrop::-webkit-scrollbar-thumb {
    background: var(--card-bg);
    border-radius: 4px;
}

.portfolio-modal-backdrop::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

.portfolio-modal {
    position: relative;
    background: var(--card-bg);
    max-width: 650px;
    margin: 75px 25px;
    padding: 50px 45px;
    border-radius: 15px;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.portfolio-modal.active {
    transform: scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--color-02);
    cursor: pointer;
}

.portfolio-modal .modal-content {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
}

.portfolio-modal .modal-img {
    margin-top: 25px;
    width: 100%;
}

.portfolio-modal .modal-img img,
.portfolio-modal .modal-img iframe {
    width: 100%;
    height: 270px;
    border-radius: 10px;
    object-fit: fill;
}

.modal-title {
    color: var(--color-02);
    font-size: var(--h5-font-size);
    font-weight: var(--font-semi-bold);
    text-align: center;
}

.modal-description {
    color: var(--color-04);
    font-size: var(--h6-font-size);
    font-weight: var(--font-regular);
    text-align: justify;
}

/* Container for buttons */
.portfolio-modal .button-group {
    display: flex;
    justify-content: center;
    gap: 20px; /* spacing between buttons */
    flex-wrap: wrap; /* wrap on smaller screens */
    margin-top: 10px;
}

/* Link styled as button */
.portfolio-modal .portfolio-modal-link.button-link {
    display: inline-block;
    width: 170px; /* Equal width for both buttons */
    text-align: center;
    padding: 10px 10px;
    background-color: var(--color-02);
    color: var(--card-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-style: normal;
    font-size: var(--small-font-size);
}

.portfolio-modal .portfolio-modal-link.button-link:hover {
    transform: scale(1.05);
}




/**ContactMe**/
.contact-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 60px;
}

.contact-info h3{
    color: var(--color-02);
    font-size: var(--base-font-size);
    font-weight: var(--medium-font-size);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.contact-details{
    display: flex;
    flex-direction: column;
    row-gap: 60px;
    margin-bottom: 50px;
}

.contact-item{
    display: flex;
    align-items: center;
    column-gap: 25px;
}

.contact-icon{
    color: var(--primary-color);
    font-size: 2rem;
    background: var(--card-bg);
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.contact-icon:hover{
    color: var(--hover-color);
}

.contact-method{
    display: flex;
    flex-direction: column;
    row-gap: 7px;
}

.contact-method span{
    font-size: var(--tiny-font-size);
    text-transform: uppercase;
}

.contact-method h4{
    color: var(--color-02);
    font-size: var(--base-font-size);
    font-weight: var(--medium-font-size);
}

.contact-method a{
    color: var(--primary-color);    
}


.contact-method a:hover{
    color: var(--hover-color);

}

.contact-method a span{
    font-size: var(--small-font-size);
    text-transform: none;
}

.contact-method a i{
    font-size: var(--medium-font-size);
    transition: margin-left .3s;
}

.contact-method a span i {
    transition: 0.3s ease;
}

.contact-method a span:hover i {
    margin-left: 3px;
}

.contact-social-links{
    width: 100%;
    display: flex;
    column-gap: 25px;
}


.contact-social-links li{
    font-size: 1.75rem;
    background: var(--card-bg);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .3s ease;
}

.contact-social-links li:hover{
    transform: scale(1.05);
}

.contact-social-links li a{
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-social-links li:hover a{
    color: var(--hover-color);
    transform: scale(1.05);
}

.contact-form-container{
    position: relative;
    background: var(--card-bg);
    width: 100%;
    padding: 50px;
    border-radius: 35px;
}

.contact-form-container h2{
    color: var(--color-02);
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    margin-bottom: 30px;
}


.contact-form-container h2 span{
    color: var(--primary-color);
}

.contact-form-container p{
    font-size: var(--tiny-font-size);
    margin-bottom: 45px;
}

.contact-form-container form{
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.contact-form-container form .input-group input,
.contact-form-container form .input-group textarea{
    color: var(--color-03);
    font-size: var(--small-font-size);
    /* background: hsl(var(--hue) 54% 74% / .1); */
    width: 100%;
    border: none;
    outline: none;
    padding: 17px 20px;
    border-radius: 10px;
}

.contact-form-container form .input-group textarea{
    height: 150px;
    resize: none;
}

.contact-form-container form .send-message{
    display: flex;
    justify-content:space-between;
    align-items: center;
    margin-top: 10px;
}

.contact-form-container .input-group button{
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    width: 200px;
    padding: 16px 30px;
    margin-top: 10px;
    transition: .3s;
}

.contact-form-alert{
    cursor: pointer;
}

.contact-form-alert span{
    color: var(--color-02);
    font-size: var(--tiny-font-size);
    font-weight: var(--font-regular);
}

.contact-form-alert i{
    color: var(--primary-color);
    font-size: 1.25rem;
}


/**Footer**/
.lv-footer{
    background: var(--footer-bg);
    padding-top: 100px;
    padding-bottom: 165px;
}

.lv-footer .lv-container .inner{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 40px;
}

.footer-menu{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 22px;
    row-gap: 22px;
}

.footer-menu .menu-item a{
    color: var(--color-01);
    font-size: calc(var(--tiny-font-size) - .07rem);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 15px;
    transition: .3s;
}

.footer-menu .menu-item a:hover{
    color: var(--color-03);
    background: var(--color-01);
}

.lv-footer .copy-right{
    color: var(--color-04);
    font-size: var(--small-font-size);
    margin-top: 10px;
}

.lv-footer .copy-right a:hover{
    color: var(--color-01);
    transition: .3s;
}

/**Media Queries**/
@media screen and (max-width: 1600px){

    .lv-container {
        max-width: 1075px;
    }

    .avatar-img {
        width: 385px;
        height: 385px;
    }


}

@media screen and (max-width: 1200px){
    .lv-container {
        max-width: 100%;
        margin-left: 75px;
        margin-right: 75px;
    }

    .home-social {
        margin-bottom: -70px;
    }
    .section-content {
       margin-left: 25px;
       margin-right: 25px;
    }

    .about-img {
        width: 275px;
    }

    .about-details {
        width: unset;
    }

    .about-info {
        display: grid;
        place-items: center;
    }

    .about-description {
        max-width: 700px;
    }

    .about-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .skill-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-container {
        width: 50%;
        padding: 40px;
    }

    .contact-form-container h2 {
        font-size: var(--h3-font-size);
        margin-bottom: 10px;
    }

    .contact-form-container p {
        margin-bottom: 15px;
    }

    .contact-form-container form .input-group input, .contact-form-container form .input-group textarea
    {
        padding: 12px 15px;
    }

    .contact-form-container .input-group button {
        margin-top: 0px;
        padding: 10px 10px;
    }
    
}

@media screen and (max-width: 992px){

    .avatar-container {
        flex-direction: column-reverse;
    }

    .avatar-container .hire-btn-01 {
        display: block;
    }

    .avatar-container .hire-btn-02 {
        display: none;
    }

    .avatar-img {
        width: 275px;
        height: 275px;
    }

    .avatar-info .text-content{
        align-items: center;
    }

    .avatar-info .my-name {
        font-size: var(--h4-font-size);
    }

    .home-scroll-btn {
        right: 5px;
    }

    .section-content {
        display: flex;
        flex-direction: column;   
        justify-content: center;  
        align-items: center;      
        row-gap: 75px;            
    }

    .contact-container {
        display: flex;
        flex-direction: column;
        row-gap: 75px;
        margin-top: 50px;
    }

    .contact-details {
        display: flex;
        flex-direction: row;       
        column-gap: 60px;          
        justify-content: center;   
        margin-bottom: 100px;
    }

    .contact-info {
        flex: 1;                    
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .contact-method h4 {
        display: none;
    }
    .contact-info h3 {
        display: none;
    }

    .contact-social-links {
        display: flex;
        justify-content: center;
    }

    .contact-form-container {
        width: 90%;
        padding: 40px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .cursor {
        display: none;
    }

    :root {
        --h1-font-size: 1.85rem;
        --h2-font-size: 1.6rem;
        --h3-font-size: 1.4rem;
        --h4-font-size: 1.2rem;
        --h5-font-size: 1rem;

        --xlarge-font-size: 1.05rem;
        --large-font-size: 1rem;
        --medium-font-size: 0.95rem;
        --base-font-size: 0.9rem;
        --small-font-size: 0.85rem;
        --tiny-font-size: 0.8rem;
    }


    .avatar-container .hire-btn-01,
    .avatar-container .hire-btn-02 {
        display: none;
    }

    .lv-container {
        margin-left: 25px;
        margin-right: 25px;
    }

    .lv-logo a {
        font-size: 2.35rem;
    }

    .lets-talk-icon {
        font-size: 1.6rem;
        display: block;
    }

    .theme-btn i {
        font-size: 1.6rem;
    }

    .avatar-container .hire-btn-01 {
        font-size: var(--small-font-size);
        padding: 10px 15px;
    }

    .home-social .social-line{
        font-size: 1.5rem;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .home-social .social-icons li a{
        font-size: 1rem;
    }

    .home-scroll-btn div{
        font-size: .8rem;
    }

    .home-scroll-btn i{
        font-size: 1.5rem;
    }

    .bottom-nav {
        bottom: -30px;
    }

    .bottom-nav.active {
        bottom: 30px;
    }

    .bottom-nav .menu li a i {
        font-size: 1rem;
        padding: 5px;
    }

    .about-img {
        width: 200px;
    }


    .about-description {
        max-width: 500px;
    }

    .resume-items .item .info {
        width: 140px;
        column-gap: 15px;
    }

    .resume-items .item-left .info {
        right: 20px;
    }

    .resume-items .item-right .info {
        left: 45px;
    }

    .resume-items .item .info i {
        display: none;
    }

    .resume-items .item .info p {
        white-space: break-spaces;
    }


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


    .portfolio-container {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .portfolio-card {
        width: 250px;
        height: 200px;
    }

    .portfolio-modal {
        max-width: 70%;
        margin: 50px 15px;
        padding: 30px 20px;
        border-radius: 12px;
    }

    .portfolio-modal-backdrop {
        align-items: center;
    }

    .portfolio-modal .modal-content {
        row-gap: 10px;
        margin-top: 20px;
    }

     .portfolio-modal .modal-img {
       display: none;   
     }

    .portfolio-modal .modal-content .modal-title {
        font-size: var(--h5-font-size);
    }

    .portfolio-modal .modal-content .modal-description {
        font-size: var(--small-font-size);
        max-width: 500px;
    }

    .portfolio-modal .portfolio-modal-link.button-link {
        width: 150px;
    }

    .contact-container {
        column-gap: 0;
        margin-top: 0;
    }

    .contact-info h3 {
        font-size: var(--small-font-size);
        margin-bottom: 25px;
        text-align: center;
    }

    .contact-details {
        flex-direction: column;   /* stack items vertically */
        row-gap: 30px; 
        margin-bottom: 50px;           /* vertical spacing between items */
    }

    .contact-item {
        column-gap: 15px;
    }

    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .contact-method h4 {
        font-size: var(--small-font-size);
    }

    .contact-method a span {
        font-size: var(--tiny-font-size);
    }

    .contact-social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .contact-social-links li {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .contact-form-container {
        padding: 30px 30px;
        border-radius: 25px;
    }

    .contact-form-container h2 {
        font-size: var(--h4-font-size);
    }

    .contact-form-container p {
        text-align: center;
    }

    .contact-form-container form .input-group input,
    .contact-form-container form .input-group textarea {
      padding: 10px 12px;
      font-size: var(--tiny-font-size);
    }

    .contact-form-container form .input-group textarea {
      height: 100px;
    }

    .contact-form-container form .send-message {
      flex-direction: column;
      align-items: stretch;
    }

    .contact-form-container .input-group button {
      font-size: var(--tiny-font-size);
      display: inline-block;
      margin: 0 auto;
      text-align: center;
      width: auto;
    }

    .contact-form-alert span {
      font-size: var(--tiny-font-size);
    }

    .contact-form-alert i {
      font-size: 1rem;
    }

    .lv-footer {
      padding-top: 25px;
      padding-bottom: 120px;
    }

    .footer-menu {
      column-gap: 10px;
    }

    .to-top-btn.active {
      right: 20px;
    }

}


@media screen and (max-width: 480px){

    :root {
        --h1-font-size: 1.75rem;   /* ~28px */
        --h2-font-size: 1.5rem;    /* ~24px */
        --h3-font-size: 1.3rem;    /* ~21px */
        --h4-font-size: 1.1rem;    /* ~18px */
        --h5-font-size: 0.95rem;   /* ~15px */

        --xlarge-font-size: 1rem;      /* ~16px */
        --large-font-size: 0.95rem;    /* ~15px */
        --medium-font-size: 0.9rem;    /* ~14px */
        --base-font-size: 0.875rem;    /* ~14px */
        --small-font-size: 0.825rem;   /* ~13px */
        --tiny-font-size: 0.75rem;     /* ~12px */
  }

  .lv-container {
    margin-left: 30px;
    margin-right: 30px;
  }

  .lv-header {
    padding: 15px 0;
  }

  .avatar-img {
    width: 200px;
    height: 200px;

  }

  .header-btns {
    column-gap: 15px;
  }

  .home-container .lv-wrapper {
    flex-direction: column-reverse;
  }

  .home-social {
    position: relative;
    
  }

  .home-social span {
    display: none;
  }

  .home-social .social-line {
    display: none;
  }

  .home-social .social-icons {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 35px;
  }

  .home-scroll-btn {
    display: none;
  }

  .bottom-nav {
    width: 100%;
    padding: 0 20px;
  }

  .bottom-nav .menu {
    padding: 17px 25px;
    justify-content: space-between;
    column-gap: 7px;
    width: 100%;
  }

  .bottom-nav .menu li a i {
    font-size: 1.15rem;
    padding: 7px;
  }

  .bottom-nav .menu-hide-btn {
    font-size: 1.25rem;
  }

  .menu-show-btn {
    width: 75px;
    height: 45px;
    row-gap: 4px;
  }

  .menu-show-btn .bar-01, 
  .menu-show-btn .bar-02 {
    width: 37px;
    height: 3px;
  }

  .pro-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 2fr));
  }

  .pro-card {
    flex-direction: column;
    row-gap: 3px;
  }

  .pro-card p {
    text-align: center;
  }

  .about-buttons {
    column-gap: 15px;
  }

  

  .skill-container {
    grid-template-columns: repeat(2, 1fr);
  }




}


@media screen and (max-width: 768px) and (orientation: landscape) {
  .cursor {
    display: none;
  }
}
