:root {
      --primary-color: #3498db;
      --secondary-color: #2980b9;
      --dark-color: #2c3e50;
      --light-color: #ecf0f1;
      --sidebar-width: 250px;
      --image-gap: 15px;
      --nav-height: 68px;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f4;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

      /* ================ NAVIGATION BAR (with added website name) ================ */
/* ==================== NAVIGATION BAR ==================== */
nav {
  background-color: var(--dark-color);
  color: white;
  padding: 1rem;
  position: fixed; /* Changed from sticky to fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  height: var(--nav-height);
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.website-name {
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-links a:hover {
  background-color: var(--primary-color);
}

.active-section {
  background-color: var(--primary-color);
  color: white !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    padding: 1rem;
    flex-direction: column;
  }
  
  .nav-links.show {
    display: flex;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo with website name - new addition */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.website-name {
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-links a:hover {
  background-color: var(--primary-color);
}
    /* ===== Mobile-First CSS ===== */
/* Base Styles (optimized for mobile) */
#home, #about {
  padding: 2rem 1rem;
  text-align: center;
}

/* Home Section - Mobile Optimized */
#home {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #2c3e50;
  position: relative;
}

#home h1 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #2c3e50; /* Fallback for browsers that don't support gradient text */
}

#home p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 1.5rem;
  color: #4a5568;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Section - Mobile Optimized */
#about {
  background-color: #f9f9f9;
}

#about h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-picture {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: #555;
}

/* Tablet Styles (min-width: 600px) */
@media (min-width: 600px) {
  #home, #about {
    padding: 3rem 1.5rem;
  }
  
  #home h1 {
    font-size: 2.5rem;
  }
  
  #home p {
    font-size: 1.1rem;
    max-width: 80%;
    padding: 1.2rem;
  }
  
  .about-content {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
  
  .about-text {
    text-align: left;
    max-width: 60%;
  }
}

/* Desktop Styles (min-width: 900px) */
@media (min-width: 900px) {
  #home {
    padding: 5rem 2rem;
  }
  
  #home h1 {
    font-size: 3rem;
    background: linear-gradient(to right, #3498db, #2c3e50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  #home p {
    font-size: 1.2rem;
    max-width: 800px;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
  }
  
  #about {
    padding: 4rem 2rem;
  }
  
  .profile-picture {
    width: 250px;
    height: 250px;
  }
  
  .about-text {
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

/* Animation for larger screens only */
@media (min-width: 600px) {
  #home h1 {
    animation: fadeInUp 0.8s ease;
  }
  
  #home p {
    animation: fadeIn 1s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Very small devices (optional) */
@media (max-width: 400px) {
  #home h1 {
    font-size: 1.8rem;
  }
  
  .profile-picture {
    width: 180px;
    height: 180px;
  }
}

    /* Main container */
    .main-container {
      display: flex;
      flex: 1;
    }

    /* Your original sidebar styling */
    aside {
      background-color: var(--light-color);
      padding: 1.5rem;
      width: var(--sidebar-width);
      min-width: var(--sidebar-width);
      overflow-y: auto;
      border-right: 1px solid #ddd;
      position: sticky;
      top: var(--nav-height);
      height: calc(100vh - var(--nav-height));
    }

    .sidebar-section {
      margin-bottom: 2rem;
    }

    .sidebar-section h3 {
      color: var(--dark-color);
      border-bottom: 2px solid var(--primary-color);
      padding-bottom: 0.5rem;
      margin-bottom: 1rem;
    }

    .sidebar-section ul {
      list-style: none;
      padding: 0;
    }

    .sidebar-section li {
      margin-bottom: 0.5rem;
    }

    .sidebar-section a {
      color: var(--dark-color);
      text-decoration: none;
      transition: color 0.3s;
    }

    .sidebar-section a:hover {
      color: var(--primary-color);
    }

    .search-box {
      width: 100%;
      padding: 0.5rem;
      border: 1px solid #ddd;
      border-radius: 4px;
      margin-bottom: 1rem;
    }

    /* Main Content */
    main {
      flex: 1;
      padding: 2rem;
    }

    h1 {
      text-align: center;
      margin-bottom: 30px;
      color: var(--dark-color);
    }

    h2 {
      margin: 40px 0 20px;
      color: var(--dark-color);
      text-align: center;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--primary-color);
    }

    .job-section {
      margin-bottom: 40px;
      scroll-margin-top: 80px;
    }

    .job-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: var(--image-gap);
      justify-items: center;
    }

    .job-card {
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 15px;
      width: 180px;
      transition: transform 0.3s, box-shadow 0.3s;
      text-align: center;
      margin-bottom: var(--image-gap);
    }

    .job-card:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .job-card img {
      width: 100%;
      height: 120px;
      object-fit: contain;
      border-radius: 6px;
      margin-bottom: 10px;
    }

    .job-title {
      margin-top: 10px;
      font-size: 16px;
      font-weight: bold;
      color: #333;
    }

    /* About Section */
    .about-content {
      background-color: white;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    .profile-picture {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--primary-color);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .about-text {
      max-width: 800px;
      line-height: 1.6;
    }

    /* About Us Section Styling */
#about {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    color: #333;
}

#about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
}

#about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 15px auto;
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-picture {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-picture:hover {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #555;
}

.about-text p:first-of-type {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
}

.about-text p:last-of-type {
    font-style: italic;
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .profile-picture {
        width: 250px;
        height: 250px;
    }
}

    /* Footer */
    footer {
      background-color: var(--dark-color);
      color: white;
      padding: 2rem;
      text-align: center;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
    }

    .footer-section h3 {
      margin-bottom: 1rem;
      color: var(--primary-color);
    }

    .footer-section ul {
      list-style: none;
      padding: 0;
    }

    .footer-section li {
      margin-bottom: 0.5rem;
    }

    .footer-section a {
      color: white;
      text-decoration: none;
    }

    .footer-section a:hover {
      text-decoration: underline;
    }

    .copyright {
      margin-top: 2rem;
      padding-top: 1rem;
      border-top: 1px solid #444;
    }

    /* Mobile responsive changes */
    @media (max-width: 768px) {
      /* Mobile menu button */
      .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
      }

      /* Hide regular nav links on mobile */
      .nav-links {
        display: none;
      }

      /* Mobile sidebar behavior */
      aside {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        height: calc(100vh - var(--nav-height));
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 98;
      }

      aside.show {
        transform: translateX(0);
      }

      /* Adjust main content padding */
      main {
        padding: 1rem;
      }

      /* Adjust job cards for mobile */
      .job-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      }

      .job-card {
        width: 140px;
      }

      .job-card img {
        height: 90px;
      }
      
      /* Adjust about section for mobile */
      .about-content {
        padding: 1.5rem;
      }
      
      .profile-picture {
        width: 150px;
        height: 150px;
      }


      /* Show menu button only on mobile */
.menu-toggle {
  display: none; /* Hidden by default */
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Only shows on mobile */
  }
  .nav-links {
    display: none; /* Hide regular nav on mobile */
  }
  .nav-links.show {
    display: flex; /* Show when menu is toggled */
  }
}
    }

    /* Active section highlight */
    .active-section {
      background-color: var(--primary-color);
      color: white !important;
    }