/* Hide honeypot field */
.hidden {
    display: none !important;
}

/* Form Status Styles */
#form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

#form-status .success {
    color: #10B981;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

#form-status .error {
    color: #EF4444;
    background-color: rgba(239, 68, 68, 0.1);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Badge Styles */
.project {
    position: relative;
}

.in-progress-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: #cec9c9;
    background:#2c2c2c;
    padding-top: 1rem;
}

/* Header Styles */
header {
    background: #2c2c2c;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #2d3748;
    padding: 1.5rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: #c1cde2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #6366f1;
}

.hire-button {
    background: #6366f1;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hire-button:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

/* Navigation and Hamburger Styles */
.nav-container {
    position: relative;
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-inner {
    width: 100%;
    height: 2px;
    background-color: gold;
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: gold;
    transition: transform 0.3s ease;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(44, 44, 44, 0.95);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        display: flex;
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    /* Hamburger Animation */
    .hamburger.active .hamburger-inner {
        transform: rotate(45deg);
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Logo Styles */
.logo a {
    color: #e5e8ee;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #6366f1;
}

.logo-dot {
    color: #6366f1;
    font-size: 2.5rem;
    font-weight: 700;
}

/*Hero Section Styles*/

.name {
    color:gold
}

.cursor {
    color: gold;
    animation: blink 1s step-start infinite;
    font-size: 2.5rem;
    font-weight: 400;
}

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

#hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.button {
    background: #6366f1;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}
/* Common Section Styles */
section {
    position: relative;
    padding: 4rem;
    margin: 2rem auto;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #6366f1;
    border-radius: 15px;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

section h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: #e5e8ee;
    font-size: 2rem;
}

section h2 {
    color: #e5e8ee;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6366f1;
    border-radius: 2px;
}

section p { 
    text-align: center;
    margin-bottom: 3rem;
    color: #e5e8ee;
    font-size: 2rem;
}

/* Verify Badge Button Styles */
.verify-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #000;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #ffd700;
    text-align: center;
}

.verify-badge:hover {
    background: linear-gradient(135deg, #ffb700, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Projects Section Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.project:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project h3 {
    color: #e5e8ee;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: transform 0.3s ease;
}

.project:hover img {
    transform: scale(1.02);
}

.project p {
    color: #cec9c9;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Project Links */
.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-links a {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.live-demo {
    background: #6366f1;
    color: white;
}

.source-code {
    background: transparent;
    color: #6366f1;
    border: 1px solid #6366f1;
}

.project-links a:hover {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .project {
        padding: 1rem;
    }

    .project h3 {
        font-size: 1.2rem;
    }
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.skill-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    /* Convert black SVG to gold color using filters */
    filter: brightness(0) saturate(100%) invert(70%) sepia(74%) saturate(638%) hue-rotate(360deg) brightness(101%) contrast(106%);
    transition: transform 0.3s ease;
}

.skill-item:hover img {
    transform: scale(1.1);
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #e5e8ee;
}

/* Responsive adjustments for skills grid */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .skill-item {
        padding: 1.5rem;
    }
}

/* Contact Form Styles */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

#contact label {
    color: #e5e8ee;
    font-weight: 500;
}

#contact input,
#contact textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    color: #e5e8ee;
    font-family: inherit;
}

#contact textarea {
    min-height: 150px;
    resize: vertical;
}

#contact button {
    background: #6366f1;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

#contact button:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 3px solid #6366f1;
    color: #e5e8ee;
}

/* About Section Styles */
#about {
    position: relative;
    overflow: hidden;
    border-left: 3px solid #6366f1;
    padding: 4rem;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

#about h2 {
    color: #e5e8ee;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6366f1;
    border-radius: 2px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cec9c9;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #about {
        padding: 3rem 1.5rem;
    }
    
    #about h2 {
        font-size: 2rem;
    }
    
    #about p {
        font-size: 1rem;
        padding: 1.5rem;
    }

    section {
        padding: 3rem 1.5rem;
        margin: 1rem auto;
    }

    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 1rem;
    }

    #contact form {
        padding: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .skill-item {
        padding: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    section {
        padding: 3rem 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .skill-item {
        padding: 1.5rem;
    }
}

/* Social Links Styles */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    color: #cec9c9;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.social-icon:hover {
    color: gold;
    transform: translateY(-3px);
    border-color: gold;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}