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

:root {
    --primary-neon: #00f5ff;
    --secondary-neon: #ff006e;
    --tertiary-neon: #8338ec;
    --bg-dark: #0a0e27;
    --bg-darker: #050813;
    --text-light: #e0e0e0;
    --text-lighter: #ffffff;
}

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

/* Neon Text Effect */
.neon-text {
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-neon),
                 0 0 20px var(--primary-neon),
                 0 0 30px var(--primary-neon),
                 0 0 40px var(--secondary-neon);
    color: var(--primary-neon);
    animation: neon-glow 2s ease-in-out infinite;
}

@keyframes neon-glow {
    0%, 100% {
        text-shadow: 0 0 10px var(--primary-neon),
                     0 0 20px var(--primary-neon),
                     0 0 30px var(--primary-neon),
                     0 0 40px var(--secondary-neon);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-neon),
                     0 0 30px var(--primary-neon),
                     0 0 40px var(--primary-neon),
                     0 0 50px var(--secondary-neon),
                     0 0 60px var(--secondary-neon);
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-neon);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    animation: slideDown 0.5s ease-out;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--primary-neon));
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo:hover .logo-image {
    filter: drop-shadow(0 0 20px var(--primary-neon));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

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

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

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

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

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 0 40px;
    gap: 60px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    animation: fadeInUp 1s ease-out;
    flex: 1;
}

.hero-photo {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

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

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

.hero-title {
    font-size: 72px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.hero-subtitle {
    font-size: 32px;
    color: var(--primary-neon);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Circular Photo Container with Animated Rings */
.photo-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 5;
    border: 3px solid var(--primary-neon);
    box-shadow: 0 0 30px var(--primary-neon),
                inset 0 0 30px rgba(0, 245, 255, 0.2);
}

/* Animated Rings */
.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.6;
}

.ring-1 {
    width: 360px;
    height: 360px;
    border-color: var(--primary-neon);
    animation: spin-clockwise 8s linear infinite;
    box-shadow: 0 0 15px var(--primary-neon);
}

.ring-2 {
    width: 380px;
    height: 380px;
    border-color: var(--secondary-neon);
    animation: spin-counter-clockwise 10s linear infinite;
    box-shadow: 0 0 15px var(--secondary-neon);
}

.ring-3 {
    width: 400px;
    height: 400px;
    border-color: var(--tertiary-neon);
    animation: spin-clockwise 12s linear infinite;
    box-shadow: 0 0 15px var(--tertiary-neon);
}

@keyframes spin-clockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-counter-clockwise {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), var(--tertiary-neon));
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-neon),
                0 0 40px var(--tertiary-neon);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-neon),
                0 0 60px var(--tertiary-neon);
}

.btn-secondary {
    border: 2px solid var(--secondary-neon);
    color: var(--secondary-neon);
    background: transparent;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--secondary-neon);
    transform: translateY(-3px);
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.3;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-neon);
    top: -100px;
    left: -100px;
    animation: blob-animation-1 8s infinite ease-in-out;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-neon);
    bottom: -50px;
    right: -50px;
    animation: blob-animation-2 10s infinite ease-in-out;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--tertiary-neon);
    top: 50%;
    right: -100px;
    animation: blob-animation-3 7s infinite ease-in-out;
}

@keyframes blob-animation-1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -50px); }
    66% { transform: translate(-20px, 20px); }
}

@keyframes blob-animation-2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 50px); }
    66% { transform: translate(20px, -20px); }
}

@keyframes blob-animation-3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-50px, -30px); }
    66% { transform: translate(50px, 30px); }
}

/* Sections */
.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    animation: slideInScale 0.6s ease-out;
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    padding: 30px;
    background: rgba(0, 245, 255, 0.05);
    border: 2px solid var(--primary-neon);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
    animation: fadeInLeft 0.6s ease-out backwards;
}

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

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--primary-neon);
}

.stat-card h3 {
    font-size: 36px;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--primary-neon);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary-neon);
    box-shadow: 0 0 30px var(--primary-neon), 0 0 30px var(--secondary-neon);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-lighter);
}

.project-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--primary-neon);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-neon);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--primary-neon);
}

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

.project-link:hover {
    color: var(--primary-neon);
    transform: translateX(5px);
    text-shadow: 0 0 10px var(--secondary-neon);
}

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

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

.skill-category {
    background: rgba(0, 245, 255, 0.03);
    border: 2px solid var(--primary-neon);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    animation: slideInScale 0.6s ease-out backwards;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.05);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--primary-neon);
}

.skill-category-title {
    font-size: 20px;
    color: var(--primary-neon);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--primary-neon);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-neon), var(--tertiary-neon));
    color: var(--bg-dark);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
    cursor: pointer;
}

.skill-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-neon);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.contact-form {
    background: rgba(0, 245, 255, 0.03);
    border: 2px solid var(--primary-neon);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-neon);
    border-radius: 5px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    border-color: var(--secondary-neon);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(224, 224, 224, 0.5);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--primary-neon);
    border-radius: 10px;
    background: rgba(0, 245, 255, 0.02);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--primary-neon);
}

.contact-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

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

.contact-item a:hover {
    text-shadow: 0 0 10px var(--primary-neon);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--primary-neon);
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-neon);
    color: var(--bg-dark);
}

/* Footer */
.footer {
    padding: 30px 0;
    background: var(--bg-darker);
    border-top: 2px solid var(--primary-neon);
    box-shadow: 0 -10px 30px rgba(0, 245, 255, 0.1);
    text-align: center;
}

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

.footer-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    text-shadow: 0 0 10px var(--primary-neon);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        gap: 8px;
    }

    .logo-image {
        height: 40px;
        width: 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .nav-menu {
        gap: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .photo-container {
        width: 300px;
        height: 300px;
    }

    .profile-photo {
        width: 220px;
        height: 220px;
    }

    .ring-1 {
        width: 260px;
        height: 260px;
    }

    .ring-2 {
        width: 280px;
        height: 280px;
    }

    .ring-3 {
        width: 300px;
        height: 300px;
    }

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

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

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

    .btn {
        width: 100%;
    }

    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 6px;
        font-size: 20px;
    }

    .logo-image {
        height: 35px;
        width: 35px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .photo-container {
        width: 250px;
        height: 250px;
    }

    .profile-photo {
        width: 180px;
        height: 180px;
    }

    .ring-1 {
        width: 220px;
        height: 220px;
    }

    .ring-2 {
        width: 235px;
        height: 235px;
    }

    .ring-3 {
        width: 250px;
        height: 250px;
    }

    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .blob {
        filter: blur(30px);
        opacity: 0.2;
    }
}
