/* 
  Copyright (c) 2025 Saahil Lia
  Licensed under the MIT License – see the LICENSE file in the project root.
*/
 
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    text-decoration: none;
}
/* Combination 1 */
/* :root {
    --text-color: #ccd6f6; 
    --hover-color: #64FFDA;
    --bg-color: #0a192f; 
    --secon-bg-color: #172a45; 
    --neon-bar--shadow: 0 0 .5rem #64FFDA;
    --font-neon-text-shadow: 0 0 10px rgba(100, 255, 218, 0.3),
                            0 0 20px rgba(100, 255, 218, 0.3),
                            0 0 30px rgba(100, 255, 218, 0.3);
} */

/* Combination 2 */
/* :root {
    --text-color: #e0e0e0;
    --hover-color: #00FF41; 
    --bg-color: #0d110d; 
    --secon-bg-color: #1c221c; 
    --neon-bar--shadow: 0 0 .5rem #00FF41;
    --font-neon-text-shadow: 0 0 10px rgba(0, 255, 65, 0.3),
                            0 0 20px rgba(0, 255, 65, 0.3),
                            0 0 30px rgba(0, 255, 65, 0.3);
} */

/* Combination 3 */
/* :root {
    --text-color: #ffffff;
    --hover-color: #FFBF00; 
    --bg-color: #1a1a1a; 
    --secon-bg-color: #2c2c2c; 
    --neon-bar--shadow: 0 0 .5rem #FFBF00;
    --font-neon-text-shadow: 0 0 10px rgba(255, 191, 0, 0.3),
                            0 0 20px rgba(255, 191, 0, 0.3),
                            0 0 30px rgba(255, 191, 0, 0.3);
} */

/* Combination 4 */
/* :root {
    --text-color: #f0f0f0;
    --hover-color: #f802e5; 
    --bg-color: #0d0221; 
    --secon-bg-color: #241e4e; 
    --neon-bar--shadow: 0 0 .5rem #f802e5;
    --font-neon-text-shadow: 0 0 10px rgba(248, 2, 229, 0.3),
                            0 0 20px rgba(248, 2, 229, 0.3),
                            0 0 30px rgba(248, 2, 229, 0.3);
} */


/* Original combinations  */
:root{
    --text-color:#f5f5f5;
    --hover-color: #12f7ff;
    --bg-color:#001219;
    --secon-bg-color:#002733;
    --big-font:2.5rem;
    --normal-font:2rem;
    --neon-bar--shadow:0 0 .5rem #12f7ff;
    --h2-font:3rem;
    --font-neon-text-shadow:0 0 10px rgba(18, 247, 255, 0.3 ),
                            0 0 20px rgba(18, 247, 255, 0.3 ),
                            0 0 30px rgba(18, 247, 255, 0.3 ),
                            0 0 40px rgba(18, 247, 255, 0.3 ),
                            0 0 70px rgba(18, 247, 255, 0.3 ),
                            0 0 80px rgba(18, 247, 255, 0.3 ),
                            0 0 100px rgba(18, 247, 255, 0.3 ),
                            0 0 150px rgba(18, 247, 255, 0.3 );
}





::-webkit-scrollbar{
    height: 0;
    width: .5rem;
}
::-webkit-scrollbar-track{
    background: var(--secon-bg-color);
}
::-webkit-scrollbar-thumb{
    background: var(--hover-color);
    border-radius: 5rem;
}


body{
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: none;
}

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
    body {
        cursor: auto;
    }
    .cursor-dot, .cursor-outline {
        display: none;
    }
}

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--hover-color);
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--secon-bg-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--hover-color);
    border-radius: 10px;
    animation: loading 1.2s ease-in-out infinite;
    box-shadow: var(--neon-bar--shadow);
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

/* ==================== SCROLL PROGRESS INDICATOR ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--hover-color), #00ff88);
    z-index: 100001;
    box-shadow: var(--neon-bar--shadow);
    transition: width 0.1s linear;
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--hover-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100002;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-outline {
    position: fixed;
    width: 35px;
    height: 35px;
    border: 2px solid rgba(18, 247, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: #fff;
}

.cursor-outline.hover {
    width: 50px;
    height: 50px;
    border-color: var(--hover-color);
}

/* ==================== DARK/LIGHT MODE TOGGLE ==================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--hover-color);
    color: var(--hover-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--hover-color);
    color: var(--bg-color);
    box-shadow: var(--neon-bar--shadow);
}

/* Light mode variables */
body.light-mode {
    --text-color: #1a1a2e;
    --hover-color: #0088cc;
    --bg-color: #f5f5f5;
    --secon-bg-color: #ffffff;
    --neon-bar--shadow: 0 0 .5rem rgba(0, 136, 204, 0.5);
}

body.light-mode .preloader {
    background: var(--bg-color);
}

body.light-mode .cursor-outline {
    border-color: rgba(0, 136, 204, 0.5);
}

body.light-mode .port-box {
    background: #e8e8e8;
}

body.light-mode .port-content {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 136, 204, 0.9));
}

body.light-mode .about-content span,
body.light-mode .about-content p,
body.light-mode .main-text span {
    color: #333;
}

body.light-mode .home-content p,
body.light-mode .info-box span,
body.light-mode .experience-description p,
body.light-mode .experience-highlights li,
body.light-mode .experience-meta span,
body.light-mode .service-box p,
body.light-mode .service-features li,
body.light-mode .reason-item p,
body.light-mode .soft-skill-card p,
body.light-mode .testimonial-text,
body.light-mode .blog-card p,
body.light-mode footer p {
    color: #555;
}




header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 10%;
}
header.sticky{
    background: var(--bg-color);
    border-bottom: 1px solid var(--secon-bg-color);
    padding: 12px 10%;
}

.logo{
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}


span{
    color: var(--hover-color);
}


.navlist{
    display:flex;
}
.navlist a {
    display: inline-block;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    animation: slideAnimation 0.6s ease forwards;
    animation-delay: calc(.1s * var(--i));
    opacity: 0;
    position: relative;
    transition: color 0.3s ease;
}
.navlist a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--hover-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(18, 247, 255, 0.5);
}
.navlist a:hover::after,
.navlist a.active::after {
    width: 70%;
}
.navlist a:hover {
    color: var(--hover-color);
    text-shadow: 0 0 10px rgba(18, 247, 255, 0.4),
                0 0 20px rgba(18, 247, 255, 0.3);
}

.navlist a.active {
    color: var(--hover-color);
}

#menu-icon{
    font-size: 1rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background: var(--hover-color);
    border-radius: 3px;
    color: var(--secon-bg-color);
    display: none;
}


section{    
    padding: 100px 19%;
}


.home{
    min-height: 100vh;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    grid-gap: 4em;
    position: relative;
    overflow: hidden;
}

/* Particle background container */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.home-content, .home-image {
    position: relative;
    z-index: 1;
}
.home-content{
    max-width: 600px;
}
.home-content h1{
    font-size: var(--big-font);
    font-weight: 700;
}


.change-text{
    font-size: 1.5rem;
    font-weight: 600;
}
.change-text h3{
    display: inline-flex;
    margin: 0;
    vertical-align: top;
    position: relative;
    height: 45px;
}
.change-text h3 .word{
    position: absolute;
    display: flex;
    opacity: 0;
}
.change-text h3 .word .letter{
    transform-origin: center center 25px;
}
.change-text h3 .word .letter.out{
    transform: rotateX(90deg);
    transition: 0.32s cubic-bezier(0.6,0,0.7,0.2);
}
.change-text h3 .word .letter.in{
    transition: 0.30s ease;   
}
.change-text h3 .word .letter.behind{
    transform: rotateX(-90deg);
}


.home-content p{
    color: #bdbdbd;
    line-height: 1.6;
}

.info-box{
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    margin: 1rem 0 2rem;
}
.info-box h5{
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}
.info-box span{
    font-size: .9rem;
    color: #bdbdbd;
    margin-right:20px;
}


.btn-box{
    display: flex;
    justify-content: space-between;
    width: 320px;
    height: 45px;
}
.btn-box .btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    color: var(--bg-color);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--neon-bar--shadow);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
}
.btn:hover {
    color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(18, 247, 255, 0.5);
}
.btn:active {
    transform: translateY(-1px);
}
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover::before {
    width: 100%;
}
.btn:nth-child(2) {
    background: var(--bg-color);
    color: var(--hover-color);
}
.btn:nth-child(2):hover {
    color: var(--bg-color);
}
.btn:nth-child(2)::before {
    background: var(--hover-color);
}


.social-icons {
    margin-top: 8rem;
    display: flex;
    justify-content: space-between;
    width: 220px;
    height: 40px;
}
.social-icons a {
    display: inline-flex;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0.3rem #12f7ff;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.social-icons a i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.social-icons a:hover {
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(18, 247, 255, 0.4);
}
.social-icons a:hover i {
    transform: scale(1.1);
}
.social-icons a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--hover-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}
.social-icons a:hover::before{
    width: 100%;   
}


.home-image{
    position: relative;
}


.img-box{
    text-align: center;
    position: relative;
}
.img-box img{
    width: 100%;
    max-width: 450px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(18, 247, 255, 0.3));
    transition: all 0.4s ease;
}

.img-box:hover img {
    filter: drop-shadow(0 0 30px rgba(18, 247, 255, 0.5));
    transform: scale(1.02);
}

/* Glowing ring effect behind profile image */
.img-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 247, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.liquid-shape{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 10%;
}
.liquid-shape:nth-child(2){
    filter: blur(50px);
}



/* ==================== ABOUT SECTION ==================== */

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 2em;
    background: var(--secon-bg-color);
}
.about .img-about{
    text-align: center;
    position: relative;
}
.about .img-about img{
    max-width: 400px;
    height: auto;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.about .img-about:hover img {
    transform: scale(1.03);
}
.about-content span{
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.about-content h2{
    color: var(--hover-color);
    font-weight: 700;
    font-size: var(--normal-font);
}
.about-content h5{
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: .2rem;
}
.about-content p{
    color: #fdfdfd;
    font-weight: 300;
    margin-bottom: 1.5rem;    
}


.info-about1,
.info-about2,
.info-about3{
    background: var(--bg-color);
    font-size: .5rem;
    position: absolute;
    padding: 10px;
    width: 90px;
    height: 90px;
    border-radius: 89% 31%  66% 34% / 21% 30% 70% 79%;
    display: block;
    box-shadow: var(--neon-bar--shadow);
    border: 1px solid var(--hover-color);
    outline: 2px solid var(--bg-color);
    z-index: 100;
    animation: morph 6s linear infinite;
}
.info-about1{
    left: 10%;;
    top: 34%;
}
.info-about2{
    left: 68%;
    top: 15%;
}
.info-about3{
    left: 61%;
    top: 70%;
}

.img-about span{
    color: var(--hover-color);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Animated counter styling */
.img-about span[data-count] {
    display: inline-block;
    min-width: 2.5rem;
}

.img-about p{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .8rem;
}


/* ==================== EXPERIENCE SECTION ==================== */
/* Professional work experience timeline and cards */
.experience {
    background: var(--bg-color);
    padding: 100px 10%;
}

.experience-container {
    max-width: 900px;
    margin: 0 auto;
}

.experience-card {
    display: flex;
    gap: 2rem;
    background: var(--secon-bg-color);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--hover-color);
    box-shadow: var(--neon-bar--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(18, 247, 255, 0.2);
}

.experience-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: var(--bg-color);
    border-radius: 50%;
    border: 2px solid var(--hover-color);
    box-shadow: var(--neon-bar--shadow);
}

.experience-icon i {
    font-size: 1.8rem;
    color: var(--hover-color);
    line-height: 56px;
}

.experience-details {
    flex: 1;
}

.experience-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.experience-header .company {
    font-size: 1.1rem;
    color: var(--hover-color);
    font-weight: 600;
    display: block;
}

.experience-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.experience-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #bdbdbd;
}

.experience-meta i {
    color: var(--hover-color);
    font-size: 1rem;
}

.experience-description p {
    color: #bdbdbd;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.experience-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.experience-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: #bdbdbd;
    font-size: 0.95rem;
    line-height: 1.5;
}

.experience-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--hover-color);
    font-size: 1rem;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.tech-tag {
    background: var(--bg-color);
    color: var(--hover-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--hover-color);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--hover-color);
    color: var(--bg-color);
}

.experience-cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.6rem;
    margin-top: 1.5rem;
    border: 2px solid var(--hover-color);
    border-radius: 8px;
    background: transparent;
    color: var(--hover-color);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: var(--neon-bar--shadow);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.experience-cert-btn:hover {
    background: var(--hover-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--hover-color);
}

.experience-cert-btn:active {
    transform: translateY(-1px);
}

/* Experience Section Responsive */
@media (max-width: 768px) {
    .experience {
        padding: 50px 5%;
    }

    .experience-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .experience-meta {
        justify-content: center;
    }

    .experience-highlights li {
        text-align: left;
    }

    .experience-tech {
        justify-content: center;
    }
}


/* ==================== SERVICES SECTION ==================== */
.main-text{
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--hover-color);
}
.main-text h2{
    font-weight: 700;
    font-size: var(--normal-font);
}
.main-text span{
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.section-services{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 2rem;
}
.section-services .service-box {
    flex: 1 1 23rem;
    padding: 2rem 1rem 2rem;
    text-align: center;
    background: var(--secon-bg-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    border: 1px solid transparent;
}
.service-btn {
    width: auto;
    justify-content: center;
}
.service-box:hover {
    transform: translateY(-10px);
    border-color: var(--hover-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(18, 247, 255, 0.1);
}
.service-icon{
    border: 2px solid var(--hover-color);
    padding: 2rem;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    font-size: 3rem;
    border-radius: 50%;
    position: relative;
    color: var(--hover-color);
    box-shadow: var(--neon-bar--shadow);
    outline: 3px solid var(--bg-color);    
}
.service-box h3{
    margin-top: 10px;
    font-size: 1.5rem;
}
.service-box p{
    margin: .5rem 0 1rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    color: #bdbdbd;
    line-height: 1.6;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: #bdbdbd;
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--hover-color);
    font-size: 1.1rem;
}

/* Why Choose Me Section */
.why-choose-me {
    margin-top: 4rem;
    text-align: center;
}

.why-choose-me h3 {
    font-size: 1.8rem;
    color: var(--hover-color);
    margin-bottom: 2rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-item {
    background: var(--secon-bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-item i {
    font-size: 2.5rem;
    color: var(--hover-color);
    margin-bottom: 1rem;
}

.reason-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.reason-item p {
    font-size: 0.85rem;
    color: #bdbdbd;
    line-height: 1.5;
}

/* Responsive for Why Choose Me */
@media (max-width: 991px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-me h3 {
        font-size: 1.5rem;
    }
}


/* ==================== SKILLS SECTION ==================== */
/* Professional tech stack display with categorized skill cards */
.skills {
    background: var(--secon-bg-color);
    position: relative;
    overflow: hidden;
}

/* Animated background gradient */
.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(18, 247, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(18, 247, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Skill Category Card with gradient border */
.skill-category {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Gradient border effect */
.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(18, 247, 255, 0.3), transparent 50%, rgba(18, 247, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}

.skill-category:hover::before {
    background: linear-gradient(135deg, var(--hover-color), rgba(18, 247, 255, 0.5) 50%, var(--hover-color));
}

.skill-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(18, 247, 255, 0.15);
}

/* Glow effect on hover */
.skill-category::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(18, 247, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    pointer-events: none;
    border-radius: 15px;
}

.skill-category:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(18, 247, 255, 0.2);
    position: relative;
    z-index: 1;
}

.category-header i {
    font-size: 1.8rem;
    color: var(--hover-color);
    transition: all 0.4s ease;
    text-shadow: 0 0 10px rgba(18, 247, 255, 0.3);
    animation: floatIcon 3s ease-in-out infinite;
}

/* Staggered animation delays for wave effect */
.skill-category:nth-child(1) .category-header i { animation-delay: 0s; }
.skill-category:nth-child(2) .category-header i { animation-delay: 0.3s; }
.skill-category:nth-child(3) .category-header i { animation-delay: 0.6s; }
.skill-category:nth-child(4) .category-header i { animation-delay: 0.9s; }
.skill-category:nth-child(5) .category-header i { animation-delay: 1.2s; }
.skill-category:nth-child(6) .category-header i { animation-delay: 1.5s; }

.skill-category:hover .category-header i {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 20px rgba(18, 247, 255, 0.6);
    animation: none;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.skill-category:hover .category-header h3 {
    color: var(--hover-color);
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--secon-bg-color), rgba(18, 247, 255, 0.05));
    padding: 0.6rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(18, 247, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(18, 247, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    border-color: var(--hover-color);
    background: linear-gradient(135deg, rgba(18, 247, 255, 0.15), rgba(18, 247, 255, 0.05));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(18, 247, 255, 0.2);
}

.skill-tag i {
    font-size: 1.2rem;
    color: var(--hover-color);
    transition: all 0.3s ease;
}

.skill-tag:hover i {
    transform: scale(1.15);
    text-shadow: 0 0 10px rgba(18, 247, 255, 0.5);
}

.skill-tag span {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.skill-tag:hover span {
    color: var(--hover-color);
}

/* Soft Skills Section */
.soft-skills-section {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.soft-skills-section h3 {
    font-size: 1.8rem;
    color: var(--hover-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(18, 247, 255, 0.3);
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.soft-skill-card {
    background: var(--bg-color);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(18, 247, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated gradient background on hover */
.soft-skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(18, 247, 255, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.soft-skill-card:hover::before {
    opacity: 1;
}

.soft-skill-card:hover {
    border-color: var(--hover-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
                0 0 25px rgba(18, 247, 255, 0.15);
}

.soft-skill-card i {
    font-size: 2.5rem;
    color: var(--hover-color);
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* Icon pulse animation on hover */
.soft-skill-card:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 30px rgba(18, 247, 255, 0.6);
    animation: iconPulse 1s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.3);
    }
}

.soft-skill-card h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.soft-skill-card:hover h4 {
    color: var(--hover-color);
}

.soft-skill-card p {
    font-size: 0.8rem;
    color: #bdbdbd;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Skills Section Responsive */
@media (max-width: 1100px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }

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

    .soft-skills-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .soft-skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-category {
        padding: 1.2rem;
    }
}


/* ==================== CERTIFICATIONS SECTION ==================== */
.certifications {
    background: var(--bg-color);
}

.certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card {
    background: var(--secon-bg-color);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(18, 247, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.cert-card:hover::before {
    left: 100%;
}

.cert-card:hover {
    border-color: var(--hover-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(18, 247, 255, 0.1);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hover-color);
    flex-shrink: 0;
}

.cert-icon i {
    font-size: 1.8rem;
    color: var(--hover-color);
}

.cert-content {
    flex: 1;
}

.cert-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.cert-issuer {
    font-size: 0.9rem;
    color: var(--hover-color);
    margin-bottom: 0.2rem;
}

.cert-date {
    font-size: 0.8rem;
    color: #888;
}

.cert-link {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hover-color);
    border: 1px solid var(--hover-color);
    transition: all 0.3s ease;
}

.cert-link:hover {
    background: var(--hover-color);
    color: var(--bg-color);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    background: var(--secon-bg-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    border-color: var(--hover-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(18, 247, 255, 0.1);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--hover-color);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #bdbdbd;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--secon-bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--hover-color);
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--hover-color);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--hover-color);
}

/* ==================== BLOG SECTION ==================== */
.blog {
    background: var(--bg-color);
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--secon-bg-color);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    border-color: var(--hover-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(18, 247, 255, 0.1);
}

.blog-image {
    height: 150px;
    background: linear-gradient(135deg, var(--bg-color), var(--secon-bg-color));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(18, 247, 255, 0.1);
}

.blog-image i {
    font-size: 4rem;
    color: var(--hover-color);
    opacity: 0.6;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.blog-meta span {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-meta i {
    color: var(--hover-color);
}

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--hover-color);
}

.blog-card p {
    font-size: 0.9rem;
    color: #bdbdbd;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hover-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* ==================== 3D TILT EFFECT ==================== */
[data-tilt] {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* ==================== PORTFOLIO SECTION ==================== */
.filter-buttons{
    margin: 2rem;
    text-align: center;
}
.filter-buttons .button{
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .4px;
    margin-left: 1.3rem;
    color: var(--text-color);
}
.filter-buttons .button:hover{
    color: var(--hover-color);
}
.portfolio-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(470px,1fr) );
    gap: 2rem;
}


.port-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #292e33;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    min-height: 320px;
    border: 2px solid var(--hover-color);
    box-shadow: var(--neon-bar--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.port-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(18, 247, 255, 0.2);
}
.port-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.port-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom project preview cards (replaces generic images) */
.port-preview {
    width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.port-box:hover .port-preview {
    transform: scale(1.08);
    filter: brightness(0.6) blur(4px);
}

.preview-icon {
    font-size: 5rem;
    opacity: 0.9;
    line-height: 1;
}

.preview-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.preview-stack span {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    letter-spacing: 0.3px;
}

/* Individual project gradients */
.p-1 { background: linear-gradient(135deg, #0f3460, #16213e); color: #64b5f6; }
.p-2 { background: linear-gradient(135deg, #4a148c, #1a1a2e); color: #ce93d8; }
.p-3 { background: linear-gradient(135deg, #006064, #0a3d3f); color: #80deea; }
.p-4 { background: linear-gradient(135deg, #bf360c, #7b1f00); color: #ffab91; }
.p-5 { background: linear-gradient(135deg, #1b5e20, #004d40); color: #a5d6a7; }
.p-6 { background: linear-gradient(135deg, #880e4f, #560027); color: #f48fb1; }
.p-7 { background: linear-gradient(135deg, #1a237e, #0d1b6e); color: #90caf9; }
.p-8 { background: linear-gradient(135deg, #e65100, #bf360c); color: #fff176; }
.p-9 { background: linear-gradient(135deg, #4a0072, #1a0533); color: #e040fb; }

.port-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    pointer-events: none;
    text-align: center;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 2rem;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: var(--hover-color) transparent;
}
.port-content::-webkit-scrollbar {
    width: 4px;
}
.port-content::-webkit-scrollbar-track {
    background: transparent;
}
.port-content::-webkit-scrollbar-thumb {
    background: var(--hover-color);
    border-radius: 4px;
}
.port-box:hover .port-content {
    opacity: 1;
    pointer-events: auto;
}
.port-box:hover .port-image img {
    transform: scale(1.1);
}
.port-content h3{
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.port-content p{
    font-size: .85rem;
    margin: 0;
    color: #fff;
    line-height: 1.5;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.port-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.port-content a{
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px; 
    height: 50px;
    border: 1px solid var(--hover-color);
    outline: 2px solid #fff;
}
.port-content a i{
    font-size: 1.3rem;
    color: var(--secon-bg-color);
}


/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--secon-bg-color);
    width: 100%;
}

.contact-subtitle {
    color: #bdbdbd;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 300;
}

.contact form {
    text-align: center;
    max-width: 50rem;
    margin: 2rem auto;
    margin-bottom: 3rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.form-row input {
    flex: 1;
}

.contact form input,
.contact form textarea,
.contact form select {
    width: 100%;
    color: var(--text-color);
    background: var(--bg-color);
    margin: 0.5rem 0;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus,
.contact form select:focus {
    outline: none;
    border-color: var(--hover-color);
}

.contact form input::placeholder,
.contact form textarea::placeholder {
    color: #888;
}

.contact form textarea {
    resize: none;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2312f7ff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-select option {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 1rem;
}

.formBtn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}

.formBtn .btn {
    cursor: pointer;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    width: auto;
    min-width: 200px;
    background: var(--hover-color);
    color: var(--bg-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid var(--hover-color);
}

.formBtn .btn:hover {
    color: var(--hover-color);
    background: transparent;
}

/* Responsive Contact Form */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Hide arrows from number input in Chrome, Safari, Edge, and Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* ==================== FOOTER SECTION ==================== */
footer{
    padding: 1.5rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
footer p{
    color: #bdbdbd;
}
footer a{
    display: inline-flex;
    justify-content: center;
    color: var(--text-color);
    background: var(--hover-color);
    padding: .6rem;
    border-radius: 5px;
}
footer a i{
    font-size: 1rem;
    color: var(--secon-bg-color);
}

/* ==================== SCROLL ANIMATIONS ==================== */
/* Classes that trigger animations when elements enter the viewport */
.scroll-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-bottom {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-items {
    opacity: 1;
    transform: translate(0) scale(1);
}















/* ==================== KEYFRAME ANIMATIONS ==================== */

@keyframes morph {
    0%, 
    100%{
        border-radius:  40% 60% 70% 30% / 40% 40% 60% 50%;
    }
    30%{
        border-radius:  70% 30% 50% 50% / 30% 30% 70% 70%;
    }
    60%{
        border-radius:  100% 60% 60% 100% / 100% 100% 60% 60%;
    }
    80%{
        border-radius:  69% 31% 66% 34% / 21% 30% 70% 79%;
    }
}


        

@keyframes slideAnimation{
     0%{
        opacity: 0;
        transform: translateY(100px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation for skill category icons */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Shimmer effect for skill tags */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}



/* ==================== RESPONSIVE BREAKPOINTS ==================== */
/* Media queries for tablet (991px), mobile (768px), and small mobile (420px) */

/* Certifications Responsive */
@media (max-width: 768px) {
    .certifications-container {
        grid-template-columns: 1fr;
    }

    .cert-card {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }

    .cert-content {
        text-align: center;
        width: 100%;
    }
}

/* Testimonials Responsive */
@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
}

/* Theme Toggle Responsive */
@media (max-width: 768px) {
    .header-actions {
        gap: 10px;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media(max-width:991px){
    header,
    header.sticky{
        padding: 15px 5%;
    }
    footer{
        padding: 15px 5%;
    }
    section{
        padding: 50px 5%; 
    }
    .navlist a{
        padding: 8px 15px;
    }
    :root{
    --big-font:2.2rem;
    --normal-font:1.8rem;
    --neon-bar--shadow:0 0 .8rem #12f7ff;
    --h2-font:3rem;
    }
    .home-content{
        margin-top: 5rem;
    }
    .social-icons{
        margin-top: 2rem;
    }
    .portfolio-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(345px,1fr) );
    gap: 2rem;
    }
    .port-content h3{
    font-size: 1.6rem;
    font-weight: 600;
    }
    .port-content p{
        font-size: .7rem;
        margin: 5px 0 15px 0;
    }
}

@media(max-width:768px){
    #menu-icon{
        display: block;
        transition: all .4s ease;
    }
    #menu-icon.bx-x{
        transform: rotate(-180deg);
    }
    .navlist{
        display: flex;
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        padding: 0 5%;
        transition: all .4s ease;
    }
    .navlist a{
        display: block;
        padding-bottom: 1rem;
        font-size: 1rem;
    }
    .navlist.open{
        top: 100%;   
    }
    .home{
        grid-template-columns: 1fr;
    }
    .home-image{
        margin-bottom: 5rem;
    }
    .liquid-shape{
        width: 80%;
        left: 10%;
        top: 13%;
    }
    .about{
        flex-direction: column-reverse;
    }
    .filter-buttons{
        margin: 2.5rem 0;
    }
    footer p{
        font-size: .9rem;
    }
    .portfolio-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr) );
    gap: 2rem;
    }
    .port-content h3{
    font-size: 1.4rem;
    font-weight: 600;
    }
    .port-content p{
        font-size: .7rem;
        margin: 5px 0 15px 0;
    }
}


@media(max-width:420px){
    html{
        font-size: 80%;
    }
    footer p{
        font-size: .6rem;
    }
    .filter-buttons .button{
        font-size: .8rem;
    }
    .img-about img{
        width: 300px;
    }
    .info-about1,.info-about2,.info-about3{
        display: none;
    }
    .img-about p{
        font-size: 1rem;
    }
    .portfolio-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px,1fr) );
    gap: 2rem;
    }
    .port-content h3{
    font-size: 1.2rem;
    font-weight: 600;
    }
    .port-content p{
        font-size: .7rem;
        margin: 5px 0 15px 0;
    }
}