/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  color: #fff;
  position: relative;
}

/* Background Image Setup */
.bg-image-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: -2;
  overflow: hidden;
}
.bg-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom right, rgba(0, 114, 206, 0.6), rgba(0, 0, 50, 0.6));
  z-index: -1;
  backdrop-filter: blur(6px);
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.navbar .logo img {
  height: 50px;
}
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.navbar .nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.navbar .nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #00b1f2;
  left: 0;
  bottom: -4px;
  transition: 0.4s;
}
.navbar .nav-links a:hover::after,
.navbar .nav-links .active::after {
  width: 100%;
}

/* Testimonials Section */
.testimonials-section {
  padding: 8rem 2rem 4rem;
  text-align: center;
}
.testimonials-section h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #00b1f2, #3aefff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 1s ease-in-out;
}

/* Cards Grid */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 1.2s ease-in-out;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  width: 300px;
  text-align: left;
  color: #e6f7ff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 177, 242, 0.25);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 177, 242, 0.5);
}
.testimonial-card::before {
  content: "❝";
  font-size: 4rem;
  color: #00b1f2;
  position: absolute;
  top: -30px;
  left: 20px;
  opacity: 0.3;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.2rem;
}
.testimonial-card .author {
  font-weight: bold;
  color: #00d2ff;
}

/* Footer */
.footer {
  background: rgba(0, 0, 50, 0.9);
  padding: 2rem 0;
  color: #fff;
  margin-top: 4rem;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.footer-logo img {
  height: 50px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  text-decoration: none;
  color: #00b1f2;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #00d2ff;
}
.footer-contact p {
  margin: 0.5rem 0;
}
.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  background: rgba(0, 0, 50, 0.8);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    width: 90%;
  }
  .testimonials-section h1 {
    font-size: 2rem;
  }
  .navbar .nav-links {
    display: none;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
