/* ==================== */
/* CSS RESET & VARIABLES */
/* ==================== */

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

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius: 8px;
    --radius-lg: 16px;
}

/* ==================== */
/* BASE STYLES */
/* ==================== */

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

/* ==================== */
/* CUSTOM SCROLLBAR */
/* ==================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease, background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    opacity: 1;
    background: var(--secondary);
}

/* Progress indicator - shows how far you've scrolled */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: var(--scroll-progress, 0%);
    background: linear-gradient(
        to bottom,
        var(--primary),
        var(--secondary),
        var(--accent)
    );
    z-index: 9999;
    pointer-events: none;
    transition: height 0.1s ease-out;
}

/* Firefox fallback */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== */
/* TYPOGRAPHY */
/* ==================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

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

/* Animated Gradient Text */
.animate-gradient {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--secondary) 25%,
        var(--accent) 50%,
        var(--primary) 75%,
        var(--secondary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Text Animation Classes */
.text-fade-in {
    display: inline-block;
    animation: fadeIn 1s ease 0.5s both;
}

.text-slide-up {
    display: inline-block;
    animation: slideUp 1s ease 0.7s both;
}

.fade-in-delayed {
    animation: fadeInUp 1s ease 1s both;
}

.fade-in-delayed-2 {
    animation: fadeInUp 1s ease 1.3s both;
}

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

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

/* ==================== */
/* BUTTONS */
/* ==================== */

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* ==================== */
/* NAVIGATION */
/* ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: 45px;
    transition: var(--transition);
    border-radius: 50%;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

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

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

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==================== */
/* HERO SECTION */
/* ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

/* Animated Gradient Background */
.gradient-bg {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        rgba(99, 102, 241, 0.1) 0%,
        rgba(236, 72, 153, 0.1) 25%,
        rgba(20, 184, 166, 0.1) 50%,
        rgba(99, 102, 241, 0.1) 75%,
        rgba(236, 72, 153, 0.1) 100%
    );
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5%, 5%) rotate(90deg);
    }
    50% {
        transform: translate(-5%, 5%) rotate(180deg);
    }
    75% {
        transform: translate(-5%, -5%) rotate(270deg);
    }
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
}

.particle-1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.8), transparent);
    top: 20%;
    left: 10%;
    animation: float-diagonal 20s ease-in-out infinite;
}

.particle-2 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.8), transparent);
    top: 60%;
    right: 15%;
    animation: float-diagonal 25s ease-in-out infinite reverse;
    animation-delay: -5s;
}

.particle-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.6), transparent);
    bottom: 20%;
    left: 20%;
    animation: float-up-down 18s ease-in-out infinite;
    animation-delay: -3s;
}

.particle-4 {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.9), transparent);
    top: 30%;
    right: 30%;
    animation: float-diagonal 22s ease-in-out infinite;
    animation-delay: -8s;
}

.particle-5 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.7), transparent);
    bottom: 30%;
    right: 10%;
    animation: float-up-down 20s ease-in-out infinite;
    animation-delay: -10s;
}

.particle-6 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.8), transparent);
    top: 70%;
    left: 40%;
    animation: float-diagonal 24s ease-in-out infinite reverse;
    animation-delay: -12s;
}

@keyframes float-diagonal {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-30px, -60px) scale(0.9);
    }
    75% {
        transform: translate(-60px, -30px) scale(1.05);
    }
}

@keyframes float-up-down {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-80px) scale(1.15);
    }
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    filter: blur(40px);
    pointer-events: none;
    z-index: 3;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: -150px;
    right: -150px;
    animation: float 25s infinite ease-in-out, pulse 8s infinite ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    bottom: -100px;
    left: -100px;
    animation: float 30s infinite ease-in-out reverse, pulse 10s infinite ease-in-out;
    animation-delay: 5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    top: 50%;
    left: 10%;
    animation: float 20s infinite ease-in-out, pulse 12s infinite ease-in-out;
    animation-delay: 10s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.1);
    }
}

/* ==================== */
/* ABOUT SECTION */
/* ==================== */

.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    animation: shimmer 3s infinite;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.skills {
    margin-top: 2rem;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.skill-tag.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.skill-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.about-logo {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.about-image-container:hover .about-logo {
    transform: scale(1.05) rotate(5deg);
}

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

/* ==================== */
/* PROJECTS SECTION */
/* ==================== */

.projects {
    padding: var(--section-padding);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
}

/* Coming Soon Message */
.coming-soon-message {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--bg-secondary), white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary);
    opacity: 0.9;
}

.coming-soon-content {
    text-align: center;
    max-width: 500px;
}

.coming-soon-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.coming-soon-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.project-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

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

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

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

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    flex: 1;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Store Badges */
.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    flex: 1;
    min-width: 0;
}

.store-badge svg {
    flex-shrink: 0;
}

.store-badge span {
    white-space: nowrap;
}

/* Google Play Store Badge */
.play-store {
    background: #01875f;
    color: white;
    border-color: #01875f;
}

.play-store:hover {
    background: #016d4d;
    border-color: #016d4d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Apple App Store Badge */
.app-store {
    background: #0d7cf2;
    color: white;
    border-color: #0d7cf2;
}

.app-store:hover:not(.disabled) {
    background: #0862c6;
    border-color: #0862c6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Disabled State for Coming Soon */
.store-badge.disabled {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-color: var(--border);
    cursor: not-allowed;
    opacity: 0.7;
}

.store-badge.disabled:hover {
    transform: none;
    box-shadow: none;
}

.project-status {
    padding: 10px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    flex: 1;
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */

.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Linktree specific styling */
.linktree-link {
    background: #43E55E;
    color: white;
}

.linktree-link:hover {
    background: #39d451;
    color: white;
}

/* GitHub specific styling */
.github-link {
    background: #181717;
    color: white;
}

.github-link:hover {
    background: #2b2b2b;
    color: white;
}

/* Instagram specific styling */
.instagram-link {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.instagram-link:hover {
    background: linear-gradient(45deg, #d87d2b 0%, #ce5a34 25%, #c4213b 50%, #b41d5e 75%, #a41580 100%);
    color: white;
}

/* YouTube specific styling */
.youtube-link {
    background: #FF0000;
    color: white;
}

.youtube-link:hover {
    background: #cc0000;
    color: white;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* ==================== */
/* FOOTER */
/* ==================== */

.footer {
    padding: 3rem 0;
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==================== */
/* ANIMATIONS */
/* ==================== */

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

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

/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .logo-img {
        height: 40px;
        width: 40px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Reduce particles on mobile */
    .particle {
        display: none;
    }
    
    .particle-1,
    .particle-2 {
        display: block;
    }
    /* Hero */
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    /* About logo on mobile */
    .about-image-container {
        max-width: 300px;
        padding: 2rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
        width: 35px;
    }
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .project-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* ==================== */
/* UTILITIES */
/* ==================== */

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}
