* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    cursor: none;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #9ca3af, #ffffff);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out;
    transform: translate(-50%, -50%);
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #9ca3af, #ffffff);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #9ca3af, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #9ca3af, #ffffff);
    transition: width 0.3s ease;
}

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

.nav-btn {
    background: linear-gradient(45deg, #4b5563, #6b7280);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Profile Image Styles */
.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.2), rgba(75, 85, 99, 0.2), rgba(107, 114, 128, 0.2));
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 3s infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: rgba(156, 163, 175, 0.05);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 3s infinite 1s;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-welcome {
    background: linear-gradient(45deg, #9ca3af, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(45deg, #d1d5db, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.hero-typewriter {
    font-size: 3rem;
    font-weight: bold;
    height: 80px;
    margin-bottom: 1.5rem;
}

.cursor-blink {
    animation: blink 1s infinite;
}

.hero-description {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ffffff, #e5e7eb);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #6b7280;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, rgba(75, 85, 99, 0.5), rgba(107, 114, 128, 0.5));
}

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

.social-link {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.5), rgba(55, 65, 81, 0.5));
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(107, 114, 128, 0.5);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1) rotate(12deg);
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.5), rgba(75, 85, 99, 0.5));
}

/* Hero Avatar */
.hero-avatar {
    position: relative;
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

.avatar-rings {
    position: absolute;
    inset: 0;
}

.ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    opacity: 0.2;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-image: linear-gradient(45deg, #9ca3af, #ffffff) 1;
    animation: spin 20s linear infinite;
}

.ring-2 {
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    top: 1rem;
    left: 1rem;
    border-image: linear-gradient(45deg, #ffffff, #d1d5db) 1;
    animation: spin 15s linear infinite reverse;
    opacity: 0.3;
}

.avatar-main {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.2), rgba(107, 114, 128, 0.2), rgba(156, 163, 175, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
    overflow: hidden;
}

.avatar-main:hover {
    transform: scale(1.05);
}

.floating-elements {
    position: absolute;
}

.floating-dot {
    position: absolute;
    background: linear-gradient(45deg, #9ca3af, #ffffff);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.dot-1 {
    width: 32px;
    height: 32px;
    top: -16px;
    right: -16px;
}

.dot-2 {
    width: 24px;
    height: 24px;
    bottom: -16px;
    left: -16px;
    animation-delay: 0.5s;
}

.dot-3 {
    width: 16px;
    height: 16px;
    top: 50%;
    right: -32px;
    animation-delay: 1s;
}

.orbiting-elements {
    position: absolute;
    inset: 0;
}

.orbit {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orbit-1 {
    animation: orbit 10s linear infinite;
}

.orbit-2 {
    animation: orbit 8s linear infinite reverse;
}

.orbit-dot {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #d1d5db, #ffffff);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-2 .orbit-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #ffffff, #9ca3af);
    top: auto;
    bottom: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: #9ca3af;
    font-size: 2rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
.section-title {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(45deg, #d1d5db, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #9ca3af;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 4rem;
}

.section-header {
    margin-bottom: 4rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(55, 65, 81, 0.05), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

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

.about-avatar {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.1), rgba(107, 114, 128, 0.1), rgba(156, 163, 175, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
    overflow: hidden;
}

.about-avatar:hover {
    transform: scale(1.05);
}

.floating-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.3), rgba(255, 255, 255, 0.2));
    border-radius: 8px;
    animation: float 6s ease-in-out infinite;
}

.shape-1 { width: 16px; height: 16px; top: 20%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 20px; height: 20px; top: 40%; left: 20%; animation-delay: 0.5s; }
.shape-3 { width: 24px; height: 24px; top: 60%; left: 30%; animation-delay: 1s; }
.shape-4 { width: 16px; height: 16px; top: 30%; right: 10%; animation-delay: 1.5s; }
.shape-5 { width: 20px; height: 20px; top: 50%; right: 20%; animation-delay: 2s; }
.shape-6 { width: 18px; height: 18px; top: 70%; right: 30%; animation-delay: 2.5s; }

.about-content {
    space-y: 2rem;
}

.about-text {
    margin: 2rem 0;
}

.about-text p {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.about-text p:hover {
    transform: translateX(8px);
}

.commitment-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.2), rgba(75, 85, 99, 0.2));
    border-radius: 1rem;
    border: 1px solid rgba(107, 114, 128, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    margin: 2rem 0;
}

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

.commitment-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pulse 2s infinite;
}

.skills-section {
    margin-top: 3rem;
}

.skills-section h3 {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.skill-item {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    padding: 2px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(17, 24, 39, 0.9);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.skill-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.1) rotate(12deg);
}

.skill-item:hover .skill-image {
    transform: scale(1.2);
}

.skill-item:hover::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, #6b7280, #ffffff);
    border-radius: 1rem;
    filter: blur(8px);
    opacity: 0.3;
    z-index: -1;
}

/* Education Section */
.education {
    padding: 5rem 0;
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(55, 65, 81, 0.1), rgba(75, 85, 99, 0.1), rgba(107, 114, 128, 0.1));
}

.timeline-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #6b7280, #9ca3af, #ffffff);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 2rem);
    margin-right: 0;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    border: 4px solid #000000;
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-dot i {
    font-size: 1.5rem;
    color: white;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.1);
    background: linear-gradient(135deg, #9ca3af, #ffffff);
    box-shadow: 0 0 20px rgba(156, 163, 175, 0.5);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.3), rgba(75, 85, 99, 0.3));
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(107, 114, 128, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: rgba(75, 85, 99, 0.3);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: rgba(75, 85, 99, 0.3);
}

.timeline-content:hover {
    transform: scale(1.02);
    border-color: rgba(156, 163, 175, 0.5);
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.4), rgba(107, 114, 128, 0.4));
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(45deg, #9ca3af, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(156, 163, 175, 0.3);
    border-radius: 50px;
    background-color: rgba(156, 163, 175, 0.1);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover .timeline-title {
    background: linear-gradient(45deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-institution {
    color: #9ca3af;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.timeline-period {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.timeline-description {
    color: #d1d5db;
    line-height: 1.6;
}

.timeline-description p {
    margin: 0;
}

/* Services Section */
.services {
    padding: 5rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(55, 65, 81, 0.1), rgba(75, 85, 99, 0.1), rgba(107, 114, 128, 0.1));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.service-card {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.5), rgba(75, 85, 99, 0.5));
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: scale(1.05) translateY(-8px);
    border-color: rgba(156, 163, 175, 0.5);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.5), rgba(156, 163, 175, 0.5));
    border-color: rgba(156, 163, 175, 0.5);
}

.service-icon {
    color: #9ca3af;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    background: linear-gradient(45deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card p {
    color: #9ca3af;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #d1d5db;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(55, 65, 81, 0.05), transparent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.project-card {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.5), rgba(75, 85, 99, 0.5));
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.project-card:hover {
    transform: scale(1.05) translateY(-16px);
    border-color: rgba(156, 163, 175, 0.5);
}

.project-card.featured {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.5), rgba(156, 163, 175, 0.5));
    border-color: rgba(156, 163, 175, 0.5);
}

.project-image {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-btn {
    background: linear-gradient(45deg, #ffffff, #e5e7eb);
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.project-card:hover .project-btn {
    transform: translateY(0);
}

.project-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
}

.project-card:hover .project-header h3 {
    background: linear-gradient(45deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-badge {
    background: linear-gradient(45deg, #6b7280, #4b5563);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

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

.project-content p {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.project-card:hover .project-content p {
    color: #d1d5db;
}

.projects-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(55, 65, 81, 0.1), rgba(75, 85, 99, 0.1), rgba(107, 114, 128, 0.1));
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.3), rgba(75, 85, 99, 0.3));
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(107, 114, 128, 0.3);
    transition: transform 0.5s ease;
}

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

.quote-mark {
    font-size: 4rem;
    background: linear-gradient(45deg, #9ca3af, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

.quote-end {
    transform: rotate(180deg);
    background: linear-gradient(45deg, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-text {
    font-size: 1.25rem;
    color: #d1d5db;
    line-height: 1.7;
    max-width: 600px;
    margin: 2rem auto;
    transition: transform 0.3s ease;
}

.testimonial-text:hover {
    transform: scale(1.05);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    transition: transform 0.3s ease;
}

.testimonial-author:hover {
    transform: scale(1.05);
}

.author-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    padding: 2px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.author-info h4 {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.author-info p {
    color: #9ca3af;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.control-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2), rgba(156, 163, 175, 0.2));
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.4), rgba(107, 114, 128, 0.4));
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(45deg, #9ca3af, #ffffff);
    transform: scale(1.25);
}

.dot:hover {
    background: #9ca3af;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.1), rgba(75, 85, 99, 0.1), rgba(107, 114, 128, 0.1));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.contact-info {
    text-align: left;
}

.contact-emoji {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.contact-info h3 {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffffff, #e5e7eb, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.contact-line {
    width: 128px;
    height: 4px;
    background: linear-gradient(45deg, #6b7280, #9ca3af, #ffffff);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

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

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

.form-group label {
    color: white;
    font-weight: 500;
    font-size: 1.125rem;
}

.form-group input,
.form-group textarea {
    background: rgba(55, 65, 81, 0.5);
    border: 1px solid rgba(107, 114, 128, 0.5);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9ca3af;
    background: rgba(55, 65, 81, 0.7);
    transform: scale(1.02);
}

.full-width {
    width: 100%;
    justify-content: center;
}

.form-message {
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(75, 85, 99, 0.5);
    backdrop-filter: blur(10px);
}

.footer p {
    text-align: center;
    color: #9ca3af;
    font-size: 1.125rem;
}

.heart {
    color: #ef4444;
    animation: pulse 1s infinite;
}

/* Animations */
@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-5deg); }
}

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

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

@keyframes orbit {
    from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-30px); }
    70% { transform: translateY(-15px); }
    90% { transform: translateY(-4px); }
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-typewriter {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .avatar-main,
    .about-avatar {
        width: 250px;
        height: 250px;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 2rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 4rem;
        margin-right: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 2rem;
        transform: translateX(-50%);
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -20px;
        right: auto;
        border-right-color: rgba(75, 85, 99, 0.3);
        border-left-color: transparent;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-typewriter {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem 1rem;
    }
    
    .contact-info h3 {
        font-size: 2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-title {
        font-size: 1.25rem;
    }
}



.projects-carousel-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.projects-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.projects-slide {
    min-width: 100%;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.project-card {
    flex: 0 0 calc(50% - 1rem);
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.project-card.featured {
    border: 2px solid #6366f1;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.project-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.project-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scale(1.2);
}

.auto-play-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.play-pause-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .projects-slide {
        flex-direction: column;
    }
    
    .project-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .carousel-controls {
        gap: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}


/* Tech Stack Section Styles */
.tech-stack-section {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.tech-stack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.tech-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-subtitle {
    font-size: 1.1rem;
    color: #888888;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
}

.tech-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.tech-carousel {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scrollTech 30s linear infinite;
    width: fit-content;
    padding: 20px 0;
}

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

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
    padding: 25px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #333333;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #ffffff;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
}

.tech-item i {
    font-size: 2.5rem;
    color: #ffffff;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.tech-item:hover i {
    color: #ffffff;
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Specific icon colors on hover */
.tech-item:hover .fa-html5 { color: #e34f26; }
.tech-item:hover .fa-css3-alt { color: #1572b6; }
.tech-item:hover .fa-js-square { color: #f7df1e; }
.tech-item:hover .fa-react { color: #61dafb; }
.tech-item:hover .fa-node-js { color: #339933; }
.tech-item:hover .fa-php { color: #777bb4; }
.tech-item:hover .fa-python { color: #3776ab; }
.tech-item:hover .fa-java { color: #ed8b00; }
.tech-item:hover .fa-git-alt { color: #f05032; }
.tech-item:hover .fa-wind { color: #06b6d4; }

.tech-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #cccccc;
    text-align: center;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
}

.tech-item:hover span {
    color: #ffffff;
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .tech-title {
        font-size: 2rem;
    }
    
    .tech-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .tech-carousel {
        gap: 40px;
        animation-duration: 25s;
    }
    
    .tech-item {
        min-width: 100px;
        padding: 20px 15px;
        gap: 10px;
    }
    
    .tech-item i {
        font-size: 2rem;
    }
    
    .tech-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tech-stack-section {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .tech-title {
        font-size: 1.8rem;
    }
    
    .tech-carousel {
        gap: 30px;
        animation-duration: 20s;
    }
    
    .tech-item {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .tech-item i {
        font-size: 1.8rem;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
}

/* Performance optimizations */
.tech-carousel {
    will-change: transform;
}

.tech-item {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .tech-carousel {
        animation: none;
    }
    
    .tech-item {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .tech-item {
        border-color: #ffffff;
        background: #000000;
    }
    
    .tech-item:hover {
        background: #333333;
    }
}