/* CSS Variables for Theme Support */
:root {
    /* Dark theme (default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #0D0D0D;
    --text-primary: #ffffff;
    --text-secondary: #ccc;
    --text-muted: #888;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 149, 0, 0.3);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.08);
    --navbar-bg: rgba(255, 255, 255, 0.1);
    --navbar-mobile-bg: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-bg-focus: rgba(255, 255, 255, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Light theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6a6a6a;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(255, 149, 0, 0.4);
    --card-bg: rgba(0, 0, 0, 0.03);
    --card-bg-hover: rgba(0, 0, 0, 0.06);
    --navbar-bg: rgba(255, 255, 255, 0.1);
    --navbar-mobile-bg: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(0, 0, 0, 0.05);
    --input-bg-focus: rgba(0, 0, 0, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

/* Disable smooth scrolling on mobile devices for better performance */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto !important;
    }
    
    * {
        scroll-behavior: auto !important;
    }
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 400px;
    border-radius: 50px;
    background: var(--navbar-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 
                0 12px 40px rgba(0, 0, 0, 0.4),
                0 6px 20px rgba(0, 0, 0, 0.3),
                0 3px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.nav-link:focus {
    outline: none;
    box-shadow: none;
}

.nav-link:hover {
    background: rgba(255, 149, 0, 0.1);
    color: #ff9500;
}

.nav-link:active,
.nav-link.active {
    background: rgba(255, 149, 0, 0.1);
    color: #ff9500;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    left: 20px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-contact-btn {
    display: none;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
    z-index: 1001;
}

.mobile-contact-btn:hover {
    background: linear-gradient(135deg, #ffb347 0%, #ff9500 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.4);
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 149, 0, 0.9);
    border: 1px solid rgba(255, 149, 0, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 18px;
    z-index: 1002;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.theme-toggle:hover {
    background: rgba(255, 149, 0, 1);
    border-color: rgba(255, 149, 0, 0.6);
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

/* Light theme specific styling for navbar shadows */
[data-theme="light"] .navbar {
    box-shadow: 0 12px 40px rgba(87, 87, 87, 0.25), 
                0 6px 20px rgba(87, 87, 87, 0.15),
                0 3px 10px rgba(87, 87, 87, 0.1);
}

/* Light theme specific styling for desktop theme toggle */
[data-theme="light"] .theme-toggle {
    background: rgba(255, 149, 0, 0.9);
    border: 1px solid rgba(255, 149, 0, 0.4);
    color: white;
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(255, 149, 0, 1);
    border-color: rgba(255, 149, 0, 0.6);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Hide mobile theme toggle on desktop */
.mobile-theme-toggle {
    display: none;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-texture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07;
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
    z-index: 5;
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    filter: blur(2px);
}

/* Small highlight circles for theme-aware background */
.highlight-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
    filter: blur(1px);
}

/* Theme-aware colors for highlight circles */
[data-theme="dark"] .highlight-circle {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
}

[data-theme="light"] .highlight-circle {
    background: radial-gradient(circle, rgba(255, 193, 7, 0.4) 0%, rgba(255, 193, 7, 0.1) 100%);
}

/* Individual highlight circle positions and sizes */
.highlight-1 {
    width: 20px;
    height: 20px;
    top: 15%;
    left: 20%;
    animation-delay: -1s;
}

.highlight-2 {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 25%;
    animation-delay: -3s;
}

.highlight-3 {
    width: 25px;
    height: 25px;
    top: 35%;
    left: 70%;
    animation-delay: -5s;
}

.highlight-4 {
    width: 18px;
    height: 18px;
    top: 80%;
    left: 15%;
    animation-delay: -2s;
}

.highlight-5 {
    width: 22px;
    height: 22px;
    top: 25%;
    right: 15%;
    animation-delay: -4s;
}

.highlight-6 {
    width: 16px;
    height: 16px;
    top: 70%;
    right: 45%;
    animation-delay: -6s;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffa726 0%, #ff8f00 100%);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffcc02 0%, #ff9500 100%);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffb347 0%, #ffa726 100%);
    top: 40%;
    right: 10%;
    animation-delay: 1s;
}

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

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-banner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #ff9500;
    animation: fadeInUp 1s ease 0.1s both;
}

.blinking-dot {
    width: 6px;
    height: 6px;
    background: #ff9500;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.banner-text {
    font-size: 12px;
    font-weight: 500;
    color: #ff9500;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.greeting {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #888;
    font-weight: 400;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease 0.2s both;
}

.name {
    display: block;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.4s both;
}

.name-line-1,
.name-line-2 {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #aaa;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    color: white;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffb347 0%, #ff9500 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.btn-secondary {
    background: transparent;
    color: #ff9500;
    border: 2px solid #ff9500;
}

.btn-secondary:hover {
    background: #ff9500;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #ff9500;
    border-bottom: 2px solid #ff9500;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-radius: 25px;
    margin: 0 5px;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

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

.social-link {
    background: var(--card-bg);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    color: #ff9500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 120px;
}

.social-link:hover {
    background: #ff9500;
    color: white;
    transform: translateY(-3px);
    border-color: #ff9500;
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.3);
}

.social-link i {
    font-size: 18px;
    flex-shrink: 0;
}

.social-link span {
    white-space: nowrap;
}

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

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 149, 0, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover {
    border-color: rgba(255, 149, 0, 0.6);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 149, 0, 0.2);
}

.image-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    opacity: 0.8;
}

/* Skills Section */

.skills .section-title {
    text-align: center;
}

.skills {
    padding: 60px 0;
    overflow: hidden;
}

.skills-banner {
    height: 80px;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.skills-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: scroll-left 40s linear infinite;
    white-space: nowrap;
}

.skill-item {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    margin-right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(255, 149, 0, 0.1);
    border-color: rgba(255, 149, 0, 0.3);
    color: #ffb347;
    transform: scale(1.05);
}

/* .skill-item::before {
    content: '▸';
    margin-right: 8px;
    color: #667eea;
} */

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-900%);
    }
}

/* Pause animation on hover */
.skills-banner:hover .skills-track {
    animation-play-state: paused;
}

/* Second skills banner - reverse direction, mobile only */
.skills-banner-reverse {
    height: 80px;
    overflow: hidden;
    position: relative;
    margin-top: 0px;
    display: none; /* Hidden on desktop */
}

.skills-track-reverse {
    display: flex;
    align-items: center;
    height: 100%;
    animation: scroll-right 60s linear infinite;
    white-space: nowrap;
}

@keyframes scroll-right {
    0% {
        transform: translateX(-900%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Pause reverse animation on hover */
.skills-banner-reverse:hover .skills-track-reverse {
    animation-play-state: paused;
}

/* Experience Section */
.experience {
    padding: 80px 0;
}

.experience .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.experience-subsection {
    margin-bottom: 60px;
}

.experience-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    border-radius: 2px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.experience-item:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.experience-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.company-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.experience-item:hover .company-logo {
    border-color: rgba(255, 149, 0, 0.3);
    background: rgba(255, 149, 0, 0.1);
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
}

.logo-placeholder::before {
    content: '🏢';
    font-size: 24px;
}

.company-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.company-location {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.date-info {
    flex-shrink: 0;
    margin-left: 20px;
}

.date-range {
    font-size: 0.9rem;
    color: #ff9500;
    font-weight: 500;
    background: rgba(255, 149, 0, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    border: 1px solid rgba(255, 149, 0, 0.2);
    white-space: nowrap;
}

.experience-description {
    margin-top: 20px;
}

.experience-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-points li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.experience-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff9500;
    font-weight: 600;
    font-size: 14px;
}

.experience-points li:last-child {
    margin-bottom: 0;
}

/* Work Section */
.work {
    padding: 60px 0 120px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 40%);
    border-radius: 25px;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

.work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-texture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.02;
    z-index: 1;
    pointer-events: none;
}

.work .section-title {
    text-align: center;
    position: relative;
    z-index: 10;
}

.work-subtitle {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-10px);
    background: var(--card-bg-hover);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.bloom-bg {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.bitetribe-bg {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.meesho-bg {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.amazon-bg {
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
}

.duolingo-bg {
    background: linear-gradient(135deg, #85ffbd 0%, #fffb7d 100%);
}

.zomato-bg {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.t25-bg {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.youtube-bg {
    background: linear-gradient(135deg, #ff8a80 0%, #ff80ab 100%);
}

.case-study-badge,
.teardown-badge,
.system-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-content {
    padding: 30px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-year {
    color: var(--text-muted);
    font-size: 14px;
}

.project-type {
    background: rgba(255, 149, 0, 0.2);
    color: #ff9500;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-link {
    color: #ff9500;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.project-link::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.project-link:hover::after {
    transform: translateX(5px);
}

.project-link:hover {
    color: #ffb347;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(0deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images/hero-texture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "calendly contact-form"
        "quick-contact contact-form";
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.calendly-option {
    grid-area: calendly;
}

.contact-form-option {
    grid-area: contact-form;
}

.quick-contact-option {
    grid-area: quick-contact;
}

.contact-option {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-option:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.option-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.option-header i {
    font-size: 48px;
    color: #ff9500;
    margin-bottom: 15px;
}

.option-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.option-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1rem;
}

.calendly-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calendly-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffb347 0%, #ff9500 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.calendly-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.4);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff9500;
    background: var(--input-bg-focus);
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffb347 0%, #ff9500 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.form-submit:hover::before {
    left: 0;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ff9500;
    text-decoration: none;
    padding: 15px 25px;
    background: var(--input-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

.contact-method:hover {
    background: rgba(255, 149, 0, 0.1);
    border-color: rgba(255, 149, 0, 0.3);
    transform: translateY(-3px);
    color: #ffb347;
}

.contact-method i {
    font-size: 20px;
    min-width: 20px;
}

.contact-method span {
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 20px 0;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size:x-small;
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide scrollbar on mobile to prevent right-side spacing */
    ::-webkit-scrollbar {
        display: none;
    }
    
    html {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        scroll-behavior: auto; /* Remove smooth scrolling on mobile to prevent delays */
    }
    
    body {
        -ms-overflow-style: none; /* IE and Edge */
    }

    .skills-track {
        animation: scroll-left 40s linear infinite;
    }

    /* Show second skills banner on mobile */
    .skills-banner-reverse {
        display: block;
    }

    /* Reduce skill item size on mobile */
    .skill-item {
        padding: 8px 16px;
        margin-right: 12px;
        font-size: 14px;
    }

    .navbar {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        max-width: 500px;
        min-width: 320px;
        background: var(--navbar-bg);
        backdrop-filter: blur(30px);
        border: 1px solid var(--border-color);
        border-radius: 50px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 
                    0 12px 40px rgba(0, 0, 0, 0.4),
                    0 6px 20px rgba(0, 0, 0, 0.3),
                    0 3px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-container {
        justify-content: center;
        padding: 0 30px;
        height: 60px;
    }

    .hamburger {
        display: none;
    }

    .mobile-contact-btn {
        display: block;
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px 16px;
        font-size: 12px;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        background: transparent;
        width: auto;
        text-align: center;
        padding: 0 10px;
        gap: 20px;
        display: flex;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-link {
        font-size: 13px;
        font-weight: 500;
        padding: 8px 10px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

    /* Light theme specific styling for mobile navbar shadows */
    [data-theme="light"] .navbar {
        box-shadow: 0 12px 40px rgba(87, 87, 87, 0.25), 
                    0 6px 20px rgba(87, 87, 87, 0.15),
                    0 3px 10px rgba(87, 87, 87, 0.1);
    }

    /* Light theme specific styling for mobile navigation hover */
    [data-theme="light"] .nav-link:hover {
        color: #000000;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        padding-top: 120px;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        min-height: calc(100vh - 200px);
        padding-top: 40px;
    }

    .greeting {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
    }

    .name-line-1,
    .name-line-2 {
        display: block;
        line-height: 1.1;
    }

    .name-line-1 {
        margin-bottom: 5px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn-secondary {
        display: none;
    }

    .btn {
        width: 180px;
        text-align: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-description {
        margin: 0 20px 30px 20px;
    }

    .social-links {
        justify-content: center;
    }

    .work-subtitle {
        margin: 0 20px 60px 20px;
    }

    .contact-description {
        margin: 0 20px 30px 20px;
    }

    .contact-options {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas: 
            "calendly"
            "quick-contact"
            "contact-form";
        gap: 30px;
        margin: 0 auto;
        justify-items: center;
        padding: 0 15px;
        max-width: 450px;
    }

    .contact-option {
        padding: 20px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .option-header {
        margin-bottom: 15px;
    }

    .option-header i {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .option-header h3 {
        font-size: 1.3rem;
    }

    .option-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .calendly-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .contact-methods {
        gap: 12px;
    }

    .contact-method {
        max-width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .contact-method i {
        font-size: 18px;
    }

    /* Experience Section Mobile */
    .experience {
        padding: 60px 0;
    }

    .experience .section-title {
        margin-bottom: 40px;
    }

    .experience-subsection {
        margin-bottom: 50px;
    }

    .subsection-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .experience-list {
        gap: 30px;
        margin: 0 20px;
    }

    .experience-item {
        padding: 20px;
    }

    .experience-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .company-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .date-info {
        margin-left: 0;
    }

    .company-logo {
        width: 50px;
        height: 50px;
    }

    .logo-placeholder::before {
        font-size: 20px;
    }

    .company-name {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .company-location {
        font-size: 0.9rem;
        justify-content: center;
        margin-bottom: 8px;
    }

    .date-range {
        font-size: 0.85rem;
        padding: 3px 10px;
    }

    .experience-points li {
        font-size: 0.9rem;
        padding-left: 20px;
        margin-bottom: 10px;
    }

    .experience-points li::before {
        font-size: 12px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    /* Hide header theme toggle in mobile view */
    .theme-toggle {
        display: none;
    }

    /* Mobile theme toggle - positioned at bottom right */
    .mobile-theme-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1002;
        background: rgba(255, 149, 0, 0.9);
        border: 1px solid rgba(255, 149, 0, 0.4);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: white;
        font-size: 18px;
        box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
    }

    .mobile-theme-toggle:hover {
        background: rgba(255, 149, 0, 1);
        border-color: rgba(255, 149, 0, 0.6);
        transform: scale(1.1);
        color: white;
        box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
    }

    .mobile-theme-toggle:active {
        transform: scale(0.95);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .greeting {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .project-card {
        margin: 0 10px;
    }

    .skill-category {
        padding: 25px;
    }

    .about-description,
    .contact-description {
        margin: 0 15px 30px 15px;
    }
}

/* Scroll animations disabled for work section */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffb347 0%, #ff9500 100%);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 149, 0, 0.5);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
    backdrop-filter: blur(2px);
    background: rgba(255, 149, 0, 0.05);
}

/* Hide default cursor */
* {
    cursor: none !important;
}

/* Cursor hover states */
.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background: linear-gradient(135deg, #ffb347 0%, #ff9500 100%);
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.8);
}

.cursor-hover .cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: rgba(255, 149, 0, 0.8);
    background: rgba(255, 149, 0, 0.1);
}

/* Cursor click state */
.cursor-click .cursor-dot {
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #ff6b00 0%, #ff9500 100%);
}

.cursor-click .cursor-outline {
    transform: translate(-50%, -50%) scale(0.8);
    border-color: rgba(255, 149, 0, 1);
}

/* Cursor text state - theme-aware */
[data-theme="light"] .cursor-text .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
}

[data-theme="light"] .cursor-text .cursor-outline {
    transform: translate(-50%, -50%) scale(0.7);
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(102, 126, 234, 0.05);
}

/* Dark theme cursor text state - keep orange */
[data-theme="dark"] .cursor-text .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.6);
}

[data-theme="dark"] .cursor-text .cursor-outline {
    transform: translate(-50%, -50%) scale(0.7);
    border-color: rgba(255, 149, 0, 0.6);
    background: rgba(255, 149, 0, 0.05);
}

/* Cursor hidden state */
.cursor-hidden .cursor-dot,
.cursor-hidden .cursor-outline {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

/* Pulse animation for special elements */
@keyframes cursor-pulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 149, 0, 0.8), 0 0 35px rgba(255, 149, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
    }
}

.cursor-pulse .cursor-dot {
    animation: cursor-pulse 1.5s ease-in-out infinite;
}

/* Theme-aware cursor colors */
[data-theme="light"] .cursor-dot {
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.6);
}

[data-theme="light"] .cursor-outline {
    border-color: rgba(255, 149, 0, 0.6);
    background: rgba(255, 149, 0, 0.08);
}

[data-theme="light"] .cursor-hover .cursor-dot {
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.9);
}

[data-theme="light"] .cursor-hover .cursor-outline {
    border-color: rgba(255, 149, 0, 0.9);
    background: rgba(255, 149, 0, 0.15);
}

/* Hide cursor on mobile devices */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    * {
        cursor: auto !important;
    }
}

/* Selection color */
::selection {
    background: rgba(255, 149, 0, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(255, 149, 0, 0.3);
    color: #fff;
}
