/* CSS Variables and Reset */
:root {
    /* Colors */
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 240 10% 3.9%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --accent: 240 4.8% 95.9%;
    --accent-foreground: 240 5.9% 10%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 5.9% 90%;
    --input: 240 5.9% 90%;
    --ring: 240 5.9% 10%;
    --radius: 0.5rem;
    
    /* Fonts */
    --font-inter: 'Inter', sans-serif;
    --font-space-grotesk: 'Space Grotesk', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
    --font-jetbrains-mono: 'JetBrains Mono', monospace;
}

[data-theme="dark"] {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 240 3.7% 15.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 240 4.9% 83.9%;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-outfit);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-space-grotesk);
    font-weight: 600;
    line-height: 1.2;
}

code, pre, kbd, samp {
    font-family: var(--font-jetbrains-mono);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gradient-text {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-glow {
    text-shadow: 0 0 8px currentColor;
}

.modern-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Fixed Background */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -10;
}

.gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #312e81, #7c3aed, #7c2d12);
}

[data-theme="dark"] .gradient-bg {
    background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cg fill='%23ffffff' fill-opacity='0.1'%3e%3ccircle cx='30' cy='30' r='1'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");
    mask-image: linear-gradient(180deg, white, rgba(255, 255, 255, 0));
    -webkit-mask-image: linear-gradient(180deg, white, rgba(255, 255, 255, 0));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(to right, #7c3aed, #10b981);
    color: white;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(to right, #6d28d9, #059669);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: rgba(0, 0, 0, 0.83);
    color: white;
    border: 1px solid hsl(var(--border));
}

.btn-outline:hover {
    background: hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary));
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.8);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: hsl(var(--foreground));
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #3b82f6, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.logo-text {
    font-weight: bold;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

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

.theme-toggle {
    background: none;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.theme-toggle:hover {
    background: hsl(var(--accent));
    border-color: hsl(var(--primary));
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle {
    background: none;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.menu-toggle .close-icon {
    display: none;
}

.menu-toggle.active .menu-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: block;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0 0.2rem;
    overflow: hidden;
}

@media (max-width: 480px) {
    .hero {
        min-height: unset;
        display: block;
        overflow: visible;
        padding: 2.5rem 0 1rem;
    }
    .hero-content {
        max-height: unset;
        height: auto;
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    .profile-image {
        width: 100%;
        max-width: 14rem;
        height: auto;
        aspect-ratio: 1/1;
        margin: 0 auto;
    }
    .image-container {
        width: 100%;
        max-width: 14rem;
        margin: 0 auto;
    }
}

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

.hero-video video {
    width: 120%;
    height: 120%;
    object-fit: cover;
    transform: translate(-10%, -10%);
}

@media (max-width: 480px) {
    .hero-video video {
        width: 100%;
        height: 100%;
        transform: translate(0%, 0%);
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 10;
    max-height: calc(100vh - 8rem);
}

@media (max-width: 480px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        max-height: calc(100vh - 5rem);
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
}

.section-heading {
    margin-bottom: 0.1em;
}

.decorative-text {
    font-size: 2.0rem;
    color: white;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: bold;
    margin: 0.25rem 0;
    line-height: 1.1;
}

.hero-title .gradient-text {
    background: linear-gradient(to right, #10b981, #7c3aed, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typing-container {
    height: 3rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.typing-text {
    font-size: 1.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    white-space: nowrap;
}

.cursor {
    animation: blink 1s infinite;
    margin-left: 0.25rem;
}

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

.hero-description {
    color: hsl(var(--muted-foreground));
    font-size: 1rem;
    max-width: 28rem;
    margin: 1rem 0;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid hsl(var(--border));
    border-radius: 50%;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    transform: scale(1.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.image-container {
    position: relative;
}

.gradient-border {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(to right, #7c3aed, #10b981, #3b82f6);
    opacity: 0.75;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-image {
    position: relative;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid hsl(var(--background));
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.floating-card {
    position: absolute;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 480px) {
    .floating-card {
        padding: 0.5rem;
    }
}

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

.experience-card {
    bottom: -2rem;
    right: -1rem;
}

.projects-card {
    top: 25%;
    left: -2rem;
    animation-delay: 1.5s;
}

@media (max-width: 480px) {
    .experience-card {
        bottom: -1rem;
        right: -0.5rem;
    }

    .projects-card {
        top: 75%;
        left: -1rem;
        animation-delay: 1.5s;
    }
}

.card-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(to right, #7c3aed, #10b981);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Styles */
section {
    padding: 4rem 0;
    position: relative;
}

.section-heading-container {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.section-heading.decorative::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 2px;
    background: linear-gradient(to right, #7c3aed, #10b981);
}

/* About Section */
.about {
    background: hsl(var(--background));
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: start;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-text {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Tabs */
.tabs {
    width: 100%;
}

.tab-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: hsl(var(--muted) / 0.5);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.tab-trigger {
    background: none;
    border: none;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius);
}

.tab-trigger.active {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.journey-video {
    width: 33.333%;
    height: 12rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.journey-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journey-text {
    flex: 1;
}

.tab-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    background: linear-gradient(to right, #10b981, #84cc16);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.philosophy-list {
    list-style: none;
    padding: 0;
}

.philosophy-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--muted-foreground));
}

.philosophy-list li i {
    color: hsl(var(--primary));
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.hobbies-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hobbies-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.about-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.services-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(to right, #3b82f6, #ec4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.2);
}

.service-icon {
    padding: 0.75rem;
    background: hsl(var(--primary) / 0.1);
    border-radius: var(--radius);
    color: hsl(var(--primary));
}

.service-content h4 {
    font-weight: 600;
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.service-content p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Skills Section */
.skills {
    background: hsl(var(--background));
}

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

.skill-category {
    padding: 2rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.skill-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
    position: relative;
}

.skill-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.skill-badge.level-5 {
    background: linear-gradient(to right, #10b981, #059669);
    color: white;
    border-color: #10b981;
}

.skill-badge.level-4 {
    background: linear-gradient(to right, #3b82f6, #2563eb);
    color: white;
    border-color: #3b82f6;
}

.skill-badge.level-3 {
    background: linear-gradient(to right, #f59e0b, #d97706);
    color: white;
    border-color: #f59e0b;
}

.skill-badge.level-2 {
    background: linear-gradient(to right, #ef4444, #dc2626);
    color: white;
    border-color: #ef4444;
}

.skill-badge.level-1 {
    background: linear-gradient(to right, #6b7280, #4b5563);
    color: white;
    border-color: #6b7280;
}

/* Projects Section */
.projects {
    background: hsl(var(--background));
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    width: 100%;
    height: 16rem;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.project-card:hover .project-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: hsl(var(--primary) / 0.8);
    color: hsl(var(--primary-foreground));
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #7c3aed, #10b981);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex: 1;
}

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

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-buttons .btn {
    flex: 1;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

.projects-cta {
    text-align: center;
}

/* Services Section */
.services {
    background: hsl(var(--background));
}

.services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.services .service-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
}

.services .service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: linear-gradient(to bottom right, #7c3aed, #3b82f6);
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground));
}

.service-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Stats Section */
.stats {
    background: linear-gradient(to right, #7c3aed, #3b82f6);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: hsl(var(--background));
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.2);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    padding: 0.75rem;
    border-radius: var(--radius);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
}

.gradient-bg-sky {
    background: linear-gradient(to bottom right, #0ea5e9, #06b6d4);
}

.gradient-bg-emerald {
    background: linear-gradient(to bottom right, #10b981, #059669);
}

.gradient-bg-red {
    background: linear-gradient(to bottom right, #ef4444, #f59e0b);
}

.contact-details h4 {
    font-weight: 600;
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

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

.form-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #10b981, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    padding-left: 0.25rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    font-size: 1rem;
    background: hsl(var(--background) / 0.5);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    transition: all 0.3s ease;
    min-height: 3rem;
}

.form-group textarea {
    min-height: 9rem;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.form-footer {
    text-align: center;
}

.direct-email {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.direct-email a {
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 500;
}

.direct-email a:hover {
    text-decoration: underline;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Footer */
.footer {
    background: hsl(var(--secondary));
    padding: 3rem 0;
}

[data-theme="dark"] .footer {
    background: hsl(var(--muted));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    flex: 1;
    max-width: 28rem;
}

.footer-description {
    color: hsl(var(--muted-foreground));
    margin-top: 0.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-social .social-links {
    margin: 0;
}

.footer-social .social-link {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.footer-copyright {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 3rem 0 1rem;
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        max-height: calc(100vh - 6rem);
    }
    
    .hero-title {
        font-size: 3rem;
        margin: 0.25rem 0;
    }
    
    .typing-text {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin: 0.75rem 0;
    }
    
    .hero-buttons {
        margin: 0.75rem 0;
    }
    
    .social-links {
        margin-top: 1rem;
    }
    
.profile-image {
    width: 20rem;
    height: 20rem;
}

@media (max-width: 480px) {
    .profile-image {
        width: 14rem;
        height: 14rem;
    }
}
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tab-content-inner {
        flex-direction: column;
    }
    
    .journey-video {
        width: 100%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 2.5rem 0 1rem;
        min-height: 100vh;
    }
    
    .hero-content {
        max-height: calc(100vh - 5rem);
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1;
    }
    
    .decorative-text {
        font-size: 1.5rem;
    }
    
    .typing-text {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
        margin: 0.5rem 0;
    }
    
    .hero-buttons {
        margin: 0.5rem 0;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .social-links {
        margin-top: 0.75rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .profile-image {
        width: 14rem;
        height: 14rem;
    }
    
    .floating-card {
        padding: 0.5rem;
    }
    
    .card-value {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

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

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

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

.scale-in {
    transform: scale(0.9);
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scroll animations - DISABLED */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

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