/* GLOBAL RESETS & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    width: 100%;
    height: 100%;
    font-family: 'Fira Sans', sans-serif;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden; /* prevent horizontal scroll */
  }
  
  /* NAVBAR */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-logo .logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: #333;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease-in-out, text-decoration 0.2s;
  }
  
  .nav-links li a:hover {
    color: #6c63ff;
    text-decoration: underline;
  }
  
  /* FULL-SCREEN SECTIONS */
  .hero-section,
  .about-section,
  .work-section,
  .contact-section {
    position: relative; /* for arrow positioning */
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
  }
  
  /* HERO SECTION (Cool new gradient) */
  .hero-section {
    background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
  }
  
  .hero-content {
    max-width: 700px;
  }
  
  .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    opacity: 0;
    transform: translateY(20px);
  }
  
  /* BUTTONS */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .btn-primary {
    background-color: #f06595;
    color: #fff;
    border: 1px solid transparent;
  }
  
  .btn-primary:hover {
    background-color: #d85d85;
  }
  
  /* ABOUT SECTION (Modern gradient background) */
  .about-section {
    background: linear-gradient(135deg, #eef7ff 0%, #d9eaff 100%);
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
  }
  
  .about-section p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
  }
  
  /* Update link styling for about section */
  .about-section a {
    color: #6c63ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
  }
  
  .about-section a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #6c63ff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
  }
  
  .about-section a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
  /* Modern Emoji Group Styling */
  .emoji-group {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.2rem;
    align-items: center;
    margin-left: 0.5rem;
  }
  
  .emoji-group span {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    padding: 0.1rem;
  }
  
  /* Hover effects for emojis */
  .emoji-group span:hover {
    transform: scale(1.2) rotate(8deg);
    filter: brightness(1.2);
  }
  
  /* Staggered animation for initial load */
  .emoji-group span {
    opacity: 0;
    animation: fadeInEmoji 0.5s ease forwards;
  }
  
  @keyframes fadeInEmoji {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* WORK SECTION (Light Teal) */
  .work-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  }
  
  /* CONTACT SECTION (Light Purple) */
  .contact-section {
    background: #ede7f6;
  }
  
  /* HEADINGS & PARAGRAPHS */
  .section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    margin-top: 0; /* remove default top margin */
  }
  
  .section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  /* EMOJIS */
  .emoji-group {
    font-size: 1.25rem;
  }
  
  /* LANGUAGES GRID */
  .languages-grid {
    max-width: 900px;
    margin: 2rem auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
  }
  
  .language-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* center icon & text */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .language-icon,
  .language-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
    display: block;
  }
  
  .language-item p {
    margin: 0;
    font-weight: 500;
  }
  
  /* CONTACT LINKS */
  .contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  .contact-links a i {
    font-size: 1.25rem;
    color: #6c63ff;
  }
  
  .contact-links a:hover {
    background: rgba(108, 99, 255, 0.1);
  }
  
  /* SCROLL ARROW */
  .scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .scroll-arrow:hover {
    background: #6c63ff;
  }
  
  .scroll-arrow:hover i {
    color: #fff;
  }
  
  .scroll-arrow i {
    font-size: 1.5rem;
    color: #6c63ff;
    transition: color 0.3s ease;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    40% {
      transform: translateX(-50%) translateY(-10px);
    }
    60% {
      transform: translateX(-50%) translateY(-5px);
    }
  }
  
  /* FOOTER */
  .footer {
    text-align: center;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
  }
  
  /* MEDIA QUERIES (for mobile responsiveness) */
  @media (max-width: 768px) {
    .navbar {
      height: 60px;
      padding: 0 1rem;
    }
    .hero-title {
      font-size: 2.2rem;
    }
    .hero-subtitle {
      font-size: 1.2rem;
    }
    .btn {
      padding: 0.6rem 1.2rem;
      font-size: 0.9rem;
    }
    .languages-grid {
      grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    .about-card {
      padding: 1.5rem;
      margin: 1rem;
    }
    .scroll-arrow {
      bottom: 20px;
      padding: 8px;
    }
    .scroll-arrow i {
      font-size: 1.2rem;
    }
  }
  
  /* Global link styling */
  a:not(.logo-text):not(.language-item a) {
    color: #6c63ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
  }
  
  a:not(.logo-text):not(.language-item a)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #6c63ff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
  }
  
  a:not(.logo-text):not(.language-item a):hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
  /* Hero section animations */
  .fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .delay {
    animation-delay: 0.4s;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* WORK SECTION STYLING */
  .work-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  }
  
  /* Section headers */
  .section-title {
    font-size: 2rem;          /* Reduced from 2.5rem */
    margin-bottom: 3rem;
    color: #2c3e50;          /* Removed gradient, using solid color */
    text-align: center;
  }
  
  .section-header h3 {
    font-size: 1.5rem;       /* Reduced from 2rem */
    margin-bottom: 1rem;
    color: #2c3e50;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    color: #546e7a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
  }
  
  /* Interest sections spacing */
  .interest-section {
    margin-bottom: 2.5rem;   /* Added spacing between sections */
  }
  
  /* Tech Stack Styling */
  .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
  }
  
  .tech-item {
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }
  
  .tech-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #6c63ff;
    color: white;
  }
  
  /* GitHub Section */
  .github-section {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid rgba(108, 99, 255, 0.1);
  }
  
  .github-section p {
    font-size: 1.1rem;
    color: #2c3e50;
  }
  
  .github-link {
    display: inline-flex;
    align-items: center;
    color: #6c63ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
  }
  
  .github-link:hover {
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-1px);
  }
  
  .github-link i {
    margin-left: 0.5rem;
    font-size: 1.2rem;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }
    
    .section-header h3 {
      font-size: 1.75rem;
    }
    
    .tech-stack {
      gap: 0.75rem;
    }
    
    .tech-item {
      padding: 0.5rem 1rem;
    }
  }
