* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-light: #ffffff;
    --text-gray: #a1a1aa;
    --text-dark: #71717a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

/* Custom 3D Cursor */
.cursor-3d {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(99, 102, 241, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: all 0.15s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}

.cursor-3d::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    animation: cursorPulse 2s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.2;
    }
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: all 0.05s ease-out;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
}

/* Cursor hover effects */
a, button, .btn, .portfolio-item, .service-card {
    cursor: none;
}

a:hover ~ .cursor-3d,
button:hover ~ .cursor-3d,
.btn:hover ~ .cursor-3d {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--accent-color);
}

a:hover ~ .cursor-dot,
button:hover ~ .cursor-dot,
.btn:hover ~ .cursor-dot {
    transform: translate(-50%, -50%) scale(2);
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    body {
        cursor: auto !important;
    }
    
    .cursor-3d,
    .cursor-dot {
        display: none;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.98);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* 3D Floating Shapes Animation */
.hero-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 20px;
    opacity: 0.15;
    backdrop-filter: blur(2px);
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    top: 10%;
    left: 10%;
    animation: float1 20s ease-in-out infinite;
    transform: perspective(1000px) rotateY(45deg);
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    top: 20%;
    right: 15%;
    animation: float2 25s ease-in-out infinite;
    transform: perspective(1000px) rotateX(45deg);
    border-radius: 50%;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    bottom: 15%;
    left: 20%;
    animation: float3 30s ease-in-out infinite;
    transform: perspective(1000px) rotateZ(45deg);
}

.shape-4 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 50%;
    right: 10%;
    animation: float4 22s ease-in-out infinite;
    transform: perspective(1000px) rotateY(30deg) rotateX(30deg);
}

.shape-5 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    bottom: 25%;
    right: 25%;
    animation: float5 18s ease-in-out infinite;
    transform: perspective(1000px) rotateX(60deg);
    border-radius: 50%;
}

.shape-6 {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    top: 30%;
    left: 5%;
    animation: float6 28s ease-in-out infinite;
    transform: perspective(1000px) rotateY(-45deg) rotateZ(30deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-7 {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    bottom: 10%;
    right: 35%;
    animation: float7 24s ease-in-out infinite;
    transform: perspective(1000px) rotateX(-30deg) rotateY(60deg);
}

.shape-8 {
    width: 95px;
    height: 95px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    top: 15%;
    left: 50%;
    animation: float8 26s ease-in-out infinite;
    transform: perspective(1000px) rotateY(20deg) rotateZ(60deg);
    border-radius: 20%;
}

@keyframes float1 {
    0%, 100% { transform: perspective(1000px) translate(0, 0) rotateY(45deg) rotateZ(0deg); }
    50% { transform: perspective(1000px) translate(30px, -30px) rotateY(45deg) rotateZ(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: perspective(1000px) translate(0, 0) rotateX(45deg) rotateY(0deg); }
    50% { transform: perspective(1000px) translate(-40px, 40px) rotateX(45deg) rotateY(180deg); }
}

@keyframes float3 {
    0%, 100% { transform: perspective(1000px) translate(0, 0) rotateZ(45deg) rotateX(0deg); }
    50% { transform: perspective(1000px) translate(50px, 50px) rotateZ(45deg) rotateX(90deg); }
}

@keyframes float4 {
    0%, 100% { transform: perspective(1000px) translate(0, 0) rotateY(30deg) rotateX(30deg); }
    50% { transform: perspective(1000px) translate(-30px, -30px) rotateY(30deg) rotateX(60deg); }
}

@keyframes float5 {
    0%, 100% { transform: perspective(1000px) translate(0, 0) rotateX(60deg); }
    50% { transform: perspective(1000px) translate(35px, -35px) rotateX(120deg); }
}

@keyframes float6 {
    0%, 100% { transform: perspective(1000px) translate(0, 0) rotateY(-45deg) rotateZ(30deg); }
    50% { transform: perspective(1000px) translate(-45px, 45px) rotateY(-45deg) rotateZ(90deg); }
}

@keyframes float7 {
    0%, 100% { transform: perspective(1000px) translate(0, 0) rotateX(-30deg) rotateY(60deg); }
    50% { transform: perspective(1000px) translate(40px, -40px) rotateX(-60deg) rotateY(120deg); }
}

@keyframes float8 {
    0%, 100% { transform: perspective(1000px) translate(0, 0) rotateY(20deg) rotateZ(60deg); }
    50% { transform: perspective(1000px) translate(-50px, 50px) rotateY(40deg) rotateZ(120deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.hero-location {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-top: 15px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 14px;
}

.about-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.profile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.gradient-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    background-size: 300% 300%;
    animation: gradientAnimation 5s ease infinite;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Experience Section */
.experience {
    background: var(--bg-darker);
}

.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-marker {
    position: absolute;
    left: -47px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.timeline-date {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-company {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-description {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* Services Section */
.services {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.portfolio-emoji {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    z-index: 4;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: emojiFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-emoji {
    transform: scale(1.2) rotate(10deg);
}

@keyframes emojiFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.portfolio-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    z-index: 2;
    text-align: center;
    gap: 15px;
    transition: opacity 0.3s ease;
}

.portfolio-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-tech {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all 0.3s ease;
}

.gradient-1 {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.7) 0%, rgba(245, 87, 108, 0.7) 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.7) 0%, rgba(0, 242, 254, 0.7) 100%);
}

.gradient-4 {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.7) 0%, rgba(56, 249, 215, 0.7) 100%);
}

.gradient-5 {
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.7) 0%, rgba(254, 225, 64, 0.7) 100%);
}

.gradient-6 {
    background: linear-gradient(135deg, rgba(48, 207, 208, 0.7) 0%, rgba(51, 8, 103, 0.7) 100%);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 3;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-content {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.portfolio-link:hover {
    color: var(--accent-color);
}

/* Tools Section */
.tools {
    background: var(--bg-dark);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tool-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.tool-icon {
    font-size: 56px;
    margin-bottom: 20px;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.tool-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-card > p {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.tool-content {
    margin-top: 20px;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-group label {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.calc-group input,
.calc-group select {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.calc-group input:hover,
.calc-group select:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.calc-group input:focus,
.calc-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.calc-result {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.1));
    border-radius: 15px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    display: block;
    animation: resultFadeIn 0.5s ease;
    position: relative;
    overflow: hidden;
}

.calc-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes resultFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-result h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 700;
}

.calc-result h4 span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 800;
}

.calc-result p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 8px;
}

.calc-result p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.budget-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.budget-breakdown p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.budget-breakdown p:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-left-color: var(--accent-color);
}

.budget-breakdown p span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

.debug-checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.check-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.check-item span {
    color: var(--text-light);
    font-size: 14px;
}

.debug-progress {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.debug-progress p {
    color: var(--text-gray);
    font-size: 14px;
    text-align: center;
}

/* Contact Section */
.contact {
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-gray);
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark);
}

/* File Upload */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.file-upload-label svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.file-upload-label span {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

#file-name {
    flex: 1;
    color: var(--text-gray);
}

.upload-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-upload-label:has(input:not(:placeholder-shown)) {
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: var(--text-gray);
}

.footer-links h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .experience-timeline {
        padding-left: 40px;
    }

    .experience-timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -37px;
    }

    .services-grid,
    .portfolio-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Reduce floating shapes on tablet */
    .floating-shape {
        opacity: 0.1;
    }

    .shape-6,
    .shape-7 {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .services-grid,
    .portfolio-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -27px;
        width: 12px;
        height: 12px;
    }

    .portfolio-emoji {
        font-size: 36px;
        top: 15px;
        right: 15px;
    }

    /* Mobile floating shapes - reduce size and count */
    .floating-shape {
        opacity: 0.08;
    }

    .shape-1 { width: 60px; height: 60px; }
    .shape-2 { width: 50px; height: 50px; }
    .shape-3 { width: 70px; height: 70px; }
    .shape-4 { width: 55px; height: 55px; }
    .shape-5 { width: 45px; height: 45px; }
    .shape-6 { display: none; }
    .shape-7 { display: none; }
    .shape-8 { display: none; }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 32px;
    }

    .hero-title {
        font-size: 28px;
    }

    /* Extra small devices - minimal animations */
    .floating-shape {
        opacity: 0.05;
    }

    .shape-1 { 
        width: 50px; 
        height: 50px; 
        top: 15%;
        left: 5%;
    }

    .shape-2 { 
        width: 40px; 
        height: 40px; 
        top: 25%;
        right: 10%;
    }

    .shape-3 { 
        width: 60px; 
        height: 60px; 
        bottom: 20%;
        left: 10%;
    }

    .shape-4,
    .shape-5 {
        display: none;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .floating-shape {
        animation: none !important;
        transform: none !important;
    }
    
    .hero-background::before {
        animation: none !important;
    }
}

