/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background-image: url('image/bg.png');
  background-color: #f8f9fa;
  color: #333;
  background-size: cover; /* This centers and scales the background image */
  background-position: center;
}

.widget {
  position: relative;
  overflow: hidden;
}

.widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit; /* Ensure the background is inherited */
  filter: blur(5px);
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
  z-index: -1; /* Place the pseudo-element behind the content */
}

.btn .btn-success {
  background-color: #355e55;
}

.btn-success:hover {
  background-color: #086c64;
}

.herocontent {
  margin-left: 76px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin: 20px 0;
}

th {
  background-color: #f2f2f2;
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ccc;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ccc;
}

tr:hover {
  background-color: #e9e9e9;
}

.container {
  max-width: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: left;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
}

.card-widget {
  flex: 1 1 300px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-widget .card-header {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 5px 5px 0 0;
}

.card-widget .card-body {
  padding: 20px;
}

.widget {
  flex: 1 1 calc(50% - 20px);
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding: 20px;
}

.widget h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #333;
  text-align: center;
}

.curriculum-box {
  flex: 1 1 calc(50% - 20px);
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.curriculum-box-header {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
}

.curriculum-box-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.curriculum-box-content {
  padding: 10px;
  display: none;
}

.curriculum-box.open .curriculum-box-content {
  display: block;
}

.form-container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  margin-top: 0;
  text-align: center;
  color: #355e55;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  color: #355e55;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group .error {
  color: red;
}

.form-group .success {
  color: green;
}

.form-group input[type="submit"] {
  background-color: #355e55;
  color: white;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  transition: background-color 0.3s;
}

.form-group input[type="submit"]:hover {
  background-color: #ab2e6c;
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}


/* Mobile View */
@media (max-width: 768px) {

  .footer {
  
display: none;
  }


  .main-content {
    flex-direction: column;
  }

  .card-widget,
  .widget,
  .curriculum-box {
    flex: 1 1 100%;
  }

  .herocontent {
    margin-left: 0px;
    margin-bottom: 70px;
    padding: 10px;
  }

  .form-container {
    padding: 15px;
  }
}










#gantt_chart_container {
  overflow-x: auto; /* Enable horizontal scrolling */
  width: 100%; /* Adjust width as needed */
  border: 1px solid #ccc; /* Optional: Add border for better visibility */
}

#gantt_chart {
  width: 2000px; /* Set a larger width for the chart, adjust as needed */
}