* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #00eaff;
    --primary-dark: #00b8cc;
    --secondary: #9bb1ff;
    --dark: #0b0f1a;
    --darker: #050816;
    --light: #f0f8ff;
    --gray: #a0aec0;
    --success: #00ff9d;
}

body {
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--darker), #0e1a33);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300eaff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 234, 255, 0.3);
    animation: fadeInDown 1s ease;
}

.tagline {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 30px;
    animation: fadeInDown 1s ease 0.2s both;
}

.profile-img-container {
    position: relative;
    display: inline-block;
    margin: 30px 0;
    animation: fadeIn 1.5s ease 0.4s both;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 234, 255, 0.4);
    transition: transform 0.5s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.scroll-down {
    margin-top: 40px;
    color: var(--gray);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

/* Sections */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* About */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gray);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(0, 234, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 234, 255, 0.1);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Skills */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 234, 255, 0.1);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 12px 0;
    color: var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
}

.html { width: 95%; }
.css { width: 90%; }
.js { width: 85%; }
.node { width: 80%; }
.responsive { width: 90%; }
.video { width: 75%; }
.deployment { width: 85%; }

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 234, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 234, 255, 0.2);
}

.project-image {
    height: 200px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--darker));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.bot-project .project-image {
    background: linear-gradient(135deg, #7289da, #23272a);
}

.video-tutorial .project-image {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.project-image i {
    z-index: 1;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.bot-project .project-content h3 {
    color: #7289da;
}

.video-tutorial .project-content h3 {
    color: #ff0000;
}

.project-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(0, 234, 255, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.bot-tech {
    background: rgba(114, 137, 218, 0.2);
    color: #7289da;
}

.video-tech {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 234, 255, 0.1);
    color: var(--primary);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-btn:hover {
    background: var(--primary);
    color: var(--darker);
}

.bot-btn {
    background: rgba(114, 137, 218, 0.1);
    color: #7289da;
}

.bot-btn:hover {
    background: #7289da;
    color: white;
}

.video-btn {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.video-btn:hover {
    background: #ff0000;
    color: white;
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-thumbnail:hover .video-play-btn {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    z-index: 2;
}

/* Contact */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
    align-items: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
}

.contact-item p {
    color: var(--light);
}

.social-section {
    flex: 1;
    min-width: 300px;
}

.social-title {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.social-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--darker);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn i {
    position: relative;
    z-index: 1;
}

.social-btn:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 234, 255, 0.4);
}

.social-btn:hover::before {
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--darker);
    color: var(--gray);
    border-top: 1px solid rgba(0, 234, 255, 0.1);
    margin-top: 60px;
}

.copyright {
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
}

.footer-social a {
    color: var(--secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.back-to-top {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: var(--secondary);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .social-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .footer-social {
        gap: 20px;
    }
    
    .footer-social a {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 60px 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .profile-img {
        width: 150px;
        height: 150px;
    }
    
    section {
        padding: 60px 15px;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .footer-social a {
        font-size: 1.2rem;
    }
}
