/* ==========================================================================
   SwiftBuild Custom Additions
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Kinetic Conduit Timeline Styles (Light Section Adaptive)
   -------------------------------------------------------------------------- */
.timeline-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Central Timeline Conduit Line */
.timeline-conduit-line {
  position: absolute;
  width: 2px;
  background-color: var(--neutral-200);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -1px;
}

/* Glowing Pulse Animation traversing the line */
.timeline-conduit-pulse {
  position: absolute;
  width: 4px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--brand), transparent);
  left: 20px;
  margin-left: -2px;
  top: 0;
  animation: pulseDown 6s linear infinite;
  pointer-events: none;
}

@media (min-width: 992px) {
  .timeline-conduit-line {
    left: 50%;
  }
  .timeline-conduit-pulse {
    left: 50%;
  }
}

@keyframes pulseDown {
  0% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}

/* Timeline Cards */
.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 48px;
  padding-left: 54px;
}

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

@media (min-width: 992px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    margin-bottom: 64px;
  }
  
  /* Left float cards */
  .timeline-item.left {
    left: 0;
    padding-right: 48px;
    text-align: right;
  }
  
  /* Right float cards */
  .timeline-item.right {
    left: 50%;
    padding-left: 48px;
    text-align: left;
  }
}

/* Timeline bullet nodes */
.timeline-node {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--neutral-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--neutral-700);
  left: 2px;
  top: 24px;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 14px;
}

@media (min-width: 992px) {
  .timeline-item.left .timeline-node {
    right: -18px;
    left: auto;
  }
  
  .timeline-item.right .timeline-node {
    left: -18px;
  }
}

.timeline-item:hover .timeline-node {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(253, 58, 37, 0.4);
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: inline-block;
  width: 100%;
}

.timeline-item.left .timeline-card {
  text-align: left;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--neutral-100);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.timeline-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0;
}

.timeline-card-duration {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
  text-transform: uppercase;
  background: rgba(253, 58, 37, 0.06);
  padding: 4px 12px;
  border-radius: 99px;
}

.timeline-card-desc {
  font-size: 15px;
  line-height: 24px;
  color: var(--neutral-500);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   2. Unified Offerings Card Styles (Single Card Console)
   -------------------------------------------------------------------------- */
.offerings-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.unified-offerings-card {
  background-color: #161618; /* Matte dark-gray match image */
  border: 1px solid #27272a;
  border-radius: 32px;
  padding: 36px 40px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  max-width: 1050px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .unified-offerings-card {
    padding: 24px;
    border-radius: 20px;
  }
}

.offerings-column-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.offerings-column-sub {
  font-size: 14px;
  color: var(--neutral-400);
  margin-bottom: 32px;
}

.offering-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offering-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.offering-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.offering-item:hover .offering-icon {
  background: var(--brand);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(253, 58, 37, 0.5);
}

.offering-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.offering-item:hover .offering-title {
  color: var(--brand);
}

.offering-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-400);
  margin-bottom: 0;
}

.offerings-column-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  height: 100%;
}

@media (max-width: 991px) {
  .offerings-column-divider {
    height: 1px;
    width: 100%;
    margin-top: 32px;
    margin-bottom: 32px;
  }
}

.offerings-cta-container {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.offerings-cta-btn {
  background-color: var(--white);
  color: #161618;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.offerings-cta-btn:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 0 20px rgba(253, 58, 37, 0.4);
}

/* --------------------------------------------------------------------------
   3. Services Section Image Size Enhancements
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .services-image {
    max-width: 450px !important;
    width: 100% !important;
    height: 338px !important; /* Perfect 4:3 aspect ratio for 800x600 mockups */
    left: 15px; /* Align nicely with container gutter */
  }
}

@media (max-width: 991px) {
  .services-image {
    max-width: 500px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }
}
