/* ourstory.css */

.story-section {
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  padding: 80px 0;
  position: relative;
}

.section-subtitle {
  color: #ffc632;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-heading {
  color: #002540;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.5;
}

.section-subheading {
  color: #00365a;
  font-weight: 700;
  font-size: 1.4rem;
}

.story-text {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.9rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.08);
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 12px 25px rgba(0,0,0,0.15);
}

.achievement-card i {
  font-size: 2.2rem;
  color: #ffc632;
  margin-bottom: 15px;
}

.achievement-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #002540;
}

.achievement-card span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* Gallery */
.gallery-title {
  font-weight: 600;
  color: #002540;
  margin-bottom: 15px;
}

.gallery-img img {
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-img img:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 30px rgba(0,0,0,0.15);
}

.gallery-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.7rem;
  margin-top: 15px;
  padding: 0 20px;
}

/* Subtle background effect */
.story-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, rgba(255,198,50,0.2), transparent 70%);
  border-radius: 50%;
}

.story-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, rgba(0,37,64,0.15), transparent 70%);
  border-radius: 50%;
}
