/* 
=========================================
KEYSHU ABOUT PAGE STYLESHEET
=========================================
Brand Colors:
- Primary Teal: #03B0B1
- Primary Teal Hover: #029394
- Accent Crimson: #f44336 (to #c62828 gradient)
- Neutral Dark: #0f172a
- Neutral Medium: #475569
- Neutral Light: #f8fafc
=========================================
*/

/* 1. Global Page Layout & Variables */
.about-page {
  font-family: 'Quicksand', sans-serif;
  color: #0f172a;
  background-color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

.about-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Common Section Typography styling */
.section-subtitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #03B0B1;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: #03B0B1;
  border-radius: 2px;
  margin-bottom: 24px;
}

.accent-line.center {
  margin: 0 auto 24px auto;
}

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

/* 2. Hero Section */
.about-hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  background-image: url('https://images.unsplash.com/photo-1608571423902-eed4a5ad8108?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(3, 176, 177, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
  padding: 0 24px;
}

.about-hero-content .hero-subtitle {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.about-hero-content .hero-title {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-hero-content .hero-desc {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.hero-btn-arrow:hover {
  background: #ffffff;
  color: #03B0B1;
  border-color: #ffffff;
  transform: translateY(5px);
}

/* 3. Brand Introduction Section */
.about-intro {
  padding: 100px 0;
  background-color: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.intro-content {
  padding-right: 20px;
}

.intro-paragraph {
  font-size: 16.5px;
  color: #475569;
  margin-bottom: 20px;
}

.intro-visual {
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.visual-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.visual-card:hover .visual-img {
  transform: scale(1.04);
}

.visual-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  text-align: center;
  max-width: 160px;
}

.badge-num {
  font-size: 32px;
  font-weight: 800;
  color: #03B0B1;
  line-height: 1;
  margin-bottom: 4px;
}

.badge-txt {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 4. Core Values Section */
.about-values {
  padding: 100px 0;
  background-color: #f8fafc;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.value-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(3, 176, 177, 0.1);
  border-color: rgba(3, 176, 177, 0.3);
}

.value-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(3, 176, 177, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #03B0B1;
  font-size: 26px;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon-box {
  background: #03B0B1;
  color: #ffffff;
}

.value-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.value-desc {
  font-size: 15px;
  color: #475569;
  margin: 0;
}

/* 5. Development Journey (Timeline) */
.about-timeline {
  padding: 100px 0;
  background-color: #ffffff;
}

.timeline-wrap {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0 auto;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #e2e8f0;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  margin-bottom: 40px;
}

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

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

.timeline-dot {
  position: absolute;
  top: 28px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #03B0B1;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item.left .timeline-dot {
  right: -12px;
}

.timeline-item.right .timeline-dot {
  left: -12px;
}

.timeline-item:hover .timeline-dot {
  background: #03B0B1;
  transform: scale(1.2);
}

.timeline-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  display: inline-block;
  max-width: 100%;
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

.timeline-year {
  display: inline-block;
  background: rgba(3, 176, 177, 0.1);
  color: #03B0B1;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 14.5px;
  color: #64748b;
  margin: 0;
}

/* 6. Laboratories & R&D Section */
.about-rd {
  padding: 100px 0;
  background-color: #f8fafc;
}

.rd-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.rd-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.rd-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.rd-glass-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.rd-glass-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #03B0B1;
}

.rd-glass-card p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.rd-text {
  font-size: 16.5px;
  color: #475569;
  margin-bottom: 30px;
}

.rd-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.rd-feat-item {
  display: flex;
  gap: 20px;
}

.rd-feat-item i {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(3, 176, 177, 0.08);
  color: #03B0B1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.rd-feat-item h5 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.rd-feat-item p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* 7. Call To Action Section */
.about-cta {
  position: relative;
  padding: 120px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

.cta-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1556228720-195a672e8a03?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 10s ease;
}

.about-cta:hover .cta-bg-image {
  transform: scale(1.05);
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(3, 176, 177, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
  padding: 0 24px;
}

.cta-subtitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-desc {
  font-size: 16.5px;
  opacity: 0.95;
  margin-bottom: 36px;
}

.cta-button-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f44336 0%, #c62828 100%);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(244, 67, 54, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(244, 67, 54, 0.55);
}

.cta-button-main i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.cta-button-main:hover i {
  transform: translateX(4px);
}

/* ==========================================
8. RESPONSIVE DESIGN (Media Queries)
========================================== */

/* Tablet Viewports (< 1024px) */
@media (max-width: 1023px) {
  .section-title {
    font-size: 32px;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .intro-content {
    padding-right: 0;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .rd-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rd-img {
    height: 380px;
  }
}

/* Mobile Viewports (< 768px) */
@media (max-width: 767px) {
  .about-hero {
    height: 55vh;
  }

  .about-hero-content .hero-title {
    font-size: 36px;
  }

  .about-hero-content .hero-desc {
    font-size: 16px;
  }

  .about-intro, .about-values, .about-timeline, .about-rd, .about-cta {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Vertical Timeline collapse */
  .timeline-wrap::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding: 10px 0 10px 40px;
    text-align: left !important;
  }

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

  .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }

  .timeline-content {
    width: 100%;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-button-main {
    padding: 14px 28px;
    font-size: 15px;
  }
}
