    /* Global Reset */
    *,
    *::before,
    *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    .linkvisit {
      display:block;
      font-style: none;
      padding: 5px;
      background-color: #b8b8b8;
    }
    html, body {
      height: 100%;
      font-family: 'Roboto', sans-serif;
      line-height: 1.6;
      background-image: url("../../images/home/background.png");
      background-size: cover;
      background-attachment: fixed;
      background-repeat: no-repeat;
      color: #333;
    }
    
    a { text-decoration: none; color: inherit; }
    
    /* Navigation Styles */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 1rem;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 10;
      text-align: center;
      transition: background-color 0.3s ease;
    }
    
    nav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 2rem;
    }
    
    nav li {
      font-size: 1.5rem;
      transition: transform 0.3s ease-in-out;
    }
    
    nav a {
      color: #fff;
      font-weight: 500;
      padding: 0.5rem 1rem;
      transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
    
    nav a:hover {
      color: #00bcd4;
      transform: scale(1.1);
    }
    
    nav a.active {
      color: #00bcd4;
    }
    
    /* Section Base Styles */
    section {
      padding: 100px 20px 60px;
      max-width: 1200px;
      margin: 80px auto 40px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 8px;
    }
    section h2 {
      margin-bottom: 20px;
      font-size: 2.5rem;
      text-align: center;
    }
    section p { margin-bottom: 20px; text-align: center; }
    
    /* Hero Section */
    .hero {
      height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
      background: url('https://via.placeholder.com/1200x400') no-repeat center center/cover;
      margin-top: 80px;
    }
    .hero h1 { font-size: 3rem; }
    
    /* Adaptive Grid Gallery for Projects/Plugins */
    .grid-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }
    .grid-gallery .grid-item {
      
      background: #eeeeee;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      transition: transform 0.3s;
    }
    .grid-gallery .grid-item:hover { transform: translateY(-5px); }
    .grid-gallery .grid-item img,
    .grid-gallery .grid-item video {
      width: 100%;
      max-height:  20vh;
      display: block;
    }
    
    /* Monthly Renders Grid */
    #monthly-timeline {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 20px;
    }
    .monthly-item {
      background: rgba(255, 255, 255, 0.9);
      border-radius: 8px;
      padding: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      text-align: center;
      cursor: pointer;
      transition: transform 0.3s;
      
    }
    .monthly-item:hover {
      transform: translateY(-5px);
    }
    .monthly-item img,
    .monthly-item video {
      width: 100%;
      border-radius: 4px;
      max-height:  20vh;
    }
    .monthly-item h4 {
      margin: 10px 0 5px;
      font-size: 1.1rem;
    }
    .monthly-item p {
      font-size: 0.9rem;
      color: #666;
    }
    
    /* Render Toggle - Folder Tab Style */
    .render-toggle {
      text-align: center;
      margin-bottom: 20px;
      border-bottom: 1px solid #ccc;
    }
    .render-toggle button {
      background: #f5f5f5;
      border: 1px solid #ccc;
      border-bottom: none;
      margin: 0 5px 0 0;
      padding: 10px 20px;
      font-size: 1rem;
      cursor: pointer;
      outline: none;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
      transition: background 0.3s, transform 0.3s;
    }
    .render-toggle button:last-child {
      margin-right: 0;
    }
    .render-toggle button:hover {
      background: #e9e9e9;
    }
    .render-toggle button.active {
      background: #fff;
      color: #00bcd4;
      border-color: #00bcd4;
      transform: translateY(2px);
      box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    }
    
    /* Category Box and Buttons */
    .category-box {
      text-align: center;
      margin-bottom: 20px;
      padding: 10px;
      border: 2px solid #00bcd4;
      border-radius: 8px;
      background: #fff;
      display: inline-block;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .archive-category {

      background: #f5f5f5;
      border: 1px solid #ccc;
      padding: 8px 12px;
      margin: 0 5px;
      border-radius: 4px;
      cursor: pointer;
      transition: background 0.3s;
    }
    .archive-category:hover {
      background: #e0f7fa;
    }
    .archive-category.active {
      background: #00bcd4;
      color: #fff;
      border-color: #00bcd4;
    }
    #active {
      background: #00bcd4;
      color: #fff;
      border-color: #00bcd4;
    }
    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0; top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.8);
      align-items: center;
      justify-content: center;;
    }
    .modal-content {
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      max-width: 90%;
      text-align: center;
      position: relative;
      animation: modalGrow 0.3s ease-out;
    }
    .modal-content img,
    .modal-content video {
      max-width: 100%;
      height: auto;
      border-radius: 4px;
      max-height: 60vh;
    }
    .modal-content h4 {
      margin: 10px 0;
    }
    .modal-content p {
      color: #555;
    }
    .close {
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 30px;
      font-weight: bold;
      cursor: pointer;
    }
    @keyframes modalGrow {
      0% { transform: scale(0.7); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }
    
    /* Pagination Styling */
    #pagination {
      text-align: center;
      margin-top: 20px;
    }
    #pagination .page-btn {
      background: #eee;
      border: none;
      margin: 0 5px;
      padding: 8px 12px;
      border-radius: 4px;
      cursor: pointer;
      transition: background 0.3s;
    }
    #pagination .page-btn:hover {
      background: #ddd;
    }
    #pagination .page-btn.active {
      background: #00bcd4;
      color: #fff;
    }
    
    /* Responsive Adjustments */
    @media (max-width: 768px) {
      nav ul { flex-direction: column; }
      #animation {margin-top:5vh}
    }
    /* Media Queries for responsiveness */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    padding-top: 15rem; /* Adds more space for small screens */
    
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  nav li {
    font-size: 1rem;
  }

  .bio-section,
  .skills-section {
    max-width: 100%;
    padding-right: 0;
  }

  .bio-section h1 {
    font-size: 2rem;
  }

  .skills-section h3 {
    font-size: 1.5rem;
  }

  .quick-look {
    padding: 3rem 1rem;
  }

  .quick-look .projects {
    flex-direction: column;
  }

  .quick-look .project-card {
    width: 100%;
  }
}

/* Prevent images from stretching while keeping them within a limited size */
img, video {
  max-width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Prevent stretching while fitting within the container */
}

/* If you want to ensure a max height for images in specific sections */
.grid-gallery .grid-item img,
.grid-gallery .grid-item video,
.monthly-item img,
.monthly-item video
 {
  max-width: 100%;
  max-height: 15vh; /* Adjust this value as needed */
  height: auto;
  display: block;
  object-fit: contain; /* Keeps aspect ratio without stretching */
}
