/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px; 
}
/* Content Protection Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Image Protection */
img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.logo-icon,
.splash-logo,
.my-image {
    pointer-events: auto !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Prevent right-click context menu */
* {
    -webkit-touch-callout: none;
}

.protected-image {
    position: relative;
    overflow: hidden;
}

.protected-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 10;
}

/* Disable text selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection in form elements */
input,
textarea,
select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

:root {
    --accent: #20232A;
    --primary: #5ccceb;
    --secondary: #282C34;
    --text-primary: #E6E6E6;
    --text-secondary: #8892B0;
}

/* PWA Mobile Enhancements */
@media all and (display-mode: standalone) {
    :root {
        --pwa-safe-area-top: env(safe-area-inset-top);
        --pwa-safe-area-bottom: env(safe-area-inset-bottom);
        --pwa-safe-area-left: env(safe-area-inset-left);
        --pwa-safe-area-right: env(safe-area-inset-right);
    }

    body {
        padding-top: var(--pwa-safe-area-top);
        padding-bottom: var(--pwa-safe-area-bottom);
        padding-left: var(--pwa-safe-area-left);
        padding-right: var(--pwa-safe-area-right);
    }

    .navbar {
        padding-top: calc(1.25rem + var(--pwa-safe-area-top));
        height: calc(70px + var(--pwa-safe-area-top));
    }

    .nav-logo {
        font-size: 1.4rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary), #4da6d9);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 4px rgba(92, 204, 235, 0.3);
    }

    .nav-logo img {
        filter: drop-shadow(0 2px 8px rgba(92, 204, 235, 0.4));
        transition: all 0.3s ease;
    }

    .nav-logo:hover img {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 12px rgba(92, 204, 235, 0.6));
    }
}

/* Enhanced Mobile Logo Styles */
@media (max-width: 768px) {
    .nav-logo {
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .nav-logo img {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        border: 2px solid var(--primary);
        transition: all 0.3s ease;
    }

    .nav-logo:hover img {
        border-color: #4da6d9;
        box-shadow: 0 0 20px rgba(92, 204, 235, 0.5);
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .nav-logo img {
        width: 28px;
        height: 28px;
    }
}
/* for body */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--secondary);
    overflow-x: hidden;
}
z
body.nav-active {
    overflow: hidden;
}

body.nav-active .scroll-progress,
body.nav-active main,
body.nav-active footer {
    display: none;
}

body.no-scroll {
    overflow: hidden;
}


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

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    background-color: var(--secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-logo .logo-icon {
    border-radius: 10px;
    padding: 2px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary), #4da6d9) padding-box,
                linear-gradient(135deg, var(--primary), #4da6d9) border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 204, 235, 0.2);
}

.nav-logo:hover .logo-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(92, 204, 235, 0.4);
}

.nav-logo .logo-text {
    background: linear-gradient(135deg, var(--primary), #4da6d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-text {
    background: linear-gradient(135deg, #4da6d9, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        height: 60px;
        background-color: rgba(40, 44, 52, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background-color 0.3s ease;
    }

    body.nav-active .navbar {
        background-color: transparent;
        border-bottom: none;
        box-shadow: none;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 1001;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
        margin: 3px 0;
        background-color: var(--primary);
        transition: transform 0.3s ease-in-out,
                    opacity 0.2s ease-in-out,
                    margin 0.3s ease-in-out;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
        margin: 0;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-5px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
        margin: 0;
    }

    .nav-menu {
        position: fixed;
        height: 100vh;
        background: linear-gradient(135deg, rgba(40, 44, 52, 0.98) 0%, rgba(17, 34, 64, 0.98) 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        left: -100%;
        top: 70px;
        gap: 0;
        width: 100%;
        transition: 0.3s;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        left: 0;
    }

    .nav-menu li {
        margin: 16px 0;
    }

    .nav-link {
        font-size: 1.5rem;
        padding: 0.75rem 2rem;
        color: var(--text-primary);
        position: relative;
        letter-spacing: 1px;
        transform: translateX(-30px);
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.4, 0, 0, 1);
    }

    .nav-menu.active .nav-link {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transform: translateY(-50%);
        transition: width 0.3s ease;
    }

    .nav-link:hover::before {
        width: 1.5rem;
    }

    .nav-link:hover {
        color: var(--primary);
        transform: translateX(10px);
    }

    .nav-link.active {
        color: var(--primary);
    }

    .nav-link.active::before {
        width: 1.5rem;
    }
}
@media (max-width: 480px) {
    .navbar {
        padding: 0.875rem 1rem;
        height: 55px;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-toggle {
        width: 28px;
        height: 28px;
    }

    .nav-toggle span {
        width: 20px;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 0.625rem 1.5rem;
    }

    .nav-menu {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-top: 60px;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 55px;
    }
}

/* Hero Section */
.hero {
    margin-top: 1.9rem;
}
.hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 2rem;
    gap: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    color: var(--text-secondary);
}

.badge {
    background: rgba(97, 218, 251, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.badge:hover {
    background: rgba(97, 218, 251, 0.2);
    transform: translateY(-2px);
    cursor: pointer;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent);
    text-decoration: none;
    position: relative;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button.primary {
    background: var(--primary);
    border: none;
    box-shadow: 0 4px 15px rgba(97, 218, 251, 0.35);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    background: #33d0ff;
    box-shadow: 0 8px 25px rgba(97, 218, 251, 0.5);
    color: #fff;
    
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(97, 218, 251, 0.1);
    color: #fff;
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    background: var(--primary);
    box-shadow: 0 8px 25px rgba(97, 218, 251, 0.35);
    border-color: var(--primary);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(97, 218, 251, 0.25);
}

@media (max-width: 768px) {
    .about-cta {
        justify-content: center;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    .cta-group {
        justify-content: center;
        align-items: center;
    }
}

.social-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    width: fit-content;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
}

.social-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-link.gitlab:hover {
    color: #fc6d26;
    border-color: #fc6d26;
    box-shadow: 0 0 20px rgba(252, 109, 38, 0.2);
}

.social-link.instagram:hover {
    color: #e1306c;
    border-color: #e1306c;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.2);
}

/* Hero Right Side */
.hero-right {
    display: flex;
    justify-content: end;
    align-items: center;
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    width: 100%;
    margin-top: 1.5rem;
}

.years-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(97, 218, 251, 0.1);
    border-radius: 15px;
}

.years-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.years-badge .label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.stat-item {
    padding: 0.75rem 0.25rem;
    background: rgba(97, 218, 251, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    border: 1px solid rgba(97, 218, 251, 0.1);
    margin-top: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.1;
    display: block;
    width: 100%;
    padding: 0 2px;
}

@media (max-width: 1024px) {
    .stats-grid {
        gap: 0.4rem;
    }
    
    .stat-item {
        padding: 0.5rem 0.2rem;
        min-height: 70px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}
.tech-badges {
    width: 200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 0 1rem;
    }
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }
    .hero-right {
        justify-content: center;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .experience-card {
        padding: 2rem;
        margin-top: -1.5rem;
    }

    .years {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
    .typed-text {
        word-wrap: break-word;
    }
}

/* About Section */
.about {
    padding: 6rem 2rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-left {
    position: relative;
}

.profile-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(97, 218, 251, 0.2);
}

.profile-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(97, 218, 251, 0.1),
        rgba(97, 218, 251, 0.05)
    );
    z-index: 1;
}

.profile-image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .profile-image {
        max-height: 400px;
        justify-self: center;
    }
}

.about-right {
    padding: 2rem;
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 1.5rem;
    }

    .about-right {
        padding: 1rem;
    }

    .about-header h2 {
        font-size: 2rem;
    }
    .about-left {
        justify-self: center;
    }
}

.about-text-primary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--text);
}

.about-text-primary p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

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

.about-card {
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-card:hover::before {
    transform: scaleY(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(97, 218, 251, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.about-card:hover .card-icon {
    background: rgba(97, 218, 251, 0.2);
    transform: scale(1.1) rotate(-5deg);
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.about-card h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: transform 0.3s ease;
}

.about-card:hover h3,
.about-card:hover p {
    transform: translateX(8px);
}

.about-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.about-cta .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
    
}



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

    .about-image {
        order: -1;
    }

    .about-header {
        text-align: center;
    }

    .about-text-primary {
        text-align: center;
    }

    .about-cta {
        margin-top: 1.5rem;
        gap: 0.75rem;
        
    }

    .about-cta .btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 4rem 1rem;
    }

    .about-cta {
        margin-top: 1.25rem;
        gap: 0.5rem;
    }

    .about-cta .btn {
        padding: 0.35rem 0.875rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.about-subtitle {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 0.5rem 0 1rem 0;
    font-weight: 500;
}

.about-text-primary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text-primary p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

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

.about-card {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(97, 218, 251, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.about-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}


.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}


.about-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.about-cta .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
}

@media (max-width: 768px) {
    .about-cta {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }

    .about-cta .btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .about-cta {
        margin-top: 1.25rem;
        gap: 0.5rem;
    }

    .about-cta .btn {
        padding: 0.35rem 0.875rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
}


/* Contact Section */
.contact {
    padding: 100px 20px;
    background-color: var(--secondary);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    border: 1px solid rgba(97, 218, 251, 0.2);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary);
    color: var(--accent);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(97, 218, 251, 0.3);
}

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

    .about-image {
        order: -1;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }
}

.stack-item {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stack-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

.stack-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tech-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.stack-item:hover .tech-details {
    opacity: 1;
    transform: translateY(0);
}


.button-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.button-particles::before,
.button-particles::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
}

.cta-button:hover .button-particles::before {
    animation: particle1 0.8s ease-out;
}

.cta-button:hover .button-particles::after {
    animation: particle2 0.8s ease-out 0.1s;
}

@keyframes particle1 {
    0% {
        opacity: 1;
        transform: translate(0, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50px, -50px);
    }
}

@keyframes particle2 {
    0% {
        opacity: 1;
        transform: translate(0, 0);
    }
    100% {
        opacity: 0;
        transform: translate(50px, -50px);
    }
}

/* Skills Section */
.skills {
    padding: 6rem 2rem;
    position: relative;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

.skills h2 {
    text-align: center;
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.skills h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.tech-category {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tech-category h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-category h3 i {
    font-size: 1.25rem;
}

.tech-grid {
    display: grid;
    gap: 1.25rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(97, 218, 251, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(97, 218, 251, 0.1);
    transform: translateX(5px);
}

.tech-item i,
.tech-item img {
    font-size: 1.5rem;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.tech-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tech-item span {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background: rgba(97, 218, 251, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-level {
    width: 90%;
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 1s ease;
}

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

    .tech-category {
        padding: 1.5rem;
    }

    .tech-item {
        padding: 0.5rem;
    }

    .tech-item i,
    .tech-item img {
        font-size: 1.25rem;
    }

    .tech-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .skills {
        padding: 4rem 1rem;
    }

    .tech-category h3 {
        font-size: 1.25rem;
    }

    .skill-bar {
        display: none;
    }
}

/* Profile Image */

.my-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}


/* Footer */
.footer {
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right,
        transparent 0%,
        var(--primary) 20%,
        var(--primary) 80%,
        transparent 100%
    );
}

.footer::after {
    content: '</>';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    padding: 0 1rem;
    font-family: var(--font-mono, monospace);
    font-size: 1.2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}
.footer-contact {
    margin-top: 1rem;
    display: grid;
}
.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary);
    width: 1rem;
}

.time-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);

        gap: 2rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }
}



/* Main section separator */
.main-separator {
    width: 100%;
    height: 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-separator::before,
.main-separator::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary) 20%, 
        var(--primary) 80%, 
        transparent
    );
}

.main-separator::before {
    transform: translateX(-30%) rotate(5deg);
    animation: floatLeft 3s ease-in-out infinite;
}

.main-separator::after {
    transform: translateX(30%) rotate(-5deg);
    animation: floatRight 3s ease-in-out infinite;
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateX(-30%) rotate(5deg) translateY(0);
    }
    50% {
        transform: translateX(-30%) rotate(5deg) translateY(-10px);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translateX(30%) rotate(-5deg) translateY(0);
    }
    50% {
        transform: translateX(30%) rotate(-5deg) translateY(10px);
    }
}

/* Add some geometric shapes for visual interest */
.main-separator .shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.main-separator .shapes::before,
.main-separator .shapes::after {
    content: '';
    width: 15px;
    height: 15px;
    background: var(--primary);
    opacity: 0.3;
    animation: pulse 2s infinite;
    border-radius: 50%;
    z-index: 1;
}

.main-separator .shapes::before {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 0.5s;
}

.main-separator .shapes::after {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Add padding to main sections */
section {
    padding: 6rem 0;
    position: relative;
    margin-top: -3rem;
}

section:first-of-type {
    padding-top: 0;
}

/* Typing Animation */
.typed-text, .typed {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.7rem;
}


.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary);
    margin-left: 2px;
    animation: blink 1s infinite;
}

.cursor.typing {
    animation: none;
}

@keyframes blink {
    0% { background-color: var(--primary); }
    49% { background-color: var(--primary); }
    50% { background-color: transparent; }
    99% { background-color: transparent; }
    100% { background-color: var(--primary); }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(97, 218, 251, 0.1);
    z-index: 1000;
}

.scroll-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--scroll-width, 0%);
    background: linear-gradient(to right, var(--primary), #33d0ff);
    transition: width 0.2s ease-out;
}

@media (max-width: 768px) {
    .scroll-progress {
        top: 60px;
    }
}

@media (max-width: 480px) {
    .scroll-progress {
        top: 55px;
    }
}



/* Section Transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.project-title:hover {
    background: var(--primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .project-title {
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background-color: var(--secondary);
}

::-webkit-scrollbar-track {
    background-color: rgba(97, 218, 251, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, rgba(97, 218, 251, 0.6) 100%);
    border-radius: 4px;
    transition: background 0.3s ease;
}

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

@media (min-width: 1024px) {
    .cta-group {
        display: flex;
        align-items: flex-start;
        gap: 2rem;
    }

    .social-links {
        margin-top: 0;
        margin-left: 1rem;
    }
}

/* Footer Social Links */
.footer-social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.footer-social .social-link {
    width: 100%;
    height: auto;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 0;
}

.footer-social .social-link span {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-social {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .footer-social .social-link {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-social {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* Quick Links */
.quick-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    padding: 1rem;
}

.quick-link-item {
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-link-item:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-link-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.quick-link-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.quick-link-item i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.quick-link-item:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .quick-links {
        gap: 1rem;
        padding: 0.5rem;
    }

    .quick-link-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Tech Stack Styling */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.tech-stack span {
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--accent-color);
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(var(--accent-rgb), 0.1);
}

.tech-stack span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
    opacity: 0.1;
}

.tech-stack span:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.2);
}

.tech-stack span:hover::before {
    width: 300px;
    height: 300px;
}

.tech-stack span:active {
    transform: translateY(-1px);
}

/* Shine effect */
.tech-stack span::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    z-index: 1;
}

.tech-stack span:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

@media (max-width: 768px) {
    .tech-stack {
        gap: 0.5rem;
    }

    .tech-stack span {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

/* Button hover effects */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Button shine effect */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Button variants */
.btn-primary {
    background: var(--primary);
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(97, 218, 251, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(97, 218, 251, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(97, 218, 251, 0.4);
    border-color: var(--primary);
}

/* Button icon animation */
.btn i {
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn:hover i {
    transform: translateX(5px) rotate(360deg);
}

/* Button text animation */
.btn span {
    position: relative;
    display: inline-block;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.btn:hover span {
    transform: translateY(-2px);
}

/* Button responsive styles */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 6rem 3rem;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem auto;
    max-width: 1400px;
    padding: 0 2rem;
}
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.project-card.show {
    opacity: 1;
    transform: translateY(0);
}

.project-card:nth-child(1) { transition-delay: 0.1s; }
.project-card:nth-child(2) { transition-delay: 0.3s; }
.project-card:nth-child(3) { transition-delay: 0.5s; }
.project-card:nth-child(4) { transition-delay: 0.7s; }
.project-card:nth-child(4) { transition-delay: 0.8s; }
.project-card:nth-child(6) { transition-delay: 0.9s; }

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tech-stack span {
    background: rgba(97, 218, 251, 0.1);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tech-stack span:hover {
    background: rgba(97, 218, 251, 0.2);
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-links .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 1024px) {
    .project-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {

    .projects {
        padding: 0 2rem;
    }
    .project-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .project-image {
        height: 180px;
    }

    .project-content {
        padding: 1.25rem;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }

    .project-links {
        flex-direction: column;
    }
}
@media screen and (max-width) {
    .projects {
        padding: 0;
    }
}
.notificationAlert {
    overflow: hidden;
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    z-index: 1001;
    border-radius: 8px;
    padding: .7rem 1rem;
}

.hide {
    display: none;
    opacity: 0;
}
.show-notification .error {
    background: #f8d7da;
    color: #721c24;
}
.error {
    color: #33d0ff;
}

.inputError .error{
    color: #bd0d1f;
    font-weight: 400;
}
.inputError input, .inputError textarea, .inputError input:focus , .inputError textarea:focus{
    border: 1px solid #bd0d1f;
}

#count-word {
    display: block;
    opacity: .4;
    font-weight: 500;
}

/* Project Categorization and Pagination Styles */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
}

.filter-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: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}




/* Enhanced Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card[data-featured="true"] {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(92, 204, 235, 0.1), rgba(92, 204, 235, 0.05));
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.project-badge.featured {
    background: var(--primary);
    color: var(--secondary);
    animation: pulse 2s infinite;
}

.project-category {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    background: rgba(40, 44, 52, 0.9);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(92, 204, 235, 0.2);
}

.project-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status.live {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.project-status.development {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding: 1.5rem;
    background: rgba(32, 35, 42, 0.8);
    border-radius: 15px;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-btn {
    padding: 0.75rem 1.5rem;
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover,
.page-number.active {
    background: var(--primary);
    color: var(--secondary);
    transform: scale(1.1);
}

/* Project Card Animations */
.project-card.hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: all 0.5s ease;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    transition: all 0.5s ease;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsive Design for Project Features */
@media (max-width: 768px) {
    .project-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .project-stats {
        gap: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .pagination-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .project-badge,
    .project-category {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* CV Modal Styles */
.cv-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.cv-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cv-modal-content {
    background: var(--secondary);
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(92, 204, 235, 0.2);
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

.cv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(92, 204, 235, 0.2);
    background: linear-gradient(135deg, rgba(92, 204, 235, 0.1), transparent);
}

.cv-modal-header h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cv-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    transform: scale(1.1);
}

.cv-modal-body {
    flex: 1;
    overflow: hidden;
    padding: 1rem;
}

.cv-preview-container {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

#cvPreview {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.cv-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(92, 204, 235, 0.2);
    background: rgba(92, 204, 235, 0.05);
}

.cv-download-btn,
.cv-print-btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.cv-download-btn {
    background: linear-gradient(135deg, var(--primary), #45b7d1);
    color: white;
}

.cv-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 204, 235, 0.4);
}

.cv-print-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cv-print-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* CV Button in Hero Section */
.cv-button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cv-button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cv-modal-content {
        width: 95%;
        height: 90vh;
        margin: 1rem;
    }
    
    .cv-modal-header,
    .cv-modal-footer {
        padding: 1rem;
    }
    
    .cv-modal-header h3 {
        font-size: 1rem;
    }
    
    .cv-modal-footer {
        flex-direction: column;
    }
    
    .cv-download-btn,
    .cv-print-btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cv-button {
        width: 100% !important;
        text-align: center;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary), rgba(92, 204, 235, 0.1));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease;
}

.loading-logo {
    margin-bottom: 2rem;
    animation: bounceIn 1s ease;
}

.splash-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 3px solid var(--primary);
    padding: 3px;
    background: linear-gradient(135deg, var(--primary), #4da6d9) padding-box,
                linear-gradient(135deg, var(--primary), #4da6d9) border-box;
    box-shadow: 0 8px 25px rgba(92, 204, 235, 0.3);
    margin-bottom: 1rem;
    animation: logoPulse 2s ease-in-out infinite;
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.splash-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(0);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes logoPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(92, 204, 235, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 35px rgba(92, 204, 235, 0.5);
        transform: scale(1.05);
    }
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
}

.spinner-ring:nth-child(4) {
    animation-delay: 0s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.loading-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.loading-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.loading-progress {
    width: 300px;
    max-width: 80vw;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(92, 204, 235, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #45b7d1);
    border-radius: 2px;
    width: 0%;
    animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Mobile PWA Logo Enhancements */
@media (max-width: 768px) and (display-mode: standalone) {
    .nav-logo {
        font-size: 1.4rem;
        gap: 0.6rem;
        padding: 0.5rem;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .nav-logo:active {
        background: rgba(92, 204, 235, 0.1);
        transform: scale(0.98);
    }

    .nav-logo .logo-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .nav-logo .logo-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) and (display-mode: standalone) {
    .nav-logo {
        font-size: 1.3rem;
        gap: 0.5rem;
        padding: 0.4rem;
    }

    .nav-logo .logo-icon {
        width: 32px;
        height: 32px;
    }

    .nav-logo .logo-text {
        font-size: 1.3rem;
    }
}

/* Enhanced Touch Interactions for Mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-logo {
        -webkit-tap-highlight-color: rgba(92, 204, 235, 0.2);
        tap-highlight-color: rgba(92, 204, 235, 0.2);
    }

    .nav-logo:active {
        background: rgba(92, 204, 235, 0.15);
        transform: scale(0.95);
    }
}

/* PWA Status Bar Styling */
@media all and (display-mode: standalone) {
    /* Hide browser UI when in PWA mode */
    .navbar {
        padding-top: max(1.25rem, env(safe-area-inset-top));
    }

    /* Enhanced logo for PWA mode */
    .nav-logo .logo-icon {
        filter: drop-shadow(0 2px 8px rgba(92, 204, 235, 0.3));
    }

    .nav-logo:hover .logo-icon {
        filter: drop-shadow(0 4px 12px rgba(92, 204, 235, 0.5));
    }
}
