/* General Styles */
body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px; 
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #4CAF50;
  text-decoration: none;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links ul li {
  display: inline;
}

.nav-links ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: #4CAF50;
}

.nav-links ul li.active a {
  color: #4CAF50;
  font-weight: bold;
}

.menu-btn {
  display: none;
  width: 25px;
}

/* AI Projects Section */
.ai-projects {
  padding: 60px 20px;
  text-align: center;
}

.ai-projects h1 {
  font-family: 'Montserrat', sans-serif;
  color: #4CAF50;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  width: 300px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 380px;
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(76, 175, 80, 0.3);
}

.card-icon {
  font-size: 2.5rem;
  color: #4CAF50;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.project-card:hover .card-icon {
  transform: scale(1.1);
}

.project-card h2 {
  font-family: 'Montserrat', sans-serif;
  color: #4CAF50;
  font-size: 1.5rem;
  margin-bottom: 10px;
  margin-left: 10px;
}

/* Description Wrapper */
.description-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 10px;
  margin-bottom: 15px;
}

/* Description Box */
.description-box {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 6px;
  font-family: 'Merriweather Sans', sans-serif;
  display: inline-block;
}

.description-box p {
  margin: 0;
  font-size: 0.85rem;
  color: black;
  line-height: 1.4;
}

.info-mark {
  font-size: 1rem;
  color: #4CAF50;
  margin-left: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.info-mark:hover {
  color: #66BB6A;
}

.disclaimer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  z-index: 10;
  width: 220px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.disclaimer.visible {
  display: block;
}

.project-card p.description {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  clear: both;
}

.project-card a {
  background-color: #000911ed;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  display: block;
  margin-left: 10px;
  width: fit-content;
}

.project-card a:hover {
  background-color: #4CAF50;
  transform: translateY(-2px);
}

.target-audience {
  background-color: rgba(255, 0, 0, 0.2); /* Red with slight transparency */
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Merriweather Sans', sans-serif;
  display: inline-block;
  margin-top: 8px;
  margin-left: 10px;
}

.target-audience p {
  margin: 0;
  font-size: 0.75rem;
  color: rgb(255, 255, 255); /* Kept black for contrast, but can adjust if needed */
  line-height: 1.4;
}

/* Disabled Link Styles */
.disabled-link {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .navbar {
      padding: 10px 20px;
  }

  .navbar .logo {
      font-size: 1.4rem;
  }

  .menu-btn {
      display: block;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 60px;
      right: 10px;
      background-color: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 8px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
      padding: 10px;
  }

  .nav-links.mobile-menu {
      display: block;
  }

  .nav-links ul {
      flex-direction: column;
      gap: 20px;
  }

  .nav-links ul li a {
      font-size: 1.1rem;
  }

  .ai-projects h1 {
      font-size: 2rem;
  }

  .project-card {
      width: 100%;
      max-width: 300px;
  }

  .disclaimer {
    width: 200px;
    font-size: 0.85rem;
  }

  .description-box p {
    font-size: 0.8rem;
  }

  .target-audience p {
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  .ai-projects h1 {
      font-size: 1.8rem;
  }

  .project-card h2 {
      font-size: 1.3rem;
  }

  .project-card p {
      font-size: 0.9rem;
  }

  .project-card a {
      font-size: 0.8rem;
  }

  .disclaimer {
    width: 180px;
    font-size: 0.8rem;
  }

  .description-box p {
    font-size: 0.75rem;
  }

  .target-audience p {
    font-size: 0.65rem;
  }
}