/* Part 6 */
/* Homepage */

/*==================================
TESTIMONIALS
==================================*/

.testimonials {
  padding: 120px 0;
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.quote {
  margin-bottom: 24px;
}

.quote svg {
  width: 30px;
  height: 30px;
  color: #04530b;
}

.quote.green svg {
  color: #2e7d32;
}
.quote.orange svg {
  color: #f9a825;
}
.quote.purple svg {
  color: #43358e;
}

.stars {
  color: #f9a825;
  font-size: 1.2rem;
  margin-bottom: 22px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-size: 1.35rem;
  line-height: 1.7;
  color: #333;
  font-style: italic;
  margin-bottom: 34px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  transition: 0.3s;
}

.testimonial-card:hover .avatar {
  transform: scale(1.08);
}

.testimonial-user h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.testimonial-user span {
  color: #777;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 90px 0;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 28px;
  }

  .testimonial-text {
    font-size: 1.1rem;
  }
}

/* Part 7 */
/* Homepage */

/*==================================
STATS
==================================*/

.stats {
  background: var(--color-primary);
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  color: var(--color-accent);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.stat-item p {
  color: #fff;
  font-size: 1.2rem;
}

/*==================================
TEAM
==================================*/

.team {
  padding: 120px 0;
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: #f7f7f7;
  border-radius: 20px;
  text-align: center;
  padding: 40px 25px;
  transition: 0.35s;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.team-card img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  transition: 0.3s;
}

.team-card:hover img {
  transform: scale(1.08);
}

.team-card h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: #2b2b2b;
}

.team-card span {
  color: #777;
  font-size: 1.05rem;
}

@media (max-width: 1100px) {
  .stats-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats,
  .team {
    padding: 80px 0;
  }

  .stats-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .team-card {
    padding: 32px 20px;
  }
}

/* Part 8 */
/* Homepage */

/*==================================
FAQ CTA
==================================*/

.faq-cta {
  padding: 110px 0;
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.faq-content {
  text-align: center;
}

.faq-content h2 {
  font-size: 3.8rem;
  color: var(--color-secondary);
  margin: 18px 0 22px;
  font-family: "baloo 2", sans-serif;
}

.faq-content p {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 36px;
}

.faq-image {
  display: flex;
  justify-content: center;
}

.faq-image img {
  width: 100%;
  max-width: 430px;
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .faq-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .faq-cta {
    padding: 40px 0;
  }

  .faq-content h2 {
    font-size: 2.6rem;
  }

  .faq-content p {
    font-size: 1rem;
  }

  .faq-image img {
    max-width: 300px;
    display: none;
  }
}

/* Part 9 */
/* Homepage  */

/*==================================
CALL TO ACTION
==================================*/

.cta {
  padding: 0;
  background: linear-gradient(90deg, #075b0b 0%, #188d1f 55%, #45ef35 100%);
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 40px;
  min-height: 430px;
}

.cta-content {
  color: #fff;
}

.cta-tag {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.cta-content h2 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 28px;
  color: #fff;

  font-family: "baloo 2", sans-serif;
}

.cta-content p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-light {
  border: 2px solid #fff;
  color: #fff;
}

.btn-light:hover {
  background: #fff;
  color: var(--color-primary);
}

.cta-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.cta-image img {
  max-width: 420px;
  width: 100%;
  /* animation: floatImage 5s ease-in-out infinite; */
}

/*========================*/

@media (max-width: 992px) {
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 70px 0 0;
  }

  .cta-content {
    order: 2;
  }

  .cta-image {
    order: 1;
    justify-content: center;
  }

  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2.8rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .cta-image img {
    max-width: 280px;
    display: none;
  }
}

/* Part 10 */
/* Homepage */

/*==================================
FOOTER
==================================*/

.footer {
  background: linear-gradient(135deg, #04530b, #0d6a12);
  color: #fff;
  padding: 90px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
}

.footer-brand p {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 340px;
  line-height: 1.7;
}

.footer-logo {
  color: #fff;
}

.footer-logo .logo-icon {
  background: #fff;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #fff;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-column a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.88);
  transition: 0.3s;
}

.footer-column a:hover {
  color: var(--color-accent);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-accent);
  color: #fff;
  display: grid;
  place-items: center;
  transition: 0.3s;
}

.social-links a:hover {
  transform: translateY(-4px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-divider {
  height: 2px;
  background: var(--color-accent);
  margin: 70px 0 40px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-policy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-policy a {
  color: #fff;
}

.footer-policy a:hover {
  color: var(--color-accent);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 70px 0 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-policy {
    justify-content: center;
  }
}

/* additional styles for mobile */

/* ================= TEAM SECTION: RESPONSIVE ================= */

@media (max-width: 768px) {
  .team {
    background: #fff;
    padding: 40px 0 48px;
  }

  .team .container {
    width: 100%;
    padding: 0 16px;
  }

  .team-header {
    text-align: center;
    margin-bottom: 32px;
  }

  .team-header h2 {
    color: #3b2f8f;
    font-size: 1.9rem;
    line-height: 1.25;
    margin: 16px 0 20px;
  }

  .team-header p {
    color: #292929;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
  }

  .team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .team-card {
    width: 175px;
    min-width: 0;
    padding: 24px 16px;
    background: #f4f7f6;
    border-radius: 16px;
    text-align: center;
    box-sizing: border-box;
  }

  .team-card img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 14px;
  }

  .team-card h3 {
    color: #252525;
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0 0 6px;
  }

  .team-card p {
    color: #858585;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
  }
}

/* Two columns on tablets and desktop */
@media (min-width: 769px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .team-card {
    text-align: center;
    border-radius: 40px;
    padding: 56px 24px;
  }

  .team-card img {
    width: 136px;
    height: 136px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 26px;
  }

  .team-card h3 {
    font-size: 2.2rem;
    margin-bottom: 22px;
  }

  .team-card p {
    font-size: 1.5rem;
  }
}
