/* Modern About Page Styles */
:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #f72585;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --success-color: #4cc9f0;
  --warning-color: #f9c74f;
  --danger-color: #f94144;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 15px;
  --section-spacing: 6rem;
}

/* Hero Section */
.modern-hero {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.9), rgba(63, 55, 201, 0.9)), url('../../assets/images/hero-bus.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.modern-hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url('../../assets/images/pattern.png');
  opacity: 0.1;
}

.modern-hero-content {
  position: relative;
  z-index: 2;
}

.modern-hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.modern-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.modern-btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.modern-btn-primary {
  background: var(--accent-color);
  color: white;
}

.modern-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.modern-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Stats Section */
.stats-modern {
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.stat-card-modern {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.stat-card-modern:hover {
  transform: translateY(-10px);
}

.stat-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: white;
}

.stat-icon.blue {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-icon.pink {
  background: linear-gradient(135deg, var(--accent-color), #b5179e);
}

.stat-icon.teal {
  background: linear-gradient(135deg, #0077b6, var(--success-color));
}

.stat-icon.orange {
  background: linear-gradient(135deg, #fb8500, var(--warning-color));
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Title Styles */
.section-title-modern {
  margin-bottom: 3rem;
  position: relative;
}

.section-title-modern h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title-modern h2::after {
  content: '';
  position: absolute;
  height: 5px;
  width: 80px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  bottom: -10px;
  right: 0;
  border-radius: 10px;
}

.section-title-modern.text-center h2::after {
  right: 50%;
  transform: translateX(50%);
}

/* Story Section */
.story-section {
  position: relative;
  overflow: hidden;
}

.story-img-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.story-img {
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.story-year {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.story-year h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
}

.story-content {
  padding: 2rem;
}

/* Timeline Section */
.timeline-modern {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-modern::after {
  content: '';
  position: absolute;
  width: 6px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  top: 0;
  bottom: 0;
  right: 50%;
  margin-right: -3px;
  border-radius: 10px;
}

.timeline-container-modern {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container-modern.right {
  right: 0;
}

.timeline-container-modern.left {
  right: 50%;
}

.timeline-content-modern {
  padding: 30px;
  background: white;
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.timeline-content-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timeline-container-modern.right::before,
.timeline-container-modern.left::before {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: white;
  border: 5px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(67, 97, 238, 0.2);
}

.timeline-container-modern.right::before {
  left: -12px;
  right: auto;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.timeline-badge {
  padding: .5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Card and Icon Base Styles */
.card {
  border: none;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Enhanced Shadow System */
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow-sm:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
}

.shadow-md {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Icon Styles */
.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.2));
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-icon i {
  font-size: 1.5rem;
  color: #0d6efd;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #0d6efd, #0c2e60);
}

.card:hover .card-icon i {
  color: white;
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: none;
  transition: all 0.3s ease;
}

.mission-card::before, .vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  transition: all 0.3s ease;
}

.mission-card::before {
  background: linear-gradient(to right, #0d6efd, #0c2e60);
}

.vision-card::before {
  background: linear-gradient(to right, #ffc107, #fd7e14);
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Team Cards */
.team-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.team-img-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13, 110, 253, 0.9), rgba(12, 46, 96, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social {
  display: flex;
  gap: 1rem;
}

.team-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  color: #0d6efd;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.team-card:hover .team-social-link {
  transform: translateY(0);
  opacity: 1;
}

.team-social-link:hover {
  background: #0d6efd;
  color: white;
  transform: translateY(-3px);
}

/* Stats Cards */
.counter-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #0d6efd, #0c2e60);
  transition: all 0.3s ease;
}

.counter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.counter-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.2));
  transition: all 0.3s ease;
}

.counter-card:hover .counter-icon-wrapper {
  transform: scale(1.1);
  background: linear-gradient(135deg, #0d6efd, #0c2e60);
}

.counter-icon {
  font-size: 2rem;
  color: #0d6efd;
  transition: all 0.3s ease;
}

.counter-card:hover .counter-icon {
  color: white;
}

/* Team Section */
.team-card-modern {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background: white;
  height: 100%;
  transition: var(--transition);
}

.team-card-modern:hover {
  transform: translateY(-10px);
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card-modern:hover .team-img {
  transform: scale(1.1);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-color);
  color: var(--dark-color);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
}

/* Achievement Section */
.achievement-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 5px 0 0 5px;
}

.achievement-card.blue::before {
  background: var(--primary-color);
}

.achievement-card.green::before {
  background: #06d6a0;
}

.achievement-card.orange::before {
  background: var(--warning-color);
}

.achievement-card.red::before {
  background: var(--danger-color);
}

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* Testimonial Section */
.testimonial-modern {
  position: relative;
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.testimonial-modern:hover {
  transform: translateY(-10px);
}

.testimonial-modern::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(67, 97, 238, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-rating {
  margin-bottom: 1.5rem;
  color: var(--warning-color);
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

/* Partners Section */
.partner-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card:hover {
  transform: translateY(-5px);
}

/* Contact Section */
.contact-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  color: white;
  background: var(--primary-color);
}

.map-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url('../../assets/images/pattern.png');
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-btn {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: none;
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .modern-hero-title {
    font-size: 3rem;
  }
  
  .timeline-modern::after {
    left: 31px;
    right: auto;
  }
  
  .timeline-container-modern {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-container-modern.right,
  .timeline-container-modern.left {
    right: 0;
  }
  
  .timeline-container-modern.right::before,
  .timeline-container-modern.left::before {
    left: 18px;
    right: auto;
  }
}

@media screen and (max-width: 768px) {
  .modern-hero-title {
    font-size: 2.5rem;
  }
  
  .section-title-modern h2 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .modern-hero {
    min-height: 70vh;
  }
  
  .modern-hero-title {
    font-size: 2rem;
  }
  
  .modern-hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title-modern h2 {
    font-size: 1.8rem;
  }
} 

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 6rem 0;
  margin-bottom: var(--section-spacing);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  background: transparent;
  margin-top: 2rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: white;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  margin: 1.5rem auto;
  border-radius: 2px;
}

.section-header p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Company Introduction */
.about-section {
  padding: 0 0 var(--section-spacing);
}

/* Gallery Section */
.gallery-section {
  margin-bottom: var(--section-spacing);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem;
  color: white;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  bottom: 0;
}

/* Awards Section */
.award-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.award-item:hover {
  transform: translateY(-5px);
}

.award-item img {
  height: 150px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.award-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Vision and Goals */
.vision-card, .goals-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  height: 100%;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vision-card::before, .goals-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.vision-card:hover, .goals-card:hover {
  transform: translateY(-5px);
}

.vision-values .value-item {
  background: var(--light-color);
  border-radius: calc(var(--border-radius) - 5px);
  padding: 1.5rem;
  height: 100%;
  transition: var(--transition);
}

.value-item:hover {
  background: white;
  box-shadow: var(--box-shadow);
}

/* Team Section */
.team-member {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 5px solid var(--light-color);
  transition: var(--transition);
}

.team-member:hover img {
  border-color: var(--primary-color);
}

.team-member .social-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-member .social-links a {
  color: #6c757d;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.team-member .social-links a:hover {
  color: #0d6efd;
}

/* Why Choose Us & Services */
.choose-item, .service-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  height: 100%;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.choose-item:hover, .service-item:hover {
  transform: translateY(-5px);
}

.choose-icon, .service-icon {
  width: 70px;
  height: 70px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.choose-item:hover .choose-icon,
.service-item:hover .service-icon {
  background: var(--primary-color);
  color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  :root {
    --section-spacing: 4rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .page-title {
    font-size: 2rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .vision-card, .goals-card {
    padding: 2rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-spacing: 3rem;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}