/* ====== GLOBAL STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

:root {
    /* Light Theme Variables - White and Grey Palette */
    --primary-color: #4b5e6b; /* Soft Slate Grey */
    --secondary-color: #6b7280; /* Medium Grey */
    --accent-color: #d1d5db; /* Light Grey */
    --success-color: #10b981; /* Subtle Green for highlights */
    --text-light: #ffffff; /* White for text */
    --text-medium: #6b7280; /* Medium Grey for secondary text */
    --text-dark: #1f2937; /* Dark Grey for primary text */
    --bg-dark: #f3f4f6; /* Light Grey Background */
    --bg-darker: #e5e7eb; /* Slightly Darker Grey */
    --bg-light: #ffffff; /* Pure White */
    --bg-card: rgba(255, 255, 255, 0.95); /* Semi-transparent White */
    --gradient-primary: linear-gradient(135deg, #4b5e6b, #6b7280);
    --gradient-accent: linear-gradient(135deg, #d1d5db, #e5e7eb);
    --gradient-success: linear-gradient(135deg, #10b981, #34d399);

    /* Common Variables */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 36px rgba(0, 0, 0, 0.2);
    --shadow-3d: 0 12px 30px rgba(0, 0, 0, 0.1), 0 6px 12px rgba(0, 0, 0, 0.05);
    --blur: blur(8px);
}

body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ====== FADE EFFECT ====== */
.fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, 
        var(--bg-dark) 0%, 
        var(--bg-dark) 60%, 
        var(--bg-dark) 80%, 
        transparent 100%);
    z-index: -1;
    pointer-events: none;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: var(--bg-card);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.nav-logo a:hover {
    transform: scale(1.05);
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.1);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ====== HERO SECTION ====== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
    z-index: 1;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-greeting {
    font-family: 'Bitcount Prop Single Ink', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-medium);
    opacity: 0.8;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: 'Bitcount Prop Single Ink', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-medium);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-roles {
    font-family: 'Play', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    min-height: 30px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-roles .cursor {
    border-right: 3px solid var(--secondary-color);
    padding-right: 8px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--secondary-color); }
    51%, 100% { border-color: transparent; }
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
    min-width: 140px;
    height: 44px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: var(--transition);
    z-index: -1;
    border-radius: 25px;
}

.btn:hover::before {
    transform: scale(1);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn:hover .btn-icon {
    transform: scale(1.1);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease forwards;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.profile-img:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* ====== SECTION STYLES ====== */
section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* ====== ABOUT SECTION ====== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    text-align: center;
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: var(--transition);
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-text h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-highlights {
    margin: 1.5rem 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.highlight-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.highlight-item p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

.passion-text {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
    margin: 1.5rem 0;
    font-style: italic;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-medium);
}

.detail-item i {
    color: var(--secondary-color);
    width: 20px;
}

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

.about-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ====== SKILLS SECTION ====== */
.skills-section {
    position: relative;
}

/* Expertise Stats */
.expertise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.stat-card:hover::before {
    opacity: 0.1;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(5deg);
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-content p {
    color: var(--text-medium);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Skills Container */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.skill-category {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.skill-category[data-category="frontend"]::before {
    background: linear-gradient(135deg, #61DAFB, #00D8FF);
}

.skill-category[data-category="backend"]::before {
    background: linear-gradient(135deg, #68A063, #43853D);
}

.skill-category[data-category="ai"]::before {
    background: linear-gradient(135deg, #FF6B6B, #FFA500);
}

.skill-category[data-category="cloud"]::before {
    background: linear-gradient(135deg, #FF9900, #232F3E);
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease;
}

.skill-category:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
}

.category-info h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.category-info p {
    color: var(--text-medium);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Skill Item */
.skill-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.skill-item:hover::before {
    opacity: 0.05;
}

.skill-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* Skill Header */
.skill-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.skill-header .skill-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.skill-item:hover .skill-header .skill-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skill-info {
    flex: 1;
    min-width: 0;
}

.skill-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Skill Badges */
.skill-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.skill-badge.expert {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.skill-badge.advanced {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}

.skill-badge.intermediate {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.skill-item:hover .skill-badge {
    transform: scale(1.05);
}

/* Skill Bar */
.skill-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.skill-level {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
    position: relative;
    overflow: hidden;
}

.skill-level::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animate skill bars on scroll */
.skill-item.visible .skill-level[data-level] {
    width: attr(data-level);
}

.skill-level[data-level="95"] { width: 95%; }
.skill-level[data-level="92"] { width: 92%; }
.skill-level[data-level="90"] { width: 90%; }
.skill-level[data-level="88"] { width: 88%; }
.skill-level[data-level="87"] { width: 87%; }
.skill-level[data-level="85"] { width: 85%; }
.skill-level[data-level="83"] { width: 83%; }
.skill-level[data-level="82"] { width: 82%; }
.skill-level[data-level="80"] { width: 80%; }
.skill-level[data-level="75"] { width: 75%; }

/* Skill Description */
.skill-description {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ====== EDUCATION SECTION ====== */
.education-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.education-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.education-card.featured {
    border: 2px solid var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.education-card:hover .education-icon {
    transform: scale(1.1);
}

.education-content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.education-content h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-date {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.education-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.education-location i {
    color: var(--secondary-color);
}

.education-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.education-highlights {
    margin: 1rem 0;
}

.education-highlights h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.education-highlights ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.education-highlights li {
    color: var(--text-medium);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.education-highlights li::before {
    content: '📚';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.education-status .status-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--gradient-success);
    color: var(--text-light);
}

/* ====== PROJECTS SECTION ====== */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.project-card.featured {
    border: 2px solid var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

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

.project-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

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

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

.project-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.featured-badge {
    background: var(--gradient-success);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

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

.project-tags span {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-tags span:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

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

.project-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    flex: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
}

/* ====== EXPERIENCE SECTION ====== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item.current {
    animation: slideInFromLeft 0.8s ease-out;
}

.timeline-item.current:nth-child(even) {
    animation: slideInFromRight 0.8s ease-out;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-icon {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-item.current .timeline-icon {
    background: var(--gradient-success);
}

.timeline-content {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.timeline-item.current .timeline-content {
    border-color: var(--success-color);
}

.timeline-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-item.current .timeline-content h3 {
    background: var(--gradient-success);
}

.timeline-content h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-date {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-location i {
    color: var(--secondary-color);
}

.timeline-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.achievements h5 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.achievements ul {
    list-style: none;
    padding: 0;
}

.achievements li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.9rem;
}

.achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.timeline-item.current .achievements li::before {
    color: var(--success-color);
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ====== FOOTER ====== */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 2rem 5% 1rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #9370DB, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: var(--transition);
    font-size: 1.2rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9370DB, #87CEEB);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(147, 112, 219, 0.3);
    border-color: transparent;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.made-with-love {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.made-with-love p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.heart, .coffee {
    display: inline-block;
    animation: heartbeat 2s ease-in-out infinite;
    margin: 0 2px;
}

.coffee {
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

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

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.8rem);
    }

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

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .about-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .footer-main {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

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

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

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-subtitle, .hero-roles {
        font-size: 1.2rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

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

    .expertise-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-content h3 {
        font-size: 2rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .category-info h3 {
        font-size: 1.5rem;
    }

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

    .skill-item {
        padding: 1.2rem;
    }

    .skill-header .skill-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .skill-info h4 {
        font-size: 1rem;
    }

    .skill-description {
        font-size: 0.85rem;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 4rem;
        padding-right: 1rem;
    }

    .timeline-icon {
        left: 0 !important;
        right: auto !important;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons, .about-actions, .project-links {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

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

    .projects-container {
        padding: 0 1rem;
    }

    .education-highlights ul {
        grid-template-columns: 1fr;
    }
}

/* ====== TESTIMONIALS CAROUSEL ====== */
.testimonials-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, rgba(75, 94, 107, 0.1), rgba(107, 114, 128, 0.1));
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #9370DB, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Merriweather', serif;
    color: #000000;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
    border-radius: 15px;
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    padding: 2rem 0;
}

.testimonials-track {
    display: flex;
    animation: scroll-left 30s linear infinite;
    gap: 2rem;
    padding: 0 2rem;
    width: max-content;
}

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

.testimonials-carousel:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 350px;
    max-width: 350px;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1.1rem;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #000000;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 2rem;
    color: #666666;
    opacity: 0.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(147, 112, 219, 0.3);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
    word-wrap: break-word;
}

.author-info p {
    margin: 0 0 0.5rem 0;
    color: #333333;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.company-badge {
    display: inline-block;
    background: linear-gradient(135deg, #9370DB, #87CEEB);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====== RESPONSIVE DESIGN FOR TESTIMONIALS ====== */
@media (max-width: 768px) {
    .testimonials-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.5rem;
    }

    .testimonials-track {
        gap: 1rem;
        padding: 0 1rem;
    }

    .testimonial-content {
        font-size: 0.9rem;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.8rem;
    }
}