  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: #333;
      background-color: #f8f9fa;
      transition: background-color 0.3s ease, color 0.3s ease;
  }

  html {
      scroll-behavior: smooth;
  }

  .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: rgba(255, 167, 38, 0.1);
      z-index: 9999;
  }

  .scroll-progress-bar {
      height: 100%;
      background: linear-gradient(90deg, #ffa726, #ff5722);
      width: 0%;
      transition: width 0.1s ease-out;
      box-shadow: 0 0 10px rgba(255, 167, 38, 0.5);
  }

  .container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 20px;
  }

  @media (max-width: 480px) {
      .container {
          padding: 15px;
      }
  }

  /* Google Search Bar */
  .google-search-container {
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      padding: 40px 20px;
      margin-bottom: 30px;
      border-bottom: 1px solid #dee2e6;
  }

  .google-search-wrapper {
      max-width: 600px;
      margin: 0 auto;
      text-align: center;
  }

  .google-logo {
      font-size: 90px;
      font-weight: 400;
      margin-bottom: 30px;
      font-family: arial, sans-serif;
  }

  .google-g-blue {
      color: #4285f4;
  }

  .google-o-red {
      color: #ea4335;
  }

  .google-o-yellow {
      color: #fbbc05;
  }

  .google-l-green {
      color: #34a853;
  }

  .google-e-red {
      color: #ea4335;
  }

  .google-search-form {
      width: 100%;
  }

  .search-input-container {
      position: relative;
      max-width: 584px;
      margin: 0 auto;
      display: flex;
      align-items: center;
  }

  .google-search-input {
      width: 100%;
      padding: 12px 50px 12px 20px;
      border: 1px solid #dfe1e5;
      border-radius: 24px;
      font-size: 16px;
      outline: none;
      transition: box-shadow 0.3s ease, border-color 0.3s ease;
      background: white;
  }

  .google-search-input:focus {
      border-color: #4285f4;
      box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
  }

  .google-search-btn {
      position: absolute;
      right: 8px;
      background: none;
      border: none;
      padding: 8px;
      cursor: pointer;
      border-radius: 50%;
      color: #5f6368;
      transition: background-color 0.3s ease;
  }

  .google-search-btn:hover {
      background-color: #f8f9fa;
  }

  .page-layout {
      display: flex;
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
  }

  .sidebar {
      width: 200px;
      position: sticky;
      top: 120px;
      height: fit-content;
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      padding: 20px;
      flex-shrink: 0;
  }

  @media (max-width: 1024px) {
      .page-layout {
          flex-direction: column;
          gap: 20px;
      }

      .sidebar {
          width: 100%;
          position: static;
          order: 2;
      }

      .main-content {
          order: 1;
      }
  }

  .sidebar h3 {
      color: #ffa726;
      margin-bottom: 15px;
      font-size: 1.1em;
      border-bottom: 2px solid #ffa726;
      padding-bottom: 5px;
  }

  .sidebar ul {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  .sidebar li {
      margin-bottom: 8px;
  }

  .sidebar a {
      color: #666;
      text-decoration: none;
      font-size: 0.9em;
      display: block;
      padding: 8px 12px;
      border-radius: 5px;
      transition: all 0.3s ease;
  }

  .sidebar a:hover {
      background: #f8f9fa;
      color: #ffa726;
      transform: translateX(5px);
  }

  .main-content {
      flex: 1;
      min-width: 0;
  }

  header {
      background: linear-gradient(135deg, #ff8a65 0%, #ff5722 100%);
      /* Softer gradient */
      color: #ffffff;
      padding: 60px 0;
      /* More breathing room */
      margin-bottom: 50px;
      box-shadow: var(--shadow-md);
  }

  .header-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1100px;
      /* Slightly wider */
      margin: 0 auto;
      padding: 0 30px;
  }

  .header-text {
      flex: 1;
      text-align: left;
  }

  .header-text h1 {
      font-size: 3.5em;
      /* Increased size */
      margin-bottom: 15px;
      font-weight: 800;
  }

  .header-text p {
      font-size: 1.3em;
      opacity: 0.95;
      font-weight: 300;
  }

  .header-image {
      flex-shrink: 0;
      margin-left: 40px;
  }

  .header-image img {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      border: 5px solid rgba(255, 255, 255, 0.4);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .header-links {
      display: flex;
      gap: 15px;
      align-items: center;
      flex-wrap: wrap;
      margin-top: 10px;
  }

  .header-links a {
      color: rgba(255, 255, 255, 0.9);
      text-decoration: none;
      padding: 8px 15px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 20px;
      font-size: 0.9em;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 5px;
  }

  .header-links a:hover {
      background: rgba(255, 255, 255, 0.2);
      border-color: rgba(255, 255, 255, 0.6);
  }

  .header-links img {
      width: 20px;
      height: 20px;
  }

  nav {
      background: white;
      padding: 6px 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 100;
  }

  @media (max-width: 768px) {
      nav {
          position: relative;
          top: auto;
          z-index: 1000;
      }
  }

  nav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
  }

  nav a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      font-size: 1.3em;
      padding: 10px 20px;
      border-radius: 25px;
      transition: all 0.3s ease;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  nav a:hover {
      background: #ff5722;
      color: white;
  }

  /* Dropdown Styles */
  .dropdown {
      position: relative;
  }

  .dropdown-toggle {
      display: flex;
      align-items: center;
      gap: 5px;
  }

  .dropdown-arrow {
      font-size: 0.8em;
      transition: transform 0.3s ease;
  }

  .dropdown:hover .dropdown-arrow,
  .dropdown.active .dropdown-arrow {
      transform: rotate(180deg);
  }

  .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      min-width: 200px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s ease;
      z-index: 1000;
      list-style: none;
      margin: 0;
      padding: 10px 0;
      display: block;
      /* Override nav ul flex */
      gap: 0;
      /* Override nav ul gap */
  }

  .dropdown:hover .dropdown-menu,
  .dropdown.active .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }

  .dropdown-menu li {
      margin: 0;
  }

  .dropdown-menu a {
      display: block;
      padding: 4px 16px;
      color: #333;
      text-decoration: none;
      font-size: 0.95em;
      line-height: 1.2;
      min-height: auto;
      /* Override nav a min-height */
      border-radius: 0;
      transition: background-color 0.3s ease;
  }

  .dropdown-menu a:hover {
      background: #f8f9fa;
      color: #ff5722;
  }

  /* Modern Color Variables */
  :root {
      --primary: #ff5722;
      --primary-light: #ffa726;
      --text-main: #2d3748;
      --text-muted: #718096;
      --bg-page: #f7fafc;
      --bg-card: #ffffff;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --radius-lg: 16px;
      --radius-md: 12px;
  }

  body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.7;
      color: var(--text-main);
      background-color: var(--bg-page);
      transition: background-color 0.3s ease, color 0.3s ease;
  }

  /* ... existing scroll code ... */

  .section {
      background: var(--bg-card);
      padding: 40px;
      margin-bottom: 40px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      border: 1px solid rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .section:hover {
      box-shadow: var(--shadow-lg);
  }

  .section h2 {
      color: var(--primary-light);
      margin-bottom: 25px;
      font-size: 2.2em;
      font-weight: 700;
      position: relative;
      padding-bottom: 15px;
  }

  .section h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-light), var(--primary));
      border-radius: 2px;
  }

  .experience-card {
      background: white;
      padding: 30px;
      border-radius: var(--radius-md);
      border-left: 5px solid var(--primary);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      margin-bottom: 20px;
      /* Ensure spacing between cards */
  }

  .experience-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
  }

  .experience-card h3 {
      color: #333;
      margin-bottom: 10px;
  }

  .experience-tech {
      margin-top: 15px;
  }

  .tech-tag {
      display: inline-block;
      background: #ffa726;
      color: white;
      padding: 4px 8px;
      margin: 2px;
      border-radius: 12px;
      font-size: 0.75em;
      font-weight: 500;
  }

  .contact-item a {
      color: #667eea;
      text-decoration: none;
  }

  .contact-item a:hover {
      text-decoration: underline;
  }

  footer {
      text-align: center;
      padding: 40px 0;
      color: #666;
      margin-top: 50px;
  }

  .collapsible-content {
      max-height: 1000px;
      overflow: hidden;
      transition: max-height 0.3s ease;
  }

  .collapsible-content.collapsed {
      max-height: 0;
  }

  .collapsible-header {
      cursor: pointer;
      user-select: none;
  }

  @media (max-width: 768px) {
      .header-content {
          flex-direction: column;
          text-align: center;
          padding: 0 15px;
      }

      .header-text {
          text-align: center;
          margin-bottom: 20px;
      }

      .header-text h1 {
          font-size: 2em;
      }

      .header-text p {
          font-size: 1em;
      }

      .header-links {
          justify-content: center;
          gap: 10px;
      }

      .header-links a {
          padding: 10px 12px;
          font-size: 0.8em;
          min-height: 44px;
      }

      .header-image {
          margin-left: 0;
      }

      .header-image img {
          width: 120px;
          height: 120px;
      }

      nav {
          padding: 10px 0;
      }

      nav ul {
          flex-direction: row;
          gap: 5px;
          padding: 0 15px;
          justify-content: center;
      }

      nav a {
          font-size: 0.9em;
          padding: 8px 12px;
          min-height: 40px;
      }



      /* Mobile Dropdown Improvements */
      /* Make dropdown relative to the NAV bar, not the list item */
      .dropdown {
          position: static;
      }

      .dropdown-menu {
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          /* Full width of the nav/container */
          max-width: none;
          min-width: 100%;
          border-radius: 0 0 12px 12px;
          padding: 10px 0;
          z-index: 9999;
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
          transform: none;
          /* Reset transform */
      }

      .dropdown.active .dropdown-menu {
          transform: none;
          /* Reset transform */
      }

      .dropdown-menu a {
          padding: 12px 20px;
          font-size: 0.9em;
          /* Match nav a size */
          min-height: 40px;
          display: flex;
          align-items: center;
          justify-content: center;
          /* Center text on mobile */
          border-radius: 0;
      }

      .dropdown-menu a:hover {
          background: #f0f0f0;
          color: #ff5722;
      }

      .section {
          padding: 20px;
          margin-bottom: 20px;
      }

      .section h2 {
          font-size: 1.6em;
      }
  }

  @media (max-width: 480px) {
      .header-content {
          padding: 0 10px;
      }

      .header-text h1 {
          font-size: 1.8em;
      }

      .header-text p {
          font-size: 0.9em;
      }

      nav ul {
          padding: 0 10px;
          gap: 3px;
      }

      nav a {
          font-size: 0.8em;
          padding: 6px 8px;
          min-height: 36px;
      }

      /* Extra small screens - portrait phones */
      .dropdown-menu {
          width: calc(100vw - 20px);
          max-width: 260px;
          left: 0;
          transform: translateX(0);
          top: calc(100% + 8px);
          z-index: 99999;
          border: 2px solid #e9ecef;
          background: white !important;
      }

      .dropdown.active .dropdown-menu {
          transform: translateX(0) translateY(0);
          opacity: 1 !important;
          visibility: visible !important;
      }

      .dropdown-menu a {
          padding: 12px 16px;
          font-size: 0.9em;
          min-height: 44px;
      }

      .section {
          padding: 15px;
          margin-bottom: 15px;
      }

      .section h2 {
          font-size: 1.4em;
      }

      .experience-card {
          padding: 20px;
      }

      .tech-tag {
          font-size: 0.7em;
          padding: 3px 6px;
      }
  }

  .timeline {
      position: relative;
      padding-left: 30px;
  }

  .timeline::before {
      content: "";
      position: absolute;
      left: 15px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: #ffa726;
  }

  .timeline h3 {
      color: #ffa726;
      margin-top: 30px;
      margin-bottom: 15px;
      font-size: 1.3em;
      position: relative;
  }

  .timeline h3::before {
      content: "";
      position: absolute;
      left: -23px;
      top: 50%;
      transform: translateY(-50%);
      width: 12px;
      height: 12px;
      background: #ffa726;
      border-radius: 50%;
      border: 3px solid white;
      box-shadow: 0 0 0 2px #ffa726;
  }

  .timeline-item {
      display: flex;
      margin-bottom: 20px;
      position: relative;
      background: #f8f9fa;
      padding: 15px;
      border-radius: 8px;
      border-left: 4px solid #ff5722;
  }

  .timeline-item::before {
      content: "";
      position: absolute;
      left: -23px;
      top: 20px;
      width: 8px;
      height: 8px;
      background: #ff5722;
      border-radius: 50%;
      border: 2px solid white;
  }

  .timeline-date {
      min-width: 120px;
      font-weight: 600;
      color: #666;
      font-size: 0.9em;
      padding-right: 15px;
  }

  .timeline-content {
      flex: 1;
  }

  .timeline-content strong {
      color: #333;
      font-size: 1.1em;
  }

  .timeline-content em {
      color: #666;
      font-style: italic;
  }

  @media (max-width: 600px) {
      .timeline-item {
          flex-direction: column;
      }

      .timeline-date {
          margin-bottom: 5px;
          min-width: auto;
      }
  }

  .contact-form-panel {
      background: white;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .contact-form {
      display: flex;
      flex-direction: column;
      gap: 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
      padding: 15px;
      border: 2px solid #e1e1e1;
      border-radius: 8px;
      font-size: 1em;
      font-family: inherit;
      transition: border-color 0.3s ease;
  }

  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
      outline: none;
      border-color: #ffa726;
  }

  .contact-form button {
      background: #ffa726;
      color: white;
      padding: 15px 30px;
      border: none;
      border-radius: 8px;
      font-size: 1.1em;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  .contact-form button:hover {
      background: #ff5722;
  }

  .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
  }

  .popup-overlay.show {
      opacity: 1;
      visibility: visible;
  }

  .popup-content {
      background: white;
      padding: 30px;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
      transform: scale(0.8);
      transition: transform 0.3s ease;
  }

  .popup-overlay.show .popup-content {
      transform: scale(1);
  }

  .popup-icon {
      width: 60px;
      height: 60px;
      background: #4CAF50;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      color: white;
      font-size: 24px;
  }

  .popup-message {
      font-size: 1.2em;
      color: #333;
      margin-bottom: 20px;
  }

  .popup-close {
      background: #ffa726;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1em;
  }

  .popup-close:hover {
      background: #ff5722;
  }

  /* Food & Cooking Header */
  .food-cooking-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      flex-wrap: wrap;
      gap: 15px;
  }

  .recipe-search-container {
      position: relative;
      display: flex;
      align-items: center;
  }

  #recipeSearch {
      padding: 10px 40px 10px 15px;
      border: 2px solid #e9ecef;
      border-radius: 25px;
      width: 250px;
      font-size: 14px;
      outline: none;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  #recipeSearch:focus {
      border-color: #ffa726;
      box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.1);
  }

  #clearSearch {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: #ccc;
      color: white;
      border: none;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      font-size: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s ease;
  }

  #clearSearch:hover {
      background: #999;
  }

  .recipe-section {
      margin-bottom: 30px;
  }

  /* Recipe Cards */
  .recipe-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin-top: 20px;
  }

  .recipe-card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .recipe-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .recipe-image {
      width: 100%;
      height: 180px;
      background-size: cover;
      background-position: center;
      background-color: #f0f0f0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #999;
      font-size: 14px;
  }

  .recipe-info {
      padding: 20px;
  }

  .recipe-info h4 {
      font-size: 1.2em;
      margin-bottom: 8px;
      color: #333;
  }

  .recipe-meta {
      color: #666;
      font-size: 0.9em;
  }

  /* Recipe Modal */
  .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(5px);
  }

  .modal-content {
      background-color: white;
      margin: 5% auto;
      padding: 30px;
      border-radius: 15px;
      width: 90%;
      max-width: 700px;
      max-height: 85vh;
      overflow-y: auto;
      position: relative;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }

  .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      position: absolute;
      top: 15px;
      right: 20px;
  }

  .close:hover {
      color: #333;
  }

  .recipe-details {
      background: #f8f9fa;
      padding: 15px;
      border-radius: 8px;
      margin: 20px 0;
      display: flex;
      gap: 20px;
      align-items: flex-start;
  }

  .recipe-info-section {
      flex: 1;
  }

  .recipe-details p {
      margin: 5px 0;
  }

  .recipe-image-section {
      flex-shrink: 0;
  }

  .modal-recipe-image {
      width: 200px;
      height: 150px;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .serving-adjuster {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 10px 0;
  }

  .serving-btn {
      background: #ffa726;
      color: white;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s ease;
  }

  .serving-btn:hover {
      background: #ff5722;
  }

  #currentServing {
      font-weight: bold;
      font-size: 1.1em;
      min-width: 30px;
      text-align: center;
  }

  .serving-text {
      color: #666;
  }

  .ingredients-list {
      background: #fff;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      padding: 20px;
      margin: 15px 0;
  }

  .ingredients-list li {
      padding: 8px 0;
      border-bottom: 1px solid #f1f3f4;
      display: flex;
      justify-content: space-between;
  }

  .ingredients-list li:last-child {
      border-bottom: none;
  }

  .ingredient {
      font-weight: 500;
  }

  .amount {
      color: #666;
      font-weight: 600;
  }

  .steps-list {
      background: #fff;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      padding: 20px 20px 20px 40px;
      margin: 15px 0;
  }

  .steps-list li {
      padding: 12px 0;
      border-bottom: 1px solid #f1f3f4;
      line-height: 1.6;
  }

  .steps-list li:last-child {
      border-bottom: none;
  }

  /* Recipe Filters Container */
  .recipe-filters-container {
      display: flex;
      gap: 15px;
      align-items: center;
      flex-wrap: wrap;
  }

  .recipe-search-container {
      position: relative;
      flex: 1;
      min-width: 250px;
  }

  .category-filter-container {
      min-width: 200px;
  }

  /* Multi-Select Dropdown */
  .multi-select-dropdown {
      position: relative;
      width: 100%;
  }

  .multi-select-trigger {
      background: white;
      border: 2px solid #e9ecef;
      border-radius: 12px;
      padding: 12px 16px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.3s ease;
      font-size: 14px;
      color: #495057;
      min-height: 48px;
  }

  .multi-select-trigger:hover {
      border-color: #ffa726;
      box-shadow: 0 2px 8px rgba(255, 167, 38, 0.1);
  }

  .dropdown-arrow {
      color: #6c757d;
      transition: transform 0.3s ease;
      flex-shrink: 0;
  }

  .dropdown-arrow.rotated {
      transform: rotate(180deg);
  }

  .multi-select-dropdown-content {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border: 2px solid #e9ecef;
      border-top: none;
      border-radius: 0 0 12px 12px;
      max-height: 300px;
      overflow-y: auto;
      z-index: 1000;
      display: none;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .multi-select-dropdown-content.show {
      display: block;
  }

  .category-search-container {
      padding: 12px;
      border-bottom: 1px solid #e9ecef;
  }

  .category-search-container input {
      width: 100%;
      padding: 8px 12px;
      border: 1px solid #dee2e6;
      border-radius: 6px;
      font-size: 13px;
      outline: none;
      transition: border-color 0.3s ease;
  }

  .category-search-container input:focus {
      border-color: #ffa726;
      box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.1);
  }

  .category-options {
      max-height: 180px;
      overflow-y: auto;
  }

  .category-option {
      padding: 0;
      border-bottom: 1px solid #f8f9fa;
  }

  .category-option:last-child {
      border-bottom: none;
  }

  .category-option label {
      display: flex;
      align-items: center;
      padding: 12px 16px;
      cursor: pointer;
      transition: background-color 0.2s ease;
      margin: 0;
      width: 100%;
  }

  .category-option label:hover {
      background-color: #f8f9fa;
  }

  .category-option input[type="checkbox"] {
      position: absolute;
      opacity: 0;
      cursor: pointer;
  }

  .checkmark {
      width: 18px;
      height: 18px;
      border: 2px solid #dee2e6;
      border-radius: 4px;
      margin-right: 12px;
      position: relative;
      transition: all 0.3s ease;
      flex-shrink: 0;
  }

  .category-option input[type="checkbox"]:checked+.checkmark {
      background-color: #ffa726;
      border-color: #ffa726;
  }

  .category-option input[type="checkbox"]:checked+.checkmark::after {
      content: '';
      position: absolute;
      left: 5px;
      top: 2px;
      width: 4px;
      height: 8px;
      border: solid white;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
  }

  .category-name {
      font-size: 14px;
      color: #495057;
      flex: 1;
  }

  .dropdown-actions {
      padding: 12px;
      border-top: 1px solid #e9ecef;
      display: flex;
      gap: 8px;
      justify-content: space-between;
  }

  .clear-all-btn,
  .select-all-btn {
      padding: 6px 12px;
      border: 1px solid #dee2e6;
      border-radius: 6px;
      background: white;
      color: #6c757d;
      font-size: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      flex: 1;
  }

  .clear-all-btn:hover {
      background-color: #dc3545;
      border-color: #dc3545;
      color: white;
  }

  .select-all-btn:hover {
      background-color: #28a745;
      border-color: #28a745;
      color: white;
  }

  @media (max-width: 768px) {
      .contact-hero h1 {
          font-size: 2em;
      }

      .contact-container {
          grid-template-columns: 1fr;
          gap: 20px;
      }

      .contact-info-panel,
      .contact-form-panel {
          padding: 20px;
      }

      .modal-content {
          margin: 10% auto;
          width: 95%;
          padding: 20px;
      }

      .recipe-grid {
          grid-template-columns: 1fr;
      }

      .food-cooking-header {
          flex-direction: column;
          align-items: flex-start;
      }

      .recipe-filters-container {
          flex-direction: column;
          align-items: stretch;
          width: 100%;
          gap: 10px;
      }

      .recipe-search-container,
      .category-filter-container {
          min-width: unset;
          width: 100%;
      }

      #recipeSearch {
          width: 100%;
          max-width: 300px;
      }

      .google-logo {
          font-size: 60px;
      }

      .google-search-container {
          padding: 30px 15px;
      }

      .google-search-input {
          font-size: 14px;
          padding: 10px 40px 10px 15px;
      }

      .recipe-details {
          flex-direction: column;
          gap: 15px;
      }

      .modal-recipe-image {
          width: 100%;
          max-width: 250px;
          height: 120px;
          align-self: center;
      }
  }

  /* Personal page specific styles */
  .presentation-link {
      color: #ffa726;
      text-decoration: none;
      font-weight: 600;
  }

  .presentation-link:hover {
      text-decoration: underline;
  }

  .experience-company {
      font-size: 1.1em;
      color: #666;
      margin-bottom: 10px;
  }

  .experience-year {
      font-size: 0.9em;
      color: #666;
      margin-bottom: 10px;
  }

  .education-department {
      font-size: 1.1em;
      color: #666;
      margin-bottom: 10px;
      font-style: italic;
  }

  .education-institution {
      font-size: 1.1em;
      color: #666;
      margin-bottom: 10px;
  }

  .education-year {
      font-size: 0.9em;
      color: #666;
      margin-bottom: 10px;
  }

  /* Recipe image styles */
  .recipe-card .recipe-image {
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
  }

  /* Recipe search clear button */
  .recipe-search-clear-btn {
      display: none;
  }

  /* GitHub icon background fix */
  .header-links img.github-icon {
      background: white;
  }

  /* Scroll Animations */
  .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
      will-change: opacity, transform;
  }

  .animate-on-scroll.is-visible {
      opacity: 1;
      transform: translateY(0);
  }

  .stagger-1 {
      transition-delay: 100ms;
  }

  .stagger-2 {
      transition-delay: 200ms;
  }

  .stagger-3 {
      transition-delay: 300ms;
  }



  /* Glassmorphism Back-to-Top Button */
  /* Glassmorphism Back-to-Top Button */
  .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 40px;
      height: 40px;
      border: none;
      border-radius: 50%;

      /* Default (Light Mode) - Orange Circle with White Arrow */
      background: #ff5722;
      color: #ffffff;
      box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);

      font-size: 20px;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 999;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  /* Dark Mode - Glassmorphism (Preserved) */
  [data-theme="dark"] .back-to-top {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      color: #ff5722;
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .back-to-top.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }

  .back-to-top:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
  }

  [data-theme="dark"] .back-to-top:hover {
      background: rgba(255, 255, 255, 0.2);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }

  /* Additional Modern Features */

  /* 1. Themed Scrollbar */
  ::-webkit-scrollbar {
      width: 12px;
  }

  ::-webkit-scrollbar-track {
      background: #f1f1f1;
  }

  ::-webkit-scrollbar-thumb {
      background: #ff5722;
      /* Orange to match theme */
      border-radius: 6px;
      border: 3px solid #f1f1f1;
      /* Creates padding effect */
  }

  ::-webkit-scrollbar-thumb:hover {
      background: #e64a19;
      /* Darker orange on hover */
  }

  /* Dark Mode Scrollbar */
  [data-theme="dark"] ::-webkit-scrollbar-track {
      background: #2d2d2d;
  }

  [data-theme="dark"] ::-webkit-scrollbar-thumb {
      background: #ff5722;
      border: 3px solid #2d2d2d;
  }

  /* 2. Scrollspy - Active Sidebar Link */
  .sidebar li.active a {
      color: #ff5722;
      font-weight: 700;
      border-left: 3px solid #ff5722;
      padding-left: 12px;
      /* Adjust for border */
      background: linear-gradient(90deg, rgba(255, 167, 38, 0.1), transparent);
  }

  .sidebar li a {
      transition: all 0.3s ease;
      border-left: 3px solid transparent;
      /* Prevent layout shift */
  }

  /* 3. 3D Tilt Card Base Styles */
  .experience-card,
  .hobby-item,
  .result-card,
  .tool-card {
      transition: transform 0.1s ease-out, box-shadow 0.3s ease;
      /* Fast transform for tilt, smooth shadow */
      transform-style: preserve-3d;
      perspective: 1000px;
      will-change: transform;
  }

  /* Dark Mode Profile Picture Border */
  [data-theme="dark"] .header-image img {
      border-color: #ff5722;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }

  /* Force Scrollbar Color on Mobile */
  @media (max-width: 768px) {
      ::-webkit-scrollbar {
          width: 8px;
          /* Slightly thinner on mobile */
      }

      ::-webkit-scrollbar-thumb {
          background: #ff5722 !important;
      }

      /* Firefox Mobile */
      html {
          scrollbar-color: #ff5722 #f1f1f1;
      }

      [data-theme="dark"] html {
          scrollbar-color: #ff5722 #2d2d2d;
      }
  }