/* ========================================
   ABOUT US PAGE - ENHANCED STYLES
======================================== */

/* Hero Section */
.team-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(12, 74, 154, 0.85), rgba(8, 51, 102, 0.9)),
    url("https://i.ibb.co/Q7cF8cnq/abo.jpg");
  background-position: center 10%;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
  padding-top: 80px;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 30px;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--accent-copper);
}

.breadcrumb-item.active {
  color: var(--white);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* Section Tag */
.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--accent-copper), var(--copper-dark));
  color: var(--white);
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

/* ========================================
   STORY SECTION
======================================== */

.story-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.story-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  height: 100%;
  min-height: 500px;
  background: var(--gray-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.story-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-image:hover img {
  transform: scale(1.05);
}

/* Story Badge (Floating) */
.story-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--accent-copper), var(--copper-dark));
  color: var(--white);
  padding: 20px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(225, 154, 97, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-heading);
}

.badge-text {
  display: block;
  font-size: 0.875rem;
  margin-top: 5px;
  opacity: 0.9;
}

/* Story Content */
.story-content h2 {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

.story-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-copper), var(--copper-dark));
  border-radius: 2px;
}

.story-content p {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

/* Milestone Box */
.milestone-box {
  background: linear-gradient(135deg, var(--copper-pale), var(--blue-pale));
  border-left: 5px solid var(--accent-copper);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.milestone-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(225, 154, 97, 0.1), transparent);
  border-radius: 50%;
}

.milestone-box h5 {
  color: var(--primary-blue);
  margin-bottom: 24px;
  font-size: 1.375rem;
  font-weight: 700;
}

.milestone-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.milestone-item {
  text-align: center;
  position: relative;
}

.milestone-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-copper)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  font-family: var(--font-heading);
  line-height: 1;
}

.milestone-number::after {
  content: "+";
}

.milestone-label {
  font-size: 0.95rem;
  color: var(--gray-dark);
  margin-top: 8px;
  display: block;
  font-weight: 600;
}

/* ========================================
   VISION & MISSION SECTION
======================================== */

.vision-mission-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--gray-pale) 0%,
    var(--blue-pale) 100%
  );
  position: relative;
  overflow: hidden;
}

.vision-mission-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(12, 74, 154, 0.05), transparent);
  border-radius: 50%;
}

.vm-card {
  background: var(--white);
  border-radius: 24px;
  padding: 50px;
  height: 100%;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-copper), var(--copper-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.vm-card.mission-card::before {
  background: linear-gradient(90deg, var(--primary-blue), var(--blue-dark));
}

.vm-card:hover::before {
  transform: scaleX(1);
}

.vm-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 70px rgba(12, 74, 154, 0.2);
}

/* VM Pattern Background */
.vm-pattern {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(225, 154, 97, 0.05), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.mission-card .vm-pattern {
  background: radial-gradient(circle, rgba(12, 74, 154, 0.05), transparent);
}

/* VM Icon */
.vm-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--copper-pale), var(--accent-copper));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(225, 154, 97, 0.3);
  transition: var(--transition);
}

.mission-card .vm-icon {
  background: linear-gradient(135deg, var(--blue-pale), var(--primary-blue));
  box-shadow: 0 8px 24px rgba(12, 74, 154, 0.3);
}

.vm-card:hover .vm-icon {
  transform: scale(1.1) rotate(5deg);
}

.vm-icon i {
  font-size: 3rem;
  color: var(--white);
}

/* VM Content */
.vm-content {
  position: relative;
  z-index: 1;
}

.vm-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-copper);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: inline-block;
}

.mission-card .vm-label {
  color: var(--primary-blue);
}

.vm-card h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 24px;
  font-weight: 700;
}

.vm-card p {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--gray-dark);
  margin: 0;
}

/* ========================================
   CORE VALUES SECTION
======================================== */

.values-section-about {
  padding: 100px 0;
  background: var(--white);
}

.value-card-detailed {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.value-card-detailed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--blue-pale), var(--copper-pale));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.value-card-detailed:hover::before {
  opacity: 1;
}

.value-card-detailed:hover {
  border-color: var(--accent-copper);
  box-shadow: 0 15px 50px rgba(225, 154, 97, 0.2);
  transform: translateY(-10px);
}

.value-card-detailed > * {
  position: relative;
  z-index: 1;
}

/* Value Number */
.value-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue-pale), var(--primary-blue));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 auto 24px;
  box-shadow: 0 6px 20px rgba(12, 74, 154, 0.3);
  transition: var(--transition);
  font-family: var(--font-heading);
}

.value-card-detailed:hover .value-number {
  background: linear-gradient(135deg, var(--accent-copper), var(--copper-dark));
  transform: scale(1.15) rotate(360deg);
}

/* Value Icon */
.value-icon-detailed {
  margin-bottom: 24px;
}

.value-icon-detailed i {
  font-size: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-copper)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

.value-card-detailed:hover .value-icon-detailed i {
  transform: scale(1.1);
}

/* Value Text */
.value-card-detailed h4 {
  font-size: 1.75rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-weight: 700;
}

.value-card-detailed p {
  color: var(--gray-medium);
  line-height: 1.8;
  margin: 0;
  font-size: 1.05rem;
}

/* ========================================
   TIMELINE SECTION (ENHANCED)
======================================== */

.timeline-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--gray-pale), var(--white));
  position: relative;
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary-blue),
    var(--accent-copper)
  );
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  padding-right: 80px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 80px;
}

/* Timeline Dot */
.timeline-dot {
  position: absolute;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--accent-copper);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(225, 154, 97, 0.2);
  transition: var(--transition);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  background: var(--primary-blue);
  box-shadow: 0 0 0 6px rgba(12, 74, 154, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.5);
  box-shadow: 0 0 0 10px rgba(225, 154, 97, 0.3);
}

/* Timeline Content */
.timeline-content {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 2px solid var(--gray-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -12px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -12px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid var(--white);
}

.timeline-content:hover {
  border-color: var(--accent-copper);
  box-shadow: 0 20px 50px rgba(225, 154, 97, 0.15);
  transform: translateY(-8px);
}

.timeline-year {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-copper)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.timeline-content h5 {
  color: var(--primary-blue);
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.timeline-content p {
  color: var(--gray-medium);
  margin: 0;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Timeline Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 80px !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-left: 0 !important;
  }

  .timeline-dot {
    left: 21px !important;
  }

  .timeline-content::before {
    left: -12px !important;
    border-left: none !important;
    border-right: 12px solid var(--white) !important;
  }
}

/* ========================================
   TEAM SECTION (ENHANCED)
======================================== */

.team-section {
  padding: 100px 0;
  background: var(--white);
}

.team-member {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.team-member:hover {
  box-shadow: 0 20px 60px rgba(12, 74, 154, 0.2);
  transform: translateY(-15px);
}

/* Team Photo */
.team-photo {
  position: relative;
  overflow: hidden;
  height: 340px;
  background: linear-gradient(135deg, var(--blue-pale), var(--copper-pale));
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .team-photo img {
  transform: scale(1.1);
}

/* Team Overlay */
.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(12, 74, 154, 0.95),
    rgba(225, 154, 97, 0.8)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.team-member:hover .team-overlay {
  opacity: 1;
}

.team-bio {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.2s;
}

.team-member:hover .team-bio {
  transform: translateY(0);
}

/* Team Info */
.team-info {
  padding: 30px;
  text-align: center;
}

.team-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
  transition: var(--transition);
}

.team-member:hover .team-name {
  color: var(--accent-copper);
}

.team-position {
  color: var(--gray-medium);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Team Social */
.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-social a {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.team-social a:hover {
  background: var(--accent-copper);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(225, 154, 97, 0.4);
}

/* ========================================
   CTA SECTION (ENHANCED)
======================================== */

.cta-about {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--blue-dark) 100%
  );
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23E19A61" fill-opacity="0.1" d="M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,128C672,128,768,160,864,165.3C960,171,1056,149,1152,128C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.3;
}

.cta-about > .container {
  position: relative;
  z-index: 2;
}

/* CTA Icon */
.cta-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: pulse 2s ease-in-out infinite;
}

.cta-icon i {
  font-size: 3rem;
  color: var(--accent-copper);
}

/* CTA Shapes */
.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation: float 20s ease-in-out infinite;
}

.cta-shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: -50px;
  animation: float 15s ease-in-out infinite reverse;
}

.cta-about h2 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 24px;
  font-weight: 800;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-about p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .story-content h2,
  .vm-card h3,
  .cta-about h2 {
    font-size: 2rem;
  }

  .story-image {
    min-height: 400px;
  }

  .vm-card,
  .value-card-detailed {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .story-section,
  .vision-mission-section,
  .values-section-about,
  .timeline-section,
  .team-section,
  .cta-about {
    padding: 60px 0;
  }

  .story-image {
    min-height: 300px;
  }

  .milestone-items {
    gap: 20px;
  }

  .milestone-number {
    font-size: 2rem;
  }

  .team-photo {
    height: 280px;
  }

  .cta-about h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .shape {
    display: none;
  }

  .story-badge {
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
  }

  .badge-number {
    font-size: 1.5rem;
  }

  .vm-icon {
    width: 80px;
    height: 80px;
  }

  .vm-icon i {
    font-size: 2.5rem;
  }

  .value-card-detailed {
    padding: 30px 20px;
  }

  .value-icon-detailed i {
    font-size: 2.5rem;
  }
}
