/* ===============================
   Project Details Enhanced Styles
   =============================== */

/* Header / Breadcrumb Section */
.breadcrumbs {
  background: linear-gradient(90deg, #03284c, #004080);
  color: white;
  padding: 20px 20px;
  text-align: center;
  border-radius: 0 0 80px 80px;
}

.breadcrumbs h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.breadcrumbs ol {
  margin-top: 10px;
  justify-content: center;
  gap: 5px;
  color: #cce3ff;
}

.breadcrumbs ol li a {
  color: #cce3ff;
  text-decoration: underline;
}

/* Project Overview Section */
.portfolio-details .container .row {
  align-items: center;
  gap: 20px;
}

.portfolio-info {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-info a {
  color: #004080;
  font-weight: bold;
}

.portfolio-info a:hover {
  text-decoration: underline;
}

/* Description Section */
.portfolio-description {
  background: #f9f9f9;
  border-left: 4px solid #004080;
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
}

/* Info Box (CEFIS section) */
.info-box {
  background: #ffffff;
  border-left: 5px solid #0a1172;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  margin-top: 40px;
}

/* Container for the side-by-side links */
.info-links-grid {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Each column */
.info-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 300px;
  padding: 10px;
}

/* Optional paragraph spacing */
.info-column p {
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
}

/* Styled button */
.info-column .button {
  background: linear-gradient(135deg, #004080, #007bff);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.info-column .button:hover {
  background: linear-gradient(135deg, #003060, #005bb5);
  transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .info-links-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* Lucidchart Button */
a.button,
a[href*="lucidchart"] {
  display: inline-block;
  background: linear-gradient(135deg, #004080, #007bff);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, transform 0.2s;
}

a.button:hover,
a[href*="lucidchart"]:hover {
  background: linear-gradient(135deg, #003060, #005bb5);
  transform: scale(1.03);
}

/* Responsive Image */
.portfolio-details img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

/* === Team's Card === */
.hover-reveal-card {
  position: relative;
  min-height: 270px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  margin-right: 10px;
  margin-left: 10px;
}

.card-base-img {
  width: 90%;
  max-height: 250px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  margin: auto;
  transition: transform 0.3s ease;
  background-color: #f0f0f0;
  margin-top: 10px;
}

/* Hover card content */
.hover-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #004080, #007bff);
  color: #fff;
  padding: 20px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hover-reveal-card:hover .hover-card {
  transform: translateY(0%);
}

.hover-reveal-card:hover .card-base-img {
  transform: scale(1.05);
  filter: brightness(0.5);
}

/* Circular image for popup */
.circle-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  margin-bottom: 12px;
}

.hover-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 700;
}

.hover-card p {
  font-size: 14px;
  margin: 2px 0;
}

/* === Team Table Styling === */
.team-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: "Open Sans", sans-serif;
}

.team-table thead {
  background: linear-gradient(135deg, #004080);
  font-size: 16px;
}

.team-table thead th {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.team-table th,
.team-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #eee;
}

.team-table tbody tr:last-child td {
  border-bottom: none;
}

.team-table td {
  line-height: 1.6;
}
