/* Designed and developed by Aditya Panigrahi */

/* About Us Page Styles */

/* Clean, modern background for about-intro section */
.about-intro {
  background: radial-gradient(circle at center, 
        #f0f9ff 0%, 
        #dbeafe 50%, 
        #93c5fd 100%);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  background-position: 0 0, 0 0, 0 0;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-intro .about-intro-image {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 4/3;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.about-intro .about-intro-content .about-lead {
  font-family: var(--text-md-medium-font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--black);
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
}

.about-points i {
  color: var(--primary-blue) !important;
  margin-top: 3px;
}

.about-stat-number {
  font-weight: 800;
  font-size: 28px;
  color: #0b132b;
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat-label {
  font-weight: 500;
  font-size: 14px;
  color: #666666;
}

@media (max-width: 992px) {
  .about-stat-number { font-size: 26px; }
}

@media (max-width: 768px) {
  .about-intro .about-intro-image { aspect-ratio: 16/10; }
}

@media (max-width: 576px) {
  .about-stat-number { font-size: 24px; }
  .about-stat-label { font-size: 12px; }
}


/* Journey Timeline */

/* Journey-themed background with subtle path elements */
.about-journey {
    /* Main gradient background */
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 20%, #bae6fd 40%, #7dd3fc 60%, #a7f3d0 80%, #6ee7b7 100%);
    /* Subtle journey path pattern */

  background-repeat: no-repeat;
  border-radius: 20px;
  margin: 10px 0;
  border: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

/* Journey path enhancement */
.about-journey::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Journey milestone connections */
    linear-gradient(45deg, 
      transparent 48%, 
      rgba(27, 75, 198, 0.08) 49%, 
      rgba(27, 75, 198, 0.08) 51%, 
      transparent 52%),
    linear-gradient(-45deg, 
      transparent 48%, 
      rgba(27, 75, 198, 0.06) 49%, 
      rgba(27, 75, 198, 0.06) 51%, 
      transparent 52%);
  background-size: 100px 100px, 80px 80px;
  background-position: 0 0, 50px 50px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

/* Journey section content positioning */
.about-journey .container {
  position: relative;
  z-index: 1;
}
.journey-header .heading { margin-bottom: 10px; }

/* Vertical timeline */
.v-timeline { position: relative; padding: 10px 0; }
.timeline-center-line { 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  left: 50%; 
  width: 6px; 
  transform: translateX(-50%); 
  background: linear-gradient(180deg, 
    rgba(27, 75, 198, 0.4) 0%, 
    rgba(27, 75, 198, 0.6) 30%, 
    rgba(27, 75, 198, 0.8) 50%, 
    rgba(27, 75, 198, 0.6) 70%, 
    rgba(27, 75, 198, 0.4) 100%); 
  border-radius: 3px; 
  box-shadow: 
    0 0 0 6px rgba(27, 75, 198, 0.05), 
    0 0 0 12px rgba(27, 75, 198, 0.02),
    0 0 8px rgba(27, 75, 198, 0.1); 
}
.t-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: center; margin: 28px 0; }
.t-item .t-node { 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  width: 18px; 
  height: 18px; 
  background: linear-gradient(135deg, var(--primary-blue), rgba(27, 75, 198, 0.8)); 
  border: 3px solid rgba(255, 255, 255, 0.6); 
  border-radius: 50%; 
  box-shadow: 
    0 0 0 6px rgba(27, 75, 198, 0.15), 
    0 0 0 12px rgba(27, 75, 198, 0.08),
    0 0 20px rgba(27, 75, 198, 0.2); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: journeyPulse 3s ease-in-out infinite;
}

/* Journey milestone pulse animation */
@keyframes journeyPulse {
  0%, 100% {
    box-shadow: 
      0 0 0 6px rgba(27, 75, 198, 0.15), 
      0 0 0 12px rgba(27, 75, 198, 0.08),
      0 0 20px rgba(27, 75, 198, 0.2);
  }
  50% {
    box-shadow: 
      0 0 0 8px rgba(27, 75, 198, 0.2), 
      0 0 0 16px rgba(27, 75, 198, 0.1),
      0 0 25px rgba(27, 75, 198, 0.3);
  }
}

.t-item .t-node:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 
    0 0 0 8px rgba(27, 75, 198, 0.2), 
    0 0 0 16px rgba(27, 75, 198, 0.1),
    0 0 30px rgba(27, 75, 198, 0.4);
}
.t-item.left .t-content { grid-column: 1 / 2; justify-self: end; }
.t-item.left .t-year { grid-column: 2 / 3; justify-self: start; }
.t-item.right .t-content { grid-column: 2 / 3; justify-self: start; }
.t-item.right .t-year { grid-column: 1 / 2; justify-self: end; }
.t-content { 
  max-width: 520px;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 20px !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.t-content:focus,
.t-content:focus-within,
.t-content:focus-visible,
.t-content:active,
.t-content:visited {
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.7) !important;
}

/* Override Bootstrap card styles */
.t-content.card,
.t-content.card:focus,
.t-content.card:hover,
.t-content.card:active,
.t-content.card:visited {
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  outline: none !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.7) !important;
}

.t-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
}

.t-content:hover,
.t-content:hover:focus,
.t-content:hover:focus-within,
.t-content:hover:focus-visible,
.t-content:hover:active,
.t-content:hover:visited,
.t-content.card:hover,
.t-content.card:hover:focus,
.t-content.card:hover:active,
.t-content.card:hover:visited {
  transform: translateY(-6px) !important;
  background: rgba(255, 255, 255, 0.90) !important;
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  outline: none !important;
}

.t-content .card-body {
  position: relative;
  z-index: 1;
}
.t-year { display: none; }
.t-year .badge-year { font-size: 28px; line-height: 1; }

@media (max-width: 1200px) {
  .t-item { column-gap: 36px; }
  .t-content { max-width: 480px; }
}

/* Badge styling with enhanced visibility */
.badge.rounded-pill {
  padding: 8px 16px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.badge.rounded-pill.bg-light {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: rgba(33, 37, 41, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

@media (max-width: 992px) {
  .v-timeline { padding-left: 0; }
  .t-item { grid-template-columns: 1fr 1fr; margin: 20px 0; column-gap: 24px; }
  .t-item .t-content { grid-column: auto; justify-self: unset; }
  .t-item .t-year { position: absolute; top: 50%; transform: translateY(-50%); margin-top: 0; text-align: inherit; }
  .timeline-center-line { left: 50%; transform: translateX(-50%); width: 4px; }
  .t-item .t-node { left: 50%; transform: translate(-50%, -50%); width: 16px; height: 16px; }
  .t-year .badge-year { font-size: 22px; }
}

@media (max-width: 768px) {
  .v-timeline { padding-left: 56px; }
  .timeline-center-line { 
    left: 24px; 
    transform: none; 
    width: 3px; 
    background: linear-gradient(180deg, 
      rgba(27, 75, 198, 0.3) 0%, 
      rgba(27, 75, 198, 0.5) 30%, 
      rgba(27, 75, 198, 0.7) 50%, 
      rgba(27, 75, 198, 0.5) 70%, 
      rgba(27, 75, 198, 0.3) 100%);
  }
  .t-item { grid-template-columns: 1fr; column-gap: 0; }
  .t-item .t-node { display: none; }
  .t-item .t-year { position: static; transform: none; grid-column: 1 / -1; grid-row: 1; justify-self: start; text-align: left; margin-bottom: 8px; }
  .t-item .t-content { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .t-item .t-content { position: relative; }
  .t-item .t-content::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary-blue), rgba(27, 75, 198, 0.8));
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 
      0 0 0 4px rgba(27, 75, 198, 0.15), 
      0 0 0 8px rgba(27, 75, 198, 0.08),
      0 0 15px rgba(27, 75, 198, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: journeyPulse 3s ease-in-out infinite;
  }
  .t-content { 
    max-width: calc(100% - 12px); 
    width: calc(100% - 12px); 
    box-sizing: border-box;
    border-radius: 20px !important;
  }
  .about-journey, .v-timeline { overflow-x: hidden; }
  .t-year .badge-year { font-size: 20px; }
  
  /* Mobile journey background adjustments */
  .about-journey {
    background-size: 
      100% 100%,
      100% 100%,
      150px 150px,
      150px 150px,
      150px 150px,
      150px 150px,
      150px 150px,
      150px 150px,
      150px 150px,
      100% 2px;
  }
}

@media (max-width: 576px) {
  .v-timeline { padding-left: 48px; }
  .t-item { margin: 16px 0; }
  .t-year .badge-year { font-size: 18px; }
  .t-content { 
    max-width: calc(100% - 8px); 
    width: calc(100% - 8px);
    border-radius: 18px !important;
  }
  
  /* Small screen journey background adjustments */
  .about-journey {
    background-size: 
      100% 100%,
      100% 100%,
      120px 120px,
      120px 120px,
      120px 120px,
      120px 120px,
      120px 120px,
      120px 120px,
      120px 120px,
      100% 2px;
  }
  
  /* Reduce animation intensity on small screens for better performance */
  .t-item .t-node,
  .t-item .t-content::before {
    animation: journeyPulse 4s ease-in-out infinite;
  }
}

.badge-year {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-blue);
  background: rgba(63, 106, 217, 0.1);
  border: 1px solid rgba(63, 106, 217, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.timeline-title {
  font-family: var(--text-md-medium-font-family);
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
}

/* Compact layout tweaks */
.about-intro { padding-top: 2.5rem !important; padding-bottom: 6.5rem !important; }
.about-journey { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.route-container .card { box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important; }

@media (max-width: 992px) {
  .route-container { min-height: 420px; }
}

@media (max-width: 768px) {
  .route-container { min-height: 480px; }
  .checkpoint .cp-card { min-width: 240px; max-width: 280px; }
  .badge-year { padding: 5px 10px; }
}

@media (max-width: 576px) {
  .route-container { min-height: 520px; }
  .checkpoint .cp-card { min-width: 220px; max-width: 260px; }
}




