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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #0a0a0a;
    overflow-x: hidden;
}

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

/* Color System */
:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #ff6b35;
    --accent: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --dark-lighter: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-3d .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: translateZ(-4px);
    transition: transform 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0099cc);
    color: white;
    border: none;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00b8e6, var(--primary));
    color: white;
    transform: translateY(-4px) rotateX(10deg);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.6);
    border: none;
}

.btn-primary:hover .btn-bg {
    transform: translateZ(-8px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #0099cc);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.btn-outline span {
    position: relative;
    z-index: 2;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-outline:hover {
    background: transparent;
    color: white;
    transform: translateY(-4px) rotateX(10deg);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.5);
    border-color: var(--primary);
}

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

.btn-outline:hover span {
    color: white;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 24px;
    height: 80px;
}

.nav-brand {
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
}

.brand-text {
    color: var(--text-primary);
}

.brand-accent {
    color: var(--primary);
    font-size: 2.2rem;
    margin-left: 2px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

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

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

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

/* Hide menu on mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav {
        justify-content: flex-start;
    }
}

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

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

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

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

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 10%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% { 
        transform: translateY(-20px) rotate(90deg) scale(1.1);
    }
    50% { 
        transform: translateY(-40px) rotate(180deg) scale(0.9);
    }
    75% { 
        transform: translateY(-20px) rotate(270deg) scale(1.05);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.typing-cursor {
    width: 3px;
    height: 24px;
    background: var(--primary);
    margin-left: 8px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

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

/* About Section */
.about {
    background: var(--dark-light);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    text-align: center;
}

.about-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.about-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-intro strong {
    color: var(--primary);
    font-weight: 600;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.highlight-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.highlight-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

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

/* Skills Section */
.skills {
    background: var(--dark);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.skills-container {
    position: relative;
    z-index: 2;
}

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

.skill-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg);
}

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

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

.skill-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

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

.icon-3d {
    font-size: 4rem;
    display: inline-block;
    transform: perspective(1000px) rotateY(15deg);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 212, 255, 0.3));
}

.skill-card:hover .icon-3d {
    transform: perspective(1000px) rotateY(0deg) scale(1.1);
}

.skill-name {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.skill-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.skill-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    height: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 50px;
    width: 0%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skill-percentage {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Projects Section */
.projects {
    background: var(--dark-light);
    position: relative;
    padding: 80px 0;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.project-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: perspective(1000px) rotateX(5deg);
    z-index: 10;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 107, 53, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.project-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-20px);
    box-shadow: 0 40px 100px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.project-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.project-tech-stack {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-badge {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-category {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials {
    background: var(--dark);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-container {
    position: relative;
    z-index: 2;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 400px;
    height: auto;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px) rotateY(15deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    perspective: 1000px;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

.testimonial-content {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.3s ease;
}

.testimonial-content:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.author-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffd700;
    font-size: 1rem;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-dot.active::before,
.nav-dot:hover::before {
    width: 100%;
    height: 100%;
}

.nav-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* Contact Section */
.contact {
    background: var(--dark-light);
    position: relative;
    padding: 80px 0;
    z-index: 2;
    margin-top: 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

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

.contact-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}

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

.contact-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

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

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

.contact-form {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
    margin: 0;
}

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

.form-group {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    resize: vertical;
}

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

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 8px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 16px;
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--dark-light);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-group textarea {
    min-height: 120px;
    max-height: 200px;
}

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: none;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
        margin: 0 auto;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    body {
        cursor: default;
    }
    
    
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-content {
        gap: 30px;
        padding: 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 24px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .btn-outline {
        background: rgba(0, 212, 255, 0.1);
        color: var(--primary);
        border: 2px solid var(--primary);
        backdrop-filter: blur(10px);
    }
    
    .btn-outline span {
        color: var(--primary);
        font-weight: 600;
        position: relative;
        z-index: 2;
    }
    
    .btn-outline:hover {
        background: var(--primary);
        color: white;
    }
    
    .btn-outline:hover span {
        color: white;
    }
    
    .about-content {
        gap: 30px;
        text-align: center;
    }
    
    .about-card {
        padding: 24px;
        transform: none;
    }
    
    .about-intro {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .about-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .highlight-item {
        padding: 16px 12px;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .highlight-text {
        font-size: 0.8rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-card {
        padding: 24px;
        transform: none;
        text-align: center;
    }
    
    .skill-name {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .skill-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .icon-3d {
        font-size: 3rem;
        margin-bottom: 16px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .project-card {
        transform: none;
        margin: 0 auto;
        max-width: 100%;
        position: relative;
        z-index: 10;
        background: var(--glass);
        border: 1px solid var(--glass-border);
    }
    
    .project-image {
        height: 200px;
        position: relative;
        z-index: 11;
    }
    
    .project-content {
        padding: 20px;
        position: relative;
        z-index: 12;
        background: var(--glass);
    }
    
    .project-title {
        font-size: 1.2rem;
        color: var(--text-primary);
        margin-bottom: 12px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .project-description {
        color: var(--text-secondary);
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .testimonials-slider {
        min-height: 300px;
        height: auto;
        padding: 0 16px;
        margin-bottom: 20px;
    }
    
    .testimonial-content {
        padding: 24px;
        transform: none;
        text-align: center;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-name {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .author-role {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .contact-content {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    
    .contact-card,
    .contact-form {
        padding: 24px;
        transform: none;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-card h3,
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        min-height: auto;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group textarea {
        min-height: 80px;
        max-height: 150px;
    }
    
    .form-group label {
        top: 12px;
        left: 14px;
        font-size: 0.9rem;
    }
    
    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:not(:placeholder-shown) + label {
        top: -6px;
        left: 14px;
        font-size: 0.75rem;
    }
    
    .contact-item {
        padding: 16px;
        gap: 16px;
        flex-direction: row;
        align-items: center;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .contact-text {
        flex: 1;
        min-width: 0;
    }
    
    .contact-text h4 {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        gap: 30px;
        padding: 40px 0 30px;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
        transform: none;
    }
    
    .back-to-top:hover {
        transform: translateY(-3px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .highlight-number {
        font-size: 1.8rem;
        line-height: 1;
        margin-bottom: 4px;
    }
    
    .highlight-text {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .about-intro {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .about-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .skill-card,
    .project-card {
        padding: 16px;
        transform: none;
    }
    
    .skill-name {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .skill-description {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 16px;
    }
    
    .icon-3d {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .project-content {
        padding: 16px;
    }
    
    .project-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .project-header {
        text-align: center;
        align-items: center;
    }
    
    .project-description {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .project-stats {
        gap: 12px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .testimonial-content {
        padding: 20px;
        transform: none;
        text-align: center;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    .quote-icon {
        font-size: 3rem;
        margin-bottom: 16px;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-role {
        font-size: 0.85rem;
    }
    
    .contact-card,
    .contact-form {
        padding: 20px;
        transform: none;
        border-radius: 16px;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .form-header p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 70px;
        max-height: 120px;
    }
    
    .form-group label {
        top: 10px;
        left: 12px;
        font-size: 0.85rem;
    }
    
    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:not(:placeholder-shown) + label {
        top: -5px;
        left: 12px;
        font-size: 0.7rem;
    }
    
    .contact-item {
        padding: 16px;
        gap: 16px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    
    .contact-text h4 {
        font-size: 0.9rem;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 0.85rem;
    }
    
    .btn-full {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 16px;
        right: 16px;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.slide-left {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-left.animated {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(50px);
}

.animate-on-scroll.slide-right.animated {
    transform: translateX(0);
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Print Styles */
@media print {
    .header,
    .back-to-top,
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}