.testi-hero {
  background: linear-gradient(to bottom right, #001d3d, #000814);
  padding: 120px 30px;
  color: white;
  text-align: center;
  animation: fadeUp 1s ease forwards;
}

.testi-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(to right, #00f0ff, #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.testi-hero p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: auto;
}

.testi-grid-section {
  padding: 100px 30px;
  background: #f8fbff;
}

.section-intro {
  text-align: center;
  margin-bottom: 60px;
}

.section-intro h2 {
  font-size: 2.6rem;
  font-weight: 900;
  color: #111;
}

.section-intro p {
  font-size: 1.1rem;
  color: #555;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.testi-card {
  position: relative;
  background: linear-gradient(to bottom right, #0077ff, #00f0ff);
  padding: 30px;
  border-radius: 20px;
  color: white;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 119, 255, 0.2);
  transform: translateY(40px);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.testi-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 0;
}

.testi-content {
  position: relative;
  z-index: 2;
}

.testi-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.testi-content span {
  font-size: 0.95rem;
  color: #d1faff;
  display: block;
  margin-bottom: 14px;
}

.testi-content p {
  font-size: 1rem;
  line-height: 1.6;
}

.absolve-story {
  background: #001933;
  color: white;
  padding: 100px 30px;
}

.story-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.story-text {
  flex: 1 1 500px;
}

.story-text h2 {
  font-size: 2.6rem;
  background: linear-gradient(to right, #00f0ff, #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.story-video {
  flex: 1 1 500px;
}

.story-video img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0, 119, 255, 0.2);
  transition: transform 0.3s ease;
}

.story-video img:hover {
  transform: scale(1.02);
}
@media (max-width: 768px) {
  .story-container {
    flex-direction: column;
    text-align: center;
  }
}


.animated-cta {
  background: radial-gradient(circle at top right, #0077ff, #001d3d);
  text-align: center;
  color: white;
  padding: 100px 30px;
}

.animated-cta h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.animated-cta p {
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.cta-button {
  background: white; 
  color: #0077ff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #e0eaff;
  color: #0053cc;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
