/* ========================================
   ABOUT PAGE - MODERN PROFESSIONAL STYLES
   ======================================== */

/* Enhanced Hero Section */
.page-hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #e31e24 0%, #c0191f 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .section-title {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.page-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease;
}

/* Enhanced Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 50px 0;
}

.stat-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(227, 30, 36, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.stat-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e31e24, #ff4757, #e31e24);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.25);
  border-color: #e31e24;
}

.stat-card .stat-icon {
  font-size: 3rem;
  color: #e31e24;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.3s ease;
}

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

.stat-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  color: #e31e24;
  margin-bottom: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card p {
  font-size: 1rem;
  color: #555;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Service Cards Grid */
.services-section {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Services Section Background Animation */
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(227, 30, 36, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(227, 30, 36, 0.04) 0%, transparent 50%);
  animation: floatShapes 20s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.services-section::after {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, transparent 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 12s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.services-section > * {
  position: relative;
  z-index: 1;
}

.service-category-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-category-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.15);
  border-color: #e31e24;
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.service-category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
  flex-shrink: 0;
}

.service-category-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  color: #1a1a1a;
  margin: 0;
}

.service-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features-list li {
  padding: 15px 20px;
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  border-radius: 10px;
  border-left: 4px solid #e31e24;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-features-list li::before {
  content: "✓";
  color: #e31e24;
  font-weight: bold;
  font-size: 1.2rem;
  width: 25px;
  height: 25px;
  background: rgba(227, 30, 36, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-features-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(227, 30, 36, 0.15);
  border-left-color: #ff4757;
}

/* Why Choose Us Cards */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.why-choose-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.why-choose-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.why-choose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.05), rgba(255, 71, 87, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-choose-card:hover::before {
  opacity: 1;
}

.why-choose-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.2);
  border-color: #e31e24;
}

.why-choose-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
  transition: transform 0.3s ease;
}

.why-choose-card:hover .why-choose-icon {
  transform: rotate(10deg) scale(1.1);
}

.why-choose-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.why-choose-card p {
  color: #555;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Values Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 50px 0;
}

.value-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #e0e0e0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
}

.value-card.animate {
  opacity: 1;
  transform: scale(1);
}

.value-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover::after {
  opacity: 1;
}

.value-card:hover {
  transform: scale(1.05);
  border-color: #e31e24;
  box-shadow: 0 10px 30px rgba(227, 30, 36, 0.2);
}

.value-card strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: #e31e24;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.value-card span {
  color: #555;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  display: block;
}

/* Enhanced Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #e31e24 0%, #ff4757 100%);
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.highlight-box.animate {
  opacity: 1;
  transform: translateY(0);
}

.highlight-box::before {
  content: """;
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.1);
  font-family: serif;
}

.highlight-box p {
  font-size: 1.3rem;
  font-style: italic;
  margin: 0;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Story Section */
.story-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(227, 30, 36, 0.15), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(227, 30, 36, 0.1), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent);
  background-size: 200% 200%;
  background-position: 0% 0%, 100% 50%, 50% 100%;
  animation: particleMove 25s ease infinite;
  z-index: 0;
  pointer-events: none;
}

.story-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: slowPulse 15s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.story-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
}

.story-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.story-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* Vision & Mission Cards */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.vision-card, .mission-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #e31e24;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.vision-card.animate, .mission-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.vision-card::before, .mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), transparent);
  border-radius: 0 0 0 100%;
}

.vision-card h2, .mission-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  color: #e31e24;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.vision-card p, .mission-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  position: relative;
  z-index: 1;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.section-heading.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-heading h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e31e24, #ff4757);
  border-radius: 2px;
}

.section-heading p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Content Wrapper Updates */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  color: #1a1a1a;
  margin-bottom: 25px;
  margin-top: 60px;
  position: relative;
  padding-left: 20px;
}

.content-wrapper h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 40px;
  background: linear-gradient(135deg, #e31e24, #ff4757);
  border-radius: 3px;
}

.content-wrapper h2:first-child {
  margin-top: 0;
}

.content-wrapper p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 25px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #e31e24 0%, #ff4757 100%);
  padding: 60px 0;
  text-align: center;
  margin-top: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section .highlight-box {
  background: transparent;
  box-shadow: none;
  margin: 0;
}

.cta-section .btn {
  background: #fff;
  color: #e31e24;
  font-size: 1.1rem;
  padding: 15px 40px;
  margin-top: 20px;
}

.cta-section .btn:hover {
  background: #f9f9f9;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
  .page-hero .section-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  
  .service-features-list {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .page-hero .section-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-category-card {
    padding: 25px;
  }
  
  .section-heading h2 {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Background Animation Keyframes */
@keyframes floatShapes {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  33% {
    transform: translate(20px, -20px) scale(1.05);
    opacity: 0.9;
  }
  66% {
    transform: translate(-15px, 15px) scale(0.95);
    opacity: 0.95;
  }
}

@keyframes morphShape {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: rotate(90deg);
  }
  50% {
    border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
    transform: rotate(270deg);
  }
}

@keyframes particleMove {
  0%, 100% {
    background-position: 0% 0%, 100% 50%, 50% 100%;
  }
  25% {
    background-position: 100% 0%, 0% 50%, 50% 0%;
  }
  50% {
    background-position: 50% 100%, 50% 0%, 0% 50%;
  }
  75% {
    background-position: 0% 50%, 100% 100%, 100% 50%;
  }
}

@keyframes slowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

/* Add animations to content sections */
.section-padding {
  position: relative;
  overflow: hidden;
}

.section-padding:not(.story-section):not(.cta-section):not(.services-section)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(227, 30, 36, 0.02) 0%,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(227, 30, 36, 0.02) 50%,
    rgba(255, 255, 255, 0.03) 75%,
    rgba(227, 30, 36, 0.02) 100%
  );
  background-size: 400% 400%;
  animation: testimonialGradient 14s ease infinite;
  z-index: 0;
  pointer-events: none;
}

.section-padding:not(.story-section):not(.cta-section):not(.services-section) > * {
  position: relative;
  z-index: 1;
}

@keyframes testimonialGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .services-section::before,
  .services-section::after,
  .story-section::before,
  .story-section::after,
  .section-padding::before {
    animation: none !important;
    opacity: 0.3;
  }
}
