body {
    background-color: #1a1a1a;
    color: #f5f5f5; 
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff; 
}

a {
    color: #4f83cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.navbar {
    background-color: #333333;
    padding: 15px;
}

.navbar a {
    margin: 0 15px;
}

.hero {
    background-color: #444444;
    padding: 50px 20px;
    text-align: center;
}

.skills, .projects, .experience, .about, .contact {
    padding: 40px 20px;
}

.project-card {
    background-color: #555555;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
}

.footer {
    background-color: #333333;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

#hero {
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(34, 211, 238, 0.14) 0%,
        transparent 52%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.tech-logo {
    position: absolute;
    width: 34px;
    height: 34px;
    opacity: 0.42;
    transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.22));
}

.tech-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#hero:hover .tech-logo {
    opacity: 0.58;
}

#skills li {
    position: relative;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    padding: 0.45rem 0.6rem;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
    will-change: transform;
}

#skills li:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.6);
    background-color: rgba(17, 24, 39, 0.85);
    box-shadow: 0 8px 18px rgba(6, 182, 212, 0.18);
}

#skills li img {
    transition: transform 0.25s ease, filter 0.25s ease;
}

#skills li:hover img {
    transform: translateY(-1px) scale(1.08);
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.45));
}

.hero-photo-wrap {
    position: absolute;
    right: 5%;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    width: min(24vw, 280px);
    transform: translate3d(0, 0, 0);
}

.hero-photo {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55))
            drop-shadow(0 0 28px rgba(34, 211, 238, 0.12));
    animation: heroPhotoFloat 4.5s ease-in-out infinite;
    will-change: transform;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-photo-wrap {
        width: min(30vw, 220px);
        right: 2%;
        opacity: 0.85;
    }
}

@media (max-width: 768px) {
    .hero-photo-wrap {
        width: min(34vw, 170px);
        opacity: 0.6;
        bottom: auto;
        top: 10%;
    }
}