@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Global Variables */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --text-color: #f8fafc;
    --text-secondary: #94a3b8;
    --white-color: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --oracle-color: #f80000;
    --github-color: #24292e;
    --linkedin-color: #0077b5;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    --gradient-dark: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

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

html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-track {
    background: var(--gray-800);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-700);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Scroll to Top Button */
.scroll-up-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white-color);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-up-btn.show {
    transform: translateY(0);
    opacity: 1;
}

.scroll-up-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    z-index: 999;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.95);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white-color);
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggler {
    border: none;
    background: none;
    color: var(--white-color);
    font-size: 1.5rem;
}

.navbar-nav {
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--white-color) !important;
}

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

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.title {
    text-align: center;
    margin-bottom: 4rem;
}

.title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="rgba(99, 102, 241, 0.1)"/></svg>');
    opacity: 0.5;
}

.home-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.home-content .text-1 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.home-content .text-2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-content .text-3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.home-content .text-3 span {
    color: var(--accent-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.8;
}

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

.stat-card {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white-color);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Specific hover colors for different social platforms */
.social-links a[href*="github"]:hover {
    background: #24292e;
    border-color: #24292e;
    box-shadow: 0 8px 25px rgba(36, 41, 46, 0.4);
}

.social-links a[href*="linkedin"]:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-links a[href^="mailto"]:hover {
    background: #ea4335;
    border-color: #ea4335;
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
}

.social-links a[href^="tel"]:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white-color);
}

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

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

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.float-icon {
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.float-icon:nth-child(2) {
    animation-delay: -1s;
}

.float-icon:nth-child(3) {
    animation-delay: -2s;
}

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

/* About Section */
.about {
    background: var(--surface-color);
}

.about-img {
    position: relative;
    margin-bottom: 2rem;
}

.img-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    color: var(--white-color);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.about-badges {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge-item {
    background: var(--success-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

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

.about-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-item i {
    color: var(--primary-color);
    width: 20px;
}

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

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

.about-stats .stat-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-stats .stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Education Section */
.education {
    background: var(--bg-color);
}

.education-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

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

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 2rem 0;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 3rem;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--surface-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background: var(--surface-color);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 2rem;
    max-width: 45%;
    position: relative;
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 3rem;
}

.timeline-date {
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.grade-highlight {
    background: var(--success-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin: 1rem 0;
}

.education-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.education-tags span {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Experience Section */
.experience {
    background: var(--surface-color);
}

.experience-cards {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-card {
    background: var(--bg-color);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.experience-card.open-source::before {
    background: var(--gradient-accent);
}

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

.experience-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.experience-card.open-source .experience-icon {
    background: var(--gradient-accent);
}

.experience-header {
    margin-bottom: 1.5rem;
}

.experience-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.company-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

.duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.experience-points {
    list-style: none;
    margin-bottom: 1.5rem;
}

.experience-points li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.experience-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.experience-tech span {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Skills Section */
.skills {
    background: var(--bg-color);
}

.skills-categories {
    display: grid;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: var(--surface-color);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

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

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--white-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white-color);
    flex-shrink: 0;
}

.skill-info {
    flex: 1;
}

.skill-name {
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 0.5rem;
    display: block;
}

.skill-level {
    background: rgba(148, 163, 184, 0.2);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

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

.skill-percent {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Coding Stats */
.coding-stats {
    margin-top: 4rem;
    text-align: center;
}

.coding-stats h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stats-grid .stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: left;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white-color);
}

.stat-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    background: var(--surface-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: var(--bg-color);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.project-card.featured::before {
    background: var(--gradient-accent);
}

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

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

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white-color);
}

.project-type {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--white-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.project-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.feature-item i {
    color: var(--success-color);
    font-size: 0.8rem;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

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

.project-stats .stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.project-stats .stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

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

.project-tags span {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

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

.btn-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.projects-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-color);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.projects-cta h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.projects-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Achievements Section */
.achievements {
    background: var(--bg-color);
}

.achievements-grid {
    display: grid;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-category {
    background: var(--surface-color);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.achievement-category .category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.achievement-category .category-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.achievement-category .category-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--white-color);
}

.achievements-list {
    display: grid;
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.achievement-item.featured {
    border-color: var(--accent-color);
    background: rgba(6, 182, 212, 0.1);
}

.achievement-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white-color);
    flex-shrink: 0;
}

.achievement-item.featured .achievement-icon {
    background: var(--gradient-accent);
}

.achievement-content {
    flex: 1;
}

.achievement-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.achievement-content p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.achievement-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.achievement-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.achievement-badge.oracle {
    background: linear-gradient(135deg, #f80000, #cc0000);
    color: var(--white-color);
    border-color: rgba(248, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(248, 0, 0, 0.25);
}

.achievement-badge.top-performer {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--white-color);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: achievement-glow 2s ease-in-out infinite alternate;
}

.achievement-badge.winner {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white-color);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: achievement-glow 2s ease-in-out infinite alternate;
}

@keyframes achievement-glow {
    0% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
        transform: scale(1.02);
    }
}

.achievement-badge.leetcode {
    background: linear-gradient(135deg, #ffa116, #ff8f00);
    color: var(--white-color);
    border-color: rgba(255, 161, 22, 0.3);
    box-shadow: 0 4px 12px rgba(255, 161, 22, 0.3);
}

.achievement-badge.codechef {
    background: linear-gradient(135deg, #5b4638, #4a3a2a);
    color: var(--white-color);
    border-color: rgba(91, 70, 56, 0.3);
    box-shadow: 0 4px 12px rgba(91, 70, 56, 0.3);
}

.achievement-badge.participant {
    background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
    color: var(--white-color);
    border-color: rgba(100, 116, 139, 0.3);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
}

/* Open Source Stats */
.open-source-stats {
    margin-bottom: 2rem;
}

.os-stat-card {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.os-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.os-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.os-stat-label {
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 0.3rem;
}

.os-stat-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.os-description {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.os-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--surface-color);
}

.contact-wrapper {
    margin-bottom: 4rem;
}

.contact-info {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-wrapper .row {
    align-items: stretch;
}

.contact-wrapper .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.contact-intro h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.contact-intro p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.info-items {
    margin-bottom: 3rem;
}

.contact .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.info-content h4 {
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 0.3rem;
}

.info-content p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-social h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.contact-social .social-links {
    justify-content: flex-start;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 140px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.social-link.github:hover {
    background: var(--github-color);
    border-color: var(--github-color);
    box-shadow: 0 8px 25px rgba(36, 41, 46, 0.4);
}

.social-link.linkedin:hover {
    background: var(--linkedin-color);
    border-color: var(--linkedin-color);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-link.email:hover {
    background: #ea4335;
    border-color: #ea4335;
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
}

.social-link i {
    font-size: 1.1rem;
}

.contact-social .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.availability-status {
    margin-top: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success-color);
    animation: pulse-dot 2s infinite;
}

.status-dot.available {
    background: var(--success-color);
}

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

.status-indicator span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-color);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.form-header p {
    color: var(--text-secondary);
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--white-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: var(--white-color);
    font-size: 1rem;
    line-height: 1.5;
    transition: var(--transition);
    box-sizing: border-box;
    height: 50px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.form-control[rows] {
    height: auto;
    min-height: 120px;
    resize: vertical;
    padding-top: 1rem;
}

.form-icon {
    position: absolute;
    left: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.form-group:focus-within .form-icon {
    color: var(--primary-color);
}

/* Default positioning for input fields */
.form-group .form-icon {
    top: 2.2rem;
    height: 50px;
}

/* Special positioning for textarea */
.form-group:has(textarea) .form-icon {
    top: 2.8rem;
    height: auto;
    align-items: flex-start;
    padding-top: 0.8rem;
}

/* Fallback for textarea (browsers without :has support) */
.form-group textarea ~ .form-icon {
    top: 2.8rem;
    height: auto;
    align-items: flex-start;
    padding-top: 0.8rem;
}

.btn-send {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b5ff0, #7c3aed);
}

.btn-send:active {
    transform: translateY(-1px);
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: var(--bg-color);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.contact-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

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

.contact-stats .stat-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 0.2rem;
}

.contact-stats .stat-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--bg-color);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-social {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-status .status-indicator {
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 0 20px;
    }
    
    .floating-elements {
        display: none;
    }
}

@media (max-width: 992px) {
    .title h2 {
        font-size: 2.5rem;
    }
    
    .home-content .text-2 {
        font-size: 3rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-item:nth-child(even) {
        justify-content: center;
    }
    
    .timeline-content {
        max-width: 80%;
        margin: 0 !important;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 !important;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        gap: 0.5rem;
    }
    
    .home-content .text-1 {
        font-size: 1.2rem;
    }
    
    .home-content .text-2 {
        font-size: 2.5rem;
    }
    
    .home-content .text-3 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-content {
        max-width: 95%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-social .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .social-link {
        min-width: 120px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .title h2 {
        font-size: 2rem;
    }
    
    .home-content .text-2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-stats {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .social-link {
        justify-content: center;
        min-width: 120px;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-700);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}