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

:root {
    --primary-color: #00D4FF;
    --secondary-color: #00F0FF;
    --accent-color: #0099CC;
    --dark-bg: #0a1628;
    --darker-bg: #050d1a;
    --text-color: #ffffff;
    --text-muted: #a0d4ff;
    --border-color: #0d3a52;
}

html {
    scroll-behavior: smooth;
}

@keyframes scrollingBackground {
    0% {
        background-position: 0% 0%, 100% 0%;
    }
    100% {
        background-position: 0% 100%, 100% 100%;
    }
}

@keyframes floatingOrbs {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

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

.hero-content.fade-out {
    animation: fadeOut 0.8s ease-out forwards;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Audio Controls */
.mute-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mute-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.mute-toggle:active {
    transform: scale(0.95);
}

.mute-toggle svg {
    width: 24px;
    height: 24px;
}

.mute-toggle.muted {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff4444;
    color: #ff4444;
}

.mute-toggle.muted:hover {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.mute-toggle.muted #volumeWaves {
    display: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 8, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.logo-main::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.logo:hover .logo-main::after {
    width: 100%;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, #0d2845 100%);
    overflow: hidden;
    margin-top: 60px;
    border-bottom: 1px solid var(--border-color);
    
}

/* Arkanoid Game Canvas */
.arkanoid-canvas {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    cursor: pointer;
    z-index: 15;
}

/* Stars - 3D animated field */
.stars {
    position: absolute;
    inset: 0;
    overflow: visible;
    perspective: 900px;
    transform-style: preserve-3d;
    pointer-events: none; /* decorative */
    z-index: 2; /* bring above soft hero overlays for visibility */
}

/* Soft nebula / subtle color layers to give depth */
.stars .nebula {
    position: absolute;
    left: -10%;
    top: -10%;
    width: 120%;
    height: 120%;
    mix-blend-mode: screen;
    filter: blur(40px);
    opacity: 0.22;
    transform-origin: 50% 50%;
    animation: slowRotate 80s linear infinite;
    pointer-events: none;
}

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

/* Individual star style uses CSS variables populated by JS for X/Y/Z position, size, opacity and timings */
.stars .star {
    position: absolute;
    /* Position by left/top for robust placement. Center using translate(-50%,-50%). */
    left: var(--x, 0px);
    top: var(--startY, -10vh);
    /* smaller default visual size */
    width: var(--size, 1.2px);
    height: var(--size, 1.2px);
    /* sharper core, less bubbly: tighter highlight with quick falloff */
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, rgba(255,255,255,0.95) 18%, rgba(255,255,255,0.20) 26%, rgba(255,255,255,0.04) 36%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(var(--z, -600px)) scale(var(--scale, 1));
    /* Trail effect using box-shadow pointing upward */
    box-shadow: 
        0 calc(var(--trail, 50px) * -0.2) calc(var(--trail, 50px) * 0.15) calc(var(--size, 1.2px) * -0.5) rgba(255,255,255,0.3),
        0 calc(var(--trail, 50px) * -0.4) calc(var(--trail, 50px) * 0.25) calc(var(--size, 1.2px) * -0.3) rgba(255,255,255,0.2),
        0 calc(var(--trail, 50px) * -0.6) calc(var(--trail, 50px) * 0.35) calc(var(--size, 1.2px) * -0.2) rgba(255,255,255,0.1),
        0 calc(var(--trail, 50px) * -0.8) calc(var(--trail, 50px) * 0.45) calc(var(--size, 1.2px) * -0.1) rgba(255,255,255,0.05);
    will-change: transform, opacity;
    opacity: var(--opacity, 1);
    mix-blend-mode: screen;
    /* falling animation with subtle twinkle */
    animation:
        fall var(--speed, 12s) linear var(--delay, 0s) infinite,
        twinkle var(--twinkle, 5s) ease-in-out var(--twinkleDelay, 0s) infinite;
}

/* sharper shine for bright stars (smaller glint) */
.stars .star.bright::before,
.stars .star.bright::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center;
    opacity: 0.85;
    pointer-events: none;
}

.stars .star.bright::before {
    width: calc(var(--size, 3px) * 4);
    height: calc(var(--size, 3px) * 1.0);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
    transform: translate(-50%,-50%) rotate(15deg);
    border-radius: 2px;
}

.stars .star.bright::after {
    width: calc(var(--size, 3px) * 4);
    height: calc(var(--size, 3px) * 1.0);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
    transform: translate(-50%,-50%) rotate(105deg);
    border-radius: 2px;
}

/* shooting stars removed per user request */

@keyframes fall {
    from { 
        transform: translate(-50%, -50%) translateZ(var(--z)) translateY(0);
    }
    to { 
        transform: translate(-50%, -50%) translateZ(var(--z)) translateY(120vh);
    }
}
@keyframes twinkle {
    0%, 100% { opacity: calc(var(--opacity, 1) * 0.4); }
    50% { opacity: var(--opacity, 1); }
}

/* Gentle, large stars for variety (slightly dimmer) */
.stars .star.bright {
    background: radial-gradient(circle at 30% 30%, #fff 0%, rgba(255,255,255,0.98) 40%, rgba(0,240,255,0.35) 60%, transparent 100%);
    box-shadow: 0 0 8px rgba(0,240,255,0.06);
    opacity: calc(var(--opacity, 1) * 0.7);
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stars .star {
        animation: none;
        transition: none;
        opacity: var(--opacity, 1);
    }
    .stars .nebula { animation: none; opacity: 0.12; }
}

/* Decorative orbs for hero header - random colors and intermittent fade */
.hero .orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0; /* behind hero content, behind stars which use z-index:2 */
}

.hero .orb {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0;
    /* use CSS var --orb-color, set by JS as var(--primary-color) etc */
    background: radial-gradient(circle at 40% 40%, var(--orb-color, rgba(0,212,255,0.14)) 0%, transparent 60%);
    filter: blur(30px);
    will-change: transform, opacity;
    animation: orbFade var(--orb-duration, 28s) ease-in-out var(--orb-delay, 0s) infinite;
}

@keyframes orbFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    10% { opacity: 0.02; }
    30% {
        opacity: 0.14;
    }
    55% {
        opacity: 0.22;
        transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(1);
    }
    80% { opacity: 0.06; }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* smaller, subtler on reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero .orb { animation: none; opacity: 0.12; filter: blur(20px); }
}


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

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    min-height: 35vh;
    margin-top: 80px;
    pointer-events: none;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FF006E, #00D9FF, #FB5607);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(10deg);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-description p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-technologies {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

.tech-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: auto;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

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

section:nth-child(even) {
    background-color: #0f1428;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--darker-bg) 0%, #0d2845 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: center;
}

.about-text {
    animation: slideInLeft 0.8s ease-out;
}

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

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

/* About photo styles */
.about-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2; /* position photo in the right column */
}

.about-text {
    grid-column: 1; /* ensure text occupies left column */
}

.about-photo img {
    width: 280px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.66), 0 6px 18px rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.04);
}

@media (max-width: 1024px) {
    .about-content { grid-template-columns: 1fr 280px; }
    .about-photo img { width: 280px; }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .about-photo {
        grid-column: auto;
        justify-self: center;
    }
    .about-photo img { width: 200px; margin-bottom: 0; }
}

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

.social-icon {
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.social-icon:hover {
    background: rgba(0, 240, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Projects Section */
.projects {
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.1) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 200%, 100% 300%;
    background-attachment: fixed;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: floatingOrbs 8s ease-in-out infinite;
    pointer-events: none;
}

.projects::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    right: 5%;
    animation: floatingOrbs 10s ease-in-out infinite;
    pointer-events: none;
}

.projects > .container {
    position: relative;
    z-index: 2;
}

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

.project-card {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

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

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.25);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 240, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    overflow: hidden;
}

.project-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 28px auto 8px;
    padding: 0;
    background: none;
}

.project-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}

.project-card:hover .project-image {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 240, 255, 0.15));
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.tag {
    padding: 5px 12px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.project-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.project-link::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.project-link:hover::after {
    transform: translateX(5px);
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #0d2845 0%, var(--darker-bg) 100%);
}

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

.skill-category {
    background: rgba(0, 212, 255, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.skill-category:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-item {
    padding: 8px 15px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(0, 240, 255, 0.25);
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.1) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 200%, 100% 300%;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    right: 15%;
    animation: floatingOrbs 7s ease-in-out infinite;
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation: floatingOrbs 9s ease-in-out infinite;
    pointer-events: none;
}

.contact > .container {
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: rgba(0, 240, 255, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    margin: 0.5rem 0;
}

.heart {
    color: var(--primary-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .logo-main {
        font-size: 1.4rem;
    }
    
    .logo-subtitle {
        font-size: 0.5rem;
        letter-spacing: 1.5px;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .hero {
        margin-top: 60px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

    .hero-description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

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

    .contact-form {
        gap: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }
}
