/* Add this right after the * { ... } reset */
html {
    scroll-behavior: smooth;
  }
  
  /* Optional: improve scroll experience even more */
  html {
    scroll-padding-top: 80px;   /* prevents content from hiding under sticky nav */
    scroll-behavior: smooth;
  }
  
/* ==========================================================================
   RESET & BASE
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    background: #16151f;
    color: white;
    min-height: 100dvh;
    overflow-x: hidden;
  }
  
  a {
    color: #d56012;
    text-decoration: none;
  }

  footer p {
    font-weight: 300;
    font-size: clamp(0.7rem, 0.8vw, 0.8rem);
  }
  /* ==========================================================================
     STICKY NAVIGATION
     ========================================================================== */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 1, 1, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
  }
  
  .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .logo {
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
  }
  
  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.25s ease;
    position: relative;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: #d56012;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: #d56012;
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  /* Mobile hamburger */
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
  }
  
  /* ==========================================================================
     HERO (video background)
     ========================================================================== */
  .hero {
    position: relative;
    height: 100dvh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }
  
  .video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
  }
  
  .hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    max-width: 860px;
  }
  
  .hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    text-align: center;
  }

  h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.6rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.92;
    margin-bottom: 1.4rem;
    text-shadow: 0 6px 30px rgba(0,0,0,0.8);
  }
  
  p {
    font-size: clamp(0.8rem, 1.4vw, 1.0rem);
    opacity: 0.92;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    text-justify: inter-word;
  }

  /* Paragraph with side image */
  .image-text-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    text-justify: inter-word;
  }

  .side-image {
    float: left;
    width: 100%;
    max-width: 158px;           /* ← adjust this to your preference */
    height: auto;
    border-radius: 8px;        /* optional */
    object-fit: cover;         /* optional – prevents distortion */
    margin: 
    0.4rem      /* top – small gap under heading */
    1.2rem      /* right – space between image and text */
    0.8rem      /* bottom – space before text wraps under */
    0;          /* left – flush to container edge */
  }
  
  .btn {
    display: inline-block;
    padding: 1rem 2.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #da7f25, #c73d06);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(241, 158, 99, 0.35);
  }

  .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(241, 158, 99, 0.5);
  }

  .btn-email {
    display: inline-block;
    padding: 1rem 2.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #6782a5, #444fb3);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 99, 241, 0.35);
  }
  
  .btn-email:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(99, 125, 241, 0.5);
  }

  .email {
    color: #697ceb;
    text-decoration: none;
  }

  .linkedin-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #0a66c2;          /* Official LinkedIn blue */
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 99, 241, 0.35);
  }

  .linkedin-profile-btn:hover,
  .linkedin-profile-btn:focus {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(99, 125, 241, 0.5);
  }

  .linkedin-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  /* ==========================================================================
     CONTENT SECTIONS
     ========================================================================== */
  .content {
    position: relative;
    background: #0a0a0a;
    z-index: 4;
  }
  
  .content-block {
    padding: 7rem 5%;
    min-height: 60dvh;
  }
  
  .content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
  }

  .content-wrapper ul {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    list-style-type: square;
    list-style-position: inside;
  }

  .content-wrapper li {
    font-size: clamp(0.8rem, 1.4vw, 1.0rem);
    opacity: 0.92;
    line-height: 1.5;
  }

  .content-wrapper h2 {
    color: #d56012;
  }
  
  .date1 {
    color: #51d68d;
  }

  .date2 {
    color: #65b3d4;
  }

  .content-block.alternate {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
  }
  
  .disclaimer {
    font-weight: 300;
    font-size: clamp(0.7rem, 0.8vw, 0.9rem);
  }
  /* ==========================================================================
     RESPONSIVE
     ========================================================================== */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      background: rgba(0, 0, 0, 0.95);
      position: absolute;
      top: 100%;
      left: 0;
      padding: 2rem 5%;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links a {
      padding: 1.2rem 0;
      font-size: 1.3rem;
    }
  
    .content-block {
      padding: 6rem 5%;
    }
  }
  
  @media (max-width: 640px) {
    h1 {
      font-size: clamp(2.5rem, 4.5vw, 4.6rem);
    }
    .content-section {
      padding: 0 0.6em;
    }
    .content-wrapper ul {
      list-style-type: square;
      list-style-position: inside;
    }
    p, .content-wrapper li {
      font-size: 1.0rem;
      max-width: 100%;            /* let text use full available width on mobile */
      /* padding: 0 0.5em; */
    }
    .btn {
      padding: 0.9rem 2rem;
      font-size: 1.1rem;
    }
    .image-text-container {
      flex-direction: column;
      gap: 1.5rem;
    }
    .side-image {
      max-width: 40%;
      float: left;
      display: block;
    }
    footer {
      padding: 0 0.6em;
    }
  }