/* Portfolio Styles - Updated for Vercel deployment */
@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,600;1,700&display=swap');

:root
{
    --bg-black-900:#f2f2fc;
    --bg-black-100:#fdf9ff;
    --bg-black-50:#e8dfec;
    --text-black-900:#302e4d;
    --text-black-700:#504e70;
    --gradient-1: linear-gradient(135deg, #ec1839 0%, #ec1839 100%);
    --gradient-2: linear-gradient(135deg, #ec1839 0%, #7331e8 100%);
    --gradient-3: linear-gradient(135deg, #7331e8 0%, #2b6de3 100%);
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark
{
    --bg-black-900:#151515;
    --bg-black-100:#1e1e1e;
    --bg-black-50:#2d2d2d;
    --text-black-900:#ffffff;
    --text-black-700:#b0b0b0;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
}

html
{
    height: 100%;
    overflow: hidden;
}

body
{
    line-height: 1.6;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    height: 100%;
    overflow: hidden;
    overflow-x: hidden;
    background: var(--bg-black-900);
    color: var(--text-black-900);
    -webkit-overflow-scrolling: touch;
    transition: background 0.3s ease, color 0.3s ease;
}


*
{
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

::before,::after
{
    box-sizing: border-box;
}

ul
{
    list-style: none;
}

.section
{
    background: var(--bg-black-900);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    padding: 0 30px;
    position: fixed;
    left: 240px;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    pointer-events: none;
}
.section.active
{
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    animation: slideSection 0.6s ease;
}
.section::-webkit-scrollbar
{
    width: 6px;
}
.section::-webkit-scrollbar-track
{
    background: transparent;
}
.section::-webkit-scrollbar-thumb
{
    background: var(--skin-color);
    border-radius: 10px;
}

@keyframes slideSection
{
    0%
    {
        transform: translateX(100%);
        opacity: 0;
    }
    50%
    {
        opacity: 0.5;
    }
    100%
    {
        transform: translateX(0%);
        opacity: 1;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar
{
    width: 10px;
}
::-webkit-scrollbar-track
{
    background: var(--bg-black-100);
}
::-webkit-scrollbar-thumb
{
    background: var(--skin-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover
{
    background: #d41530;
}

/* ===== Floating Shapes ===== */
.shape
{
    position: fixed;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.shape-1
{
    width: 200px;
    height: 200px;
    background: var(--skin-color);
    top: 10%;
    right: -50px;
    animation-duration: 25s;
}
.shape-2
{
    width: 150px;
    height: 150px;
    background: #7331e8;
    bottom: 20%;
    left: -40px;
    animation-duration: 30s;
    animation-delay: -5s;
}
.shape-3
{
    width: 100px;
    height: 100px;
    background: var(--skin-color);
    top: 60%;
    right: 10%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes float
{
    0%
    {
        transform: translateY(0) rotate(0deg);
    }
    33%
    {
        transform: translateY(-30px) rotate(120deg);
    }
    66%
    {
        transform: translateY(20px) rotate(240deg);
    }
    100%
    {
        transform: translateY(0) rotate(360deg);
    }
}

/* ===== Gradient Dividers ===== */
.gradient-divider
{
    height: 3px;
    background: var(--gradient-2);
    border: none;
    margin: 30px 0;
    border-radius: 3px;
}

/* ===== Glowing Pulse ===== */
@keyframes glowPulse 
{
    0%, 100%
    {
        box-shadow: 0 0 5px var(--skin-color), 0 0 20px var(--skin-color), 0 0 40px var(--skin-color);
    }
    50%
    {
        box-shadow: 0 0 20px var(--skin-color), 0 0 40px var(--skin-color), 0 0 60px var(--skin-color);
    }
}

/* ===== Tilt Effect for Service Cards ===== */
.service-item
{
    perspective: 1000px;
}
.service-item-inner
{
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* ===== Gradient Text ===== */
.gradient-text
{
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Glassmorphism ===== */
.glass-card
{
    background: rgba(253, 249, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
}
.dark .glass-card
{
    background: rgba(34, 34, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Reveal Animations ===== */
.reveal
{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
}
.reveal.active
{
    opacity: 1;
    transform: translateY(0);
}
.reveal-left
{
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}
.reveal-left.active
{
    opacity: 1;
    transform: translateX(0);
}
.reveal-right
{
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}
.reveal-right.active
{
    opacity: 1;
    transform: translateX(0);
}
.reveal-zoom
{
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}
.reveal-zoom.active
{
    opacity: 1;
    transform: scale(1);
}

/* ===== Staggered Delays ===== */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.hidden
{
    display: none !important;
}

/* .main-content
{
    padding-left: 240px;
} */
.padd-15
{
    padding-left: 15px;
    padding-right: 15px;
}

.container
{
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

.section .container
{
    padding-top: 30px;
    padding-bottom: 15px;
    width: 100%;
    flex: 0 0 auto;
}
.section-title
{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 50px;
    text-align: center;
}
.section-title h2
{
    font-size: 42px;
    color: var(--text-black-900);
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    letter-spacing: -0.5px;
}
.section-title h2::before
{
    content: '';
    height: 4px;
    width: 80px;
    background: var(--gradient-2);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.section-title h2::after
{
    content: '';
    height: 4px;
    width: 40px;
    background: var(--gradient-1);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
    border-radius: 2px;
}

.row
{
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}
.btn
{
    font-size: 16px;
    font-weight: 600;
    padding: 14px 35px;
    color: white;
    border-radius: 50px;
    display: inline-block;
    white-space: nowrap;
    background: var(--gradient-2);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(236, 24, 57, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}
.btn::before
{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}
.btn:hover::before
{
    left: 100%;
}
.btn:hover
{
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(236, 24, 57, 0.4);
}
.btn:active
{
    transform: translateY(-1px);
}

.shadow-dark
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

/* aside */
.aside
{
    width: 240px;
    background: var(--bg-black-100);
    position: fixed;
    left: 0;
    top: 0;
    height: 100%; 
    border-right: 1px solid var(--bg-black-50);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.aside .logo
{
    position: absolute;
    top: 50px;
    font-size: 30px;
    text-transform: capitalize;
}

.aside .logo a
{
    color: var(--text-black-900);
    font-weight: 700;
    padding: 13px 15px;
    font-size: 30px;
    letter-spacing: 4px;
    position: relative;
}

.aside .logo a span
{
    font-family: 'Clicker Script';
    font-size: 40px;
}


.aside .logo a::before
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-bottom:  5px solid var(--skin-color);
    border-left:  5px solid var(--skin-color);
    bottom: 0;
    left: 0;
}

.aside .logo a::after
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-top:  5px solid var(--skin-color);
    border-right:  5px solid var(--skin-color);
    top: 0;
    right: 0;
}

.aside .nav-toggler
{
    height: 40px;
    width: 45px;
    border: 1px solid var(--bg-black-50);
    cursor: pointer;
    position: fixed;
    left: 300px; 
    top: 20px;
    border-radius: 5px;
    background: var(--bg-black-100);
    display: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.aside .nav-toggler span
{
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    display: inline;
    position: relative;
}

.aside .nav-toggler.open span
{
    background: transparent;
}

.aside .nav-toggler span::before
{
    content: '';
    height: 2px;
    width: 18px;
    background-color: var(--skin-color);
    position: absolute;
    top: -6px;
    left: 0;
}
.aside .nav-toggler.open span::before
{
    transform: rotate(45deg);
    top: 0;
}

.aside .nav-toggler span::after
{
    content: '';
    height: 2px;
    width: 18px;
    background-color: var(--skin-color);
    position: absolute;
    top: 6px;
    left: 0;
}

.aside .nav-toggler.open span::after
{
    transform: rotate(-45deg);
    top: 0;
}

.aside .nav
{
    margin-top: 50px;
}

.aside .nav li
{
    margin-bottom: 20px;
    display: block;
}

.aside .nav li a
{
    font-size: 16px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid var(--bg-black-50);
    color: var(--text-black-900); 
    padding: 5px 15px;
}

.aside .nav li a.active
{
    color: var(--skin-color);
    background: var(--bg-black-50);
    border-radius: 5px;
    animation: glowPulse 2s infinite;
}

.aside .nav li a i 
{
    margin-right: 15px;
}

/* Home Section */

.section .home-info
{
    flex: 0 0 60%;
    max-width: 60%;
    
}

h3.hello
{
    font-size: 32px;
    margin: 15px 0;
}
h3.hello span
{
    font-family: "Clicker Script";
    font-size: 36px;
    font-weight: 700;
    color: var(--skin-color);
}

h3.my-profession
{
    font-size: 30px;
    margin: 15px 0;
}
.typing{
    color: var(--skin-color);
}

.home-info p
{
    margin-bottom: 70px;
    font-size: 20px;
    color: var(--text-black-700);
}

.section .home-img
{
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;
}

.home-img-wrapper
{
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    animation: floatImg 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatImg
{
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.home-img-wrapper::before
{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 3px;
    background: var(--gradient-2);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    z-index: 2;
    pointer-events: none;
}

.home-img-wrapper::after
{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(236, 24, 57, 0.3) 0%, transparent 70%);
    filter: blur(10px);
    z-index: 0;
    animation: shadowPulse 3s ease-in-out infinite;
}

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

.section .home-img img
{
    margin: auto;
    border-radius: 20px;
    height: 400px;
    width: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* About */
.about .about-content
{
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text
{
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text h3
{
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-black-900);
}

.about .about-content .about-text h3 span
{
    color: var(--skin-color);

}

.about .about-content .about-text p 
{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
}

.about .about-content .personal-info
{
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 10px;
}

.about .about-content .personal-info .info-item
{
    flex: 0 0 50%;
    max-width: 50%;
}
.about .about-content .personal-info .info-item p
{
    font-size: 16px;
    font-weight: 600;
    padding: 6px 0;
    color: var(--text-black-900);
    border-bottom: 1px solid var(--bg-black-50);
}

.about .about-content .personal-info .info-item p span
{
    font-weight: 400;
    color: var(--text-black-700);
    margin-left: 4px;
    display: inline-block;
}
.about .about-content .personal-info .buttons
{
    margin-top: 30px;
}

.about .about-content .personal-info .buttons .btn
{
    margin-top: 10px;
}


.about .about-content .skills
{
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 10px;
}

.about .about-content .skills .skill-item
{
    flex: 0 0 100%;
    max-width: 100%;

}

.about .about-content .skills .skill-item h5
{
    line-height: 30px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-black-900);
    text-transform: capitalize;
}

.about .about-content .skills .skill-item .progress
{
    background-color: var(--bg-black-50);
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}

.about .about-content .skills .skill-item
{
    margin-bottom: 15px;
}
/* Hide excess skill items to fit content within viewport */
.about .about-content .skills .skill-item:nth-child(n+5)
{
    display: none;
}

.about .about-content .skills .skill-item .progress .progress-in
{
    position: absolute;
    left: 0; 
    top: 0;
    height: 100%;
    border-radius: 4px;
    background: var(--gradient-2);
    transition: width 1.5s ease-out;
    box-shadow: 0 0 10px var(--skin-color);
}
.about .about-content .skills .skill-item .skill-percent
{
    position: absolute;
    right: 0;
    color: var(--text-black-900 );
    top: -30px;
    font-weight: 400;
    line-height: 30px;
}

.about .about-content .education,
.about .about-content .experience
{
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 10px;
}

.about .about-content h3.title
{
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-black-900);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.about .about-content h3.title::after
{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 2px;
}

.about .about-content .timeline-box
{
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .timeline
{
    background-color: var(--bg-black-100);
    padding: 15px 20px;
    border: 1px solid var(--bg-black-50);
    border-radius: var(--border-radius);
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.about .about-content .timeline:hover
{
    box-shadow: var(--shadow-md);
}
.about .about-content .timeline .timeline-item
{
    position: relative;
    padding-left: 37px;
    padding-bottom: 20px;
}

.about .about-content .timeline .timeline-item:last-child
{
    padding-bottom: 0;
}
/* Hide excess timeline items to fit content within viewport */
.about .about-content .timeline .timeline-item:nth-child(n+2)
{
    display: none;
}

.about .about-content .timeline .timeline-item::before
{
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background: var(--skin-color);
}

.about .about-content .timeline .timeline-item .circle-dot
{
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: var(--skin-color);
    animation: glowPulse 2s infinite;
}

.about .about-content .timeline .timeline-date
{
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-black-700);
}

.about .about-content .timeline .timeline-date .fa
{
    margin-right: 5px;
}

.about .about-content .timeline .timeline-title
{
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: capitalize;
    color: var(--text-black-900);
}

.about .about-content .timeline .timeline-text
{
    line-height: 25px;
    font-size: 16px;
    text-align: justify;
    color: var(--text-black-700);
}

/* Service */
.service .container
{
    padding-bottom: 40px;
}
.service .service-item
{
    margin-bottom: 50px;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.service .service-item .service-item-inner
{
    background: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    border-radius: var(--border-radius);
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service .service-item .service-item-inner::before
{
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 24, 57, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service .service-item .service-item-inner:hover::before
{
    opacity: 1;
}

.service .service-item .service-item-inner:hover
{
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.service .service-item .service-item-inner .icon
{
    height: 80px;
    width: 80px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    transition: var(--transition);
    background: var(--bg-black-100);
    border: 2px solid var(--bg-black-50);
    position: relative;
    z-index: 1;
}
.service .service-item .service-item-inner .icon .fa
{
    font-size: 36px;
    line-height: 80px;
    color: var(--skin-color);
    transition: var(--transition);
}

.service .service-item .service-item-inner:hover .icon
{
    background: var(--gradient-2);
    border-color: transparent;
    transform: rotateY(360deg);
}

.service .service-item .service-item-inner:hover .icon .fa
{
    color: #ffffff;
    transform: scale(1.2);
}

.service .service-item .service-item-inner h4
{
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-black-900);
    font-weight: 700;
    text-transform: capitalize;
}

.service .service-item .service-item-inner p
{
    font-size: 16px;
    color: var(--text-black-700);
    line-height: 15px;
}

/* ===== Gallery Styles ===== */
.portfolio .container
{
    padding-bottom: 40px;
}

.portfolio .portfolio-heading
{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 10px;
}

.portfolio .portfolio-heading h2
{
    color: var(--text-black-900);
    font-weight: 500;
}

/* Gallery Filters */
.gallery-filters
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.filter-btn
{
    padding: 10px 25px;
    border-radius: 25px;
    border: 2px solid var(--bg-black-50);
    background: var(--bg-black-100);
    color: var(--text-black-900);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.filter-btn:hover,
.filter-btn.active
{
    background: var(--gradient-2);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 24, 57, 0.3);
}

/* Gallery Grid */
.gallery-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 15px;
}

.gallery-item
{
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    height: 250px;
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.filtered-out
{
    display: none !important;
}

.gallery-card
{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-img
{
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(236,24,57,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay
{
    opacity: 1;
}

.gallery-item:hover .gallery-img img
{
    transform: scale(1.1);
}

.overlay-content
{
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-content
{
    transform: translateY(0);
}

.overlay-content h3
{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.overlay-content p
{
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.overlay-icons
{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.overlay-icons i
{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.overlay-icons i:hover
{
    background: #fff;
    color: var(--skin-color);
    transform: scale(1.1);
}

/* ===== Project Modal ===== */
.project-modal
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    padding: 20px;
    overflow-y: auto;
}

.project-modal.active
{
    opacity: 1;
    visibility: visible;
}

.project-modal-container
{
    background: var(--bg-black-100);
    border-radius: 20px;
    padding: 0;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--bg-black-50);
}

.project-modal.active .project-modal-container
{
    transform: scale(1);
}

.project-modal-close
{
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--skin-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    line-height: 40px;
    text-align: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(236, 24, 57, 0.4);
}

.project-modal-close:hover
{
    background: #d41530;
    transform: rotate(90deg);
}

.project-modal-content
{
    display: flex;
    flex-direction: column;
}

.project-modal-header
{
    padding: 30px 40px 20px;
    border-bottom: 1px solid var(--bg-black-50);
}

.project-modal-badge
{
    display: inline-block;
    background: var(--gradient-2);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-modal-badge
{
    display: inline-block;
    background: var(--gradient-2);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-modal-title
{
    font-size: 28px;
    font-weight: 800;
    color: var(--text-black-900);
    margin-bottom: 10px;
    line-height: 1.2;
}

.project-modal-body
{
    display: flex;
    flex-direction: column;
    padding: 0 40px 30px;
    gap: 25px;
}

.project-modal-img
{
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.project-modal-img img
{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

.project-modal-info
{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-modal-desc
{
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-black-700);
    margin-bottom: 10px;
}

.project-modal-meta
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-modal-meta .meta-item
{
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-black-900);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-black-900);
    font-weight: 500;
}

.project-modal-meta .meta-item i
{
    color: var(--skin-color);
    font-size: 14px;
}

.project-modal-features,
.project-modal-tech
{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-modal-features h4,
.project-modal-tech h4
{
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black-900);
    margin-bottom: 5px;
}

.project-modal-features ul
{
    list-style: none;
    padding: 0;
}

.project-modal-features ul
{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-modal-features li
{
    padding: 6px 0;
    color: var(--text-black-700);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.project-modal-features li i
{
    color: var(--skin-color);
    font-size: 14px;
}

.project-modal-tech .tech-tags
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-modal-tech .tech-tag
{
    background: var(--bg-black-900);
    color: var(--text-black-900);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--bg-black-50);
    transition: var(--transition);
}

.project-modal-tech .tech-tag:hover
{
    background: var(--skin-color);
    color: #fff;
    border-color: var(--skin-color);
    transform: translateY(-2px);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(236, 24, 57, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--skin-color);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    transition: 0.3s;
    user-select: none;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    color: var(--skin-color);
    transform: translateY(-50%) scale(1.2);
}

@media (max-width: 768px) {
    .project-modal-container
    {
        padding: 0;
    }
    .project-modal-header
    {
        padding: 25px 25px 15px;
    }
    .project-modal-body
    {
        padding: 0 25px 25px;
    }
    .project-modal-title
    {
        font-size: 22px;
    }
    .project-modal-close
    {
        width: 35px;
        height: 35px;
        font-size: 20px;
        line-height: 35px;
    }
    .lightbox-nav {
        font-size: 25px;
        padding: 10px;
    }
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
}

/* ===== Project Details Panel ===== */
.project-details
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    padding: 20px;
    overflow-y: auto;
}

.project-details.active
{
    opacity: 1;
    visibility: visible;
}

.project-details-container
{
    background: var(--bg-black-100);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--bg-black-50);
}

.project-details.active .project-details-container
{
    transform: translateY(0);
}

.project-details-close
{
    position: sticky;
    top: 0;
    float: right;
    background: var(--skin-color);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    line-height: 45px;
    text-align: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.project-details-close:hover
{
    background: #d41530;
    transform: rotate(90deg);
}

.project-details-content
{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 20px;
}

.project-details-img
{
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 60px;
    align-self: start;
}

.project-details-img img
{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.project-badge
{
    display: inline-block;
    background: var(--gradient-2);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-title
{
    font-size: 32px;
    font-weight: 800;
    color: var(--text-black-900);
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-desc
{
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-black-700);
    margin-bottom: 25px;
}

.project-meta
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-item
{
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-black-900);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--text-black-900);
    font-weight: 500;
}

.meta-item i
{
    color: var(--skin-color);
    font-size: 16px;
}

.project-features
{
    margin-bottom: 25px;
}

.project-features h4,
.project-tech h4
{
    font-size: 20px;
    font-weight: 700;
    color: var(--text-black-900);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-black-50);
}

.project-features ul
{
    list-style: none;
    padding: 0;
}

.project-features li
{
    padding: 8px 0;
    color: var(--text-black-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-features li i
{
    color: var(--skin-color);
    font-size: 16px;
}

.tech-tags
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag
{
    background: var(--bg-black-900);
    color: var(--text-black-900);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--bg-black-50);
    transition: var(--transition);
}

.tech-tag:hover
{
    background: var(--skin-color);
    color: #fff;
    border-color: var(--skin-color);
    transform: translateY(-2px);
}

@media (max-width: 768px)
{
    .project-details-content
    {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .project-details-img
    {
        position: static;
        max-height: 300px;
        overflow: hidden;
    }
    .project-details-container
    {
        padding: 25px 20px;
    }
    .project-title
    {
        font-size: 24px;
    }
    .project-details-close
    {
        width: 38px;
        height: 38px;
        font-size: 22px;
        line-height: 38px;
    }
}
.contact-title
{
    color: var(--skin-color);
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.contact-sub-title
{
    color: var(--text-black-900);
    text-align: center;
    font-size: 15px;
    margin-bottom: 60px;   
}
.contact .contact-info-item
{
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
    margin-bottom: 60px;
}
.contact .contact-info-item .icon
{
    display: inline-block;
}

.contact .contact-info-item .icon .fa
{
    font-size: 25px;
    color: var(--skin-color);
}

.contact .contact-info-item h4
{
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black-900);
    text-transform: capitalize;
    margin: 15px 0 5px;
}

.contact .contact-info-item p
{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
    font-weight: 400;
}

.contact .contact-form
{
    flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .col-6
{
    flex: 0 0 50%;
    max-width: 50%;
}

.contact .contact-form .col-12
{
    flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .form-item
{
    margin-bottom: 30px;

}

.contact .contact-form .form-item .form-control
{
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background-color: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    padding: 10px 25px;
    font-size: 16px;
    color: var(--text-black-700);
    transition: all 0.3s ease;
}

.contact .contact-form .form-item .form-control:focus
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.contact .contact-form .form-item textarea.form-control 
{
    height: 140px;
}

.contact .contact-form .btn
{
    height: 50px;
    padding: 0 50px;
}


@media (max-width: 1100px) {
    .section .container
    {
        padding-top: 70px;
    }
    .aside
    {
        left: -240px;
    }
    
    .aside.open
    {
        left: 0;
    }
    .aside .nav-toggler
    {
        display: flex;
        left: 25px;
    }
    .aside .nav-toggler.open
    {
        left: 260px;
    }
    .section
    {
        left: 0;
    }
    .section.open
    {
        left: 240px;
    }
    .about .about-content .personal-info .info-item p span
    {
        display: block;
        margin-left: 0;
    }
}

@media (max-width: 991px)
{
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item
    {
        flex: 0 0 50%;
        max-width: 50%;
        
    }
    .home .home-info
    {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;
    }
    .home .home-img
    {
        flex: 0 0 100%;
        max-width: 100%;
        order: 2;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .home .home-info p
    {
        margin-bottom: 30px;
        font-size: 17px;
    }
    .home .home-img img
    {
        height: 280px;
        max-width: 280px;
    }
    h3.hello
    {
        font-size: 26px;
    }
    h3.hello span
    {
        font-size: 30px;
    }
    h3.my-profession
    {
        font-size: 22px;
    }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(236, 24, 57, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--skin-color);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    transition: 0.3s;
    user-select: none;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    color: var(--skin-color);
    transform: translateY(-50%) scale(1.2);
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 25px;
        padding: 10px;
    }
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
}

.portfolio-img-click {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.portfolio-img-click:hover {
    transform: scale(1.03);
}

@media (max-width: 767px){
    .section
    {
        padding: 0 15px;
    }
    .contact .contact-form .col-6,
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item,
    .about .about-content .education,
    .about .about-content .experience,
    .about .about-content .skills,
    .about .about-content .personal-info
    {
        flex: 0 0 100%;
        max-width: 100%;
    }
}