    /* === Base Reset === */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
      line-height: 1.6;
      background: #ffffff;
      color: #333;
    }

    /* === Navbar === */
    .navbar {
      background: #fff;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 999;
      border-bottom: 1px solid #ddd;
    }

    .container {
      max-width: 1200px;
      margin: auto;
      padding: 1rem 5%;
      font-size: 20px;
    }

    .container_video {
      background: transparent;
      max-width: 1200px;
      margin: auto;
      padding: 1rem 5%;
      font-size: 20px;
    }

    .nav {
      display: flex;
      justify-content: center;
      align-items: center;
      list-style: none;
      gap: 40px;
      padding: 0;
    }

    .nav a {
      text-decoration: none;
      color: #333;
      font-weight: bold;
      font-size: 20px;
    }

    @media (max-width: 768px) {
      .nav {
        gap: 15px;
        flex-wrap: wrap; 
      }
    
      .nav a {
        font-size: 16px;
      }
    
      body {
        padding-top: 70px; 
      }
    }

    /* === Hero Section === */
    .hero {
      position: relative;
      overflow: hidden;
    }

    :root {
      --hero-video-width: 100%;
      --hero-video-max: 1200px;
      --hero-video-aspect: 6 / 1;
      --extra-video-aspect: 3 / 1;
    }
    
    .hero-video-wrap {
      background: transparent;
      max-width: 1200px;
      margin: auto;
      padding: 1rem 5%;
      font-size: 20px;
      aspect-ratio: var(--hero-video-aspect);
    }
    
    .hero-video {
      object-fit: cover;
      object-position: center;
      width: 100%;
      height: 100%;
      display: block;
      background: transparent;
    }

    .extra-video-wrap {
      background: transparent;
      max-width: 1200px;
      margin: auto;
      padding: 1rem 5%;
      font-size: 20px;
      aspect-ratio: var(--extra-video-aspect);
    }
    
    .extra-video {
      object-fit: cover;
      object-position: center;
      width: 100%;
      height: 100%;
      display: block;
      background: transparent;
    }

    /* Text block */
    .hero-text-group {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.2rem;
      margin-top: 160px;
      text-align: center;
      padding: 0 1rem;
    }
    
    .hero-title {
      font-size: 2.4rem;
      font-weight: 800;
      color: #000;
    }
    
    .hero-subtitle {
      font-size: 1.4rem;
      color: #444;
      max-width: 850px;
      margin-bottom: 1rem;
    }
    
    .cv-button {
      display: inline-block;
      padding: 10px 24px;
      font-size: 1.2rem;
      color: white;
      background-color: #e75252;
      border: none;
      border-radius: 24px;
      text-decoration: none;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
      :root {
        --hero-video-width: 95%;
        --hero-video-max: 520px;
      }

      .hero {
        margin-top: 120px;
      }
        
      .hero-title {
        font-size: 1.8rem;
      }
    
      .hero-subtitle {
        font-size: 1.1rem;
      }
    
      .cv-button {
        font-size: 1rem;
        padding: 8px 16px;
      }
    }

    .cv-button:hover {
      background-color: #c43c3c;
    }

    /* === Sections === */
    .section {
      padding: 60px 20px;
      background: #fff;
    }

    .section h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    /* DELETE these (or comment out)
    #education {
      position: absolute;
      top: 720px;
      left: 0;
      width: 100%;
      z-index: 3;
      padding-top: 40px;
    }
    */

    /* Keep it simple: */
    #education {
      position: relative;   /* default, but explicit is fine */
      padding-top: 40px;
    }

    section { scroll-margin-top: 90px; }

    .profile {
      display: flex;
      gap: 20px;
      align-items: flex-start;
      font-size: 20px;
    }

    .profile img {
      width: 200px;
      border-radius: 8px;
    }

    .section-subheading {
      color: #e75252;
      font-size: 1.5rem;
      margin: 2rem 0 0.8rem;
    }

    .section-subheading conference-heading {
      color: #e75252;
      font-size: 1.5rem;
      margin: 2rem 0 0.8rem;
    }

    /* === Projects === */
    .project-grid {
      display: flex;
      flex-direction: column; /* stack vertically */
      gap: 20px;
      font-size: 20px;
    }
    
    .project-card {
      width: 100%; 
      max-width: 1200px;
      margin: 0 auto; 
    }

    .project-card img {
      width: 100%;
      border-radius: 4px;
      margin-bottom: 20px;
    }

    @media (max-width: 768px) {
      .project-card {
        flex: 1 1 100%; /* one-column on small screens */
        max-width: 100%;
      }
    }

    /* === Contact & Footer === */
    #contact a {
      color: #0077cc;
      text-decoration: none;
    }

    .contact-icons {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-bottom: 10px;
    }
    .contact-icons img {
      width: 36px;
      height: 36px;
      border-radius: 4px;
    }

    .visitor-badge {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 10px;
      font-size: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      z-index: 9999;
      text-align: center;
    }
    .visitor-badge img {
      width: 20px;
      vertical-align: middle;
      margin-right: 4px;
    }

    .footer {
      background: #000;
      color: #ccc;
      text-align: center;
      padding: 15px;
      font-size: 20px;
    }

    @media screen and (max-width: 768px) {
      .hero-title {
        font-size: 1.6rem;
        text-align: center;
      }

      .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
      }

      .cv-button {
        font-size: 1rem;
        padding: 8px 16px;
      }

      .hero-text-group {
        margin-top: 0.5rem;
        gap: 1rem;
      }

      .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .profile img {
        width: 150px;
        margin-bottom: 10px;
      }

      #education {
        top: auto;
        position: relative;
        margin-top: 0;
        padding-top: 40px;
      }
    }
