* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  background-image: url("../assets/Background.png");
}
.header-inline {
  position: absolute;
  top: 20px;         
  right: 20px;       
}

.header-inline .back-link {
  display: inline-block;
  padding: 10px 16px;
  background-color: #ffffff; 
  color: #003366;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.header-inline .back-link:hover {
  background-color: #cce0ff; 
}
.container {
  max-width: 100%;
  margin-top: 60px;
  margin: 50px auto;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}



.project-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
}
.project-subtitle {
  font-size: 14px;
  color: #7f8c8d;
  margin-top: 5px;
}
.logo {
  width: 60px;
  height: 60px;
  background: #3498db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}
.kpi-card {
  background: #bed9f5;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.kpi-card h3 {
  font-size: 14px;
  color: #555;
}
.kpi-card p {
  font-size: 18px;
  font-weight: bold;
  margin-top: 5px;
}

/* Phases */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.phase-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}
.phase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.phase-card.completed {
  border-color: #27ae60;
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}
.phase-card.in-progress {
  border-color: #f39c12;
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}
.phase-card.upcoming {
  border-color: #e74c3c;
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}
.phase-card.planning {
  border-color: #9b59b6;
  background: linear-gradient(135deg, #e2d5f1 0%, #d1b3ff 100%);
}
.phase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}
.phase-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}
.phase-status {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.status-completed {
  background: #27ae60;
  color: white;
}
.status-progress {
  background: #f39c12;
  color: white;
}
.status-upcoming {
  background: #e74c3c;
  color: white;
}
.status-planning {
  background: #9b59b6;
  color: white;
}
.phase-details {
  font-size: 14px;
  color: #5a6c7d;
  margin-bottom: 10px;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  transition: width 0.3s ease;
}
.progress-completed {
  background: #27ae60;
}
.progress-in-progress {
  background: #f39c12;
}
.progress-upcoming {
  background: #e74c3c;
}
.progress-planning {
  background: #9b59b6;
}

/* Timeline */
.timeline-section {
  margin-top: 40px;
}
.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.timeline-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}
.timeline-item:last-child {
  border-bottom: none;
}

/* Crew Section */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}
.crew-card {
  background: #f1f5f9;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

/* Weather */
.weather-section {
  background: #eaf4fc;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 30px;
}

/* Documents */
.documents-section ul {
  list-style: none;
}
.documents-section li a {
  text-decoration: none;
  color: #3498db;
}

/* Activity Section */
.activity-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
}
.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.activity-column h3 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 15px;
}
.activity-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: #5a6c7d;
}
.view-all {
  color: #3498db;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}
.view-all:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .phases-grid {
    grid-template-columns: 1fr;
  }
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 20px;
  }
}
