   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #b633ff;       /* Red */
            --secondary: #ffffff;     /* White */
            --accent: #ff3333;        /* Light Red */
            --dark: #000000;          /* Black */
            --light-dark: #111111;    /* Dark Gray */
            --medium-dark: #222222;   /* Medium Dark Gray */
            --card-bg: rgba(30, 30, 30, 0.9);
            --header-bg: rgba(0, 0, 0, 0.95);
            --text-light: #ffffff;
            --text-gray: #cccccc;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: var(--dark);
            color: var(--text-light);
            overflow-x: hidden;
            min-height: 100vh;
            background: linear-gradient(135deg, #000000 0%, #111111 50%, #1a0000 100%);
        }

        /* ========== HEADER ========== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: var(--header-bg);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid transparent;
            background: linear-gradient(var(--header-bg), var(--header-bg)) padding-box,
                        linear-gradient(90deg, var(--primary), #ff3333) border-box;
            animation: headerGlow 3s ease-in-out infinite;
        }

        @keyframes headerGlow {
            0%, 100% { border-color: var(--primary); }
            50% { border-color: #ff6666; }
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--primary), #ff3333);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .header-nav {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-link {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .nav-link:hover::before {
            left: 100%;
        }

        .nav-link:hover {
            background: rgba(255, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        .nav-link.active {
            background: linear-gradient(135deg, var(--primary), #ff3333);
            color: var(--dark);
            box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
        }

        .header-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        /* ========== CANVAS & CONTENT ========== */
        #canvas3d {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
        }

        .content {
            position: relative;
            z-index: 2;
            padding-top: 80px;
        }

        /* ========== SIDE NAVIGATION ========== */
        .nav {
            position: fixed;
            top: 50%;
            right: 40px;
            transform: translateY(-50%);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .nav-dot {
            width: 12px;
            height: 12px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .nav-dot.active,
        .nav-dot:hover {
            background: var(--primary);
            box-shadow: 0 0 20px var(--primary);
            border-color: var(--primary);
            transform: scale(1.3);
        }

        /* ========== UPDATED HERO SECTION ========== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 120px 20px 80px;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 1200px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hero-text {
            position: relative;
            z-index: 3;
        }

        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 900;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.1;
        }

        .hero-title-main {
            display: block;
            font-size: clamp(3.5rem, 8vw, 6rem);
            margin-bottom: 10px;
        }

        .hero-subtitle {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .hero-subtitle::before {
            content: '';
            display: block;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), #ff3333);
        }

        .hero-description {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-gray);
            margin-bottom: 40px;
            max-width: 600px;
        }

        .hero-divider {
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 0, 0, 0.3) 20%, 
                rgba(255, 0, 0, 0.5) 50%, 
                rgba(255, 0, 0, 0.3) 80%, 
                transparent 100%);
            margin: 40px 0;
        }

        .hero-social-links {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .hero-social-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 25px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 25px;
            color: var(--text-light);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .hero-social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .hero-social-link:hover::before {
            left: 100%;
        }

        .hero-social-link:hover {
            background: rgba(255, 0, 0, 0.1);
            border-color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
        }

        .hero-social-icon {
            font-size: 1.2rem;
            color: var(--primary);
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 40px;
        }

        .btn {
            padding: 15px 40px;
            font-size: 1rem;
            font-weight: 700;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: relative;
            overflow: hidden;
        }

        .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.6s ease;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), #ff3333);
            color: var(--secondary);
            box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 50px rgba(255, 0, 0, 0.6);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: var(--secondary);
            border: 2px solid var(--primary);
        }

        .btn-secondary:hover {
            background: rgba(255, 0, 0, 0.2);
            transform: translateY(-5px);
        }

        /* Hero Visual/Animation Side */
        .hero-visual {
            position: relative;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-visual-container {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .floating-element {
            position: absolute;
            background: rgba(255, 0, 0, 0.1);
            border: 1px solid rgba(255, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
            transition: all 0.5s ease;
            opacity: 0.8;
        }

        .floating-element:hover {
            opacity: 1;
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
        }

        .element-1 {
            top: 10%;
            left: 10%;
            width: 150px;
            height: 150px;
            animation: float 6s ease-in-out infinite;
        }

        .element-2 {
            top: 10%;
            right: 15%;
            width: 150px;
            height: 150px;
            animation: float 5s ease-in-out infinite 0.5s;
        }

        .element-3 {
            bottom: 15%;
            left: 20%;
            width: 180px;
            height: 180px;
            animation: float 7s ease-in-out infinite 1s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        .element-content {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .element-icon {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: var(--primary);
        }

        .element-text {
            font-size: 0.9rem;
            color: var(--text-light);
            font-weight: 600;
        }

        /* ========== SECTION STYLES ========== */
        section {
            min-height: 100vh;
            padding: 100px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .section-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 900;
            text-align: center;
            margin-bottom: 60px;
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* ========== ABOUT SECTION ========== */
        .about-card {
            max-width: 800px;
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 0, 0, 0.3);
            border-radius: 30px;
            padding: 50px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            transition: all 0.4s ease;
        }

        .about-card:hover {
            transform: translateY(-10px) rotateX(5deg);
            border-color: var(--primary);
            box-shadow: 0 30px 80px rgba(255, 0, 0, 0.3);
        }

        .about-content h3 {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .about-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 20px;
            opacity: 0.9;
            color: var(--text-gray);
        }

        /* ========== SKILLS SECTION ========== */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            width: 100%;
        }

        .skill-card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .skill-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
        }

        .skill-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), #ff3333);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .skill-card:hover::before {
            transform: scaleX(1);
        }

        .skill-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .skill-icon {
            font-size: 2.5rem;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 0, 0, 0.1);
            border-radius: 15px;
            border: 1px solid rgba(255, 0, 0, 0.3);
        }

        .skill-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .skill-desc {
            color: var(--text-gray);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .skill-tools {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tool-tag {
            background: rgba(255, 0, 0, 0.1);
            color: var(--primary);
            padding: 0.25rem 0.75rem;
            border-radius: 15px;
            font-size: 0.875rem;
            border: 1px solid rgba(255, 0, 0, 0.3);
        }

        /* ========== PROJECTS SECTION ========== */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 40px;
            max-width: 1400px;
            width: 100%;
            margin-top: 40px;
        }

        .project-card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 30px;
            transition: all 0.4s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .project-card:hover::before {
            left: 100%;
        }

        .project-card:hover {
            transform: translateY(-15px) rotateX(5deg);
            border-color: var(--primary);
            box-shadow: 0 30px 60px rgba(255, 0, 0, 0.4);
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .project-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .project-desc {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 20px;
            opacity: 0.9;
            color: var(--text-gray);
        }

        .project-tags {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .tag {
            background: rgba(255, 0, 0, 0.2);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            color: var(--primary);
            border: 1px solid rgba(255, 0, 0, 0.3);
        }

        .project-actions {
            display: flex;
            gap: 10px;
        }

        .btn-small {
            padding: 10px 20px;
            font-size: 0.9rem;
            border-radius: 20px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-view {
            background: var(--primary);
            color: var(--secondary);
            font-weight: 700;
        }

        .btn-view:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
        }

        .btn-rate {
            background: rgba(255, 255, 255, 0.1);
            color: var(--secondary);
            border: 1px solid var(--primary);
        }

        .btn-rate:hover {
            background: rgba(255, 0, 0, 0.2);
        }

        /* ========== UPCOMING PROJECTS SECTION ========== */
        .upcoming-section {
            max-width: 1200px;
            width: 100%;
        }

        .upcoming-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 60px;
            padding: 30px;
            background: var(--card-bg);
            border-radius: 20px;
            border: 1px solid rgba(255, 0, 0, 0.2);
        }

        .upcoming-intro h3 {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 15px;
        }

        .upcoming-intro p {
            color: var(--text-gray);
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .projects-announcements {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            width: 100%;
        }

        .announcement-card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 20px;
            padding: 30px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .announcement-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
        }

        .announcement-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), #ff3333);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .announcement-card:hover::before {
            transform: scaleX(1);
        }

        .announcement-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .announcement-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .announcement-status {
            background: rgba(255, 0, 0, 0.1);
            color: var(--primary);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(255, 0, 0, 0.3);
        }

        .announcement-description {
            color: var(--text-gray);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .announcement-features {
            margin-bottom: 20px;
        }

        .announcement-features h4 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .features-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 10px;
        }

        .feature-item {
            background: rgba(255, 0, 0, 0.1);
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 0.85rem;
            color: var(--primary);
            border: 1px solid rgba(255, 0, 0, 0.3);
        }

        .technologies {
            margin-bottom: 20px;
        }

        .technologies h4 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .tech-list {
            list-style: none;
        }

        .tech-list li {
            color: var(--text-gray);
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
        }

        .tech-list li:before {
            content: "•";
            color: var(--primary);
            position: absolute;
            left: 0;
        }

        /* ========== CONTACT SECTION ========== */
        .contact-section {
            min-height: auto;
            padding: 80px 20px;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            max-width: 1200px;
            width: 100%;
            margin-top: 40px;
        }

        .contact-card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 0, 0, 0.3);
            border-radius: 25px;
            padding: 40px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .contact-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 25px 50px rgba(255, 0, 0, 0.3);
        }

        .contact-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), #ff3333);
        }

        .contact-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .contact-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary), #ff3333);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: var(--secondary);
        }

        .contact-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            border-color: var(--primary);
            background: rgba(255, 0, 0, 0.1);
            transform: translateX(10px);
        }

        .item-icon {
            width: 50px;
            height: 50px;
            background: rgba(255, 0, 0, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--primary);
            border: 1px solid rgba(255, 0, 0, 0.3);
        }

        .item-details h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--text-light);
        }

        .item-details p {
            color: var(--text-gray);
            font-size: 0.95rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .social-link {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            text-decoration: none;
            font-size: 1.3rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: linear-gradient(135deg, var(--primary), #ff3333);
            color: var(--secondary);
            transform: translateY(-5px) rotate(5deg);
            box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
        }

        .contact-form {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 0, 0, 0.3);
            border-radius: 25px;
            padding: 40px;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--primary);
        }

        .form-input {
            width: 100%;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: var(--text-light);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
        }

        textarea.form-input {
            resize: vertical;
            min-height: 120px;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .header-nav {
                display: flex;
                position: static;
                background: transparent;
                flex-direction: row;
                padding: 0;
            }

            .nav {
                right: 20px;
            }
            
            .nav-link {
                padding: 0.3rem 0.6rem;
                font-size: 0.9rem;
            }

            .hero-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero-visual {
                height: 400px;
                order: -1;
            }
        }

        @media (max-width: 768px) {
            .header-nav {
                display: none;
            }
            
            .projects-grid,
            .projects-announcements {
                grid-template-columns: 1fr;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .hero-social-links {
                flex-direction: column;
            }

            .hero-social-link {
                width: 100%;
                justify-content: center;
            }

            .btn {
                width: 100%;
                max-width: 300px;
            }

            .skills-container {
                grid-template-columns: 1fr;
            }

            .contact-grid {
                grid-template-columns: 1fr;
            }
            
            .header {
                padding: 1rem;
            }

            .hero {
                padding: 100px 20px 60px;
            }

            .floating-element {
                transform: scale(0.9);
            }
        }

        @media (max-width: 480px) {
            .header {
                justify-content: center;
            }
            
            .logo {
                font-size: 1.5rem;
            }
            
            .nav {
                right: 10px;
            }

            .hero-visual {
                height: 300px;
            }

            .floating-element {
                padding: 15px;
                transform: scale(0.8);
            }

            .element-1, .element-2, .element-3 {
                position: relative;
                margin: 10px;
                top: auto;
                left: auto;
                right: auto;
                bottom: auto;
            }
        }

        /* ========== LOADING ========== */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        
        /* ========== 3D ROTATING GALLERY ========== */
.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 600px;
    perspective: 1000px;
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 20px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 0, 0, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--primary);
    transform: scale(1.1);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.8);
    transition: fill 0.3s ease;
}

.nav-btn:hover svg {
    fill: var(--primary);
}

.gallery-info {
    display: flex;
    gap: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.info-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-value {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    background: rgba(255, 0, 0, 0.1);
    padding: 5px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* 3D Carousel */
.carousel-3d {
    position: relative;
    height: 500px;
    perspective: 1500px;
    margin: 0 auto;
}

.carousel-track {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.carousel-item {
    position: absolute;
    width: 350px;
    height: 450px;
    left: 50%;
    top: 50%;
    margin-left: -175px;
    margin-top: -225px;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.5;
    filter: blur(2px);
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    filter: blur(0);
    z-index: 10;
    pointer-events: auto;
    transform: translateZ(200px) scale(1.1);
}

.carousel-item.prev-1 {
    opacity: 0.8;
    filter: blur(1px);
    transform: translateX(-350px) translateZ(100px) scale(0.9);
    pointer-events: auto;
}

.carousel-item.next-1 {
    opacity: 0.8;
    filter: blur(1px);
    transform: translateX(350px) translateZ(100px) scale(0.9);
    pointer-events: auto;
}

.carousel-item.prev-2 {
    opacity: 0.3;
    transform: translateX(-500px) translateZ(0) scale(0.8);
}

.carousel-item.next-2 {
    opacity: 0.3;
    transform: translateX(500px) translateZ(0) scale(0.8);
}

.carousel-item.prev-3,
.carousel-item.next-3 {
    opacity: 0;
    visibility: hidden;
}

.item-content {
    position: relative;
    width: 100%;
    min-height: 560px;   /* yahan se height control hogi */
    
    background: linear-gradient(
        145deg,
        rgba(30, 30, 30, 0.95) 0%,
        rgba(50, 0, 0, 0.9) 100%
    );
    
    border-radius: 25px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    box-sizing: border-box;
}


.item-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 0, 0, 0.2) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-item.active .item-glow {
    opacity: 0.5;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.item-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(
        45deg,
        var(--primary),
        #ff3333,
        var(--primary)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-item.active .item-border {
    opacity: 1;
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

/* Item Header */
.item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.item-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.2), 
        rgba(255, 51, 51, 0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.carousel-item.active .item-icon {
    background: linear-gradient(135deg, var(--primary), #ff3333);
    transform: rotate(10deg);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
    color: white;
}

.item-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Stats Ring */
.item-stats {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

.stat-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

/* Item Details */
.item-details {
    flex: 1;
}

.item-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    text-align: center;
}

.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    width: 120px;
}

.tech-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.tech-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--primary), 
        #ff3333);
    border-radius: 3px;
    position: relative;
    transition: width 1s ease;
}

.tech-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: techShine 2s linear infinite;
}

@keyframes techShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Item Footer */
.item-footer {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.exp-badge {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 8px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exp-years {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.exp-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation Dots */
.carousel-dots {
    position: absolute;
    bottom: -230px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 0, 0, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.dot.active::after {
    border-color: var(--primary);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

/* Drag Support */
.carousel-track {
    cursor: grab;
    user-select: none;
}

.carousel-track:active {
    cursor: grabbing;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carousel-item {
        width: 320px;
        height: 420px;
        margin-left: -160px;
        margin-top: -210px;
    }
    
    .carousel-item.prev-1 {
        transform: translateX(-300px) translateZ(100px) scale(0.9);
    }
    
    .carousel-item.next-1 {
        transform: translateX(300px) translateZ(100px) scale(0.9);
    }
    
    .carousel-item.prev-2 {
        transform: translateX(-450px) translateZ(0) scale(0.8);
    }
    
    .carousel-item.next-2 {
        transform: translateX(450px) translateZ(0) scale(0.8);
    }
}

@media (max-width: 768px) {
    .gallery-container {
        padding: 20px;
    }
    
    .gallery-controls {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .carousel-3d {
        height: 450px;
    }
    
    .carousel-item {
        width: 280px;
        height: 380px;
        margin-left: -140px;
        margin-top: -190px;
    }
    
    .carousel-item.active {
        transform: translateZ(150px) scale(1.1);
    }
    
    .carousel-item.prev-1 {
        transform: translateX(-250px) translateZ(80px) scale(0.9);
    }
    
    .carousel-item.next-1 {
        transform: translateX(250px) translateZ(80px) scale(0.9);
    }
    
    .item-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .item-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .item-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-3d {
        height: 400px;
    }
    
    .carousel-item {
        width: 250px;
        height: 340px;
        margin-left: -125px;
        margin-top: -170px;
        padding: 20px;
    }
    
    .tech-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .tech-bar {
        width: 100%;
    }
    
    .carousel-dots {
        bottom: -40px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* ========== PROJECT NOTIFICATION ========== */
.project-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 320px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(50, 0, 0, 0.9));
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    z-index: 9998;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3);
    animation: slideInRight 0.5s ease, fadeOut 0.5s ease 12s forwards;
    transform-origin: top right;
    overflow: hidden;
}

/* Red top border */
.project-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff3333);
    border-radius: 15px 15px 0 0;
}

/* Pulsing effect */
@keyframes notificationPulse {
    0% { box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3); }
    50% { box-shadow: 0 15px 40px rgba(255, 0, 0, 0.5); }
    100% { box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3); }
}

.project-notification {
    animation: slideInRight 0.5s ease, notificationPulse 2s infinite, fadeOut 0.5s ease 12s forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(400px) scale(0.8);
        opacity: 0;
    }
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.notification-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.notification-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.notification-icon {
    font-size: 2rem;
    text-align: center;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.notification-text h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.notification-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-btn {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), #ff3333);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notification-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.6s ease;
}

.notification-btn:hover::before {
    left: 100%;
}

.notification-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

/* Progress bar for countdown */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ff3333);
    width: 100%;
    transform-origin: left;
    animation: progressBar 15s linear forwards;
}

@keyframes progressBar {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-notification {
        top: 80px;
        right: 20px;
        left: 20px;
        width: auto;
        max-width: calc(100% - 40px);
        animation: slideInRightMobile 0.5s ease, fadeOutMobile 0.5s ease 12s forwards;
    }
    
    @keyframes slideInRightMobile {
        from {
            transform: translateY(-100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes fadeOutMobile {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(-100px);
            opacity: 0;
        }
    }
}

/* ========== HERO UPDATES ========== */
.hero-tagline {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tagline-item {
    background: rgba(255, 0, 0, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.highlight-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* ========== PROFESSIONAL ABOUT SECTION ========== */
.about-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.about-header h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-title {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 600;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-light);
}

.about-expertise {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .about-expertise {
        grid-template-columns: 1fr;
    }
}

.about-expertise h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    color: var(--text-gray);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.expertise-list li:before {
    content: "▶";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.about-cta {
    background: rgba(255, 0, 0, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    margin-top: 30px;
}

.about-cta p {
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    line-height: 1.7;
}

/* ========== UPDATED PROJECT CARDS ========== */
.project-problem,
.project-solution,
.project-tech {
    margin-bottom: 20px;
}

.project-problem h4,
.project-solution h4,
.project-tech h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.project-problem p,
.project-solution p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.project-tech h4 {
    margin-bottom: 12px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* ========== SKILL GALLERY UPDATES ========== */
/* Remove percentage display from skill gallery */
.ring-value {
    /* Remove the percentage text */
    content: " ";
    background: rgba(255, 0, 0, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

/* Optional: Add experience level text instead */
.ring-value::after {
    content: "Expert";
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* Adjust for different skill levels */
.carousel-item:nth-child(2) .ring-value::after {
    content: "Advanced";
}

.carousel-item:nth-child(3) .ring-value::after {
    content: "Expert";
}

.carousel-item:nth-child(4) .ring-value::after {
    content: "Advanced";
}

.carousel-item:nth-child(5) .ring-value::after {
    content: "Expert";
}

.carousel-item:nth-child(6) .ring-value::after {
    content: "Advanced";
}

/* ========== PROFESSIONAL CONTACT SECTION ========== */
.contact-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 25px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95), 
        rgba(40, 10, 10, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 25px;
    padding: 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(255, 0, 0, 0.3);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff3333);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #ff3333);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    flex: 1;
}

/* Contact Info Items */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateX(5px);
}

.item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    border: 1px solid rgba(255, 0, 0, 0.3);
    flex-shrink: 0;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.item-details p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 2px 0;
}

.contact-email {
    color: var(--primary) !important;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.contact-timezone {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-style: italic;
}

.copy-hint {
    display: inline-block;
    font-size: 0.75rem;
    color: rgba(255, 0, 0, 0.7);
    background: rgba(255, 0, 0, 0.1);
    padding: 3px 10px;
    border-radius: 10px;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover .copy-hint {
    opacity: 1;
}

/* Professional Networks */
.contact-networks {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-networks h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    position: relative;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), #ff3333);
    color: var(--secondary);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.social-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.social-link:hover .social-tooltip {
    opacity: 1;
}

/* Contact Form */
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 5px;
}

.label-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.required {
    color: #ff3333;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Form Actions */
.form-actions {
    margin-top: auto;
    padding-top: 25px;
}

#sendMessageBtn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-text {
    font-weight: 700;
    letter-spacing: 1px;
}

.form-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.form-note p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Response Timeline */
.contact-response {
    background: linear-gradient(145deg, 
        rgba(40, 20, 20, 0.95), 
        rgba(50, 10, 10, 0.9));
}

.response-timeline {
    margin: 25px 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 40px;
    bottom: -25px;
    width: 2px;
    background: rgba(255, 0, 0, 0.2);
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #ff3333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.timeline-content {
    flex: 1;
    padding-top: 10px;
}

.timeline-content h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Expertise Tags */
.contact-expertise {
    margin: 30px 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-expertise h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tag {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Contact CTA */
.contact-cta {
    margin-top: auto;
    padding: 25px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.contact-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card:last-child {
        grid-column: span 1;
    }
    
    .contact-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .contact-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .item-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .timeline-item:not(:last-child)::after {
        left: 22px;
        top: 45px;
        height: calc(100% + 15px);
    }
}

/* Scroll to form animation */
.scroll-to-form {
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-to-form:hover {
    transform: translateY(-2px);
}

/* Success/Error Messages */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid;
    backdrop-filter: blur(20px);
    z-index: 9999;
    animation: slideInRight 0.5s ease, fadeOut 0.5s ease 4s forwards;
    max-width: 300px;
}

.notification.success {
    border-color: rgba(0, 255, 0, 0.3);
    background: linear-gradient(145deg, rgba(30, 50, 30, 0.95), rgba(0, 50, 0, 0.9));
}

.notification.error {
    border-color: rgba(255, 0, 0, 0.3);
    background: linear-gradient(145deg, rgba(50, 30, 30, 0.95), rgba(50, 0, 0, 0.9));
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(400px) scale(0.8);
        opacity: 0;
    }
}
/* ========== UPDATED HERO SECTION ========== */
.hero-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hero-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff3333);
    border-radius: 2px;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.name-first {
    background: linear-gradient(135deg, var(--primary), #ff6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.name-last {
    color: var(--text-light);
    position: relative;
}

.name-last::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-profession {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.profession-icon {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 900;
}

.profession-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    flex: 1;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 30px 0;
    max-width: 800px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
    background: rgba(255, 0, 0, 0.05);
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-icon {
    font-size: 1.2rem;
}

/* ========== PROFESSIONAL ABOUT SECTION ========== */
.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* Left Column */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-card {
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95), 
        rgba(40, 10, 10, 0.9));
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
}

.about-card-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 800;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
}

.about-card-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
    letter-spacing: 1px;
}

/* About Divider */
.about-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 0, 0, 0.5), 
        transparent);
    margin: 20px 0;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    gap: 25px;
}

.expertise-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: rgba(255, 0, 0, 0.05);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateX(10px);
}

.expertise-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 0, 0, 0.3);
    flex-shrink: 0;
}

.expertise-content {
    flex: 1;
}

.expertise-content h4 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 700;
}

.expertise-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

/* Right Column - Skills Visualization */
.about-right {
    position: relative;
}

.skills-visual {
    position: sticky;
    top: 100px;
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95), 
        rgba(40, 10, 10, 0.9));
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.skills-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.skills-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.skills-header p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Skill Category */
.skill-category {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.category-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.category-title {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 700;
    flex: 1;
}

.category-level {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 0, 0, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.category-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Skill Progress */
.skill-progress-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-progress {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    align-items: center;
    gap: 15px;
}

.skill-name {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff3333);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skill-percent {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    font-family: 'Courier New', monospace;
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.tool-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateY(-5px);
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tool-name {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}
/* ========== PAGE LOADER ========== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #111111 50%, #1a0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

.loader-container {
    text-align: center;
    max-width: 800px;
    padding: 40px;
}

.loader-text {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.loader-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: charAppear 0.3s ease forwards;
}

.loader-text .char:nth-child(1) { animation-delay: 0.1s; }
.loader-text .char:nth-child(2) { animation-delay: 0.2s; }
.loader-text .char:nth-child(3) { animation-delay: 0.3s; }
.loader-text .char:nth-child(4) { animation-delay: 0.4s; }
.loader-text .char:nth-child(5) { animation-delay: 0.5s; }
.loader-text .char:nth-child(6) { animation-delay: 0.6s; }
.loader-text .char:nth-child(7) { animation-delay: 0.7s; }
.loader-text .char:nth-child(8) { animation-delay: 0.8s; }

@keyframes charAppear {
    to {
        opacity: 1;
        transform: translateY(0);
        color: var(--primary);
        text-shadow: 0 0 20px var(--primary);
    }
}

.loader-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 30px;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #ff3333);
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    30% { width: 30%; }
    70% { width: 70%; }
    100% { width: 100%; }
}

.loader-stats {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.loader-stats .stat:nth-child(1) { animation: statPulse 1s ease 0.5s forwards; opacity: 0; }
.loader-stats .stat:nth-child(2) { animation: statPulse 1s ease 1s forwards; opacity: 0; }
.loader-stats .stat:nth-child(3) { animation: statPulse 1s ease 1.5s forwards; opacity: 0; }

@keyframes statPulse {
    to {
        opacity: 1;
        color: var(--primary);
    }
}

/* ========== SCROLL ANIMATIONS ========== */
[data-animate] {
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========== GLITCH EFFECT ========== */
.glitch {
    position: relative;
    animation: glitch 0.3s linear;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
        opacity: 0.8;
    }
    40% {
        transform: translate(-2px, -2px);
        opacity: 0.6;
    }
    60% {
        transform: translate(2px, 2px);
        opacity: 0.8;
    }
    80% {
        transform: translate(2px, -2px);
        opacity: 0.6;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(255, 0, 0, 0.2);
}

.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--primary);
}

.cursor-trail {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: trailFade 1s ease-out forwards;
}

@keyframes trailFade {
    from {
        opacity: 0.8;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0);
    }
}

/* ========== PARTICLE SYSTEM ========== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ========== SECTION ENTRANCE ANIMATIONS ========== */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ff3333);
    animation: titleUnderline 1s ease 0.5s forwards;
}

@keyframes titleUnderline {
    to {
        width: 100%;
    }
}

/* ========== BUTTON ANIMATIONS ========== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* ========== CARD HOVER ANIMATIONS ========== */
.project-card, .skill-card, .contact-card {
    position: relative;
    overflow: hidden;
}

.project-card::before, .skill-card::before, .contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
}

.project-card:hover::before, .skill-card:hover::before, .contact-card:hover::before {
    left: 100%;
}

/* ========== TEXT GRADIENT ANIMATION ========== */
.gradient-text {
    background: linear-gradient(90deg, 
        var(--primary), 
        #ff6666, 
        var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    to {
        background-position: 200% center;
    }
}

/* ========== PULSE EFFECTS ========== */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: scale(1.1);
}

.scroll-indicator i {
    color: var(--primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ========== MOBILE OPTIMIZATIONS ========== */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    .cursor-trail {
        display: none;
    }
    
    .particles-container {
        display: none;
    }
}
