/* Scroll Progress Bar */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

#scroll-progress {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00b4d8;
    --secondary-color: #6c757d;
    --bg-color: #121212;
    --bg-color-light: #f8f9fa;
    --text-color: #ffffff;
    --text-color-light: #212529;
    --accent-color: #ff6b6b;
    --shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    --shadow-light: 0 4px 20px rgba(0, 123, 255, 0.05);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

[data-theme="light"] {
    --bg-color: var(--bg-color-light);
    --text-color: var(--text-color-light);
    --shadow: var(--shadow-light);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; }
p { font-size: 1rem; }

/* Section Headings */
.about h2,
.services h2,
.projects h2,
.contact h2 {
    text-align: center;
    font-size: 4rem;
    background: linear-gradient(45deg, #00b4d8, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn.primary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn.primary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.6), 0 0 40px rgba(0, 180, 216, 0.3);
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn.secondary:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.enter-site-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    
}
.enter-site-btn:hover {
    background: black !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.email-btn {
    position: relative;
}

.email-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 10;
    margin-top: 5px;
}

.email-btn:hover .email-tooltip {
    display: block;
}

.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease, visibility 1.5s ease;
}

#preloader.animated-bg {
    background: linear-gradient(45deg, #121212, #1a1a1a, #0f0f0f, #121212);
    background-size: 400% 400%;
    animation: bg-shift 4s ease-in-out infinite;
}

@keyframes bg-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.preloader-content h1 {
    font-size: 2rem;
    color: var(--primary-color);
    animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.live-coding-indicator {
    display: block;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    color: var(--primary-color);
    padding: 0.5rem 1rem 0.5rem 2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem auto;
    position: relative;
    text-align: center;
    width: fit-content;
}

.live-coding-indicator::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ff00, 0 0 30px #00ff00, 0 0 45px #00ff00;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dynamic-code {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 1rem 0;
    opacity: 1;
    position: relative;
    background: rgba(0, 180, 216, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.dynamic-code::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.3) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.blob1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blob2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.blob3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 180, 216, 0.3);
    border-radius: 50%;
    animation: float-random 15s infinite linear;
    pointer-events: none;
}

@keyframes float-random {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(20px) rotate(90deg); opacity: 0.6; }
    50% { transform: translateY(-15px) translateX(-15px) rotate(180deg); opacity: 0.4; }
    75% { transform: translateY(25px) translateX(10px) rotate(270deg); opacity: 0.5; }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); opacity: 0.3; }
}

/* About Section */
.about {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.animated-quote {
    margin: 2rem 0;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    position: relative;
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
}

.quote::before {
    left: -20px;
}

.quote::after {
    right: -20px;
}

.info-cards {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    flex: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.skills-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00b4d8, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.skills-category {
    margin-bottom: 4rem;
}

.skills-category h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 180, 216, 0.1), transparent);
    animation: rotate 4s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skill-card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.3), 0 0 60px rgba(255, 107, 107, 0.2);
    border-color: rgba(0, 180, 216, 0.5);
}

.skill-card:hover .skill-icon {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    font-size: 3rem;
    color: #00b4d8;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.skill-name {
    font-size: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 2;
    margin: 0;
}

.progress-container {
    position: relative;
    z-index: 2;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00b4d8, #ff6b6b);
    border-radius: 4px;
    width: 0%;
    transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #00b4d8;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.3), 0 0 60px rgba(255, 107, 107, 0.2);
    border-color: rgba(0, 180, 216, 0.5);
}

.service-card:hover h3,
.service-card:hover p {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 180, 216, 0.1), transparent);
    animation: rotate 6s linear infinite;
    pointer-events: none;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.testimonials h2 {
    text-align: center;
    font-size: 4rem;
    background: linear-gradient(45deg, #00b4d8, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    display: flex;
    gap: 20px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-inner::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--testimonial-color, rgba(0, 180, 216, 0.3));
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.testimonial-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: white;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.3), 0 0 60px rgba(255, 107, 107, 0.2);
    border-color: rgba(0, 180, 216, 0.5);
}

.project-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 1rem 1rem 0;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card h3 {
    font-size: 1.8rem;
    margin: 0.5rem 1rem 0.5rem;
    font-weight: 700;
    text-align: center;
}

.project-card p {
    font-size: 1rem;
    margin: 0 1rem 1rem;
    opacity: 0.9;
    text-align: center;
}

.tech-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 1rem 1rem;
}

.tech-tag {
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 180, 216, 0.2);
    transform: translateY(-2px);
}

.card-line {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
}

.project-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.project-label {
    font-weight: bold;
    color: var(--primary-color);
}

.vertical-line {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    height: 20px;
    margin: 0 1rem;
}

.project-tech {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.project-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem;
    margin-top: auto;
}

.project-buttons a {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.project-card:hover .project-buttons a {
    opacity: 1;
    transform: translateY(0);
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}


/* Contact Section */
.contact {
    padding: 150px 0;
    background: rgba(255, 255, 255, 0.02);
}

.contact .container {
    max-width: 1200px;
    padding: 0 20px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

.contact-text h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.contact-text p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.contact-form {
    width: 100%;
    max-width: 600px;
}

#contactForm {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00b4d8;
    background: rgba(255,255,255,0.1);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 120px;
    width: 180px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
    border-color: rgba(0, 180, 216, 0.5);
}

.contact-icon {
    margin-bottom: 0.5rem;
}

.contact-icon i {
    font-size: 2rem;
}

.contact-card p {
    margin: 0;
    font-size: 0.9rem;
    word-break: break-word;
}

.contact-card.instagram .contact-icon i {
    color: #E4405F;
}

.contact-card.twitter .contact-icon i {
    color: #000000;
}

.contact-card.email .contact-icon i {
    color: var(--primary-color);
}

.contact-card.instagram:hover {
    border-color: #E4405F;
    box-shadow: 0 10px 20px rgba(228, 64, 95, 0.3);
}

.contact-card.twitter:hover {
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Footer */
.footer {
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.back-to-top {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.back-to-top:hover {
    background: #0056b3;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.4);
}

/* Background Hover Effect */
.bg-hover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 180, 216, 0.1) 0%, transparent 30%);
    transition: background 0.3s ease;
}

/* Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* Code Rain Effect */
.code-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: -1;
    overflow: hidden;
}

.code-line {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: rgba(0, 180, 216, 0.3);
    white-space: nowrap;
    animation: code-float linear infinite;
    pointer-events: auto;
    transition: all 0.3s ease;
    z-index: 1;
}

.code-line:hover {
    color: rgba(0, 180, 216, 1);
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.8);
}

@keyframes code-float {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .info-cards {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .skills-title {
        font-size: 2.5rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-icon {
        font-size: 2.5rem;
    }

    .skill-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 2rem; }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        min-width: 200px;
    }
}