/* ============================================
         CSS Placement Report
   ============================================ */

/* --- General Setup & Variables --- */
:root {
  --primary-color: #0056b3;
  --secondary-color: #007bff;
  --text-dark: #343a40;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --card-bg: #ffffff;
  --border-color: #e9ecef;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.meeting-item .thumb .date-tag {
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: #f5a425;

  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2;
}

.meeting-item .down-content .author {
  font-size: 15px;
  color: #1f272b;
  margin-bottom: 15px;
  display: inline-block;
}

.meeting-item .down-content .author i {
  color: #f5a425;

  margin-right: 5px;
}

.meeting-item .down-content a:hover h4 {
  color: #f5a425;
}

.meeting-item {
  transition: all 0.3s ease-in-out;
}

.meeting-item:hover {
  transform: translateY(-5px);

  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
         CSS MOU
   ============================================ */

.mou {
  border: #25303b;
  border-radius: 10px;
}

.mou table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background-color: #ffffff;
}

.mou th,
td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
  border: none;
  border-bottom: 1px solid #dee2e6;
}

.mou th {
  background: linear-gradient(45deg, #a12c2f, #801c1f);
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mou tr:last-child td {
  border-bottom: none;
}

.mou tbody tr:nth-child(even) .scope-cell {
  background-color: #fdf5f5;
}

.mou tbody tr:hover td {
  background-color: #f5eaea;
  cursor: pointer;
}

/* === COLUMN DIFFERENTIATION STYLES === */

.mou .mou-tablehead {
  text-align: center;
}

.mou-cell {
  width: 250px;
  text-align: center;
  background-color: #f9f9f9;
  border-right: 2px solid #d4a9aa;
}

.mou-cell img {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.scope-cell {
  font-size: 0.95em;
}

/* === NEW STYLES FOR BULLET POINTS === */
.scope-cell ul {
  list-style: none;
  /* Remove default browser bullets */
  padding: 0;
  margin: 0;
}

.scope-cell li {
  padding-left: 1.3em;
  /* Indent text to make space for the bullet */
  position: relative;
  margin-bottom: 8px;
  /* Space out the list items */
  line-height: 1.4;
}

.scope-cell li:last-child {
  margin-bottom: 0;
}

.scope-cell li::before {
  content: "•";
  /* The bullet character */
  color: #a12c2f;
  /* The requested color */
  font-weight: bold;
  font-size: 1.2em;
  /* Make bullet slightly bigger */
  position: absolute;
  left: 0;
  top: 0;
  /* Aligns bullet with the top of the text line */
}

/* ============================================
         CSS Placement Timeline
   ============================================ */

/* --- Main Container --- */
.timeline-container {
  max-width: 850px;
  margin: 40px auto;
}

/* --- Main Title --- */
.timeline-title {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 700;
  color: #002d62;
  /* Dark Blue */
  margin-bottom: 50px;
  letter-spacing: 1.5px;
}

/* --- Timeline Core Structure --- */
.timeline {
  position: relative;
  padding-bottom: 20px;
  /* Space for the final arrow */
}

/* The central vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 110px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #002d62;
}

/* The orange arrow at the bottom */
.timeline::after {
  content: "";
  position: absolute;
  left: 110px;
  bottom: -5px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid #f7941d;
  /* Orange */
}

/* --- Individual Timeline Item --- */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

/* The orange pill for the month */
.timeline-month {
  position: absolute;
  left: 110px;
  top: 0;
  transform: translateX(-50%);
  background-color: #f7941d;
  /* Orange */
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 2;
}

/* The content box with details */
.timeline-content {
  margin-left: 220px;
  background-color: white;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 20px 25px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* The horizontal connector line */
.timeline-content::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 22px;
  /* Aligns with the center of the month pill */
  width: 90px;
  height: 2px;
  background-color: #555;
  z-index: 1;
}

/* List of activities */
.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-content li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.4;
}

.timeline-content li:last-child {
  margin-bottom: 0;
}

/* Custom bullet point */
.timeline-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f7941d;
  /* Orange bullet */
  font-weight: bold;
  font-size: 1.2rem;
}

/* --- Responsive Design --- */

/* For Tablets */
@media (max-width: 768px) {
  .timeline-title {
    font-size: 2.2rem;
  }

  .timeline::before,
  .timeline::after {
    left: 60px;
  }

  .timeline-month {
    left: 60px;
    padding: 8px 20px;
    font-size: 1rem;
  }

  .timeline-content {
    margin-left: 140px;
  }

  .timeline-content::before {
    width: 60px;
    top: 20px;
  }
}

/* For Mobile Phones */
@media (max-width: 520px) {
  .timeline-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .timeline::before,
  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 40px;
    /* Space for the line and marker */
  }

  /* Add a circle marker on the main line for mobile view */
  .timeline-item::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 15px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: white;
    border: 3px solid #f7941d;
    border-radius: 50%;
    z-index: 2;
  }

  .timeline-month {
    /* Place month above the content, not on the line */
    position: static;
    transform: none;
    margin-bottom: 10px;
    padding: 5px 15px;
  }

  .timeline-content {
    margin-left: 0;
  }

  /* Hide the horizontal connector line on mobile */
  .timeline-content::before {
    display: none;
  }
}

/* ============================================
         CSS Intership Timeline
   ============================================ */

.internship-title {
  text-align: center;
  font-size: 2rem;
  margin: 30px 0 20px;
  font-family: Arial, sans-serif;
  color: #ec0f0f;
}

.internship-timeline {
  width: 80%;
  margin: 20px auto;
  position: relative;
}

.internship-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: white;
}

.internship-timeline-article {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.internship-timeline-article::after {
  content: "";
  display: block;
  clear: both;
}

.internship-timeline-inner {
  width: 40%;
  float: left;
  margin-top: 5px;
  border-radius: 6px;
}

.internship-date {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #25303b;
  border: 2px solid rgba(136, 119, 119, 0.281);
  box-shadow: 0 0 0 7px #25303b;
}

.internship-date img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.internship-timeline-inner h2 {
  padding: 15px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
  border-radius: 6px 6px 0 0;
  position: relative;
}

.internship-timeline-inner h2::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
}

.internship-timeline-inner p {
  padding: 15px;
  margin: 0;
  font-size: 14px;
  background: #fff;
  color: #656565;
  border-radius: 0 0 6px 6px;
}

.internship-timeline-article:nth-child(even) .internship-timeline-inner {
  float: right;
}

.internship-timeline-article .internship-timeline-inner h2::after {
  right: -5px;
}

.internship-timeline-article:nth-child(even)
  .internship-timeline-inner
  h2::after {
  left: -5px;
  right: auto;
}

.internship-timeline-article:nth-child(1) .internship-timeline-inner h2,
.internship-timeline-article:nth-child(1) .internship-timeline-inner h2::after {
  background: #e74c3c;
}

.internship-timeline-article:nth-child(2) .internship-timeline-inner h2,
.internship-timeline-article:nth-child(2) .internship-timeline-inner h2::after {
  background: #2ecc71;
}

.internship-timeline-article:nth-child(3) .internship-timeline-inner h2,
.internship-timeline-article:nth-child(3) .internship-timeline-inner h2::after {
  background: #e67e22;
}

.internship-timeline-article:nth-child(4) .internship-timeline-inner h2,
.internship-timeline-article:nth-child(4) .internship-timeline-inner h2::after {
  background: #1abc9c;
}

.internship-timeline-article:nth-child(5) .internship-timeline-inner h2,
.internship-timeline-article:nth-child(5) .internship-timeline-inner h2::after {
  background: #9b59b6;
}
