/* ==================== */
/* CSS Reset & Variables */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #000000;
    --border-color: #e0e0e0;
    --accent-color: #4a4a4a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==================== */
/* Navigation */
/* ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-style: italic;
    font-family: "Brush Script MT", cursive;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    color: #000000;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.resume-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 5px;
}

.resume-btn:hover {
    background: var(--primary-color);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.about-image img {
    width: 280px;
    border-radius: 16px;
  }

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ==================== */
/* Hero Section */
/* ==================== */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.2;
}

.name-highlight {
    font-weight: 700;
    color: #000000;
    font-family: "Bahnschrift Light";
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #000;
}

.scientist-text {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.hero-location {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 5px;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
}

.hero-illustration {
    position: relative;
}

.hero-illustration svg {
    width: 100%;
    height: auto;
}

/* ==================== */
/* Skills Section */
/* ==================== */
.skills {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #000;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-box {
    border: 2px solid var(--border-color);
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    border-radius: 8px;
}

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

.skill-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.skill-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

/* ==================== */
/* Experience Section */
/* ==================== */
.experience {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
}

.experience .section-title {
    color: white;
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 50px;
}

.experience-marker {
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

.experience-marker::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 12px;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.experience-item:last-child .experience-marker::before {
    display: none;
}

.experience-content {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-title {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.experience-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.experience-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== */
/* About Section */
/* ==================== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
}

.about-illustration {
    width: 100%;
}

.about-illustration svg {
    width: 100%;
    height: auto;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
    color: #000;
}

.about-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    color: #101010;
}

/* ==================== */
/* Projects Section */
/* ==================== */
.projects {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
}

.projects .section-title {
    color: white;
}

.project-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.project-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.project-slide.active {
    display: grid;
}

.project-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    position: relative;
}

.project-number {
    font-size: 72px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -30px;
    left: 0;
}

.project-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.project-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: white;
    color: var(--bg-dark);
}

.carousel-btn {
    background: transparent;
    border: 3px solid white;
    color: white;
    width: 280px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: difference;
}

.carousel-btn:hover {
    background: white;
    color: var(--bg-dark);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

/* ==================== */
/* Contact Section */
/* ==================== */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-btn {
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.submit-btn:hover {
    background: var(--accent-color);
}

.form-social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 5px;
}

.form-social-icon:hover {
    background: var(--primary-color);
    color: white;
}

.contact-heading {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.talk-text {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.contact-subheading {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
}

.contact-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #000000;
}

.contact-item i {
    font-size: 18px;
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 30px 0;
}

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

.footer-logo {
    font-size: 34px;
    font-weight: 700;
    font-style: italic;
    font-family: "Brush Script MT", cursive;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== */
/* Responsive Design */
/* ==================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-content {
        gap: 50px;
    }

    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
    }

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

    .resume-btn {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-illustration {
        order: -1;
    }

    .hero-title,
    .hero-subtitle,
    .hero-location {
        font-size: 36px;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-slide {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-heading,
    .contact-subheading {
        font-size: 32px;
    }
}

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

    .hero-title,
    .hero-subtitle,
    .hero-location {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* ==================== */
/* Animations */
/* ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text > * {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.2s; }
.hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text > *:nth-child(4) { animation-delay: 0.4s; }
.hero-text > *:nth-child(5) { animation-delay: 0.5s; }

.hero-illustration {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}


.hero {
    padding: 100px 0;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }
  
  .hero-text {
    max-width: 550px;
  }
  
  .hero-title {
    font-size: 52px;
    font-weight: 400;
    line-height: 1.2;
  }
  
  .name-highlight {
    font-weight: 800;
    font-size: 56px;
    letter-spacing: 1px;
  }
  
  .hero-subtitle {
    font-size: 48px;
    margin: 10px 0 20px;
  }
  
  .scientist-text {
    color: transparent;
    -webkit-text-stroke: 2px #000000;
  }
  
  .hero-description {
    color: #5a5959;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
  }
  
  /* Resume button (Akshay style) */
  .resume-btn {
    padding: 12px 28px;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .resume-btn:hover {
    background: #000;
    color: #fff;
  }
  
  /* Social Icons */
  .social-links a {
    margin-right: 15px;
    font-size: 18px;
    color: #000;
    transition: transform 0.2s ease;
  }
  
  .social-links a:hover {
    transform: translateY(-3px);
  }
  
  /* Image */
  .hero-illustration img {
    width: 420px;
    max-width: 100%;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-actions {
      justify-content: center;
      flex-wrap: wrap;
    }
  }
  





  /* Custom cursor dot */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #000000; /* match your theme */
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s linear;
    mix-blend-mode: difference;
  }

  /* Force default cursor everywhere */
* {
    cursor: auto !important;
  }
  