@import url(http://fonts.googleapis.com/css?family=Roboto:400,900,500);

/* ---------- Social Icon and Login and Register row Start ---------- */
.top-strip {
  background: linear-gradient(to right, #001a99, #7b84cc);
  padding: 8px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  color: white;
  font-size: 14px;
}

.social-icons a {
  color: white;
  margin-right: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
}

.social-icons a:hover {
  color: #ff8000;
}

.user-links a {
  color: white;
  text-decoration: none;
  margin-left: 12px;
  transition: color 0.3s ease;
  font-size: 14px;
}

.user-links a i {
  margin-right: 5px;
  color: #ff8000;
}

.user-links a:hover {
  text-decoration: underline;
}


/* ---------- Tablet ---------- */
@media (max-width: 768px) {
  .top-strip {
    padding: 8px 20px;
    font-size: 13px;
  }

  .social-icons a {
    font-size: 15px;
    margin-right: 10px;
  }

  .user-links a {
    font-size: 13px;
    margin-left: 8px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  .top-strip {
    padding: 6px 12px;
    font-size: 12px;
  }

  .social-icons a {
    font-size: 13px;
    margin-right: 8px;
  }

  .user-links a {
    font-size: 12px;
    margin-left: 6px;
  }

  .user-links a i {
    font-size: 12px;
  }

  .top-strip {
    flex-wrap: nowrap; /* Keep icons and links in one line */
  }
}

/* ---------- Social Icon and Login and Register row End ---------- */



/* Basic Reset - Menu Bar and Search Bar CSS Start */
    /* Navbar */
/* Navbar */
    nav2 {
      background: #fff;
      color: #333;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 50px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      position: static;
      width: 100%;
      top: 0;
      z-index: 1000;
    }

    .logo img {
      height: 40px;

    }

    .menu {
      display: flex;
      align-items: center;
      gap: 25px;
    }

    .menu a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
    }

    .menu a.active {
      background: #f97316;
      color: white;
      padding: 8px 16px;
      border-radius: 4px;
    }

    .menu .btn-list {
      background: #f97316;
      color: #fff;
      padding: 10px 20px;
      border-radius: 4px;
      text-decoration: none;
      font-weight: 600;
    }

    /* Hamburger Icon */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background: #333;
    }

    /* Sidebar (Mobile) */
    .sidebar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 250px;
      height: 100%;
      background: white;
      padding: 60px 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      transition: left 0.3s ease;
      box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    }

    .sidebar a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
    }

    .sidebar.active {
      left: 0;
    }

    /* Hero Section */
    .hero {
      text-align: center;
      padding-top: 50px;
      padding-bottom: 60px;
	  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/TM-header-image.jpg') no-repeat center center/cover;
    }
	

    .hero h1 {
      font-size: 36px;
      font-weight: 600;
	  color:#FFFFFF;
      margin-bottom: 10px;
    }

    .hero p {
      font-size: 18px;
      color: #FFFFFF;
      margin-bottom: 40px;
    }

    /* Search Box */
    .search-box {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      background: rgba(255, 255, 255, 0.95);
      padding: 10px;
      border-radius: 0px;
      max-width: 935px;
      margin: 0 auto;
      gap: 10px;
    }

    .search-box input {
      padding: 12px;
      width: 250px;
      border: 1px solid #ccc;
      border-radius: 0px;
      outline: none;
    }

    .search-box select {
      padding: 12px;
      width: 250px;
      border: 1px solid #ccc;
      border-radius: 0px;
      outline: none;
    }

    .search-box button {
      background: #f97316;
      border: none;
      color: white;
      padding: 12px 25px;
      border-radius: 0px;
      font-weight: bold;
      cursor: pointer;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .menu { display: none; }
      .hamburger { display: flex; }
    }

    @media (max-width: 600px) {
      .search-box input, .search-box select {
        width: 100%;
      }
    }
/* Basic Reset - Menu Bar and Search Bar CSS End */



body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}


/* Card Layout */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-content h2 {
    font-size: 20px;
    margin: 0 0 10px;
}

.card-content p {
    margin: 5px 0;
    color: #555;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-top: 1px solid #eee;
}

.card-actions a {
    text-decoration: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    color: white;
}

.edit-btn {
    background-color: #ffc107;
}

.edit-btn:hover {
    background-color: #e0a800;
}

.delete-btn {
    background-color: #dc3545;
}

.delete-btn:hover {
    background-color: #c82333;
}