    /* Reset and Base Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    /* Custom Scrollbar a*/
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #0a0a0a;
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #00d4aa, #0099cc);
        border-radius: 5px;
        transition: background 0.3s ease;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #0099cc, #00d4aa);
    }

    /* Smooth scrollbar animation */
    * {
        scrollbar-width: thin;
        scrollbar-color: #00d4aa #0a0a0a;
    }

    body {
        font-family: 'Poppins', sans-serif;
        background-color: #0a0a0a;
        color: #ffffff;
        line-height: 1.6;
        overflow-x: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Lock body scroll when overlay/modal is open */
    body.modal-open {
        overflow: hidden;
    }

    /* Color Variables */
    :root {
        --primary-color: #00d4aa;
        --secondary-color: #0099cc;
        --accent-color: #0066ff;
        --dark-bg: #0a0a0a;
        --card-bg: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #b0b0b0;
        --border-color: #333333;
        --gradient-primary: linear-gradient(135deg, #00d4aa, #0099cc);
        --gradient-secondary: linear-gradient(135deg, #0066ff, #00d4aa);
    }

    /* Container */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Typography */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: 600;
        line-height: 1.2;
    }

    .section-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 2.5rem;
        margin-top: 0;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .section-subtitle {
        text-align: center;
        color: var(--text-secondary);
        margin-top: -1.5rem;
        margin-bottom: 2.5rem;
    }

    /* Fade-in animation for sections */
    section:not(.hero) {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    /* Navigation */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        padding: 0;
        transition: all 0.3s ease;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .nav-container {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
    }

    .nav-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        height: 100%;
        line-height: 70px;
    }

    .logo-img {
        height: 60px;
        width: auto;
        max-height: 60px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

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

    .nav-logo h2 {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 1.5rem;
        margin: 0;
        line-height: 1;
        display: flex;
        align-items: center;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        gap: 2rem;
        align-items: center;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    /* Hide menu header and backdrop on desktop */
    .nav-menu-header {
        display: none;
    }

    .menu-backdrop {
        display: none;
    }

    .menu-close {
        display: none;
    }

    .nav-link {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
    }

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

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

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

    /* Hamburger Menu */
    .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
    }

    .bar {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 3px 0;
        transition: 0.3s;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
        position: relative;
        overflow: hidden;
        padding-top: 70px;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
        z-index: 1;
    }

    .hero-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .hero-content {
        animation: fadeInUp 1s ease-out;
    }

    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .highlight {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-weight: 500;
        min-height: 2.5rem;
        display: flex;
        align-items: center;
    }

    .subtitle-text {
        display: inline-block;
        opacity: 1;
        transform: translateY(0);
        border-right: 2px solid var(--primary-color);
        padding-right: 5px;
        animation: blink 1s infinite;
    }

    @keyframes blink {

        0%,
        50% {
            border-color: var(--primary-color);
        }

        51%,
        100% {
            border-color: transparent;
        }
    }

    .hero-description {
        font-size: 1.1rem;
        color: var(--text-secondary);
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .hero-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    /* Buttons */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 12px 24px;
        border: none;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        font-size: 1rem;
    }

    .btn-primary {
        background: var(--gradient-primary);
        color: white;
        box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
    }

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

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

    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    /* Hero Image */
    .hero-image {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: fadeInRight 1s ease-out 0.5s both;
    }

    .floating-elements {
        position: relative;
        width: 400px;
        height: 400px;
    }

    .element {
        position: absolute;
        border-radius: 50%;
        background: var(--gradient-primary);
        opacity: 0.1;
        animation: float 6s ease-in-out infinite;
    }

    .element-1 {
        width: 100px;
        height: 100px;
        top: 20%;
        left: 20%;
        animation-delay: 0s;
    }

    .element-2 {
        width: 150px;
        height: 150px;
        top: 50%;
        right: 20%;
        animation-delay: 2s;
    }

    .element-3 {
        width: 80px;
        height: 80px;
        bottom: 20%;
        left: 50%;
        animation-delay: 4s;
    }

    /* About Section */
    .about {
        padding: 60px 0;
        background: var(--dark-bg);
    }

    .about-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .about-text {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }

    .about-text p {
        margin: 0 0 1.5rem 0;
        padding: 0;
        color: var(--text-secondary);
        font-size: 1.05rem;
        line-height: 1.8;
        text-align: left;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .about-text p:last-child {
        margin-bottom: 0;
    }

    .about-stats {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .stat {
        text-align: center;
        padding: 1.25rem 1rem;
        background: var(--card-bg);
        border-radius: 15px;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }

    .stat:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
    }

    .stat h3 {
        font-size: 2.2rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

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

    /* Projects Section */
    .projects {
        padding: 60px 0;
        background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    }

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

    .project-card {
        background: var(--card-bg);
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
        position: relative;
    }

    .project-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary-color);
        box-shadow: 0 20px 40px rgba(0, 212, 170, 0.2);
    }

    .project-image {
        height: 200px;
        background: var(--gradient-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .project-icon {
        font-size: 4rem;
        color: white;
        z-index: 2;
    }

    .project-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .project-card:hover .project-image::before {
        transform: translateX(100%);
    }

    .project-content {
        padding: 2rem;
    }

    .project-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }

    .project-content p {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .tech-tag {
        background: rgba(0, 212, 170, 0.1);
        color: var(--primary-color);
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid rgba(0, 212, 170, 0.2);
    }

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

    .project-link {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    .project-link:hover {
        color: var(--secondary-color);
    }

    /* Projects Footer */
    .projects-footer {
        margin-top: 3rem;
        text-align: center;
        padding: 2rem;
        background: var(--card-bg);
        border-radius: 15px;
        border: 1px solid var(--border-color);
    }

    .projects-footer-text {
        color: var(--text-secondary);
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .projects-footer-text i {
        color: var(--primary-color);
        font-size: 1.2rem;
    }

    .github-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
    }

    .github-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
    }

    /* Skills Section */
    .skills {
        padding: 60px 0;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
        position: relative;
        overflow: hidden;
    }

    .skills::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 50%, rgba(0, 212, 170, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 70% 50%, rgba(0, 153, 204, 0.03) 0%, transparent 50%);
        pointer-events: none;
    }

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

    .skills-category {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
        padding: 1.75rem;
        border-radius: 20px;
        border: 1px solid rgba(0, 212, 170, 0.15);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
    }

    .skills-category::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .skills-category:hover::before {
        transform: scaleX(1);
    }

    .skills-category:hover {
        transform: translateY(-5px) scale(1.01);
        border-color: var(--primary-color);
        box-shadow: 0 15px 40px rgba(0, 212, 170, 0.2),
            0 0 0 1px rgba(0, 212, 170, 0.1);
        background: linear-gradient(135deg, rgba(26, 26, 26, 1) 0%, rgba(20, 20, 20, 1) 100%);
    }

    .category-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 212, 170, 0.1);
    }

    .category-title-wrapper {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .category-icon {
        font-size: 1.3rem;
        color: var(--primary-color);
        background: rgba(0, 212, 170, 0.1);
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .skills-category:hover .category-icon {
        background: var(--gradient-primary);
        color: white;
        transform: rotate(5deg) scale(1.1);
    }

    .skills-category h3 {
        font-size: 1.3rem;
        color: var(--text-primary);
        font-weight: 600;
        margin: 0;
        letter-spacing: -0.02em;
    }

    .skill-count {
        background: rgba(0, 212, 170, 0.15);
        color: var(--primary-color);
        padding: 0.3rem 0.75rem;
        border-radius: 18px;
        font-size: 0.8rem;
        font-weight: 600;
        border: 1px solid rgba(0, 212, 170, 0.2);
        transition: all 0.3s ease;
    }

    .skills-category:hover .skill-count {
        background: var(--gradient-primary);
        color: white;
        transform: scale(1.1);
        border-color: transparent;
    }

    .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.85rem;
    }

    .skill-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.9rem 0.75rem;
        background: rgba(0, 212, 170, 0.04);
        border: 1px solid rgba(0, 212, 170, 0.12);
        border-radius: 12px;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: default;
        position: relative;
        overflow: hidden;
    }

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

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

    .skill-item:hover {
        transform: translateY(-3px) scale(1.03);
        background: rgba(0, 212, 170, 0.12);
        border-color: var(--primary-color);
        box-shadow: 0 6px 20px rgba(0, 212, 170, 0.25),
            0 0 0 1px rgba(0, 212, 170, 0.1);
    }

    .skill-icon {
        width: 42px;
        height: 42px;
        background: var(--gradient-primary);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: white;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
    }

    .skill-item:hover .skill-icon {
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
    }

    .skill-name {
        font-weight: 500;
        color: var(--text-primary);
        text-align: center;
        font-size: 0.8rem;
        line-height: 1.3;
        transition: color 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .skill-item:hover .skill-name {
        color: var(--primary-color);
        font-weight: 600;
    }

    /* Certifications Section */
    .certifications {
        padding: 60px 0;
        background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    }

    .cert-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }

    .cert-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 14px;
        transition: all 0.3s ease;
        cursor: pointer;
        min-height: 80px;
        height: 100%;
        position: relative;
    }

    .cert-item i {
        color: var(--primary-color);
        font-size: 1.2rem;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .cert-item span {
        color: var(--text-primary);
        font-weight: 500;
        line-height: 1.6;
        padding: 0;
        margin: 0;
        transition: all 0.3s ease;
    }

    .cert-item:hover {
        transform: translateY(-4px) scale(1.02);
        border-color: var(--primary-color);
        box-shadow: 0 12px 24px rgba(0, 212, 170, 0.15);
        background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), rgba(0, 153, 204, 0.05));
    }

    .cert-item:hover i {
        transform: scale(1.2) rotate(5deg);
        color: var(--secondary-color);
    }

    .cert-item:hover span {
        color: var(--primary-color);
    }

    /* Certificate Preview Overlay */
    .cert-preview-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        pointer-events: none;
        will-change: opacity;
    }

    .cert-preview-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .cert-preview-container {
        width: 70%;
        max-width: 600px;
        height: 70vh;
        max-height: 500px;
        background: var(--card-bg);
        border-radius: 20px;
        border: 2px solid var(--primary-color);
        box-shadow: 0 25px 50px rgba(0, 212, 170, 0.3);
        overflow: hidden;
        transform: scale(0.95) translateY(15px);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        display: flex;
        flex-direction: column;
        will-change: transform;
    }

    .cert-preview-overlay.active .cert-preview-container {
        transform: scale(1) translateY(0);
    }

    /* Close Button */
    .cert-preview-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        color: var(--text-primary);
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .cert-preview-close:hover {
        background: rgba(255, 59, 48, 0.2);
        border-color: #ff3b30;
        color: #ff3b30;
        transform: rotate(90deg);
    }

    .cert-preview-content {
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
    }

    .cert-preview-iframe {
        width: 100%;
        height: 100%;
        border: none;
        background: white;
        border-radius: 18px 18px 0 0;
        pointer-events: auto;
    }

    /* Loading overlay for certificate preview */
    .cert-preview-loading {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.25);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 50;
    }

    .cert-preview-loading span {
        margin-top: 0.75rem;
        color: var(--text-primary);
        font-size: 0.9rem;
        opacity: 0.85;
    }

    .cert-preview-spinner {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 3px solid rgba(255, 255, 255, 0.2);
        border-top-color: var(--primary-color);
        animation: certSpin 0.8s linear infinite;
    }

    .cert-preview-overlay.loading .cert-preview-loading {
        opacity: 1;
    }

    @keyframes certSpin {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    /* Open Full Certificate Button */
    .cert-preview-open-btn {
        width: 100%;
        padding: 16px 24px;
        background: var(--gradient-primary);
        border: none;
        border-radius: 0 0 18px 18px;
        color: white;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.2s ease;
        font-family: 'Poppins', sans-serif;
        box-shadow: 0 -2px 10px rgba(0, 212, 170, 0.2);
    }

    .cert-preview-open-btn:hover {
        background: var(--gradient-secondary);
        transform: translateY(-2px);
        box-shadow: 0 -4px 20px rgba(0, 212, 170, 0.4);
    }

    .cert-preview-open-btn:active {
        transform: translateY(0);
    }

    .cert-preview-open-btn i {
        font-size: 1.1rem;
    }

    /* Resume Section */
    .resume {
        padding: 60px 0;
        background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    }

    .resume-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .resume-info h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }

    .resume-info p {
        color: var(--text-secondary);
        margin-bottom: 2rem;
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .resume-features {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

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

    .feature i {
        color: var(--primary-color);
        font-size: 1.2rem;
    }

    .feature span {
        color: var(--text-secondary);
    }

    .resume-download {
        text-align: center;
    }

    .download-note {
        margin-top: 1rem;
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    /* Contact Section */
    .contact {
        padding: 60px 0;
        background: var(--dark-bg);
    }

    .contact-intro {
        text-align: center;
        color: var(--text-secondary);
        font-size: 1.2rem;
        margin-top: -1.5rem;
        margin-bottom: 3rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .contact-info h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }

    .contact-info p {
        color: var(--text-secondary);
        margin-bottom: 2rem;
        font-size: 1.1rem;
        line-height: 1.8;
    }

    /* Social Media Links */
    .social-links {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .social-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 12px 20px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 50px;
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .social-link:hover {
        transform: translateY(-3px) scale(1.05);
        border-color: var(--primary-color);
        background: rgba(0, 212, 170, 0.1);
        box-shadow: 0 10px 25px rgba(0, 212, 170, 0.2);
    }

    .social-link i {
        font-size: 1.2rem;
        color: var(--primary-color);
    }

    .social-link:hover i {
        color: var(--secondary-color);
    }

    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-method {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        background: var(--card-bg);
        border-radius: 15px;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }

    .contact-method:hover {
        transform: translateY(-3px);
        border-color: var(--primary-color);
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        background: var(--gradient-primary);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        flex-shrink: 0;
    }

    .contact-details h4 {
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }

    .contact-link {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

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

    .email-button {
        background: var(--gradient-primary);
        color: white !important;
        padding: 8px 16px;
        border-radius: 25px;
        font-weight: 600;
        transition: all 0.3s ease;
        display: inline-block;
        text-decoration: none;
    }

    .email-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 212, 170, 0.3);
        color: white !important;
    }

    /* Contact Form */
    .contact-form {
        background: var(--card-bg);
        padding: 2rem;
        border-radius: 20px;
        border: 1px solid var(--border-color);
        position: relative;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        color: var(--text-primary);
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: var(--text-secondary);
        opacity: 0.8;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
    }

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

    /* Form Success Message */
    .form-success {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem;
        background: rgba(0, 212, 170, 0.1);
        border: 1px solid var(--primary-color);
        border-radius: 10px;
        color: var(--primary-color);
        font-weight: 500;
        margin-top: 1rem;
        animation: slideInUp 0.5s ease;
    }

    .form-success i {
        font-size: 1.2rem;
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Footer */
    .footer {
        background: #000000;
        padding: 1.25rem 0;
        border-top: 1px solid var(--border-color);
    }

    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 1.5rem;
        align-items: center;
    }

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

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

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

    .footer-email a:hover {
        color: var(--secondary-color);
    }

    .footer-social {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .footer-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        color: var(--text-secondary);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.2rem;
    }

    .footer-social-link:hover {
        transform: translateY(-3px) scale(1.1);
        border-color: var(--primary-color);
        background: rgba(0, 212, 170, 0.1);
        color: var(--primary-color);
        box-shadow: 0 8px 20px rgba(0, 212, 170, 0.2);
    }

    .footer-links {
        display: flex;
        gap: 2rem;
        justify-content: flex-end;
    }

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

    .footer-links a:hover {
        color: var(--primary-color);
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-20px);
        }
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .hero-container {
            gap: 3rem;
        }

        .hero-title {
            font-size: 3rem;
        }

        .projects-grid {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }

        .cert-grid {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }

        .skills-container {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }
    }

    @media (max-width: 768px) {
        .container {
            padding: 0 20px;
        }

        .hamburger {
            display: flex;
        }

        /* Show menu header and backdrop only on mobile */
        .nav-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
            margin: 0;
            list-style: none;
        }

        .nav-menu-header h3 {
            margin: 0;
            color: var(--primary-color);
            font-size: 1.3rem;
            font-weight: 600;
        }

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

        .menu-close:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--primary-color);
            transform: rotate(90deg);
        }

        /* Backdrop overlay - only on mobile */
        .menu-backdrop {
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            pointer-events: none;
        }

        .menu-backdrop.active {
            opacity: 1;
            visibility: visible;
            pointer-events: all;
        }

        /* Side panel menu - only on mobile */
        .nav-menu {
            position: fixed;
            right: -100%;
            top: 0;
            flex-direction: column;
            background-color: rgba(10, 10, 10, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            width: 300px;
            max-width: 85%;
            height: 100vh;
            text-align: left;
            transition: right 0.3s ease;
            padding: 0;
            gap: 0;
            z-index: 10001;
            box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
            overflow-y: auto;
        }

        .nav-menu.active {
            right: 0;
        }

        /* Menu items styling - only on mobile */
        .nav-menu .nav-item {
            margin: 0;
            padding: 0;
            list-style: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .nav-menu .nav-link {
            display: block;
            padding: 1.2rem 1.5rem;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .nav-menu .nav-link:hover {
            background-color: rgba(0, 212, 170, 0.1);
            color: var(--primary-color);
            padding-left: 2rem;
        }

        .nav-menu .nav-link::after {
            display: none;
        }

        /* Prevent body scroll when menu is open */
        body.menu-open {
            overflow: hidden;
        }

        .nav-logo h2 {
            font-size: 1.2rem;
        }

        .logo-img {
            height: 45px;
        }

        /* Hero Section */
        .hero {
            padding: 100px 0 40px;
            min-height: auto;
        }

        .hero-container {
            grid-template-columns: 1fr;
            text-align: center;
            gap: 2rem;
            align-items: center;
        }

        .hero-subtitle {
            justify-content: center;
        }

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

        .hero-subtitle {
            font-size: 1.2rem;
        }

        .hero-description {
            font-size: 1rem;
        }

        /* Sections */
        .about,
        .projects,
        .skills,
        .certifications,
        .resume,
        .contact {
            padding: 40px 0;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .section-subtitle {
            font-size: 0.95rem;
            margin-top: -1.2rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .contact-intro {
            font-size: 1rem;
            margin-top: -1.2rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        /* About Section */
        .about-content {
            grid-template-columns: 1fr;
            gap: 2.5rem;
            align-items: start;
        }

        .about-text {
            text-align: left;
            width: 100%;
            max-width: 100%;
        }

        .about-text p {
            text-align: center;
            width: 100%;
            max-width: 100%;
            margin: 0 0 1.2rem 0;
            padding: 0;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .about-text p:last-child {
            margin-bottom: 0;
        }

        .about-stats {
            flex-direction: row;
            justify-content: space-around;
            gap: 1rem;
        }

        .stat {
            padding: 1.2rem 0.8rem;
        }

        .stat h3 {
            font-size: 1.8rem;
        }

        /* Scroll to Top Button */
        .scroll-to-top {
            bottom: 20px;
            right: 20px;
            width: 45px;
            height: 45px;
            font-size: 1.1rem;
        }

        /* Projects Section */
        .projects-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .project-card {
            margin-bottom: 0;
        }

        .project-content {
            padding: 1.5rem;
        }

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

        .projects-footer {
            margin-top: 2rem;
            padding: 1.5rem;
        }

        .projects-footer-text {
            font-size: 1rem;
            flex-direction: column;
            gap: 0.3rem;
        }

        /* Skills Section */
        .skills-container {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .skills-category {
            padding: 1.5rem;
        }

        .category-header {
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
        }

        .category-icon {
            width: 38px;
            height: 38px;
            font-size: 1.2rem;
        }

        .skills-category h3 {
            font-size: 1.3rem;
        }

        .skill-count {
            padding: 0.3rem 0.7rem;
            font-size: 0.75rem;
        }

        .skills-grid {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 0.85rem;
        }

        .skill-item {
            padding: 1rem 0.6rem;
        }

        .skill-icon {
            width: 42px;
            height: 42px;
            font-size: 1.3rem;
        }

        .skill-name {
            font-size: 0.8rem;
        }

        /* Certifications Section */
        .cert-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .cert-item {
            padding: 1rem 1.25rem;
            gap: 0.8rem;
        }

        .cert-item span {
            font-size: 0.95rem;
        }

        /* Certificate Preview - Mobile */
        .cert-preview-container {
            width: 90%;
            max-width: 500px;
            height: 65vh;
            max-height: 450px;
        }

        .cert-preview-close {
            top: 10px;
            right: 10px;
            width: 35px;
            height: 35px;
            font-size: 1rem;
        }

        .cert-preview-open-btn {
            padding: 14px 20px;
            font-size: 0.9rem;
        }

        /* Resume Section */
        .resume-content {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .resume-info h3 {
            font-size: 1.5rem;
        }

        /* Contact Section */
        .contact-content {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .contact-info h3 {
            font-size: 1.5rem;
        }

        .contact-intro {
            font-size: 1rem;
        }

        .social-links {
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .social-link {
            padding: 10px 16px;
            font-size: 0.9rem;
        }

        .contact-form {
            padding: 1.5rem;
        }

        /* Footer */
        .footer-content {
            grid-template-columns: 1fr;
            text-align: center;
            gap: 1.5rem;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-links {
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Hero Image */
        .floating-elements {
            width: 300px;
            height: 300px;
        }

        /* Buttons */
        .hero-buttons {
            flex-direction: column;
            align-items: stretch;
            gap: 0.8rem;
        }

        .btn {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .container {
            padding: 0 15px;
        }

        /* Navigation */
        .nav-logo h2 {
            font-size: 1rem;
        }

        .logo-img {
            height: 40px;
        }

        /* Hero Section */
        .hero {
            padding: 100px 0 30px;
        }

        .hero-subtitle {
            justify-content: center;
        }

        .hero-title {
            font-size: 1.8rem;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: 1rem;
        }

        .hero-description {
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }

        .hero-buttons {
            flex-direction: column;
            align-items: stretch;
            gap: 0.7rem;
        }

        .btn {
            width: 100%;
            padding: 10px 20px;
            font-size: 0.9rem;
            justify-content: center;
        }

        .btn-large {
            padding: 14px 24px;
            font-size: 1rem;
        }

        /* Sections */
        .about,
        .projects,
        .skills,
        .certifications,
        .resume,
        .contact {
            padding: 40px 0;
        }

        .section-title {
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .section-subtitle {
            font-size: 0.85rem;
            margin-top: -1rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .contact-intro {
            font-size: 0.95rem;
            margin-top: -1rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        /* About Section */
        .about-text {
            text-align: left;
            width: 100%;
            max-width: 100%;
        }

        .about-text p {
            text-align: left;
            width: 100%;
            max-width: 100%;
            margin: 0 0 1rem 0;
            padding: 0;
            font-size: 0.95rem;
            line-height: 1.7;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .about-text p:last-child {
            margin-bottom: 0;
        }

        .about-stats {
            flex-direction: column;
            gap: 1rem;
        }

        .stat {
            padding: 1.25rem;
        }

        .stat h3 {
            font-size: 1.75rem;
        }

        .stat p {
            font-size: 0.9rem;
        }

        /* Scroll to Top Button */
        .scroll-to-top {
            bottom: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        /* Projects Section */
        .project-content {
            padding: 1.25rem;
        }

        .project-content h3 {
            font-size: 1.2rem;
            margin-bottom: 0.8rem;
        }

        .project-content p {
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .project-tech {
            margin-bottom: 1rem;
        }

        .tech-tag {
            font-size: 0.75rem;
            padding: 0.25rem 0.6rem;
        }

        .projects-footer {
            margin-top: 1.5rem;
            padding: 1.25rem;
        }

        .projects-footer-text {
            font-size: 0.9rem;
            margin-bottom: 1.25rem;
        }

        .github-link {
            width: 100%;
            max-width: 300px;
        }

        /* Skills Section */
        .skills-category {
            padding: 1.25rem;
        }

        .category-header {
            margin-bottom: 1.25rem;
            padding-bottom: 0.9rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .category-title-wrapper {
            gap: 0.6rem;
        }

        .category-icon {
            width: 35px;
            height: 35px;
            font-size: 1.1rem;
        }

        .skills-category h3 {
            font-size: 1.2rem;
        }

        .skill-count {
            padding: 0.25rem 0.6rem;
            font-size: 0.7rem;
        }

        .skills-grid {
            grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
            gap: 0.65rem;
        }

        .skill-item {
            padding: 0.85rem 0.5rem;
            gap: 0.4rem;
        }

        .skill-icon {
            width: 38px;
            height: 38px;
            font-size: 1.15rem;
        }

        .skill-name {
            font-size: 0.75rem;
        }

        /* Certifications Section */
        .cert-item {
            padding: 0.9rem 1rem;
            gap: 0.7rem;
        }

        .cert-item i {
            font-size: 1rem;
        }

        .cert-item span {
            font-size: 0.85rem;
            line-height: 1.5;
        }

        /* Resume Section */
        .resume-info h3 {
            font-size: 1.3rem;
        }

        .resume-info p {
            font-size: 0.95rem;
        }

        .feature {
            gap: 0.7rem;
        }

        .feature i {
            font-size: 1rem;
        }

        .feature span {
            font-size: 0.9rem;
        }

        /* Contact Section */
        .contact-intro {
            font-size: 0.95rem;
            margin-bottom: 2rem;
        }

        .contact-info h3 {
            font-size: 1.3rem;
        }

        .contact-info p {
            font-size: 0.95rem;
        }

        .contact-methods {
            gap: 1rem;
        }

        .contact-method {
            flex-direction: column;
            text-align: center;
            padding: 1.25rem;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            font-size: 1.2rem;
        }

        .contact-details h4 {
            font-size: 0.95rem;
        }

        .email-button {
            font-size: 0.85rem;
            padding: 6px 12px;
        }

        .social-links {
            flex-direction: column;
            align-items: stretch;
            gap: 0.8rem;
        }

        .social-link {
            width: 100%;
            max-width: 100%;
            justify-content: center;
            padding: 10px 16px;
            font-size: 0.85rem;
        }

        .contact-form {
            padding: 1.25rem;
        }

        .form-group input,
        .form-group textarea {
            padding: 10px 14px;
            font-size: 0.9rem;
        }

        /* Footer */
        .footer {
            padding: 1rem 0;
        }

        .footer-main p {
            font-size: 0.85rem;
        }

        .footer-email {
            font-size: 0.8rem;
        }

        .footer-links {
            flex-direction: column;
            gap: 1rem;
        }

        .footer-links a {
            font-size: 0.9rem;
        }

        .footer-social-link {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        /* Hero Image */
        .floating-elements {
            width: 250px;
            height: 250px;
        }
    }

    /* Extra small devices */
    @media (max-width: 360px) {
        .hero-title {
            font-size: 1.5rem;
        }

        .section-title {
            font-size: 1.5rem;
        }

        .cert-item span {
            font-size: 0.8rem;
        }

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

    /* Landscape orientation for mobile */
    @media (max-width: 768px) and (orientation: landscape) {
        .hero {
            padding: 60px 0 30px;
            min-height: auto;
        }

        .hero-title {
            font-size: 2rem;
        }

        .about,
        .projects,
        .skills,
        .certifications,
        .resume,
        .contact {
            padding: 35px 0;
        }
    }

    /* Scroll to Top Button */
    .scroll-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: var(--gradient-primary);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        animation: floatUpDown 2s ease-in-out infinite;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }

    .scroll-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-to-top:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
        animation: none;
    }

    .scroll-to-top:active {
        transform: translateY(-2px);
    }

    /* Smooth arrow animation - moves from bottom to top */
    @keyframes floatUpDown {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    /* Arrow icon animation */
    .scroll-to-top i {
        animation: arrowMove 1s ease-in-out infinite;
    }

    @keyframes arrowMove {
        0% {
            transform: translateY(0);
            opacity: 0.8;
        }

        50% {
            transform: translateY(-5px);
            opacity: 1;
        }

        100% {
            transform: translateY(0);
            opacity: 0.8;
        }
    }

    /* Touch device optimizations */
    @media (hover: none) and (pointer: coarse) {
        .scroll-to-top {
            bottom: 20px;
            right: 20px;
            width: 45px;
            height: 45px;
            font-size: 1.1rem;
            /* touch-action: manipulation; */
            animation: none;
            /* Disable float motion on mobile */
            -webkit-tap-highlight-color: transparent;
            pointer-events: auto !important;

        }

        .cert-item:hover {
            transform: none;
        }

        .cert-item:active {
            transform: scale(0.98);
            background: rgba(0, 212, 170, 0.1);
        }

        .project-card:hover {
            transform: none;
        }

        .project-card:active {
            transform: scale(0.98);
        }

        .btn:hover {
            transform: none;
        }

        .btn:active {
            transform: scale(0.98);
        }

        .social-link:hover {
            transform: none;
        }

        .social-link:active {
            transform: scale(0.95);
        }
    }

    /* Scroll animations */
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }



    /* project extra thing covered */

    .project-filter {
        text-align: center;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 8px 18px;
        border-radius: 30px;
        background: #111;
        border: 1px solid var(--primary-color);
        color: var(--primary-color);
        cursor: pointer;
        margin: 5px;
        transition: .25s;
    }

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

    .project-card {
        transition: .35s ease !important;
    }

    .project-card.hide {
        opacity: 0 !important;
        transform: scale(.7) !important;
        pointer-events: none;
    }

    .project-card.hide {
        display: none !important;
    }

    .project-filter {
        text-align: center;
        margin-bottom: 2rem;
    }

    .filter-btn {
        background: transparent;
        border: 1px solid var(--primary-color);
        padding: 6px 14px;
        border-radius: 25px;
        margin: 4px;
        cursor: pointer;
        color: #00e6cc;
    }

    .filter-btn.active {
        background: var(--primary-color);
        color: #000;
    }