/* Base Styles */
:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #8b5cf6;
    --dark-color: #1e293b;
    --darker-color: #0f172a;
    --light-color: #f8fafc;
    --lighter-color: #ffffff;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;

    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

    --border-radius: 12px;
    --border-radius-lg: 20px;

    --glass-blur: blur(10px);
    --glass-opacity: 0.9;
}

[data-theme="dark"] {
    --dark-color: #f8fafc;
    --darker-color: #e2e8f0;
    --light-color: #1e293b;
    --lighter-color: #0f172a;
    --gray-color: #94a3b8;
    --light-gray: #334155;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--lighter-color);
    overflow-x: hidden;
    transition: var(--transition-slow);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title .title-number {
    color: var(--primary-color);
    margin-right: 10px;
    font-family: var(--font-secondary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    color: white;
    border-color: transparent;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(248, 250, 252, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}

[data-theme="dark"] .header {
    background-color: rgba(15, 23, 42, 0.85);
}

.header.scrolled {
    box-shadow: var(--shadow);
    background-color: rgba(248, 250, 252, 0.95);
}

[data-theme="dark"] .header.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.logo-text:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-family: var(--font-secondary);
    line-height: 1.2;
}

.hero-title span {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.hero-tagline {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-color);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.image-wrapper {
    width: 400px;
    height: 400px;
    border-radius: var(--border-radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.tech-icons {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px;
}

.tech-icons i {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
    margin: 15px;
    transition: var(--transition);
    animation: iconFloat 4s ease-in-out infinite;
}

.tech-icons i:nth-child(2) { animation-delay: 0.5s; }
.tech-icons i:nth-child(3) { animation-delay: 1s; }
.tech-icons i:nth-child(4) { animation-delay: 1.5s; }
.tech-icons i:nth-child(5) { animation-delay: 2s; }
.tech-icons i:nth-child(6) { animation-delay: 2.5s; }
.tech-icons i:nth-child(7) { animation-delay: 3s; }
.tech-icons i:nth-child(8) { animation-delay: 3.5s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tech-icons i:hover {
    opacity: 1;
    transform: scale(1.2);
    animation: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 5px 0;
    opacity: 0.5;
    animation: scrollPulse 2s infinite;
}

.scroll-dot:nth-child(2) { animation-delay: 0.3s; }
.scroll-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes scrollPulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* About Section */
/* Enhanced About Section Styles */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.animated-text {
    overflow: hidden;
}

.typing-animation {
    opacity: 0;
    animation: typing 1.5s forwards;
    animation-delay: 0.3s;
}

@keyframes typing {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.highlight-company {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.highlight-company::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.highlight-company:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.skills-list {
    margin: 25px 0;
    list-style: none;
}

.skill-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.skill-item:nth-child(1) { animation: slideIn 0.6s forwards 0.8s; }
.skill-item:nth-child(2) { animation: slideIn 0.6s forwards 1.0s; }
.skill-item:nth-child(3) { animation: slideIn 0.6s forwards 1.2s; }
.skill-item:nth-child(4) { animation: slideIn 0.6s forwards 1.4s; }

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

.skill-item i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.glass-card {
    background-color: rgba(37, 99, 235, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    margin-top: 40px;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.hover-effect:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(5px);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.achievements {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    gap: 20px;
}

.achievement-item {
    background: rgba(16, 185, 129, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    width: 100%;
    transition: var(--transition);
}

.achievement-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.achievement-item .counter {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.achievement-item span {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg);
    animation: rotateIn 1s forwards;
}

@keyframes rotateIn {
    to { opacity: 1; transform: rotate(0); }
}

/* Enhanced Image Container */
.floating {
    animation: float 6s ease-in-out infinite;
}

.tech-orbits {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.orbit {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.orbit-1 {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit1 8s linear infinite;
}

.orbit-2 {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    animation: orbit2 10s linear infinite;
}

.orbit-3 {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit3 12s linear infinite;
}

@keyframes orbit1 {
    0% { transform: translateX(-50%) rotate(0deg) translateY(100px) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg) translateY(100px) rotate(-360deg); }
}

@keyframes orbit2 {
    0% { transform: translateY(-50%) rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes orbit3 {
    0% { transform: translateX(-50%) rotate(0deg) translateY(100px) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg) translateY(100px) rotate(-360deg); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-top: 50px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .achievements {
        flex-direction: column;
    }
}
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.personal-info {
    margin-top: 30px;
    background-color: rgba(37, 99, 235, 0.05);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.info-item {
    display: flex;
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    min-width: 100px;
    color: var(--dark-color);
}

.info-value {
    color: var(--gray-color);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.03);
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    top: 15px;
    left: 15px;
    z-index: 1;
    animation: glow 4s ease-in-out infinite alternate;
    filter: blur(15px);
    opacity: 0.7;
}

@keyframes glow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(10px, 10px) scale(1.05); opacity: 0.5; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background-color: rgba(248, 250, 252, var(--glass-opacity));
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .skill-category {
    background-color: rgba(15, 23, 42, var(--glass-opacity));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.skill-category-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-family: var(--font-secondary);
    position: relative;
}

.skill-items {
    margin-top: 20px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-name {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-level {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    position: relative;
    transition: width 1.5s ease-out;
}

.skill-percent {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    z-index: 2;
    min-width: 150px;
    text-align: center;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    padding: 30px;
    background-color: rgba(248, 250, 252, var(--glass-opacity));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

[data-theme="dark"] .timeline-content {
    background-color: rgba(15, 23, 42, var(--glass-opacity));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 40px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: inherit;
    transform: rotate(45deg);
    z-index: -1;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
    font-family: var(--font-secondary);
}

.timeline-company {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-description {
    list-style-type: none;
}

.timeline-description li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--gray-color);
    line-height: 1.7;
}

.timeline-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.project-highlight {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    transition: var(--transition);
}

.project-highlight:hover {
    transform: translateX(5px);
}

.project-highlight h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.project-highlight p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: rgba(248, 250, 252, var(--glass-opacity));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .project-card {
    background-color: rgba(15, 23, 42, var(--glass-opacity));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-link {
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-family: var(--font-secondary);
}

.project-description {
    color: var(--gray-color);
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.project-links {
    display: flex;
    gap: 10px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: rgba(248, 250, 252, var(--glass-opacity));
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .info-card {
    background-color: rgba(15, 23, 42, var(--glass-opacity));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
    font-family: var(--font-secondary);
}

.info-text p {
    color: var(--gray-color);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    flex: 1;
    background-color: rgba(248, 250, 252, var(--glass-opacity));
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

[data-theme="dark"] .contact-form {
    background-color: rgba(15, 23, 42, var(--glass-opacity));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form:hover {
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: transparent;
    color: var(--dark-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--gray-color);
    transition: var(--transition);
    pointer-events: none;
    background-color: rgba(248, 250, 252, var(--glass-opacity));
    padding: 0 5px;
}

[data-theme="dark"] .form-group label {
    background-color: rgba(15, 23, 42, var(--glass-opacity));
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--lighter-color); /* Changed from var(--darker-color) */
    color: var(--dark-color); /* Added this line */
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    margin-bottom: 20px;
}

.footer-logo {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color); /* Changed from white */
    font-family: var(--font-secondary);
}

.footer-text {
    color: var(--gray-color); /* Changed from rgba(255, 255, 255, 0.7) */
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-link {
    color: var(--gray-color); /* Changed from rgba(255, 255, 255, 0.7) */
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-link i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-link:hover {
    color: var(--dark-color); /* Changed from white */
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--gray-color); /* Changed from rgba(255, 255, 255, 0.5) */
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 60px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-top: 50px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-info {
        margin-bottom: 50px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        left: calc(50% + 30px);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-date {
        left: 0;
        transform: none;
    }

    .timeline-content {
        width: 100%;
        left: 0 !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: rgba(248, 250, 252, 0.95);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        box-shadow: var(--shadow);
        padding: 20px 0;
        transition: var(--transition);
        z-index: 999;
    }

    [data-theme="dark"] .nav-list {
        background-color: rgba(15, 23, 42, 0.95);
    }

    .nav-list.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
        text-align: center;
    }

    .image-wrapper {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 80px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .image-wrapper {
        width: 280px;
        height: 280px;
    }

    .timeline-date {
        min-width: 120px;
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}
/* Enhanced Skills Section */
.skills-grid {
    overflow-x: hidden;
}

.skill-category {
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) ;
}

.skill-category.visible {
    transform: translateX(0);
    opacity: 1;
}

.skill-category:nth-child(even) {
    transform: translateX(100%);
}

.skill-category:nth-child(even).visible {
    transform: translateX(0);
}

.skill-bar {
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.skill-level {
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0.1) 100%);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced Experience Section */
.timeline {
    position: relative;
    padding: 0;
}

.timeline::before {
    background: linear-gradient(to bottom,
        var(--primary-color),
        var(--accent-color)) !important;
    width: 4px;
}

.timeline-item {
    margin-bottom: 80px;
    padding-left: 40px;
    position: relative;
}

.timeline-date {
    position: absolute;
    left: -20px;
    top: 0;
    transform: none !important;
    background: var(--gradient-primary);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    z-index: 2;
}

.timeline-content {
    width: 100% !important;
    left: 0 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.timeline-content::before {
    display: none;
}

.timeline-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 15px;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 30px;
}

.timeline-description li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.project-highlight {
    background: rgba(59, 130, 246, 0.1) !important;
    border-left: 3px solid var(--primary-color) !important;
    border-radius: 0 12px 12px 0 !important;
}

.project-highlight h5 {
    color: white !important;
}

.project-highlight p {
    color: rgba(255, 255, 255, 0.7) !important;
}
/* Mobile-specific styles (max-width: 768px) */
@media (max-width: 768px) {
    /* Base adjustments */
    html {
        font-size: 14px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .header .container {
        height: 70px;
    }
    
    .logo-text {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    /* Hero section */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .image-wrapper {
        width: 280px;
        height: 280px;
        margin-top: 40px;
    }
    
    /* About section */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .image-container {
        width: 250px;
        height: 250px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements {
        flex-direction: column;
    }
    
    /* Skills section */
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    /* Experience section */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-date {
        left: 0;
        transform: none;
    }
    
    .timeline-content {
        width: 100% !important;
        left: 0 !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
    }
    
    /* Projects section */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact section */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        margin-bottom: 30px;
    }
    
    /* Navigation */
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: rgba(248, 250, 252, 0.95);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        box-shadow: var(--shadow);
        padding: 20px 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    [data-theme="dark"] .nav-list {
        background-color: rgba(15, 23, 42, 0.95);
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
        text-align: center;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-date {
        min-width: 120px;
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .project-links .btn {
        width: 100%;
    }
}
 /* Professional Email Modal Styles */
.email-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.email-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.email-modal {
    background: var(--lighter-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    transform: scale(0.7) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-modal-overlay.show .email-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.modal-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    flex: 1;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.success-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.checkmark {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: checkmarkPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkmarkPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.check-icon {
    color: white;
    font-size: 2rem;
    animation: iconBounce 0.6s ease 0.3s both;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.modal-message {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-preview {
    background: rgba(37, 99, 235, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    animation: fadeInUp 0.6s ease 0.5s both;
}

.preview-item {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.preview-item:last-child {
    margin-bottom: 0;
}

.preview-label {
    font-weight: 600;
    color: var(--dark-color);
    min-width: 70px;
    font-size: 0.9rem;
}

.preview-value {
    color: var(--gray-color);
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 0 30px 30px;
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.modal-footer .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Dark theme support */
[data-theme="dark"] .email-modal {
    background: var(--lighter-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .message-preview {
    background: rgba(37, 99, 235, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .email-modal-overlay {
        padding: 15px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 0 20px 20px;
        flex-direction: column;
    }

    .preview-item {
        flex-direction: column;
        gap: 5px;
    }

    .preview-label {
        min-width: auto;
    }
}
