:root {
  --primary: #faa61a;
  --primary-dark: #e59408;
  --secondary: #000;
  --text-light: #f9f9f9;
  --text-dark: #333;
  --card-bg: #fff;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: var(--text-light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

/* ========= Hero Section ==============*/
.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    url("../images/about-hero.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: headerShine 3s infinite linear;
}
@keyframes headerShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--secondary);
  font-weight: 600;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 8px;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--secondary);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn-primary-custom:hover {
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-primary-custom:hover::before {
  left: 0;
}

/*============ Section Styling ====================*/
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin: 1rem auto;
}
/*============ Story Section =================*/
.story-section {
  background-color: #f9f9f9;
}

.story-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid var(--primary);
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.story-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.story-image:hover img {
  transform: scale(1.15);
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

/*===================== Service Cards ========================== */
.services-section {
  padding: 80px 0;
  background: var(--primary);
  color: #000;
}
.services-section h2,
.services-section p {
  color: #000;
}
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}
.service-card:hover .service-icon {
  color: #000;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}
.service-card:hover .service-title {
  color: var(--primary);
}
.service-card p {
  font-size: 1rem;
  color: #555;
  transition: color 0.3s ease;
}
.service-card:hover p {
  color: #333;
}

/*================ Stats Section =======================*/
.stats-section {
  background-color: var(--secondary);
  color: var(--text-light);
}

.stat-item {
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

/*======================== Testimonials ======================- */
.testimonials-section {
  padding: 80px 0;
  background: var(--primary) !important;
  color: #000;
}
.testimonials-section h2,
.testimonials-section p {
  color: #000;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 20px 0;
  border: 1px solid #eee;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  border: 3px solid var(--primary);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  padding-left: 35px;
  color: #333;
}
.testimonial-text::before {
  content: "❝";
  font-size: 2.5rem;
  position: absolute;
  left: 0;
  top: -10px;
  color: var(--primary);
  opacity: 0.9;
  font-weight: bold;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--text-dark) 100%
  );
  color: var(--text-light);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/*================== Footer ========================*/
.footer {
  background-color: var(--secondary);
  color: var(--text-light);
  text-align: center;
  padding: 2rem 0;
}
/*==================== Animation for rows ===================*/
.row {
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }
  .services-section {
    padding: 60px 0;
  }
  .service-card {
    padding: 25px;
  }
  .service-icon {
    font-size: 2.5rem;
  }
  .testimonials-section {
    padding: 60px 0;
  }
  .testimonial-card {
    padding: 25px;
  }
  .testimonial-text {
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .services-section {
    padding: 40px 0;
  }
  .service-card {
    padding: 20px;
  }
  .service-icon {
    font-size: 2rem;
  }
  .services-section h2 {
    font-size: 1.8rem;
  }
  .testimonials-section {
    padding: 40px 0;
  }
  .testimonial-card {
    padding: 20px;
  }
  .testimonial-text {
    font-size: 0.9rem;
    padding-left: 25px;
  }
  .testimonial-text::before {
    font-size: 2rem;
    top: -5px;
  }
}
