        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #000;
            color: #fff;
            overflow-x: hidden;
            cursor: none;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            width: 100%;
            max-width: 100vw;
        }
        
        /* Prevent layout shift during loading */
        body.loading {
            overflow: hidden;
        }
        
        /* Prevent horizontal scroll on mobile */
        html {
            overflow-x: hidden;
            width: 100%;
        }
        
        * {
            box-sizing: border-box;
        }

        /* ===== Page Loader ===== */
        .page-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #000000 0%, #1a0033 50%, #000d1a 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                        visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            transform: scale(1);
        }

        .page-loader.hidden {
            opacity: 0;
            visibility: hidden;
            transform: scale(1.1);
            pointer-events: none;
        }

        .loader-content {
            text-align: center;
            position: relative;
            z-index: 1;
            will-change: transform, opacity;
        }

        .loader-logo {
            font-size: 64px;
            font-weight: 900;
            background: linear-gradient(45deg, #00f7ff, #ff00ff, #00f7ff);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shine 3s linear infinite, pulse-scale 2s ease-in-out infinite;
            filter: drop-shadow(0 0 30px rgba(0, 247, 255, 0.7));
            letter-spacing: 8px;
            margin-bottom: 40px;
        }

        @keyframes pulse-scale {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .loader-spinner {
            position: relative;
            width: 120px;
            height: 120px;
            margin: 0 auto 30px;
        }

        .spinner-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 3px solid transparent;
            animation: spin 2s linear infinite;
        }

        .spinner-ring:nth-child(1) {
            border-top-color: #00f7ff;
            border-right-color: #00f7ff;
            animation-duration: 1.5s;
            box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
        }

        .spinner-ring:nth-child(2) {
            border-bottom-color: #ff00ff;
            border-left-color: #ff00ff;
            animation-duration: 2s;
            animation-direction: reverse;
            box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
        }

        .spinner-ring:nth-child(3) {
            width: 80%;
            height: 80%;
            top: 10%;
            left: 10%;
            border-top-color: #00f7ff;
            border-bottom-color: #ff00ff;
            animation-duration: 2.5s;
            box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
        }

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

        .loader-text {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            letter-spacing: 3px;
            margin-bottom: 30px;
            animation: fade-pulse 2s ease-in-out infinite;
        }

        @keyframes fade-pulse {
            0%, 100% {
                opacity: 0.5;
            }
            50% {
                opacity: 1;
            }
        }

        .loader-progress {
            width: 300px;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
            margin: 0 auto;
            position: relative;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #00f7ff, #ff00ff, #00f7ff);
            background-size: 200% auto;
            border-radius: 10px;
            animation: shine 2s linear infinite;
            box-shadow: 0 0 20px rgba(0, 247, 255, 0.6);
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: width;
        }

        /* Loader Background Effects */
        .page-loader::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(0, 247, 255, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 3s ease-in-out infinite;
        }

        .page-loader::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 3s ease-in-out infinite reverse;
        }

        /* Responsive Loader */
        @media (max-width: 768px) {
            .loader-logo {
                font-size: 48px;
                letter-spacing: 5px;
            }

            .loader-spinner {
                width: 100px;
                height: 100px;
            }

            .loader-text {
                font-size: 16px;
                letter-spacing: 2px;
            }

            .loader-progress {
                width: 250px;
            }
        }

        @media (max-width: 480px) {
            .loader-logo {
                font-size: 40px;
                letter-spacing: 3px;
            }

            .loader-spinner {
                width: 80px;
                height: 80px;
            }

            .loader-text {
                font-size: 14px;
                letter-spacing: 1px;
            }

            .loader-progress {
                width: 200px;
            }
        }

        /* Custom Cursor */
        .cursor {
            width: 20px;
            height: 20px;
            border: 2px solid #00f7ff;
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 9999;
            transition: all 0.1s ease;
            transform: translate(-50%, -50%);
        }

        .cursor-follower {
            width: 40px;
            height: 40px;
            border: 1px solid rgba(0, 247, 255, 0.3);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 9998;
            transition: all 0.3s ease;
            transform: translate(-50%, -50%);
        }

        /* Animated Background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #000000, #1a0033, #000d1a, #001a33, #1a0033);
            background-size: 400% 400%;
            animation: gradientShift 20s ease infinite;
            z-index: -2;
        }

        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* Matrix Rain Effect */
        .matrix {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.15;
        }

        /* Particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: #fff;
            border-radius: 50%;
            animation: float 20s infinite;
            box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) translateX(0) scale(1);
                opacity: 0.3;
            }

            25% {
                transform: translateY(-150px) translateX(100px) scale(1.5);
                opacity: 0.6;
            }

            50% {
                transform: translateY(-300px) translateX(-100px) scale(1);
                opacity: 0.3;
            }

            75% {
                transform: translateY(-150px) translateX(150px) scale(2);
                opacity: 0.8;
            }
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 25px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 247, 255, 0.2);
            transition: all 0.3s;
        }

        nav.scrolled {
            padding: 15px 50px;
            background: rgba(0, 0, 0, 0.95);
            box-shadow: 0 10px 40px rgba(0, 247, 255, 0.1);
        }

        .logo {
            font-size: 32px;
            font-weight: bold;
            background: linear-gradient(45deg, #00f7ff, #ff00ff, #00f7ff);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shine 3s linear infinite;
            filter: drop-shadow(0 0 20px rgba(0, 247, 255, 0.5));
            letter-spacing: 3px;
        }

        @keyframes shine {
            to {
                background-position: 200% center;
            }
        }

        .nav-links {
            display: flex;
            gap: 40px;
        }

        .nav-links a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            transition: all 0.3s;
            position: relative;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 500;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: -5px;
            left: -5px;
            right: -5px;
            bottom: -5px;
            background: linear-gradient(45deg, #00f7ff, #ff00ff);
            border-radius: 5px;
            opacity: 0;
            z-index: -1;
            transition: opacity 0.3s;
            filter: blur(10px);
        }

        .nav-links a:hover::before {
            opacity: 0.5;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #00f7ff, #ff00ff);
            transition: width 0.3s;
            box-shadow: 0 0 10px #00f7ff;
        }

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

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(0, 247, 255, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.5;
            }

            50% {
                transform: scale(1.2);
                opacity: 0.8;
            }
        }

        .glitch-wrapper {
            position: relative;
        }

        .hero h1 {
            font-size: 100px;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #00f7ff, #ff00ff, #00f7ff);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shine 3s linear infinite;
            filter: drop-shadow(0 0 30px rgba(0, 247, 255, 0.7));
            letter-spacing: 10px;
            font-weight: 900;
            position: relative;
            z-index: 1;
        }

        .hero h1::before,
        .hero h1::after {
            content: 'ALSRKAL';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #00f7ff, #ff00ff, #00f7ff);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero h1::before {
            animation: glitch1 2s infinite;
            clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        }

        .hero h1::after {
            animation: glitch2 2s infinite;
            clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        }

        @keyframes glitch1 {

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

            33% {
                transform: translate(-5px, 2px);
            }

            66% {
                transform: translate(5px, -2px);
            }
        }

        @keyframes glitch2 {

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

            33% {
                transform: translate(5px, -2px);
            }

            66% {
                transform: translate(-5px, 2px);
            }
        }

        .hero h2 {
            font-size: 36px;
            color: #888;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease 0.5s both;
            letter-spacing: 3px;
            position: relative;
            z-index: 1;
        }

        .typing-text {
            overflow: hidden;
            border-right: 3px solid #00f7ff;
            white-space: nowrap;
            animation: typing 3.5s steps(40, end), blink 0.75s step-end infinite;
        }

        @keyframes typing {
            from {
                width: 0;
            }

            to {
                width: 100%;
            }
        }

        @keyframes blink {
            50% {
                border-color: transparent;
            }
        }

        .hero p {
            font-size: 20px;
            max-width: 700px;
            line-height: 1.8;
            color: #bbb;
            animation: fadeInUp 1s ease 1s both;
            position: relative;
            z-index: 1;
        }

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

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

        .hero-buttons {
            display: flex;
            gap: 20px;
            margin-top: 50px;
            animation: fadeInUp 1s ease 1.5s both;
            position: relative;
            z-index: 1;
        }

        .cta-button {
            padding: 18px 45px;
            font-size: 18px;
            background: linear-gradient(45deg, #00f7ff, #ff00ff);
            border: none;
            border-radius: 50px;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .cta-button:hover::before {
            width: 400px;
            height: 400px;
        }

        .cta-button:hover {
            transform: scale(1.1);
            box-shadow: 0 0 50px rgba(0, 247, 255, 0.8);
        }

        .cta-button-secondary {
            background: transparent;
            border: 2px solid #00f7ff;
            box-shadow: inset 0 0 20px rgba(0, 247, 255, 0.2);
        }

        .cta-button-secondary:hover {
            background: rgba(0, 247, 255, 0.1);
            box-shadow: 0 0 50px rgba(0, 247, 255, 0.6);
        }

        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }

        .scroll-indicator::before {
            content: '';
            width: 2px;
            height: 60px;
            background: linear-gradient(transparent, #00f7ff);
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            animation: scroll 2s infinite;
        }

        @keyframes bounce {

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

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

        @keyframes scroll {
            0% {
                height: 0;
            }

            50% {
                height: 60px;
            }

            100% {
                height: 0;
            }
        }

        /* Skills Section */
        .skills {
            padding: 120px 50px;
            position: relative;
        }

        .skills::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 50%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
        }

        .section-title {
            font-size: 56px;
            text-align: center;
            margin-bottom: 80px;
            background: linear-gradient(45deg, #00f7ff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
            letter-spacing: 5px;
            font-weight: 900;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, transparent, #00f7ff, #ff00ff, transparent);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .skill-card {
            background: rgba(255, 255, 255, 0.03);
            padding: 50px 35px;
            border-radius: 25px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .skill-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 247, 255, 0.1), rgba(255, 0, 255, 0.1));
            opacity: 0;
            transition: opacity 0.4s;
        }

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

        .skill-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 30px 80px rgba(0, 247, 255, 0.4);
            border-color: #00f7ff;
        }

        .skill-icon {
            font-size: 48px;
            margin-bottom: 25px;
            background: linear-gradient(45deg, #00f7ff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.5));
        }

        .skill-card h3 {
            font-size: 26px;
            margin-bottom: 20px;
            color: #00f7ff;
            position: relative;
            z-index: 1;
            letter-spacing: 2px;
        }

        .skill-card p {
            color: #aaa;
            line-height: 1.8;
            position: relative;
            z-index: 1;
            font-size: 15px;
        }

        .skill-bar {
            margin-top: 20px;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, #00f7ff, #ff00ff);
            border-radius: 10px;
            transition: width 1.5s ease;
            box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
        }

        /* Projects Section */
        .projects {
            padding: 120px 50px;
            background: rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .projects::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 80% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .project-card {
            background: linear-gradient(135deg, rgba(0, 247, 255, 0.05), rgba(255, 0, 255, 0.05));
            padding: 0;
            border-radius: 25px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            overflow: hidden;
            position: relative;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: -100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, transparent, rgba(0, 247, 255, 0.2));
            transition: top 0.4s;
        }

        .project-card:hover::before {
            top: 0;
        }

        .project-card:hover {
            transform: translateY(-20px) scale(1.03);
            box-shadow: 0 30px 80px rgba(255, 0, 255, 0.5);
            border-color: #ff00ff;
        }

        .project-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #00f7ff, #ff00ff);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 64px;
            color: rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            max-width: 100%;
        }

        .project-image::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.6s;
        }

        .project-card:hover .project-image::after {
            transform: translate(-50%, -50%) scale(1);
        }

        .project-content {
            padding: 35px;
            position: relative;
            z-index: 1;
        }

        .project-card h3 {
            font-size: 26px;
            margin-bottom: 15px;
            color: #ff00ff;
            letter-spacing: 2px;
        }

        .project-card p {
            color: #aaa;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .project-description {
            transition: all 0.4s ease;
        }

        .project-description.expanded {
            animation: expandText 0.4s ease;
        }

        @keyframes expandText {
            from {
                opacity: 0.7;
                transform: translateY(-5px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .read-more-btn:hover {
            color: #ff00ff !important;
            transform: translateX(3px);
        }

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

        .tag {
            padding: 6px 15px;
            background: rgba(0, 247, 255, 0.1);
            border: 1px solid rgba(0, 247, 255, 0.3);
            border-radius: 20px;
            font-size: 12px;
            color: #00f7ff;
            letter-spacing: 1px;
        }

        /* Stats Section */
        .stats {
            padding: 100px 50px;
            text-align: center;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 50px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .stat-item {
            position: relative;
        }

        .stat-number {
            font-size: 56px;
            font-weight: 900;
            background: linear-gradient(45deg, #00f7ff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 18px;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* Contact Section */
        .contact {
            padding: 120px 50px;
            text-align: center;
            position: relative;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(0, 247, 255, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 4s ease-in-out infinite;
        }

        .contact h2 {
            font-size: 56px;
            margin-bottom: 30px;
            background: linear-gradient(45deg, #00f7ff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
            z-index: 1;
            letter-spacing: 3px;
        }

        .contact p {
            font-size: 22px;
            color: #aaa;
            margin-bottom: 60px;
            position: relative;
            z-index: 1;
        }

        .social-links {
            display: flex;
            gap: 30px;
            justify-content: center;
            position: relative;
            z-index: 1;
        }

        .social-links a {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(45deg, rgba(0, 247, 255, 0.1), rgba(255, 0, 255, 0.1));
            border: 2px solid rgba(0, 247, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #00f7ff;
            font-size: 26px;
            font-weight: bold;
            transition: all 0.4s;
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        .social-links a::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: linear-gradient(45deg, #00f7ff, #ff00ff);
            transform: translate(-50%, -50%);
            transition: width 0.4s, height 0.4s;
        }

        .social-links a:hover::before {
            width: 100%;
            height: 100%;
        }

        .social-links a:hover {
            transform: scale(1.2) rotate(360deg);
            box-shadow: 0 0 50px rgba(0, 247, 255, 0.8);
            border-color: #00f7ff;
        }

        .social-links a span {
            position: relative;
            z-index: 1;
        }

        /* Social Media Bar */
        .social-media-bar {
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 40px;
            position: relative;
            z-index: 1;
        }

        .social-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .social-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            transform: translate(-50%, -50%);
            transition: width 0.4s, height 0.4s;
        }

        .social-btn:hover::before {
            width: 100%;
            height: 100%;
        }

        .social-btn:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 30px rgba(0, 247, 255, 0.4);
        }

        .social-btn svg {
            position: relative;
            z-index: 1;
            transition: all 0.3s;
        }

        .social-btn:hover svg {
            transform: scale(1.1);
            filter: drop-shadow(0 0 10px currentColor);
        }

        /* Footer */
        footer {
            padding: 40px;
            text-align: center;
            background: rgba(0, 0, 0, 0.9);
            border-top: 1px solid rgba(0, 247, 255, 0.2);
            color: #666;
            position: relative;
            width: 100%;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, #00f7ff, #ff00ff, transparent);
        }

        footer p {
            letter-spacing: 2px;
            font-size: 14px;
        }

        /* Mobile Menu */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 1001;
        }

        .menu-toggle span {
            width: 30px;
            height: 3px;
            background: linear-gradient(90deg, #00f7ff, #ff00ff);
            border-radius: 3px;
            transition: all 0.3s;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .hero h1 {
                font-size: 80px;
            }

            .section-title {
                font-size: 48px;
            }

            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
            
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
            
            .stats-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 30px;
            }
        }

        @media (max-width: 992px) {
            .hero h1 {
                font-size: 70px;
                letter-spacing: 6px;
            }

            .hero h2 {
                font-size: 26px;
            }

            .hero p {
                font-size: 18px;
                max-width: 600px;
            }

            .section-title {
                font-size: 42px;
            }

            .skills,
            .projects,
            .contact {
                padding: 80px 30px;
            }

            .stats {
                padding: 80px 30px;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }
            
            .skills-grid,
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 15px 20px;
            }

            nav.scrolled {
                padding: 12px 20px;
            }

            .logo {
                font-size: 24px;
                letter-spacing: 2px;
            }

            .menu-toggle {
                display: flex;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                background: rgba(0, 0, 0, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 40px;
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                border-left: 1px solid rgba(0, 247, 255, 0.2);
            }

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

            .nav-links a {
                font-size: 24px;
                opacity: 0;
                transform: translateX(50px);
                transition: all 0.3s;
            }

            .nav-links.active a {
                opacity: 1;
                transform: translateX(0);
            }

            .nav-links.active a:nth-child(1) {
                transition-delay: 0.1s;
            }

            .nav-links.active a:nth-child(2) {
                transition-delay: 0.2s;
            }

            .nav-links.active a:nth-child(3) {
                transition-delay: 0.3s;
            }

            .nav-links.active a:nth-child(4) {
                transition-delay: 0.4s;
            }

            .hero {
                padding: 0 20px;
                height: auto;
                min-height: 100vh;
                padding-top: 100px;
                padding-bottom: 60px;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

            .hero h1 {
                font-size: 42px;
                letter-spacing: 4px;
                margin-bottom: 20px;
                line-height: 1.2;
                word-break: break-word;
            }

            .hero h1::before,
            .hero h1::after {
                content: 'ALSRKAL';
            }

            .hero h2 {
                font-size: 18px;
                letter-spacing: 2px;
                margin-bottom: 25px;
            }
            
            /* Disable typing animation on mobile */
            .hero .typing-text {
                white-space: normal;
                overflow: visible;
                border-right: none;
                animation: none;
                width: auto;
            }

            .hero p {
                font-size: 15px;
                line-height: 1.7;
                max-width: 100%;
                margin-bottom: 30px;
                text-align: center;
            }

            .hero-buttons {
                flex-direction: column;
                width: 100%;
                max-width: 100%;
                margin-top: 30px;
                gap: 15px;
            }

            .cta-button {
                width: 100%;
                padding: 16px 30px;
                font-size: 15px;
                white-space: nowrap;
            }

            .section-title {
                font-size: 36px;
                letter-spacing: 3px;
                margin-bottom: 50px;
            }

            .skills,
            .projects,
            .contact {
                padding: 60px 20px;
            }

            .stats {
                padding: 60px 20px;
            }

            .skills-grid,
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .skill-card {
                padding: 35px 25px;
            }

            .skill-icon {
                font-size: 40px;
            }

            .skill-card h3 {
                font-size: 22px;
                letter-spacing: 1px;
            }

            .skill-card p {
                font-size: 14px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }

            .stat-number {
                font-size: 42px;
            }

            .stat-label {
                font-size: 14px;
            }

            .project-card {
                border-radius: 20px;
            }

            .project-image {
                height: 180px;
                font-size: 56px;
            }

            .project-content {
                padding: 25px;
            }

            .project-card h3 {
                font-size: 22px;
                letter-spacing: 1px;
            }

            .project-card p {
                font-size: 14px;
            }

            .contact h2 {
                font-size: 36px;
                letter-spacing: 2px;
            }

            .contact p {
                font-size: 16px;
                padding: 0 10px;
            }

            .social-links {
                flex-wrap: wrap;
                gap: 20px;
            }

            .social-links a {
                width: 60px;
                height: 60px;
                font-size: 22px;
            }

            .scroll-indicator {
                display: none;
            }

            .cursor,
            .cursor-follower {
                display: none;
            }

            body {
                cursor: auto;
            }
        }

        @media (max-width: 480px) {
            .nav-links {
                width: 85%;
            }

            .hero {
                padding: 0 15px;
                padding-top: 90px;
            }

            .hero h1 {
                font-size: 36px;
                letter-spacing: 2px;
                margin-bottom: 18px;
            }

            .hero h2 {
                font-size: 16px;
                letter-spacing: 1px;
                margin-bottom: 20px;
            }
            
            .hero .typing-text {
                font-size: 16px;
            }

            .hero p {
                font-size: 14px;
                line-height: 1.6;
                margin-bottom: 25px;
            }

            .cta-button {
                padding: 14px 25px;
                font-size: 14px;
            }

            .section-title {
                font-size: 28px;
                letter-spacing: 2px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 35px;
            }

            .stat-number {
                font-size: 48px;
            }

            .skill-card {
                padding: 30px 20px;
                border-radius: 20px;
            }

            .project-card {
                border-radius: 15px;
            }

            .project-content {
                padding: 20px;
            }

            .project-tags {
                gap: 8px;
            }

            .tag {
                font-size: 11px;
                padding: 5px 12px;
            }

            .contact h2 {
                font-size: 28px;
            }

            .contact p {
                font-size: 15px;
            }

            .social-links {
                gap: 15px;
            }

            .social-links a {
                width: 55px;
                height: 55px;
                font-size: 20px;
            }

            .social-media-bar {
                gap: 10px;
                padding: 15px 10px;
                border-radius: 40px;
                justify-content: center;
                flex-wrap: wrap;
                max-width: 100%;
            }

            .social-btn {
                width: 48px;
                height: 48px;
                flex-shrink: 0;
            }

            .social-btn svg {
                width: 20px;
                height: 20px;
            }

            footer p {
                font-size: 12px;
            }
        }

        @media (max-width: 360px) {
            .hero {
                padding: 0 12px;
                padding-top: 80px;
            }

            .hero h1 {
                font-size: 32px;
                letter-spacing: 1px;
            }

            .hero h2 {
                font-size: 15px;
            }
            
            .hero .typing-text {
                font-size: 15px;
            }

            .hero p {
                font-size: 13px;
            }

            .section-title {
                font-size: 26px;
            }

            .skill-card h3,
            .project-card h3 {
                font-size: 20px;
            }

            .social-media-bar {
                gap: 12px;
                padding: 12px;
                flex-wrap: wrap;
            }

            .social-btn {
                width: 50px;
                height: 50px;
            }

            .social-btn svg {
                width: 22px;
                height: 22px;
            }
        }
    

/*
 Contact Form */
.contact-form-container {
    max-width: 700px;
    margin: 60px auto 0;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 247, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 247, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00f7ff;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

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

.contact-form .cta-button {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: none;
    animation: slideDown 0.4s ease;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    color: #10b981;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
    color: #ef4444;
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form-container {
        margin-top: 40px;
        padding: 0 10px;
        max-width: 100%;
    }
    
    .contact-form {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .contact-form .cta-button {
        padding: 14px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* ===== Footer Styles ===== */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 50%, #000d1a 100%);
    color: #fff;
    padding: 80px 20px 30px;
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(0, 247, 255, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00f7ff, #ff00ff, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section {
    animation: fadeInUp 0.8s ease;
}

.footer-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #00f7ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 247, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f7ff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f7ff, #ff00ff);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.footer-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: #00f7ff;
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.4);
    color: #fff;
}

.footer-social-link:hover::before {
    width: 100%;
    height: 100%;
}

.footer-heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00f7ff, #ff00ff);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #00f7ff;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00f7ff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(-3px);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact svg {
    color: #00f7ff;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #00f7ff;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.3), transparent);
    margin: 40px 0 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-made-with {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-made-with .heart {
    color: #ff00ff;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

.footer-made-with .code {
    color: #00f7ff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-title {
        font-size: 28px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

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

@media (max-width: 480px) {
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-heading {
        font-size: 18px;
    }

    .footer-social-link {
        width: 40px;
        height: 40px;
    }
}

/* ===== Profile Image Styles ===== */
.profile-image-container {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease;
}

.profile-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

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

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(#000, #000) padding-box,
                linear-gradient(135deg, #00f7ff, #ff00ff) border-box;
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.4),
                0 0 80px rgba(255, 0, 255, 0.3),
                inset 0 0 20px rgba(0, 247, 255, 0.1);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(0, 247, 255, 0.6),
                0 0 100px rgba(255, 0, 255, 0.5),
                inset 0 0 30px rgba(0, 247, 255, 0.2);
}

.profile-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: linear-gradient(135deg, #00f7ff, #ff00ff);
    opacity: 0.3;
    filter: blur(30px);
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: 1;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Profile Image */
@media (max-width: 768px) {
    .profile-image-container {
        margin-bottom: 30px;
    }

    .profile-image-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .profile-image-glow {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .profile-image-container {
        margin-bottom: 25px;
    }

    .profile-image-wrapper {
        width: 110px;
        height: 110px;
    }
    
    .profile-image-glow {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 360px) {
    .profile-image-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .profile-image-glow {
        width: 120px;
        height: 120px;
    }
}

/* ===== Enhanced Contact Form Styles ===== */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(0, 247, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.05), rgba(255, 0, 255, 0.05));
    pointer-events: none;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #00f7ff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 247, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00f7ff;
    background: rgba(0, 247, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

.field-error {
    display: block;
    color: #ff4757;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.field-error.show {
    opacity: 1;
    transform: translateY(0);
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
}

.char-counter.warning {
    color: #ffa502;
}

.char-counter.error {
    color: #ff4757;
}

/* Form Status */
.form-status {
    margin: 25px 0;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: slideIn 0.5s ease;
    backdrop-filter: blur(10px);
}

.form-status.success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.form-status.warning {
    background: rgba(255, 165, 2, 0.1);
    border: 1px solid rgba(255, 165, 2, 0.3);
    color: #ffa502;
}

.form-status.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.form-status.info {
    background: rgba(0, 247, 255, 0.1);
    border: 1px solid rgba(0, 247, 255, 0.3);
    color: #00f7ff;
}

.status-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.status-content {
    flex: 1;
}

.status-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: inherit;
}

.status-message {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: inherit;
}

.status-message strong {
    font-weight: 600;
}

.status-details {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.5;
    color: inherit;
}

.status-details a {
    color: #00f7ff;
    text-decoration: none;
    font-weight: 500;
}

.status-details a:hover {
    text-decoration: underline;
}

/* Enhanced Submit Button */
#submitBtn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #00f7ff, #ff00ff);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 20px;
}

#submitBtn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 247, 255, 0.4);
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 18px;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Form Tips */
.form-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 247, 255, 0.2);
}

.tip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.tip-icon {
    font-size: 16px;
}

/* Legacy form message (hidden by default) */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.form-message.success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.form-message.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-tips {
        flex-direction: column;
        gap: 15px;
    }
    
    #submitBtn {
        padding: 16px 25px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        margin: 15px;
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    #submitBtn {
        padding: 14px 20px;
        font-size: 14px;
    }
}