/* ================= Banner / Hero Section ================= */
/* About Banner Section */
.about-banner {
  position: relative;
  height: 50vh; /* fixed height like services */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('your-about-banner.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  overflow: hidden;
}

.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(20, 20, 20, 0.7));
}

.about-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 15px;
}

/* Title Animation */
.about-banner-title {
  font-size: 3rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(40px);
  animation: aboutFadeUp 1s ease forwards;
}

/* Subtitle Animation */
.about-banner-subtitle {
  font-size: 1.3rem;
  margin-top: 15px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(40px);
  animation: aboutFadeUp 1s ease 0.5s forwards;
}

/* Keyframes (same as services but renamed for uniqueness) */
@keyframes aboutFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-banner-title {
    font-size: 2.2rem;
  }
  .about-banner-subtitle {
    font-size: 1rem;
  }
}


/* ================= Our Story Section ================= */
#story {
  background-color: #f8f9fa;
  text-align: center;
}

.story-card {
  transition: transform 0.4s, box-shadow 0.4s;
}

.story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.story-card i {
  font-size: 2rem;
}

.section-title {
  font-size: 2.5rem;
}

/* ================= Team Section ================= */
#team {
 text-align: center !important;
}

.team-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s;
}

#team .team-card:hover .team-overlay {
  opacity: 1;
}

.team-card img.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover img.team-img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.65);
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  opacity:0;
  transition: opacity 0.5s;
  text-align:center;
}

@media(max-width:768px){
  #team .col-md-3{
    flex:0 0 50%;
    max-width:50%;
  }
}
@media(max-width:480px){
  #team .col-md-3{
    flex:0 0 100%;
    max-width:100%;
  }
}


/* ================= Stats Section ================= */
#stats {
  color:#fff;
  text-align: center;
}

#stats i {
  font-size:2rem;
  margin-bottom:0.5rem;
  transition: transform 0.3s;
}

#stats i:hover {
  transform: scale(1.2);
}

#stats .counter {
  font-size:2.5rem;
  font-weight:700;
}

#stats p {
  font-size:1rem;
  margin:0;
}

@media(max-width:768px){
  #stats .col-md-3{
    flex:0 0 50%;
    max-width:50%;
  }
}
@media(max-width:480px){
  #stats .col-md-3{
    flex:0 0 100%;
    max-width:100%;
  }
}

/* ================= Timeline Section ================= */
#timeline {
    text-align: center;
  background:#f4f4f4;
  position:relative;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin:0 auto;
  padding:2rem 0;
}

.timeline::after {
  content:'';
  position:absolute;
  width:4px;
  background-color:darkgray;
  top:0;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
}

.timeline-item {
  position:relative;
  width:50%;
  padding:1rem 2rem;
}

.timeline-item.left { left:0; text-align:right; }
.timeline-item.right { left:50%; text-align:left; }

.timeline-item::before {
  content:'';
  position:absolute;
  width:20px;
  height:20px;
  background-color:darkgray;
  border-radius:50%;
  top:15px;
  z-index:1;
}

.timeline-item.left::before { right:-10px; }
.timeline-item.right::before { left:-10px; }

.timeline-content {
  background:#fff;
  padding:1rem;
  border-radius:8px;
  box-shadow:0 5px 20px rgba(0,0,0,0.1);
  display:inline-block;
  transition: transform 0.3s;
}

.timeline-content:hover {
  transform: translateY(-5px);
}

@media(max-width:768px){
  .timeline::after{ left:8px; }
  .timeline-item{ width:100%; padding-left:2rem; padding-right:1rem; text-align:left !important; }
  .timeline-item.left, .timeline-item.right{ left:0; }
  .timeline-item::before{ left:0; }
}

/* Mission & Vision Section */
.mission-vision {
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.mission-vision .icon-box {
  font-size: 40px;
  color: darkgray;
  margin-bottom: 15px;
}

.mission-vision h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #222;
}

.mission-vision p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* Animations */
.mission-box {
  transform: translateX(-50px);
  opacity: 0;
  animation: fadeSlideLeft 1s ease forwards;
}

.vision-box {
  transform: translateX(50px);
  opacity: 0;
  animation: fadeSlideRight 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeSlideLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeSlideRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mission-vision .icon-box {
    font-size: 32px;
  }
  .mission-vision h3 {
    font-size: 20px;
  }
  .mission-vision p {
    font-size: 15px;
  }
}


/* Core Values Section */
.core-values {
  background: linear-gradient(135deg, #fff, #f7f7f7);
}

.core-values h2 {
  font-size: 28px;
  color: #222;
}

.core-values p {
  font-size: 16px;
}

.value-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.value-card i {
  font-size: 40px;
  color: darkgray;
  margin-bottom: 15px;
}

.value-card h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.value-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Hover Effects */
.value-card:hover {
  transform: scale(1.05);
  border-color: darkgray;
  box-shadow: 0 6px 20px rgba(255,152,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .core-values h2 {
    font-size: 24px;
  }
  .value-card {
    padding: 20px 15px;
  }
  .value-card i {
    font-size: 32px;
  }
}
