* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sacramento', cursive;
    /* background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); */
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */

/* Nav Logo */
.nav-logo {
    display: flex;
    align-items: center;
    font-weight: bolder;
    font-size: 20px;
    text-decoration: none;
    color: black;
}

.nav-logo-img {
    width: 50px;          
    height: 50px;
    border-radius: 50%;   
    margin-right: 8px;     
    object-fit: cover;     
    border: 1px solid #fff; 
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 16px 0;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
}

nav.scrolled .logo,
nav.scrolled .nav-links a {
    color: white; 
}

nav.scrolled .nav-links a::after {
    background: #333; 
}

.nav-container {
    font-family: 'Sacramento', cursive;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 32px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-family: 'Sacramento', cursive;
    font-size: 80px;
    font-weight: 1000;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 28px;
    color: #fff;
    margin-bottom: 32px;
    opacity: 0.9;
}

.typing-text {
    color: #ffd700;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 32px;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about {
    padding: 0 32px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: stretch; 
}

.profile-card, .about-text {
    height: 100%; 
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.profile-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto 32px;
    position: relative;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text h3 {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 16px;
}

.about-text p {
    color: #fff;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    padding: 0 32px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: 15px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.skill-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-card i {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 16px;
}

.skill-card h4 {
    color: #fff;
    font-size: 19px;
    margin-bottom: 8px;
}

.skill-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    padding: 0 32px;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.project-card.animate {
    opacity: 1;
    transform: scale(1);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 32px;
}

.project-content h3 {
    color: #ffd700;
    font-size: 21px;
    margin-bottom: 16px;
}

.project-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-tag {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 5px 13px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Experience */
.experience-timeline {
    padding: 0 32px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: 15px;
    padding: 32px;
    margin-bottom: 32px;
    border-left: 4px solid #ffd700;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item h3 {
    color: #ffd700;
    font-size: 21px;
    margin-bottom: 8px;
}

.timeline-item .company {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-item .duration {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 16px;
}

.timeline-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 0 32px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.contact-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-item i {
    font-size: 24px;
    color: #ffd700;
    margin-right: 16px;
    width: 30px;
}

.contact-item span {
    color: #fff;
}

.contact-item a {
    color: #fff;           /* same as span */
    text-decoration: none; /* remove underline */
}

.contact-item a:hover {
    color: #ffd700;        /* optional hover effect */
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ffd700;
    color: #333;
    transform: translateY(-5px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Progress Bars */
.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
    border-radius: 5px;
    margin: 16px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    border-radius: 5px;
    width: 0;
    transition: width 2s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero .subtitle {
        font-size: 19px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-links {
        display: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 19px;
    text-decoration: none;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    transform: scale(1);
}

.scroll-top:hover {
    transform: scale(1.1);
}

#vanta-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
