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

/* Variables */

:root {
    --primary-color: #0f0b1e;
    /* Dark purple background */
    --secondary-color: #00e5ff;
    /* Cyan accent */
    --tertiary-color: #ff00e1;
    /* Magenta accent */
    --quaternary-color: #654aff;
    /* Electric purple accent */
    --text-color: #ffffff;
    --dark-text: #000000;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #96a2bb;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
    --text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    --neon-glow: 0 0 10px rgba(0, 229, 255, 0.7), 0 0 20px rgba(0, 229, 255, 0.5), 0 0 30px rgba(0, 229, 255, 0.3);
    --magenta-glow: 0 0 10px rgba(255, 0, 225, 0.7), 0 0 20px rgba(255, 0, 225, 0.5), 0 0 30px rgba(255, 0, 225, 0.3);
    --purple-glow: 0 0 10px rgba(101, 74, 255, 0.7), 0 0 20px rgba(101, 74, 255, 0.5), 0 0 30px rgba(101, 74, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@font-face {
    font-family: 'CyberFont';
    src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #1a1333 50%, #291854 100%);
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Custom Cursor */

body {
    cursor: none;
}
   /* video css */
  #videoContainer {
    display: none;
    margin-top: 5px;
    text-align: center;
  }

  .video-wrapper {
    position: relative;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
  }

  .responsive-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }

  .play-pause-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .play-pause-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
  }


.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    mix-blend-mode: difference;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s ease;
    display: none;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--tertiary-color);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: 0.15s ease;
    display: none;
}

/* Preloader */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.preloader-content {
    text-align: center;
}

.logo-preloader {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    position: relative;
    display: inline-block;
}

.logo-preloader:before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--secondary-color);
    overflow: hidden;
    border-right: 2px solid var(--secondary-color);
    animation: typewriter 3s steps(12) infinite;
}

@keyframes typewriter {
    0%,
    100% {
        width: 0;
    }
    50% {
        width: 100%;
    }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loading-bar:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--tertiary-color));
    animation: loading 1.5s infinite;
    box-shadow: var(--neon-glow);
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

/* Particle Background */

.particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Header */

.header {
    background-color: rgba(15, 11, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.logo span {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    text-shadow: var(--neon-glow);
}

.logo span:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 10px;
    height: 10px;
    background: var(--tertiary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: var(--magenta-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 15px;
    margin: 0 5px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.nav-link:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Menu Toggle */

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 100;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Section */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 70px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://cdn.pixabay.com/photo/2022/07/13/21/57/editing-7320125_1280.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 11, 30, 0.9) 0%, rgba(42, 27, 80, 0.8) 100%);
    z-index: 1;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 2;
    padding-left: 40px;
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

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

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, var(--secondary-color), var(--quaternary-color), var(--tertiary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--secondary-color);
    left: 0;
    bottom: -10px;
    box-shadow: var(--neon-glow);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    color: var(--gray-color);
}

.hero-visual {
    width: 500px;
    height: 500px;
    position: relative;
    z-index: 2;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
    border: 2px solid rgba(0, 229, 255, 0.3);
}

.hero-visual:hover img {
    transform: perspective(1000px) rotateY(-5deg);
}

.glowing-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 74, 255, 0.3) 0%, rgba(15, 11, 30, 0) 70%);
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    animation: pulse-glow 4s infinite alternate;
    z-index: 1;
}

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

.btn-group {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 16px 35px;
    background: linear-gradient(45deg, var(--secondary-color), var(--quaternary-color));
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 16px;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
    border: none;
    cursor: pointer;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--quaternary-color), var(--tertiary-color));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease-out;
}

.btn:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3);
}

.btn:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.btn-outline:before {
    background: var(--secondary-color);
}

.btn-outline:hover {
    color: var(--dark-text);
}

/* Scroll Down */

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-down-text {
    color: var(--text-color);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.scroll-down-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-down-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

/* Services Section */

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.services .section-bg {
    background: url('https://cdn.pixabay.com/photo/2020/10/08/14/39/man-5638146_1280.jpg');
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--secondary-color), var(--quaternary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title p {
    color: var(--gray-color);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    left: 50%;
    bottom: -20px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    box-shadow: var(--neon-glow);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(25, 20, 41, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(101, 74, 255, 0.1);
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(101, 74, 255, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(101, 74, 255, 0.3);
}

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

.service-card:hover .service-icon {
    background: linear-gradient(45deg, var(--secondary-color), var(--quaternary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.2) rotate(10deg);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.service-card:hover .service-title::after {
    width: 60px;
}

.service-description {
    color: var(--gray-color);
    line-height: 1.7;
    transition: var(--transition);
}

/* Portfolio Section */
.portfolio {
    background-color: rgba(19, 14, 35, 0.9);
    position: relative;
    padding: 80px 0;
}

.portfolio .section-bg {
    background: url('https://cdn.pixabay.com/photo/2021/09/07/07/11/game-console-6603120_1280.jpg') center center / cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 10px;
    z-index: 2;
    position: relative;
}

.filter-item {
    padding: 10px 25px;
    background: rgba(25, 20, 41, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-color);
}

.filter-item.active,
.filter-item:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--quaternary-color));
    color: var(--dark-text);
    box-shadow: var(--neon-glow);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 300px;
    background: rgba(25, 20, 41, 0.7);
    backdrop-filter: blur(5px);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 11, 30, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 30px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.5) 0%, rgba(101, 74, 255, 0.5) 100%);
    backdrop-filter: blur(5px);
}

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

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
    font-weight: 700;
}

.portfolio-category {
    color: white;
    font-size: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-link {
    color: var(--dark-text);
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    background: var(--secondary-color);
    transition: all 0.4s ease 0.3s;
    transform: translateY(20px);
    opacity: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

.portfolio-link:hover {
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-category,
.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

/* About Section */

.about {
    position: relative;
}

.about .section-bg {
    background: url('https://cdn.pixabay.com/photo/2016/11/19/15/49/woman-1839998_1280.jpg');
    opacity: 0.05;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-img {
    position: relative;
    z-index: 1;
}

.about-img img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(10deg);
    transition: var(--transition);
    border: 2px solid rgba(0, 229, 255, 0.2);
}

.about-img:hover img {
    transform: perspective(1000px) rotateY(0);
}

.about-img::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    background: var(--quaternary-color);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    opacity: 0.2;
}

.about-img::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    bottom: -25px;
    right: -25px;
    box-shadow: var(--neon-glow);
    z-index: 3;
    animation: pulse 3s infinite;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, var(--secondary-color), var(--quaternary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 10px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    left: 0;
    bottom: 0;
    box-shadow: var(--neon-glow);
}

.about-text p {
    margin-bottom: 25px;
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.skills {
    margin-top: 40px;
}

.skill {
    margin-bottom: 30px;
    position: relative;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-name span:first-child {
    color: var(--text-color);
    font-weight: 600;
}

.skill-name span:last-child {
    color: var(--secondary-color);
    font-weight: 700;
}

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

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--quaternary-color));
    border-radius: 5px;
    position: relative;
    width: 0;
    transition: width 1.5s ease-out;
    box-shadow: var(--neon-glow);
}

.skill-progress::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient( 45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%);
    background-size: 15px 15px;
    animation: skillStripes 2s linear infinite;
}

@keyframes skillStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 0;
    }
}

/* Testimonials */

.testimonials {
    background-color: rgba(19, 14, 35, 0.9);
    position: relative;
}

.testimonials .section-bg {
    background: url('https://cdn.pixabay.com/photo/2023/01/01/18/34/abstract-7690589_1280.jpg');
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.testimonial {
    background: rgba(25, 20, 41, 0.5);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: left;
    position: relative;
    border: 1px solid rgba(101, 74, 255, 0.1);
    transition: var(--transition);
    flex: 1;
    min-width: 300px;
}

.testimonial::before {
    content: '"';
    font-size: 10rem;
    position: absolute;
    top: -20px;
    right: 30px;
    color: rgba(0, 229, 255, 0.1);
    font-family: serif;
    z-index: -1;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 229, 255, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--secondary-color);
    box-shadow: var(--neon-glow);
}

.client-info h4 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-color);
}

.client-name {
    font-weight: 700;
    color: var(--text-color);
}

.client-role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Contact Section */

.contact {
    position: relative;
}

.contact .section-bg {
    background: url('https://cdn.pixabay.com/photo/2020/10/05/06/42/woman-5628328_1280.jpg');
    opacity: 0.05;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding: 40px;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    display: inline-block;
    background: linear-gradient(to right, var(--secondary-color), var(--quaternary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 10px;
}

.contact-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    left: 0;
    bottom: 0;
    box-shadow: var(--neon-glow);
}

.contact-description {
    color: var(--gray-color);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(25, 20, 41, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    box-shadow: var(--neon-glow);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(45deg, var(--secondary-color), var(--quaternary-color));
    color: var(--dark-text);
}

.contact-text {
    color: var(--gray-color);
    line-height: 1.6;
}

.contact-text h4 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(25, 20, 41, 0.5);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(101, 74, 255, 0.1);
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid rgba(101, 74, 255, 0.1);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    box-shadow: var(--neon-glow);
}

.form-control::placeholder {
    color: var(--gray-color);
}

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

.form-control.error {
    border-color: #ff3860;
    box-shadow: 0 0 10px rgba(255, 56, 96, 0.5);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--quaternary-color));
    color: var(--dark-text);
    border: none;
    padding: 15px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--quaternary-color), var(--tertiary-color));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease-out;
}

.btn-submit:hover {
    color: white;
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3);
}

.btn-submit:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Footer */

.footer {
    background-color: rgba(13, 9, 25, 0.95);
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    top: 0;
    left: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    color: var(--text-color);
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    box-shadow: var(--neon-glow);
}

.footer-col p {
    margin-bottom: 20px;
    color: var(--gray-color);
    line-height: 1.8;
}

.social-links {
    display: flex;
    margin-top: 20px;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.2rem;
}

.social-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--quaternary-color));
    z-index: -1;
    transform: scale(0);
    transition: transform 0.5s ease-out;
    border-radius: 50%;
}

.social-link:hover {
    color: var(--dark-text);
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.social-link:hover:before {
    transform: scale(1);
}

.footer-menu {
    list-style: none;
}

.footer-link {
    color: var(--gray-color);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-link:before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.footer-contact {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-icon {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-contact-text {
    color: var(--gray-color);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.copyright {
    color: var(--gray-color);
    font-size: 0.9rem;
    position: relative;
    display: inline-block;
}

.copyright span {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Back to Top */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--secondary-color), var(--quaternary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark-text);
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    transform: translateY(20px);
    box-shadow: var(--neon-glow);
    cursor: pointer;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(45deg, var(--quaternary-color), var(--tertiary-color));
    transform: translateY(-5px);
}

/* Animations */

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

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Neon Text Effect */

.neon-text {
    color: var(--secondary-color);
    text-shadow: var(--neon-glow);
}

.magenta-text {
    color: var(--tertiary-color);
    text-shadow: var(--magenta-glow);
}

.purple-text {
    color: var(--quaternary-color);
    text-shadow: var(--purple-glow);
}

/* Scroll Reveal Animation */

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Progressive Loading Animation */

.loading-animation {
    width: 100%;
    height: 2px;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(to right, var(--secondary-color), var(--tertiary-color));
    z-index: 9999;
}

/* Responsive Design */

@media screen and (max-width: 1200px) {
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin-bottom: 50px;
        padding: 0;
        text-align: center;
    }
    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-item {
        grid-column: span 1 !important;
        height: 300px !important;
    }
    .portfolio-item:nth-child(1) {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }
    .about-content,
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    .section-title h2 {
        font-size: 2.5rem;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(15, 11, 30, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 0;
        transition: var(--transition);
        z-index: 99;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-link {
        padding: 15px;
        margin: 10px 0;
        font-size: 1.2rem;
    }
    .services-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .testimonial-slider {
        flex-wrap: wrap;
    }
    .testimonial {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .btn-group {
        flex-direction: column;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item:nth-child(1) {
        grid-column: span 1 !important;
    }
    .about-text h3 {
        font-size: 2rem;
    }
    .contact-form {
        padding: 30px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Animations Added to the Page */

.hero-content {
    animation: fadeInLeft 1.2s ease;
}

.hero-visual {
    animation: fadeInRight 1.2s ease;
}

.section-title {
    animation: fadeInDown 1s ease;
} 



