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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}


/* Custom Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e2e8f0;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}


/* Container */

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


/* Utility Classes */

.gradient-text {
    background: linear-gradient(45deg, white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}

.text-accent {
    color: #475569;
}


/* Animations */

@keyframes gradient {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

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

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

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

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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


/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
    background: #dcdfe5;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: #dcdfe5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #475569, #64748b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: #1e293b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #475569, #64748b);
    transition: width 0.3s ease;
}

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

.nav-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #1e293b;
    transform: scale(1.2) rotate(360deg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    background: #ffffff;
    border-radius: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-nav-link {
    display: block;
    color: #64748b;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-weight: 500;
}

.mobile-nav-link:hover {
    color: #1e293b;
}

.mobile-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}


/* Hero Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('public/images/ShailuPhoto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.gradient-overlay {
    position: absolute;
    background: rgba(255, 253, 253, 0.3);
    z-index: 1;
}

.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #64748b;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    margin-left: 9.5rem;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #1e293b;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #1e293b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: 2px;
    margin-right: auto;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #475569;
    color: #ffffff;
}

.btn-primary:hover {
    background: #334155;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(71, 85, 105, 0.3);
}

.btn-secondary {
    background: transparent;
    color: black;
    border: 1px solid #fefefe;
}

.btn-secondary:hover {
    color: #1e293b;
    border-color: #1a6ee5;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #64748b;
    animation: bounce 2s infinite;
}


/* Section Styles */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}


/* About Section */

.about {
    background: #ffffff;
}

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

.about-text p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    color: #475569;
    margin: 0 auto 1rem;
}

.feature-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.feature-card p {
    font-size: 0.875rem;
    color: #64748b;
}


/* Skills Section */

.skills {
    background: #f8fafc;
}

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

.skill-category {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.skill-category:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #475569;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    animation: fadeInLeft 1s ease;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #475569;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 0.5rem;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(45deg, #475569, #64748b);
    border-radius: 9999px;
    width: 0;
    transition: width 2s ease;
}


/* Projects Section */

.projects {
    background: #ffffff;
}

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

.project-card {
    background: #f8fafc;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    padding: 0.5rem;
    background: #475569;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-link:hover {
    background: #334155;
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.project-content p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: #e2e8f0;
    color: #475569;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}


/* Interest & Hobbies Section */

.interest {
    background: #f8fafc;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #475569, #64748b);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    animation: fadeInRight 1s ease;
}

.timeline-dot {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1rem;
    height: 1rem;
    background: #475569;
    border-radius: 50%;
    border: 4px solid #f8fafc;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-content {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-left: 3rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.timeline-content:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-description {
    list-style: none;
    padding: 0;
}

.timeline-description li {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.timeline-description li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: #475569;
    border-radius: 50%;
}


/* Contact Section */

.contact {
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-intro h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-intro p {
    color: #64748b;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-method:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.contact-icon.email {
    background: #475569;
}

.contact-icon.phone {
    background: #64748b;
}

.contact-icon.location {
    background: #94a3b8;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.contact-details p {
    color: #64748b;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #1e293b;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #475569;
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* Footer */

.footer {
    background: #1e293b;
    padding: 3rem 0;
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social .social-link {
    color: #94a3b8;
}

.footer-social .social-link:hover {
    color: #ffffff;
}

.footer-text {
    text-align: center;
}

.footer-text p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #94a3b8;
}

.heart-icon {
    color: #ef4444;
    width: 1rem;
    height: 1rem;
}

.copyright {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}


/* Responsive Design */

@media (max-width: 768px) {
    .hero-image {
        background-size: cover;
        background-position: 90% center;
        background-repeat: no-repeat;
    }
    .hero-content {
        margin-left: auto;
        margin-right: auto;
        padding: 1rem;
        text-align: center;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 0;
        margin-right: calc(50% + 2rem);
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: calc(50% + 2rem);
        margin-right: 0;
    }
    .timeline-dot {
        left: 50%;
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-nav.active {
        display: block;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
}


/* Animation Classes */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-skill-bar {
    animation: none;
}

.animate-skill-bar.animated {
    animation: skillProgress 2s ease forwards;
}

@keyframes skillProgress {
    from {
        width: 0;
    }
    to {
        width: var(--width);
    }
}