/**
 * Minecraft Mining & Industrial Solutions - About Page Styles
 * Developer: Baxium Hub (blaxium.com) - Brian Guvava
 * Version: 1.0.0
 */

/* =================================================================
   About Page Specific Styles - Minecraft Mining & Industrial Solutions
   Developer: Baxium Hub (blaxium.com) - Brian Guvava
   ================================================================= */

/* Page Header */
.page-header {
  background: linear-gradient(to right, var(--color-black), var(--color-dark-gray));
  padding: 120px 0 60px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-overlay.png');
  opacity: 0.1;
  z-index: 0;
}

.page-title {
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: #e0e0e0;
  font-weight: 500;
  font-size: 0.95rem;
}

.breadcrumb-item.active {
  color: var(--color-light-yellow);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #e0e0e0;
}

/* Company Story Section */
.company-story {
  position: relative;
}

.company-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transform: rotate(10deg);
  transition: all 0.5s ease;
}

.experience-badge:hover {
  transform: rotate(0deg) scale(1.05);
}

.experience-badge .years {
  font-size: 2.2rem;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  text-align: center;
  max-width: 90%;
}

.section-heading .section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-heading .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--color-yellow), var(--color-light-yellow));
  border-radius: 2px;
}

.mission-vision-container {
  margin-top: 30px;
}

.mission-box,
.vision-box {
  padding: 20px;
  border-left: 4px solid var(--color-yellow);
  background-color: rgba(246, 231, 29, 0.05);
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}

.mission-box:hover,
.vision-box:hover {
  background-color: rgba(246, 231, 29, 0.1);
  transform: translateX(5px);
}

.mission-box h3,
.vision-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Core Values Section */
.core-values {
  background-color: var(--color-light-gray);
}

.value-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-yellow);
  transition: height 0.4s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
  height: 100%;
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-light-yellow));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--color-black);
  transition: all 0.4s ease;
}

.value-card:hover .value-icon {
  transform: rotateY(360deg);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.value-card p {
  color: var(--color-medium-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Certifications Section */
.certification-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid #eee;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--color-yellow);
}

.certification-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-light-yellow));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  color: var(--color-black);
  transition: all 0.4s ease;
}

.certification-card:hover .certification-icon {
  transform: scale(1.1);
}

.certification-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.certification-card p {
  color: var(--color-medium-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.partners-container {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.partners-container h3 {
  color: var(--color-black);
  font-weight: 600;
  margin-bottom: 20px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 8px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  text-align: center;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--color-yellow);
}

.partner-logo img {
  max-height: 60px;
  max-width: 100%;
  margin-bottom: 10px;
}

.partner-category {
  font-size: 0.8rem;
  color: var(--color-medium-gray);
  margin-top: 5px;
}

/* Timeline Section */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #e0e0e0;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  border: 4px solid var(--color-yellow);
  z-index: 1;
  transition: all 0.3s ease;
}

.timeline-dot.active {
  background: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(246, 231, 29, 0.3);
}

.timeline-date {
  position: absolute;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-yellow);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-date {
  right: calc(50% + 45px);
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-date {
  left: calc(50% + 45px);
  text-align: left;
}

.timeline-content {
  width: 42%;
  padding: 25px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 10px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 10px;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 25px;
  width: 16px;
  height: 16px;
  background: var(--color-white);
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -8px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-black);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--color-medium-gray);
  margin-bottom: 0;
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.2);
}

/* Team Section */
.team-member {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
  position: relative;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  transition: all 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: rgba(2, 2, 2, 0.7);
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 12px 0;
  transition: all 0.4s ease;
}

.team-member:hover .member-social {
  bottom: 0;
}

.member-social a {
  color: var(--color-white);
  font-size: 1.1rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(246, 231, 29, 0.1);
  border: 1px solid var(--color-yellow);
  transition: all 0.3s ease;
}

.member-social a:hover {
  background: var(--color-yellow);
  color: var(--color-black);
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.member-info .position {
  color: var(--color-yellow);
  font-weight: 500;
  margin-bottom: 10px;
}

.member-info .description {
  font-size: 0.9rem;
  color: var(--color-medium-gray);
  margin: 0;
}

/* Call To Action */
.cta-box {
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
  border-radius: 10px;
  padding: 40px;
  color: var(--color-white);
  overflow: hidden;
  position: relative;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--color-yellow), var(--color-light-yellow));
}

.cta-box h2 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.cta-box p {
  color: #e0e0e0;
  font-size: 1.05rem;
}

.cta-box .btn {
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1.05rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .timeline-content {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 40px;
  }
  
  .experience-badge {
    width: 100px;
    height: 100px;
    right: -10px;
    bottom: 20px;
  }
  
  .experience-badge .years {
    font-size: 1.8rem;
  }
  
  .timeline-container {
    padding: 0;
  }
  
  .timeline-progress {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start;
    margin-left: 50px;
  }
  
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
  }
  
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    left: 80px;
    right: auto;
    text-align: left;
    top: 12px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-top: 40px;
    margin-left: 10px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 10px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -8px;
    right: auto;
    top: 25px;
  }
  
  .cta-box {
    padding: 30px;
    text-align: center;
  }
  
  .cta-box h2 {
    font-size: 1.5rem;
  }
  
  .cta-box .btn {
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .partners-container {
    padding: 20px 15px;
  }
  
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    font-size: 1rem;
    left: 70px;
  }
  
  .timeline-content {
    padding: 15px;
    margin-top: 35px;
  }
}
