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

:root {
    /* Light Theme Variables */
    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --accent-color: #36D1DC;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F0F2F5;
    --card-bg: #FFFFFF;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --border-color: #E1E5E9;
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #36D1DC 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6584 0%, #FFC107 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
}

[data-theme="dark"] {
    /* Dark Theme Variables */
    --primary-color: #7B73FF;
    --secondary-color: #FF7389;
    --accent-color: #3CDAE0;
    --text-color: #FFFFFF;
    --text-light: #B0B7C3;
    --bg-color: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --card-bg: #1E293B;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.3);
    --border-color: #334155;
    --gradient-primary: linear-gradient(135deg, #7B73FF 0%, #3CDAE0 100%);
    --gradient-secondary: linear-gradient(135deg, #FF7389 0%, #FFD54F 100%);
    --gradient-accent: linear-gradient(135deg, #818CF8 0%, #A78BFA 100%);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utility Classes */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 10s infinite;
    border: 5px solid rgba(255, 255, 255, 0.1);
    filter: brightness(1.05) contrast(1.05);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1) contrast(1.1);
}

[data-theme="dark"] .profile-image {
    filter: brightness(0.95) contrast(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    margin-left: 10px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(108, 99, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

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

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

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .header {
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
}

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

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-tertiary);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 2;
}

.theme-toggle .fa-moon {
    left: 10px;
}

.theme-toggle .fa-sun {
    right: 10px;
}

.toggle-switch {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: var(--transition);
    z-index: 1;
}

[data-theme="dark"] .toggle-switch {
    transform: translateX(30px);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    color: white;
}

[data-theme="light"] .theme-toggle .fa-sun {
    color: var(--text-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-bar {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-color);
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    white-space: nowrap;
}

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

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

/* Home Section */
.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-color);
    padding-top: 80px;
    overflow: hidden;
}

.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-text {
    animation: fadeInUp 0.8s ease-out;
}

.home-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-line {
    display: block;
}

.title-line-1 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 400;
}

.title-line-2 {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-top: 10px;
}

.typing-text {
    position: relative;
}

.typed-cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

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

.home-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.home-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.home-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.home-visual {
    position: relative;
    animation: fadeIn 1s ease-out 0.3s both;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: -30px;
    background: var(--gradient-secondary);
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    right: 100px;
    animation-delay: 4s;
}

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

.hero-avatar {
    position: relative;
    z-index: 1;
}

.avatar-container {
    width: 400px;
    height: 400px;
    position: relative;
    margin: 0 auto;
}

.avatar-inner {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morphing 10s infinite;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.avatar-icon {
    font-size: 8rem;
    color: white;
    animation: pulse 2s infinite;
}

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

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

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

.avatar-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particle-float 3s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 5%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    top: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    top: 70%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin: -5px;
    animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--primary-color);
    opacity: 0.5;
}

.section-subtitle::before {
    right: calc(100% + 15px);
}

.section-subtitle::after {
    left: calc(100% + 15px);
}

.section-title {
    font-size: 3rem;
    color: var(--text-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-cta {
    margin-top: 30px;
}

.skills-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.skills-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.skills-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.skill-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.skill-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 600;
    color: var(--text-color);
}

.skill-percent {
    font-weight: 700;
    color: var(--primary-color);
}

.skill-bar {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 5px;
    transition: width 1.5s ease-out;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-width: 80px;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: var(--gradient-primary);
}

.tech-item:hover .tech-icon {
    color: white !important;
}

.tech-item:hover .tech-name {
    color: white;
}

.tech-icon {
    font-size: 2rem;
    transition: var(--transition);
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

/* Services Section */
.services-section {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover .service-overlay {
    opacity: 0.05;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.service-features li i {
    color: var(--primary-color);
}

/* Experience Section */
.experience-dashboard {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-title i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.dashboard-title h3 {
    margin: 0;
    color: var(--text-color);
}

.dashboard-controls {
    display: flex;
    gap: 10px;
}

.view-toggle {
    padding: 8px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.view-toggle:hover,
.view-toggle.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.experience-timeline {
    padding: 40px;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: relative;
    width: 30px;
    margin-right: 30px;
    flex-shrink: 0;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.marker-line {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 40px);
    background: var(--border-color);
    z-index: 1;
}

.timeline-item:last-child .marker-line {
    display: none;
}

.timeline-content {
    flex: 1;
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.timeline-company {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-description {
    color: var(--text-light);
    margin-bottom: 15px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tag:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
}

.experience-card {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--gradient-primary);
    color: white;
}

.card-date {
    font-weight: 600;
}

.card-badge {
    background: white;
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.card-company {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.card-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.card-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.card-stats {
    display: flex;
    justify-content: space-around;
}

.card-stats .stat {
    text-align: center;
}

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

.card-stats .stat-label {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Projects Section */
.projects-section {
    background: var(--bg-secondary);
}

.projects-dashboard {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.project-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px;
}

.project-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.5));
    pointer-events: none;
    z-index: 1;
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

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

.project-card:hover .project-thumbnail {
    transform: scale(1.06);
}

.project-link {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: var(--bg-tertiary);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

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

.project-btn {
    flex: 1;
    padding: 10px 15px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.project-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 80px auto auto -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54, 209, 220, 0.18) 0%, rgba(54, 209, 220, 0) 70%);
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    inset: auto -140px 40px auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.16) 0%, rgba(108, 99, 255, 0) 70%);
    pointer-events: none;
}

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

.contact-card {
    padding: 32px;
    margin-bottom: 32px;
    border-radius: var(--border-radius-lg);
    background:
        linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(54, 209, 220, 0.08)),
        var(--card-bg);
    border: 1px solid rgba(108, 99, 255, 0.14);
    box-shadow: var(--card-shadow);
}

.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(108, 99, 255, 0.12);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-text {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-value {
    display: block;
    font-weight: 600;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(108, 99, 255, 0.08), transparent 28%);
    pointer-events: none;
}

.contact-form-header {
    position: relative;
    margin-bottom: 30px;
}

.contact-form-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(54, 209, 220, 0.14);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-form-title {
    margin-bottom: 12px;
    font-size: 2rem;
}

.contact-form-copy {
    color: var(--text-light);
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
}

.form-label i {
    color: var(--primary-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
    background: rgba(15, 23, 42, 0.72);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #8b95a7;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: var(--bg-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
    transform: translateY(-1px);
}

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

.error-message {
    color: #ff4757;
    font-size: 0.9rem;
    margin-top: 5px;
    min-height: 20px;
}

.success-message {
    color: #2ed573;
    font-weight: 500;
    margin-top: 15px;
    text-align: center;
    min-height: 0;
    padding: 0;
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    background: transparent;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.success-message.is-visible {
    opacity: 1;
    transform: translateY(0);
    padding: 14px 16px;
    background: rgba(46, 213, 115, 0.12);
    border-color: rgba(46, 213, 115, 0.24);
}

.success-message.is-error {
    color: #ff4757;
}

.success-message.is-error.is-visible {
    background: rgba(255, 71, 87, 0.12);
    border-color: rgba(255, 71, 87, 0.24);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

.btn-submit:disabled {
    cursor: wait;
    opacity: 0.75;
    transform: none;
    box-shadow: none;
}

.form-disclaimer {
    margin: 18px 0 0;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
}

.form-disclaimer a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo .logo {
    margin-bottom: 15px;
}

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

.footer-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.footer-nav {
    list-style: none;
}

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

.footer-nav a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.newsletter-btn {
    padding: 0 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    opacity: 0.9;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-note {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-note i {
    color: #ff4757;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.4);
}

/* Floating Profile Image (Optional) */
.floating-profile {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-profile:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .home-title {
        font-size: 3rem;
    }
    
    .title-line-2 {
        font-size: 3rem;
    }
    
    .title-line-3 {
        font-size: 2rem;
    }
    
    .avatar-container {
        width: 350px;
        height: 350px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .home-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle.active .menu-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active .menu-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .menu-bar:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .home-title {
        font-size: 2.5rem;
    }
    
    .title-line-2 {
        font-size: 2.5rem;
    }
    
    .title-line-3 {
        font-size: 1.8rem;
    }
    
    .home-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .home-stats {
        justify-content: space-around;
    }
    
    .avatar-container {
        width: 280px;
        height: 280px;
    }
    
    .avatar-icon {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .experience-cards,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .project-filters {
        flex-wrap: wrap;
    }
    
    .floating-profile {
        width: 60px;
        height: 60px;
        bottom: 80px;
        right: 20px;
    }

    .contact-card,
    .contact-form {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .home-title {
        font-size: 2rem;
    }
    
    .title-line-2 {
        font-size: 2rem;
    }
    
    .title-line-3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .avatar-container {
        width: 250px;
        height: 250px;
    }
    
    .skills-container,
    .contact-form {
        padding: 25px;
    }

    .contact-card {
        padding: 24px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 25px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
