/* About Page Specific Styles */
.main {
  overflow-x: hidden;
}

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, #0171e3, #7c35f7);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.pexels.com/photos/3184296/pexels-photo-3184296.jpeg') center/cover;
  opacity: 0.15;
  z-index: 1;
}

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

.about-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: fadeInDown 0.8s ease;
}

.about-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* About Content Section */
.about-content {
  padding: 80px 0;
  background: white;
}

.about-content .img-fluid {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-content .img-fluid:hover {
  transform: scale(1.02);
}

.about-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a3c87;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: #7c35f7;
  border-radius: 2px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.mission-vision {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mission-vision .box {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid #7c35f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-vision .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mission-vision h3 {
  font-size: 1.5rem;
  color: #1a3c87;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.mission-vision h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #7c35f7;
  border-radius: 50%;
  margin-right: 10px;
}

/* Values Section */
.values {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa, white);
}

.values .section-title h2 {
  color: #1a3c87;
}

.values .section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.value-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid transparent;
}

.value-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-top-color: #7c35f7;
}

.value-box i {
  font-size: 2.5rem;
  color: #7c35f7;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.value-box h3 {
  font-size: 1.3rem;
  color: #1a3c87;
  margin-bottom: 1rem;
}

.value-box p {
  color: #666;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: white;
}

.testimonials .section-title h2 {
  color: #1a3c87;
}

.testimonials .section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.testimonial-item {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin: 0 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: scale(1.02);
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #7c35f7;
  margin: 0 auto 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-item h3 {
  font-size: 1.3rem;
  color: #1a3c87;
  margin-bottom: 0.5rem;
}

.testimonial-item h4 {
  font-size: 0.9rem;
  color: #7c35f7;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.stars {
  margin-bottom: 1.5rem;
  color: #ffc107;
  font-size: 1.2rem;
}

.testimonial-item p {
  font-size: 1rem;
  font-style: italic;
  color: #555;
  line-height: 1.8;
  position: relative;
  padding: 0 2rem;
}

.quote-icon-left, .quote-icon-right {
  position: absolute;
  color: rgba(124, 53, 247, 0.2);
  font-size: 3rem;
}

.quote-icon-left {
  left: 0;
  top: -1rem;
}

.quote-icon-right {
  right: 0;
  bottom: -1rem;
}

/* Case Studies Section */
.case-studies {
  padding: 80px 0;
  background: #f8f9fa;
}

.case-study {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.case-study:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.case-header {
  padding: 1.5rem;
  background: #1a3c87;
  color: white;
  position: relative;
}

.case-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.industry-tag {
  position: absolute;
  top: 5px;
  right: 20px;
  background: #7c35f7;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.case-content {
  padding: 1.5rem;
}

.case-content h4 {
  font-size: 1.1rem;
  color: #1a3c87;
  margin: 1.5rem 0 0.5rem;
}

.case-content h4:first-child {
  margin-top: 0;
}

.case-content p, .case-content ul {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.case-content ul {
  padding-left: 1.2rem;
}

.case-content ul li {
  margin-bottom: 0.5rem;
  position: relative;
}

.case-content ul li::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #7c35f7;
  border-radius: 50%;
}

/* CTA Section */
.cta {
  padding: 60px 0;
  background: linear-gradient(135deg, #0171e3, #7c35f7);
  color: white;
}

.cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.cta .btn-primary {
  background: white;
  color: #7c35f7;
  font-weight: 600;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta .btn-primary:hover {
  background: #f8f9fa;
  color: #1a3c87;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .about-hero {
    padding: 80px 0 60px;
  }

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

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .value-box {
    margin-bottom: 1.5rem;
  }

  .cta .text-lg-end {
    text-align: left !important;
    margin-top: 1.5rem;
  }
}

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

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

  .testimonial-item {
    padding: 1.5rem;
  }

  .cta h3 {
    font-size: 1.5rem;
  }
}