:root {
    --primary-color: #4F46E5;
    --secondary-color: #818CF8;
    --accent-color: #C4B5FD;
    --background-color: #1E1B4B;
    --text-color: #ECF0F1;
    --card-bg: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #4F46E5 0%, #818CF8 100%);
    --gradient-hover: linear-gradient(135deg, #6366F1 0%, #A78BFA 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(99, 102, 241, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(129, 140, 248, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(196, 181, 253, 0.1) 0%, transparent 20%);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 100px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -25%;
    transform: rotate(-3deg);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent-color);
}

.cta-buttons {
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.btn.primary {
    background: var(--gradient);
    border: none;
    color: white;
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
}

/* Contact Form */
.contact {
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-color);
}

label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
    pointer-events: none;
}

input:focus ~ label,
input:valid ~ label,
textarea:focus ~ label,
textarea:valid ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background: white;
    padding: 0 0.5rem;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: var(--primary-color);
    color: white;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
    }
}

/* Profile Image Styles */
.profile-image {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: rotateGradient 5s linear infinite;
    box-shadow: 0 0 20px var(--glow-color);
}

.profile-pic:hover {
    transform: scale(1.05);
}

/* Update About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Skills Section Update */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.skill {
    background: var(--glass-bg);
    border: 1px solid rgba(129, 140, 248, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.skill:hover::before {
    left: 100%;
}

/* Form Group Input Update */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px var(--glow-color);
    outline: none;
}

.project-info {
    padding: 2rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-color);
    border-radius: 100px;
    font-size: 0.875rem;
    margin: 0.25rem;
    font-weight: 500;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.project-technologies {
    margin: 1rem 0;
}

.project-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-info p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Personal Information Styles */
.personal-info {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.personal-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #818CF8 0%, #C4B5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .info-item:last-child {
        border-bottom: none;
    }
}

/* Experience Section Styles */
.experience-section {
    margin: 4rem 0;
    text-align: left;
}

.experience-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 3rem 0 2rem;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #818CF8 0%, #C4B5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--gradient);
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--gradient);
    border: 3px solid var(--background-color);
    animation: pulse 2s infinite;
    box-shadow: 0 0 15px var(--glow-color);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.timeline-position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.timeline-location {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
}

@media (max-width: 768px) {
    .timeline {
        padding: 1.5rem;
    }
    
    .timeline::before {
        left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
    }
}

/* Professional Title and Contact Details */
.professional-title {
    margin: 2rem 0;
    text-align: center;
}

.professional-title h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #818CF8 0%, #C4B5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-item span {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .professional-title h3 {
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-item i {
        margin-top: 4px;
    }
}

/* Current Education Style */
.current-education {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    display: inline-block;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .current-education {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

@keyframes rotateGradient {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
} 