/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #00e5ff;
    --secondary-color: #6a00ff;
    --dark-color: #0a0a14;
    --light-color: #f8f9fa;
    --text-color: #e0e0e0;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(45deg, #00e5ff, #6a00ff);
    --gradient-2: linear-gradient(135deg, #6a00ff, #00e5ff);
    --transition: all 0.3s ease;
    --glow-shadow: 0 0 10px rgba(0, 229, 255, 0.5), 0 0 20px rgba(0, 229, 255, 0.3);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto 30px;
    border-radius: 2px;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--gradient-2);
    left: 20px;
    animation: divider-animation 2s infinite;
    border-radius: 2px;
}

@keyframes divider-animation {
    0% {
        left: 0;
        width: 0;
    }
    50% {
        left: 0;
        width: 80px;
    }
    100% {
        left: 80px;
        width: 0;
    }
}

.btn {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(106, 0, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(106, 0, 255, 0.6);
    transform: translateY(-3px);
}

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

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    display: flex;
    align-items: center;
}

.loader .circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 10px;
    background: var(--primary-color);
    animation: loader 1.5s ease-in-out infinite;
}

.loader .circle:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--secondary-color);
}

.loader .circle:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--primary-color);
}

@keyframes loader {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px);
        opacity: 0.5;
    }
}

/* ===== PARTICLE BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* ===== FUTURISTIC HEADER ===== */
.futuristic-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.futuristic-header.scrolled {
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Styles */
.logo-container {
    position: relative;
    z-index: 2;
}

.logo-glitch {
    position: relative;
    display: inline-block;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 3px;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.logo-glitch::before,
.logo-glitch::after {
    content: 'PORTFOLIOX';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 3px;
    opacity: 0.8;
    z-index: 1;
}

.logo-glitch::before {
    color: var(--primary-color);
    animation: glitch-1 2s infinite linear alternate-reverse;
    left: 2px;
    text-shadow: -2px 0 var(--primary-color);
}

.logo-glitch::after {
    color: var(--secondary-color);
    animation: glitch-2 3s infinite linear alternate-reverse;
    left: -2px;
    text-shadow: 2px 0 var(--secondary-color);
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-1);
    filter: blur(5px);
    opacity: 0.7;
    animation: logo-glow-animation 3s infinite alternate;
}

@keyframes logo-glow-animation {
    0% {
        width: 0;
        left: 0;
        opacity: 0.3;
    }
    100% {
        width: 100%;
        left: 0;
        opacity: 0.7;
    }
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    z-index: 10;
    cursor: pointer;
}

.menu-icon {
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 10px;
    width: 75%;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active .menu-icon span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

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

.menu-toggle.active .menu-icon span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Nav Links */
.nav-links {
    position: relative;
    z-index: 2;
}

.nav-backdrop {
    position: absolute;
    top: -20px;
    right: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 40px);
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.futuristic-header.scrolled .nav-backdrop {
    opacity: 1;
    transform: scale(1);
}

.nav-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-links .nav-item a {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    letter-spacing: 1px;
}

.nav-links .nav-item::before {
    content: attr(data-text);
    position: absolute;
    top: 10px;
    left: 15px;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    letter-spacing: 1px;
    filter: blur(8px);
    z-index: 1;
    transition: var(--transition);
    pointer-events: none;
}

.nav-links .nav-item:hover::before,
.nav-links .nav-item.active::before {
    opacity: 0.5;
    filter: blur(4px);
}

.nav-links .nav-item:hover a,
.nav-links .nav-item.active a {
    color: white;
    transform: translateY(-2px);
}

.nav-item-glow {
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
    opacity: 0;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-links .nav-item:hover .nav-item-glow,
.nav-links .nav-item.active .nav-item-glow {
    width: calc(100% - 30px);
    opacity: 1;
}

/* Header Particles */
.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.header-particles .particle {
    position: absolute;
    background: var(--gradient-1);
    border-radius: 50%;
    filter: blur(5px);
    opacity: 0.5;
    animation: header-particle-float 15s infinite ease-in-out;
}

.header-particles .particle-1 {
    width: 15px;
    height: 15px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.header-particles .particle-2 {
    width: 10px;
    height: 10px;
    top: 60%;
    left: 50%;
    animation-delay: 5s;
}

.header-particles .particle-3 {
    width: 12px;
    height: 12px;
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes header-particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-15px) translateX(15px);
    }
    50% {
        transform: translateY(10px) translateX(30px);
    }
    75% {
        transform: translateY(15px) translateX(-15px);
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .nav-container {
        padding: 15px 30px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(10, 10, 20, 0.95);
        backdrop-filter: blur(15px);
        padding: 80px 30px 30px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
    }
    
    .nav-links .nav-item {
        margin: 10px 0;
    }
    
    .nav-backdrop {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    /* height: 100vh; */
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.9), rgba(10, 10, 20, 0.7));
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(106, 0, 255, 0.2), transparent 70%);
    z-index: -1;
}

.hero-section h1 {
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.hero-section h1 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-section h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: -10px;
    left: 0;
    background: var(--gradient-1);
    filter: blur(10px);
    opacity: 0.7;
}

.typed-text {
    font-size: 1.8rem;
    font-weight: 500;
}

.hero-btns {
    margin-top: 30px;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Profile Container */
.profile-container {
    position: relative;
    width: 400px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Profile Frame */
.profile-frame {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    z-index: 2;
}

.profile-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.profile-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.5;
    filter: blur(20px);
    z-index: -1;
}

.profile-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.profile-frame:hover .profile-image img {
    transform: scale(1.1);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(106, 0, 255, 0.2));
    z-index: 1;
}

.profile-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,30 L90,30" stroke="%2300e5ff" stroke-width="0.5" fill="none"/><path d="M10,50 L90,50" stroke="%2300e5ff" stroke-width="0.5" fill="none"/><path d="M10,70 L90,70" stroke="%2300e5ff" stroke-width="0.5" fill="none"/><path d="M30,10 L30,90" stroke="%2300e5ff" stroke-width="0.5" fill="none"/><path d="M50,10 L50,90" stroke="%2300e5ff" stroke-width="0.5" fill="none"/><path d="M70,10 L70,90" stroke="%2300e5ff" stroke-width="0.5" fill="none"/><circle cx="30" cy="30" r="2" fill="%2300e5ff"/><circle cx="50" cy="50" r="2" fill="%2300e5ff"/><circle cx="70" cy="70" r="2" fill="%2300e5ff"/><circle cx="30" cy="70" r="2" fill="%2300e5ff"/><circle cx="70" cy="30" r="2" fill="%2300e5ff"/></svg>');
    opacity: 0.3;
    mix-blend-mode: overlay;
    z-index: 2;
    animation: circuit-animation 10s linear infinite;
}

@keyframes circuit-animation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* Profile Elements */
.profile-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.element {
    position: absolute;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.7;
    filter: blur(5px);
    animation: float-animation 10s infinite ease-in-out;
}

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

.element-2 {
    width: 30px;
    height: 30px;
    top: 20%;
    right: 5%;
    animation-delay: 1s;
}

.element-3 {
    width: 40px;
    height: 40px;
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.element-4 {
    width: 25px;
    height: 25px;
    bottom: 10%;
    left: 5%;
    animation-delay: 3s;
}

/* Profile Data */
.profile-data {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 3;
}

.data-line {
    width: 40px;
    height: 1px;
    background: var(--primary-color);
    margin: 10px 0;
    position: relative;
    animation: data-line-animation 2s infinite;
}

.data-line::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
    right: 0;
    top: -2px;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes data-line-animation {
    0%, 100% {
        width: 40px;
    }
    50% {
        width: 60px;
    }
}

.data-item {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin: 5px 0;
    text-shadow: 0 0 5px var(--primary-color);
    opacity: 0.8;
    transition: var(--transition);
}

.profile-frame:hover ~ .profile-data .data-item {
    opacity: 1;
    transform: translateX(5px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-animation 2s infinite;
}

.scroll-down a {
    font-size: 24px;
    color: var(--text-color);
}

@keyframes scroll-animation {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(to bottom, var(--dark-color), rgba(10, 10, 20, 0.95));
}

.about-image {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Removed image container frame */

.image-glitch {
    width: 100%;
    max-width: 450px;
    position: relative;
    margin: 0 auto;
}

.image-glitch img.frameless-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 0;
    box-shadow: none;
}

.image-glitch::before {
    animation: glitch-1 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    background-color: rgba(106, 0, 255, 0.1);
    transform: translateX(-5px);
}

.image-glitch::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 80%, 100% 20%, 100% 100%, 0 100%);
    background-color: rgba(0, 229, 255, 0.1);
    transform: translateX(5px);
}

@keyframes glitch-1 {
    0%, 100% {
        transform: translate(0);
        opacity: 0.8;
    }
    20% {
        transform: translate(-5px, 5px);
        opacity: 0.6;
    }
    40% {
        transform: translate(-5px, -5px);
        opacity: 0.8;
    }
    60% {
        transform: translate(5px, 5px);
        opacity: 0.6;
    }
    80% {
        transform: translate(5px, -5px);
        opacity: 0.8;
    }
}

@keyframes glitch-2 {
    0%, 100% {
        transform: translate(0);
        opacity: 0.8;
    }
    25% {
        transform: translate(5px, 5px);
        opacity: 0.6;
    }
    50% {
        transform: translate(-5px, 5px);
        opacity: 0.8;
    }
    75% {
        transform: translate(-5px, -5px);
        opacity: 0.6;
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.6;
    filter: blur(15px);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -30px;
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.6), rgba(106, 0, 255, 0.3));
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 40px;
    left: -50px;
    animation: float 8s ease-in-out infinite 1s;
    background: linear-gradient(135deg, rgba(106, 0, 255, 0.6), rgba(0, 229, 255, 0.3));
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: -30px;
    right: 20%;
    animation: float 7s ease-in-out infinite 2s;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.4), rgba(0, 229, 255, 0.4));
}

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

.about-content h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-info li span {
    font-weight: 700;
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: inline-flex;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

/* ===== SKILLS SECTION ===== */
.skills-section {
    background: linear-gradient(to bottom, rgba(10, 10, 20, 0.95), var(--dark-color));
}

.skills-content h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-info h4 {
    font-size: 1rem;
    font-weight: 500;
}

.progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: visible;
}

.progress-bar {
    background: var(--gradient-1);
    border-radius: 4px;
    position: relative;
    transition: width 1.5s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -4px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.skill-charts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.skill-chart {
    width: 48%;
    margin-bottom: 30px;
    text-align: center;
}

.chart {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.chart canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.percent {
    position: relative;
    width: 120px;
    height: 120px;
    line-height: 120px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.skill-chart h5 {
    font-size: 1rem;
    margin-top: 10px;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: linear-gradient(to bottom, var(--dark-color), rgba(10, 10, 20, 0.95));
}

.project-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--primary-color);
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: 80%;
}

.project-grid {
    margin-top: 20px;
}

.project-item {
    margin-bottom: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-shadow);
}

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

.project-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link,
.project-zoom {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-link,
.project-card:hover .project-zoom {
    transform: translateY(0);
    opacity: 1;
}

.project-link:hover,
.project-zoom:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-content h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.project-content p {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: linear-gradient(to bottom, rgba(10, 10, 20, 0.95), var(--dark-color));
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.1), transparent 70%);
    z-index: 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(0, 229, 255, 0.2);
}

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

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.hexagon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    /* Add standard property for compatibility */
    -webkit-background-clip: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-clip: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon i {
    font-size: 30px;
    color: white;
    z-index: 2;
}

.service-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    filter: blur(20px);
    opacity: 0.3;
    top: 0;
    left: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover .service-glow {
    opacity: 0.6;
    filter: blur(30px);
}

.service-card:hover .hexagon {
    transform: rotate(30deg) scale(1.1);
}

.service-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.service-features span {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.service-card:hover .service-features span {
    background: rgba(0, 229, 255, 0.1);
}

.service-cta {
    margin-top: 20px;
}

.btn-service {
    display: inline-block;
    padding: 8px 25px;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-1);
    transition: var(--transition);
    z-index: -1;
}

.btn-service:hover {
    color: white;
}

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

.service-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-1);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

/* Orbital animation for additional services */
.services-orbital {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.orbital-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(0, 229, 255, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbital-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.orbital-icon:nth-child(1) {
    top: -7%;
    left: 50%;
    transform: translateX(-50%);
}

.orbital-icon:nth-child(2) {
    top: 25%;
    right: 0;
    transform: translateY(-50%);
}

.orbital-icon:nth-child(3) {
    bottom: -7%;
    left: 50%;
    transform: translateX(-50%);
}

.orbital-icon:nth-child(4) {
    top: 25%;
    left: 0;
    transform: translateY(-50%);
}

.orbital-icon:nth-child(5) {
    top: 75%;
    right: 0;
    transform: translateY(-50%);
}

.orbital-icon:nth-child(6) {
    top: 75%;
    left: 0;
    transform: translateY(-50%);
}

.orbital-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.orbital-center h4 {
    color: var(--primary-color);
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
}

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

.additional-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.additional-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    transition: var(--transition);
}

.additional-service i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: var(--transition);
}

.additional-service span {
    font-size: 0.9rem;
    text-align: center;
}

.additional-service:hover {
    transform: translateY(-5px);
}

.additional-service:hover i {
    transform: scale(1.2);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(to bottom, var(--dark-color), rgba(10, 10, 20, 0.95));
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(106, 0, 255, 0.1), transparent 70%);
    z-index: 0;
}

.testimonial-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 60px;
}

.testimonial-wrapper {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px) rotateY(10deg);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(106, 0, 255, 0.05));
    border-radius: 20px;
    z-index: -1;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) rotateY(0);
    z-index: 5;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
}

.client-rating {
    margin-bottom: 20px;
}

.client-rating i {
    color: #FFD700;
    margin-right: 5px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 70px;
    height: 70px;
    margin-right: 20px;
    position: relative;
}

.client-image .image-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-details p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.nav-dots {
    display: flex;
    margin-right: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.nav-arrows {
    display: flex;
}

.arrow-prev,
.arrow-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.arrow-prev:hover,
.arrow-next:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

/* Testimonial Stats */
.testimonial-stats {
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.8;
}

/* Floating particles for testimonials */
.testimonial-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 10s infinite linear;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 15px;
    height: 15px;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    top: 70%;
    left: 20%;
    width: 8px;
    height: 8px;
    animation-duration: 12s;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 40%;
    right: 15%;
    width: 12px;
    height: 12px;
    animation-duration: 18s;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 25%;
    width: 10px;
    height: 10px;
    animation-duration: 20s;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    bottom: 30%;
    left: 30%;
    width: 6px;
    height: 6px;
    animation-duration: 25s;
    animation-delay: 4s;
}

@keyframes float-particle {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(to bottom, rgba(10, 10, 20, 0.95), var(--dark-color));
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-item .text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

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

.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 10px 0;
    color: var(--text-color);
}

.form-control:focus {
    box-shadow: none;
    background: transparent;
    color: var(--text-color);
    border-color: var(--primary-color);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.form-control:focus ~ .form-line {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(10, 10, 20, 0.95);
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--glow-shadow);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== MODAL STYLES ===== */
.modal-content {
    background-color: var(--dark-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--glow-shadow);
    position: relative;
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--glow-shadow);
}

.modal-close-btn:hover {
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.7), 0 0 30px rgba(0, 229, 255, 0.4);
}

.modal-close-btn i {
    font-size: 18px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--primary-color);
}

.btn-close {
    color: var(--text-color);
}

.modal-image {
    border-radius: 5px;
}

.modal-project-title {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.modal-project-category {
    color: var(--text-color);
    margin-bottom: 15px;
}

.detail-item {
    margin-bottom: 10px;
}

.detail-item h6 {
    color: var(--primary-color);
    display: inline-block;
    margin-right: 10px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .skill-chart {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .typed-text {
        font-size: 1.5rem;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .typed-text {
        font-size: 1.2rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-item .icon {
        margin-bottom: 10px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float-animation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-animation {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.float-animation {
    animation: float-animation 5s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse-animation 3s ease-in-out infinite;
}


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