/* Custom styles for the About Us page - about.css */

/* Define a custom brand primary color */


.text-primary-brand {
  color: var(--primary-brand-color) !important;
}

.btn-primary-brand {
  background-color: var(--primary-brand-color);
  border-color: var(--primary-brand-color);
  color: white;
}

.btn-primary-brand:hover {
  background-color: #5a54d1; /* A slightly darker shade for hover */
  border-color: #5a54d1;
}


/* Page hero */
.page-hero {
  background: url('/images/mahmudul-hasan-LIVNlRn1a0s-unsplash.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 450px 0 120px;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.562); /* Slightly darker overlay for better text contrast */
}

.page-hero h1 {
  position: relative;
  font-size: 3.5rem; /* Slightly larger for impact */
  z-index: 1;
}

.page-hero p {
  position: relative;
  /* font-size: 3.5rem;  */
  z-index: 1;
}

/* About content */
.about-section {
  padding: 100px 0;
}

.about-section h2 {
  font-weight: 700;
  margin-bottom: 25px; /* Increased margin */
  color: #333;
}

.about-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}

.core-values {
  background: var(--secondary-bg-color); /* Use the lighter brand background color */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Soft shadow for depth */
}

.core-values h4 {
  color: var(--primary-brand-color); /* Headings in brand color */
  margin-bottom: 20px;
}

/* Additional styles for the new list content */
.goals-list li,
.approach-list li,
.choice-list li {
  margin-bottom: 10px; /* Increased margin */
  font-size: 1.1rem;
  color: #333;
}

.services-list .list-group-item {
  border: none;
  padding-left: 0;
  font-size: 1.05rem;
  color: #444;
}

.about-section hr {
  margin: 60px 0; /* More spacing for horizontal rules */
  border-top: 1px solid #eee;
}

      .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease-out;
      }
      
      .animate-on-scroll.animate-left {
        transform: translateX(-30px);
      }
      
      .animate-on-scroll.animate-right {
        transform: translateX(30px);
      }
      
      .animate-on-scroll.animate-zoom {
        transform: scale(0.9);
      }
      
      .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);
      }
      
      /* Hero Text Animation */
      .page-hero h1 {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0.3s;
      }
      
      .page-hero .lead {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0.5s;
      }
      
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      
      /* Card Hover Effects */
      .card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
      }
      
      /* Button Animation */
      .btn-primary-brand {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
      }
      
      .btn-primary-brand:hover {
        transform: translateY(-2px);
      }
      
      .btn-primary-brand::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s;
      }
      
      .btn-primary-brand:hover::after {
        left: 100%;
      }
      
      /* List Item Animations */
      .goals-list li,
      .approach-list li,
      .choice-list li {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.5s ease;
      }
      
      .goals-list.visible li,
      .approach-list.visible li,
      .choice-list.visible li {
        opacity: 1;
        transform: translateX(0);
      }
      
      /* Staggered animation for list items */
      .goals-list.visible li:nth-child(1) { transition-delay: 0.1s; }
      .goals-list.visible li:nth-child(2) { transition-delay: 0.2s; }
      .goals-list.visible li:nth-child(3) { transition-delay: 0.3s; }
      .goals-list.visible li:nth-child(4) { transition-delay: 0.4s; }
      .goals-list.visible li:nth-child(5) { transition-delay: 0.5s; }
      .goals-list.visible li:nth-child(6) { transition-delay: 0.6s; }
      .goals-list.visible li:nth-child(7) { transition-delay: 0.7s; }
      
      .approach-list.visible li:nth-child(1) { transition-delay: 0.1s; }
      .approach-list.visible li:nth-child(2) { transition-delay: 0.2s; }
      .approach-list.visible li:nth-child(3) { transition-delay: 0.3s; }
      .approach-list.visible li:nth-child(4) { transition-delay: 0.4s; }
      
      .choice-list.visible li:nth-child(1) { transition-delay: 0.1s; }
      .choice-list.visible li:nth-child(2) { transition-delay: 0.2s; }
      .choice-list.visible li:nth-child(3) { transition-delay: 0.3s; }
      .choice-list.visible li:nth-child(4) { transition-delay: 0.4s; }
      .choice-list.visible li:nth-child(5) { transition-delay: 0.5s; }