/* About Page Specific Styles */

/* Hero Banner */
.about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d6d 100%);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/about-pattern.png") center/cover;
  opacity: 0.1;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-hero .lead {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.9;
}

.hero-divider {
  width: 80px;
  height: 5px;
  background: var(--secondary-color);
  border-radius: 10px;
  margin: 1.5rem 0;
}

/* Content Sections */
.about-section {
  padding: 80px 0;
}

.about-section-alt {
  background: var(--light-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title-center {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle-center {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin-top: 15px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
}

/* Story Cards */
.story-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--secondary-color);
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-card:hover::before {
  width: 8px;
}

.story-card h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.story-card p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

.story-image {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

/* Vision Mission Section */
.vm-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--secondary-color);
}

.vm-card.mission::before {
  background: var(--secondary-color);
}

.vm-card.vision::before {
  background: var(--primary-color);
}

.vm-card.values::before {
  background: #28a745;
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.vm-icon {
  width: 80px;
  height: 80px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.vm-card:hover .vm-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.vm-card h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.vm-card p {
  color: #666;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Milestones Section */
.milestones-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d6d 100%);
  color: white;
  padding: 80px 0;
  position: relative;
}

.milestones-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/pattern.png") center/cover;
  opacity: 0.1;
}

.milestones-section .section-title {
  color: white;
}

.milestones-section .section-title::after {
  background: var(--secondary-color);
}

.milestone-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
}

.milestone-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.milestone-label {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Expertise Section */
.expertise-carousel {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.carousel-item {
  padding: 3rem;
}

.expertise-content {
  display: flex;
  align-items: center;
  min-height: 400px;
}

.expertise-icon {
  flex: 0 0 100px;
  text-align: center;
  margin-right: 3rem;
}

.expertise-icon svg {
  width: 80px;
  height: 80px;
  fill: var(--secondary-color);
}

.expertise-text h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.expertise-text p {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Company Gallery */
.gallery-section {
  padding: 80px 0;
  background: var(--light-color);
}

.gallery-carousel .carousel-item img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Video Section */
.video-section {
  padding: 80px 0;
}

.video-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
}

.video-container video {
  width: 100%;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    padding: 100px 0 60px;
    text-align: center;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero .lead {
    font-size: 1.1rem;
  }

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

  .story-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .vm-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .expertise-content {
    flex-direction: column;
    text-align: center;
  }

  .expertise-icon {
    margin-right: 0;
    margin-bottom: 2rem;
  }

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

  .milestone-label {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .story-card {
    padding: 1.5rem;
  }

  .carousel-item {
    padding: 2rem 1.5rem;
  }

  .expertise-text h3 {
    font-size: 1.5rem;
  }
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.text-secondary-custom {
  color: var(--secondary-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
  background-color: var(--secondary-color) !important;
}
