/* ==========================================================================
   DURGA INFRASTRUCTURE ENGINEERING PRIVATE LIMITED - About Specific Styles (about.css)
   ========================================================================== */

/* 1. HISTORY TIMELINE */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto 0;
  padding: 2rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--border-glass);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 1rem 3rem;
  position: relative;
  width: 50%;
  margin-bottom: 2rem;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background: var(--accent);
  border: 4px solid var(--bg-primary);
  border-radius: 50%;
  top: 1.5rem;
  z-index: 1;
  box-shadow: 0 0 10px var(--accent);
  transition: var(--transition);
}

.timeline-item.right::after {
  left: -8px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

.timeline-badge {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

/* 2. VALUES CARDS */
.value-card {
  padding: 2rem;
  text-align: center;
  border-top: 3px solid var(--accent);
}

.value-card:nth-child(even) {
  border-top-color: var(--accent-secondary);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* 3. SAFETY & QHSE LAYOUT */
.qhse-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.qhse-list {
  list-style: none;
}

.qhse-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.qhse-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
}

/* 4. TEAM SECTION */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.team-card {
  text-align: center;
}

.team-img-wrapper {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  background-image: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(var(--accent-sec-rgb), 0.1));
  transition: var(--transition);
}

.team-card:hover .team-img-wrapper {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.team-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.team-card p {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.staff-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  margin-top: 2rem;
}

.staff-table th, .staff-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}

.staff-table th {
  font-family: var(--font-headings);
  color: var(--accent);
  font-weight: 700;
}

.staff-table tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* 5. TOOLS & PLANTS DASHBOARD */
.tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.tabs-headers {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 600;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tool-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.tool-name {
  font-weight: 600;
  color: var(--text-dark);
}

.tool-qty {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--accent);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive fixes for About page */
@media (max-width: 768px) {
  .timeline::after {
    left: 30px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item::after {
    left: 22px;
    right: auto;
  }
  .qhse-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
}
