/* ===== HERO ===== */
.about-hero {
  position: relative;
  width: 100%;
  height: 100vh; 
  background: url("images/delvry.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.about-hero .hero-content {
  z-index: 2;
  animation: fadeUp 1.5s ease forwards;
}
.about-hero h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  filter: drop-shadow(5px 8px 12px red);
}
.about-hero p {
  margin-top: .8rem;
  font-size: 1.1rem;
  opacity: 0.9;
  filter: drop-shadow(2px 3px 5px red);
}

/* ===== STORY ===== */
.company-story {
  background: #fff;
  padding: 6rem 0;
}
.story-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}
.story-img {
  flex: 1 1 450px;
}
.story-img img {
  width: 100%;
  border-radius: 10px;
  filter: drop-shadow(15px 20px 24px red);
}
.story-text {
  flex: 1 1 500px;
}
.story-text h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}
.story-text p {
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .story-content {
    flex-direction: column;
  }
  .story-content .story-img{
    order: -1;
    
  }
  .story-text {
    text-align: center;
  }
}

/* ===== MISSION / VISION ===== */
.mission-vision {
  background: var(--accent);
  padding: 6rem 0;
}
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}
.mv-box {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  filter: drop-shadow(4px 8px 15px red);
  transition: transform .4s ease, box-shadow .4s ease;
}
.mv-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.mv-box h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}
.mv-box ul {
  list-style: none;
  padding: 0;
}
.mv-box ul li {
  margin: .5rem 0;
  padding-left: 1rem;
  position: relative;
}
.mv-box ul li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== TEAM ===== */
.team {
  background: #f9f9f9;
  padding: 6rem 0;
  text-align: center;
}
.team h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}
.subtitle {
  color: #555;
  margin-bottom: 3rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2.5rem;
}
.team-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform .3s ease;
  padding-bottom: 1rem;
  height: 595px;
}
.team-card:hover {
  transform: translateY(-5px);
}
.team-card img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  height: 440px;
  object-fit: cover;
}
.team-card h4 {
  margin: 1rem 0 .3rem;
  color: var(--primary);
  font-size: 1.35rem;
}
.team-card p {
  color: #555;
  font-size: 1.05rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0; 
    transform: translateY(40px);
  }
  to {
    opacity: 1; 
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .about-hero h1{
    font-size:2.3rem;
  }
  .story-content{
    flex-direction:column-reverse;
  }
}
/* About hero specific responsive adjustments */
@media (max-width: 639px) {
  .about-hero {
    height: 88vh;
    background-position: center 30%;
    background-size: cover;
  }
  .about-hero h1 {
    font-size: 1.9rem;
    padding: 0 1rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .about-hero {
    height: 95vh;
    background-position: center 40%;
    background-size: cover;
  }
  .about-hero h1 {
    font-size: 2.6rem;
  }
}

@media (min-width: 1024px) {
  .about-hero {
    height: 89vh;
    background-position: center center;
    background-size: cover;
  }
  .about-hero h1 {
    font-size: 3rem;
  }
}
@media(min-width: 1024px){
  .team-card{
    height: 600px;
  }
}
/*=========================================================
   DARK MODE
   =======================================================*/
   html.dark-mode .company-story{
    background: #ada8a8;
    }

    html.dark-mode .mv-box p,
    html.dark-mode .mv-box li{
      color: #444;
    }

    html.dark-mode .team-card{
      filter: drop-shadow(20px 20px 24px red);
    }