/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Sections */
section {
    padding: 5rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* Home Section */
#home {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.highlight {
    color: #007bff;
}

.title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.primary {
    background: #007bff;
    color: white;
}

.secondary {
    border: 2px solid #007bff;
    color: #007bff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.skills {
    width: 100%;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.skill:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    animation: flipSkill 0.6s ease-out;
}

@keyframes flipSkill {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: rotateY(10deg) rotateX(5deg);
    box-shadow: 
        -20px 20px 30px rgba(0,0,0,0.2),
        0 0 20px rgba(0,123,255,0.1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    padding: 1rem;
}

.project-card p {
    padding: 0 1rem 1rem;
}

.project-links {
    padding: 1rem;
    text-align: center;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

.social-links {
    margin-top: 2rem;
    text-align: center;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 1rem;
    color: #333;
    transition: color 0.3s;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.social-links a:hover {
    transform: translateY(-5px);
    background: #007bff;
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
}

/* Additional Graphic Design Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,123,255,0.1) 0%, rgba(0,123,255,0) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
    z-index: -1;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
    background: 
        linear-gradient(45deg, transparent 45%, #007bff 45%, #007bff 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #007bff 45%, #007bff 55%, transparent 55%);
    background-size: 30px 30px;
    animation: bgMove 30s linear infinite;
}

/* Skill Icons Animation */
.skill {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0,123,255,0.1);
    transition: all 0.3s ease;
}

.skill:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

/* Project Card Enhancement */
.project-card {
    position: relative;
    background: linear-gradient(to bottom, white 0%, #f8f9fa 100%);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #00ff88);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

/* Section Headers Animation */
h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    background: linear-gradient(45deg, #007bff, #00ff88, #007bff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s linear infinite;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00ff88);
}

/* Contact Form Enhancement */
input, textarea {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 15px rgba(0,123,255,0.1);
    outline: none;
}

/* Social Links Enhancement */
.social-links a {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: #007bff;
    color: white;
}

/* Animations */
@keyframes bgMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: #007bff;
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: white;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .social-links a {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .animated-bg {
        background-size: 20px 20px;
    }
}

/* Glowing effect for the hero section */
@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #007bff, 0 0 20px #007bff;
    }
    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #007bff, 0 0 40px #007bff;
    }
}

/* Gradient text animation for section headers */
@keyframes gradientText {
    to {
        background-position: 200% center;
    }
}

/* 3D Card Effect */
.project-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: rotateY(10deg) rotateX(5deg);
    box-shadow: 
        -20px 20px 30px rgba(0,0,0,0.2),
        0 0 20px rgba(0,123,255,0.1);
}

/* Particle background */
.particle {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skill progress bars */
.skill {
    position: relative;
    overflow: hidden;
}

.skill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: skillShine 2s infinite;
}

@keyframes skillShine {
    100% {
        left: 100%;
    }
}

/* Morphing background */
.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0,123,255,0.1) 0%,
        transparent 50%
    );
    transition: all 0.3s ease;
}

/* Modern Variables */
:root {
    --primary: #2563eb;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --accent: #7c3aed;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,123,255,0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(0,255,136,0.1) 100%);
    clip-path: circle(0% at 50% 50%);
    transition: all 0.5s ease-out;
}

.service-card:hover::before {
    clip-path: circle(100% at 50% 50%);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: translateY(-10px) scale(1.1);
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    padding: 0;
}

.service-features li {
    margin: 0.8rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Service Card Hover Animation */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Service Icon Pulse Animation */
@keyframes iconPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,123,255,0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0,123,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,123,255,0);
    }
}

.service-icon {
    animation: iconPulse 2s infinite;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Enhanced Home Section Styles */
#home {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Animated Background Shapes */
.shape-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s infinite;
}

.shape1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: -5s;
}

.shape3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 20%;
    animation-delay: -10s;
}

.shape4 {
    width: 250px;
    height: 250px;
    top: 20%;
    left: 40%;
    animation-delay: -15s;
}

@keyframes floatShape {
    0%, 100% {
        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);
    }
}

/* Greeting Text */
.greeting-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.wave {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Role Text Animation */
.role-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.role-text {
    height: 30px;
    overflow: hidden;
    position: relative;
}

.role-text span {
    display: block;
    height: 100%;
    color: var(--primary);
    animation: spin 8s infinite;
}

@keyframes spin {
    0%, 25% {
        transform: translateY(0);
    }
    30%, 45% {
        transform: translateY(-100%);
    }
    50%, 65% {
        transform: translateY(-200%);
    }
    70%, 85% {
        transform: translateY(-300%);
    }
    90%, 100% {
        transform: translateY(-400%);
    }
}

/* Tech Stack Icons */
.tech-stack {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.tech-icon {
    font-size: 2rem;
    color: #666;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.tech-icon:nth-child(1) { animation-delay: 0.2s; }
.tech-icon:nth-child(2) { animation-delay: 0.4s; }
.tech-icon:nth-child(3) { animation-delay: 0.6s; }
.tech-icon:nth-child(4) { animation-delay: 0.8s; }
.tech-icon:nth-child(5) { animation-delay: 1s; }

.tech-icon:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

/* Enhanced CTA Buttons */
.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    position: relative;
}

.cta-buttons .btn i {
    transition: transform 0.3s ease;
}

.cta-buttons .btn:hover i {
    transform: translateX(5px);
}

/* Mouse Scroll Indicator */
.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouseWheel 1.5s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: arrowDown 1.5s infinite;
    opacity: 0;
}

.arrows span:nth-child(2) { animation-delay: 0.2s; }
.arrows span:nth-child(3) { animation-delay: 0.4s; }

@keyframes mouseWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes arrowDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Section Styles */
#home {
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cube {
    position: absolute;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 10px;
    animation: float 15s infinite;
    opacity: 0.1;
}

.cube:nth-child(1) { width: 100px; height: 100px; top: 20%; left: 10%; animation-delay: 0s; }
.cube:nth-child(2) { width: 150px; height: 150px; top: 60%; left: 80%; animation-delay: -2s; }
.cube:nth-child(3) { width: 80px; height: 80px; top: 40%; left: 50%; animation-delay: -4s; }
.cube:nth-child(4) { width: 120px; height: 120px; top: 80%; left: 30%; animation-delay: -6s; }
.cube:nth-child(5) { width: 90px; height: 90px; top: 10%; left: 70%; animation-delay: -8s; }

@keyframes float {
    0%, 100% { 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); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    height: 100vh;
    align-items: center;
}

/* Profile Section */
.profile-section {
    position: relative;
}

.profile-frame {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 auto;
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-photo:hover img {
    transform: scale(1.05);
}

.frame-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    z-index: 0;
}

/* Social Strip */
.social-strip {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
}

/* Content Section */
.content-section {
    padding: 2rem;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hand-wave {
    font-size: 2rem;
    animation: wave 2s infinite;
}

.hello-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.name-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
}

.highlight-name {
    color: var(--primary);
    position: relative;
}

.title-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--secondary);
    opacity: 0.3;
    transform: skew(-20deg);
}

/* Profession Slider */
.profession-slider {
    height: 50px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.slider-text {
    animation: slide 8s infinite;
}

.slider-text span {
    display: block;
    height: 50px;
    line-height: 50px;
    color: var(--accent);
    font-size: 1.2rem;
}

@keyframes slide {
    0%, 25% { transform: translateY(0); }
    30%, 45% { transform: translateY(-50px); }
    50%, 65% { transform: translateY(-100px); }
    70%, 85% { transform: translateY(-150px); }
    90%, 100% { transform: translateY(0); }
}

/* Tech Stack */
.tech-stack {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tech-icon {
    position: relative;
    font-size: 2rem;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.tech-icon:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.tech-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.tech-icon:hover .tech-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: var(--primary);
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-icon {
    transition: var(--transition);
}

.cta-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Experience Stats */
.experience-stats {
    display: flex;
    gap: 2rem;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
    opacity: 0;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

@keyframes arrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-20px, -20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(20px, 20px); }
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-frame {
        width: 250px;
        height: 330px;
    }

    .tech-stack {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .experience-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .name-title {
        font-size: 2.5rem;
    }

    .profile-frame {
        width: 200px;
        height: 260px;
    }

    .tech-stack {
        flex-wrap: wrap;
    }
} 
/* Layout, keyboard navigation, and form corrections. */
[hidden] { display: none !important; }
section { scroll-margin-top: 75px; }
.hero-content { height: auto; min-height: calc(100vh - 10rem); }
.hero-content > * { min-width: 0; }
.cta-buttons { flex-wrap: wrap; }
.cta-btn { text-decoration: none; }
.burger { border: 0; background: transparent; padding: .25rem; }
.burger.toggle .line1 { transform: translateY(8px) rotate(45deg); }
.burger.toggle .line2 { opacity: 0; }
.burger.toggle .line3 { transform: translateY(-8px) rotate(-45deg); }
.animated-background, .service-card::before { pointer-events: none; }
.projects-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.project-placeholder { height: 200px; display: grid; place-items: center; background: #eef2ff; color: #475569; }
.portfolio-intro { text-align: center; margin-bottom: 1rem; }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
button:disabled { opacity: .6; cursor: wait; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #7c3aed; outline-offset: 4px; }
#contact-status { min-height: 1.6em; }
.scroll-indicator { animation: none; pointer-events: none; }
@media (max-width: 1024px) { .hero-content { gap: 2rem; padding: 2rem 0; } .content-section { padding: 1rem 0; } .scroll-indicator { display: none; } }
@media (max-width: 768px) { .nav-links { top: 100%; visibility: hidden; transform: none; opacity: 0; pointer-events: none; } .nav-links.nav-active { visibility: visible; opacity: 1; pointer-events: auto; } .hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); } section { padding: 5rem 1rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .tech-icon, .fade-in { opacity: 1; transform: none; } .project-card:hover, .service-card:hover { transform: none; } }
