/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* Modern Portfolio Theme 2024 */
:root {
    --primary: #ff3333;
    --primary-dark: #cc0000;
    --secondary: #ff6666;
    --dark: #000000;
    --light: #ffffff;
    --gray: #999999;
    --success: #22c55e;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden !important;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

/* Container System */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    max-width: 100%;
}

@media screen and (min-width: 640px) {
    .container {
        width: 540px;
    }
}

@media screen and (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        width: 1000px;
    }
}

@media screen and (min-width: 1280px) {
    .container {
        width: 1140px;
    }
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 51, 51, 0.1);
}

.navbar-brand {
    color: var(--light);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--primary);
}

.nav-link {
    color: var(--light);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 51, 51, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 51, 51, 0.05);
    box-shadow: 0 20px 40px rgba(255, 51, 51, 0.15);
}

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

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

.hero-greeting {
    color: var(--light);
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.hero-card h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-card h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--light);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-card .lead {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-expertise {
    margin: 3rem 0;
}

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

.expertise-item {
    background: rgba(255, 51, 51, 0.05);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 51, 51, 0.1);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.15);
}

.expertise-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.expertise-item:hover i {
    transform: scale(1.2);
}

.expertise-item span {
    display: block;
    font-size: 1rem;
    color: var(--light);
    font-weight: 500;
}

.hero-actions {
    margin-top: 3rem;
}

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

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--light);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.3);
}

.hero-buttons .btn-outline-primary {
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

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

.social-links a {
    color: var(--gray);
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px;
    }

    .hero-card {
        padding: 2rem;
    }

    .hero-header {
        margin-bottom: 1rem;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .expertise-item {
        padding: 1rem;
    }

    .expertise-item i {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

/* Basic Elements */
h1, h2, h3, h4, h5, h6 {
    color: #E0D5C1;
    margin-bottom: 1rem;
}

a {
    color: #E0D5C1;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

/* Custom Button Styles */
.hero-buttons .btn {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--light);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.4);
}

.hero-buttons .btn-outline-primary {
    color: var(--primary);
    background-color: transparent;
    border: 2px solid var(--primary);
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

.hero-buttons .btn:focus, 
.hero-buttons .btn:active {
    outline: none;
    box-shadow: none;
}

/* Section Styles */
.section-padding {
    padding: 120px 0;
    position: relative;
}

.section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(44, 62, 80, 0.1),
      transparent
    );
    opacity: 0.1;
}

.bg-light {
    background-color: #1A1F25 !important;
}

@keyframes gradientBG {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: flex-start;
}

.skill-tag {
    background: rgba(255, 51, 51, 0.1);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.skill-tag:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

.social-links a {
    color: var(--gray);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 1px;
    bottom: -10px;
    left: 0;
    background-color: #E0D5C1;
}

/* Enhanced About Section */
.about-wrapper {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.about-card {
    background: rgba(255, 51, 51, 0.05);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 51, 51, 0.1);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.15);
}

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

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

.about-header h3 {
    margin: 0;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 0;
}

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

.skill-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.skill-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.2);
    opacity: 1;
}

.skill-item span {
    display: block;
    margin-left: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 1rem;
}

/* Education and Interests Section */
.education-interests {
    display: grid;
    gap: 2rem;
}

.education-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.4s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 51, 51, 0.1);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.15);
}

.education-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.education-details {
    flex: 1;
}

.education-details h4 {
    font-size: 1.3rem;
    color: var(--light);
    margin: 0 0 0.5rem 0;
}

.education-details p {
    font-size: 1rem;
    color: var(--gray);
    margin: 0;
}

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

.interest-badge {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.interest-badge:hover::before {
    left: 100%;
}

.interest-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 51, 51, 0.1);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.15);
}

.interest-badge i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.interest-badge:hover i {
    transform: scale(1.2);
}

.interest-badge span {
    display: block;
    font-size: 1rem;
    color: var(--light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-wrapper {
        gap: 1.5rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-header h3 {
        font-size: 1.5rem;
    }

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

    .education-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .interests-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background-color: #1A1F25;
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
}

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

.timeline-header h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.timeline-period {
    color: #E0D5C1;
    font-size: 0.9rem;
}

.timeline-content h4 {
    color: rgba(224, 213, 193, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-details {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.timeline-details li {
    position: relative;
    margin-bottom: 0.75rem;
}

.timeline-details li::before {
    content: "▹";
    position: absolute;
    left: -1.5rem;
    color: #E0D5C1;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-tech span {
    font-size: 0.8rem;
    color: rgba(224, 213, 193, 0.8);
}

/* Projects Section */
.project-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 51, 51, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 51, 51, 0.15);
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-content {
    position: relative;
}

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

.project-folder i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.project-card:hover .project-folder i {
    transform: scale(1.1);
    color: var(--secondary);
}

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

.project-links a {
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.project-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.project-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-content p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

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

.project-features li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--light);
    font-size: 1rem;
    opacity: 0.9;
}

.project-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-tech span {
    background: rgba(255, 51, 51, 0.1);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.project-tech span:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.2);
}

@media (max-width: 768px) {
    .project-card {
        padding: 1.5rem;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
    
    .project-features ul {
        grid-template-columns: 1fr;
    }
    
    .project-tech {
        gap: 0.75rem;
    }
    
    .project-tech span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* New Footer Styles */
.new-footer {
    background-color: #000000;
    padding: 80px 0;
    color: #E0D5C1;
    position: relative;
}

.new-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224, 213, 193, 0.1), transparent);
}

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

.footer-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #E0D5C1;
}

.footer-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #E0D5C1;
    opacity: 0.9;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--light);
    border-radius: 4px;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.footer-contact-info {
    display: flex;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 51, 51, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 51, 51, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: rgba(255, 51, 51, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.15);
    border-color: var(--primary);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.2);
}

.contact-card p {
    margin: 0;
    color: var(--light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-card:hover p {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-title {
        font-size: 3rem;
    }

    .footer-description {
        font-size: 1rem;
    }

    .footer-contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-card {
        padding: 1rem;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-period {
        margin-top: 0.5rem;
    }
}

/* Animation Styles */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Enhanced Interest Badges */
.interests-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.interest-badge {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.interest-badge:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 51, 51, 0.1);
}

.interest-badge i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.interest-badge span {
    font-size: 1rem;
    color: #E0D5C1;
    font-weight: 500;
    display: block;
}

.interest-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent
    );
    transition: 0.5s;
}

.interest-badge:hover::before {
    left: 100%;
}

/* Enhanced Animations */
@keyframes float {
    0% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(-20px);
    }
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .interests-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .interest-badge {
        padding: 1rem;
    }

    .interest-badge i {
        font-size: 1.5rem;
    }

    .project-card {
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .hero-content h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .hero-skills {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        display: flex;
    }
    
    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Loading Animation */
.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A0C10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-animation::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 2px solid #E0D5C1;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Enhanced Hover Effects */
.nav-link:hover {
    text-shadow: 0 0 10px var(--primary);
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(120deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    display: inline-block;
}

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

/* Update form inputs */
.form-control {
    background-color: #252A32;
    border: 1px solid rgba(224, 213, 193, 0.1);
    color: #E0D5C1;
}

.form-control:focus {
    background-color: #1A1F25;
    border-color: #E0D5C1;
    color: #E0D5C1;
}

.progress {
    height: 6px;
    background-color: rgba(255, 51, 51, 0.1);
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: width 0.6s ease;
}
