* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  color: #f1f5f9;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #151f36, #000000, #1e3a8a);
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
  z-index: -1;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.reviews {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.head h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee, #a855f7, #22d3ee);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  animation: gradientShift 5s linear infinite;
  transition: text-shadow 0.3s ease-in-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.head h2:hover {
  text-shadow: 0 0 60px rgba(124, 58, 237, 0.5);
}

.head h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25);
  transition: all 0.5s ease-in-out;
}

.head p {
  color: white;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  padding-top: 20px;
}

.head p:hover {
  opacity: 0.8;
}

.cards-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.cards {
  display: flex;
  gap: clamp(16px, 3vw, 24px);
  animation: floatLeftRight 12s linear infinite;
}

@keyframes floatLeftRight {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.card {
  flex: 0 0 clamp(250px, 28%, 380px);
  padding: clamp(1.3rem, 2vw, 2.2rem);
  border-radius: 24px;
  background: rgba(18, 18, 28, 0.85);
  border: 1px solid #a855f7;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: all 0.5s ease;
  cursor: grab;
  min-height: 300px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(120deg, #a855f7, #22d3ee);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 0.25;
}

.card-info {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.3), 0 20px 50px rgba(0, 0, 0, 0.7);
  border-color: #a855f7;
}

.card .quote {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  color: #f1f5f9;
  margin-bottom: 1.6rem;
}

.info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.avatar {
  width: clamp(50px, 10vw, 64px);
  height: clamp(50px, 10vw, 64px);
  border-radius: 50%;
  background: linear-gradient(135deg, #1e1e2f, rgba(255, 255, 255, 0.1));
  border: 2px solid rgba(168, 85, 247, 0.4);
  display: grid;
  place-items: center;
  color: #22d3ee;
  font-weight: 600;
  height: 3.5rem;
  width: 4rem;
  font-size: clamp(16px, 2vw, 22px);
  transition: transform 0.4s ease;
  padding: 10px;
}

.name {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  color: #fff;
}

.rating {
  color: #ffd700;
  font-size: clamp(18px, 2vw, 22px);
  text-align: center;
  padding-top: 10px;
}

.rating span {
  font-size: clamp(14px, 1.5vw, 18px);
  color: white;
}

.branch {
  font-size: clamp(12px, 1.2vw, 13.5px);
  color: #9ca3af;
}

.faq-container {
  padding-top: 6rem;
  max-width: 800px;
}

.faq-header {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;

  font-weight: 700;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-card {
  background: rgba(18, 18, 28, 0.85);
  border: 1px solid #a855f7;
  border-radius: 24px;
  padding: 1.2rem 2rem;
  position: relative;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  transition: all 0.5s ease;
  cursor: pointer;
  overflow: hidden;
  margin-top: 2rem;
}

.faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(120deg, #a855f7, #22d3ee);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.faq-card:hover::before {
  opacity: 0.1;
}

.faq-card .faq-toggle {
  display: none;
}

.faq-card .question {
  font-size: clamp(0.2rem, 4vw, 1.5rem);
  font-weight: 600;
  color: #f1f5f9;
  display: block;
}

.faq-card .ans {
  font-size: 1rem;
  line-height: 1.6;
  color: #e8ecf3;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, padding 0.2s ease;
  padding-top: 0;
}

.faq-card .faq-toggle:checked ~ .ans {
  max-height: 500px;
  padding-top: 0.5rem;
}

.faq-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.3), 0 20px 50px rgba(0, 0, 0, 0.7);
  border-color: #a855f7;
}

.faq-card .question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-card .icon {
  font-weight: bold;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.icon {
  transition: transform 0.3s ease;
  margin-left: 10px;
  color: #ffffff;
}

.faq-toggle:checked + .question .icon {
  transform: rotate(90deg);
}

/* Footer section */

.footer {
  padding-top: 50px;
  margin-top: 50px;
  animation: fadeUp 1.5s ease;
}

.footer::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #220337, #0a0c10, #230860);
  background-size: 400% 400%;
  animation: gradientMove 6s ease infinite;
  z-index: -1;
}

.footer-top-border {
  height: 4px;
  background: linear-gradient(to right, #a855f7, #ec4899, #f97316);
  margin-bottom: 40px;
  animation: gradientShift 6s linear infinite alternate;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
  gap: 80px;
}

.footer-col {
  flex: 1 1 200px;
  margin-bottom: 30px;
}

.footer-logo {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-logo span {
  color: #a855f7;
}

.footer-desc {
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  color: #c5c5c5;
  background: #8e3cdb;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 15px;
  text-decoration: none;
}

.footer-social a:hover {
  transform: scale(1.2);
  color: #fff;
}

.footer-social a:nth-child(1):hover {
  background: #0a66c2;
}
.footer-social a:nth-child(2):hover {
  background: #ff0000;
}
.footer-social a:nth-child(3):hover {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #c5c5c5;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col ul li a:hover {
  color: #a855f7;
  transform: translateX(10px);
}

.footer-col p {
  color: #c5c5c5;
  line-height: 1.7;
  font-size: 15px;
}

.footer-col p i {
  margin-right: 20px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1f1f23;
  padding: 15px 0;
  margin-top: 20px;
  font-size: 14px;
  color: white;
}



@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}



@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-social {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 30px;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col p,
  .footer-col ul li a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}


::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(
    180deg,
    #0f0337,
    #35373b,
    #230860
  ); 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #0e1e99,
    #0a0c10,
    #360e93
  );
  border-radius: 10px;
  border: 3px solid rgba(34, 3, 55, 0.3); 
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #232fdb,
    #0a0c10,
    #7f0a94
  ); 
}
