* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "YouTube Sans", sans-serif;
  background-color: #fff;
  color: #000;
}
h5 {
  text-transform: capitalize;
}
.main {
  padding: 5rem 2rem;
  border-bottom: 1px solid grey;
}
.copy-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #000;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
}
.atag:hover {
  text-decoration: none !important;
  color: #007bff !important;
}
.copy {
  cursor: pointer;
  width: 20px;
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.trend-section {
  width: 100%;
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
#shortsCards h5,
#shortsCards-1 h5 {
  font-family: "YouTube Sans Bold";
}
.title-food {
  color: #34a853;
}

.title-travel {
  color: #ea4335;
}

.title-local {
  color: #4285f4;
}

.trend-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.trend-content {
  flex: 1;
}

.trend-content h1 {
  font-size: 3rem;
  color: #ea4335;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: "YouTube Sans ExtraBold";
}

.trend-content h3 {
  font-size: 1.5rem;
  color: #212121;
  margin-bottom: 0.8rem;
  font-family: "YouTube Sans Bold";
}

.trend-content p {
  font-size: 1.2rem;
  color: #212121;
  line-height: 1.2;
  max-width: 650px;
  margin: 0 auto;
  font-family: "YouTube Sans";
}
/* .trend-content p {
  font-size: 0.95rem;
  color: #212121;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  font-family: 'YouTube Sans';
} */

.float img {
  position: absolute;
  right: 0;
  bottom: 0;
}
.left-trend {
  width: 150px;
  height: auto;
  position: absolute;
  top: -3rem;
  transform: translateY(-50%);
  left: -5rem;
  align-self: flex-start;
}

/* .left-trend {
  width: 130px;
  height: auto;
  position: absolute;
  left: 10rem;
  align-self: flex-end;
  bottom: 0;
} */
.right-trend {
  width: 130px;
  height: auto;
  position: absolute;
  right: 5rem;
  align-self: flex-end;
  bottom: 0;
}

section[style^="width: 80%; margin: auto;"] {
  /* background: #f2f2f2; */
  padding: 60px 0 0px;
}

.star-trend {
  width: 25px;
  /* height: auto; */
  position: absolute;

  top: -13px;
}

.challenge-tabs {
  border: 1px solid #cfcfcf;
  border-radius: 0;
  overflow: hidden;
  font-size: 18px;
}

.challenge-tabs .btn {
  border-radius: 0 !important;
  border: none;
  font-weight: 500;
  font-size: 14px;
  padding: 1rem 7rem;
  color: #fff;
  background: transparent;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.challenge-tabs .btn:nth-child(1) {
  color: #ffffff;
  background: #000;
}
.challenge-tabs .btn:nth-child(2) {
  background: #34a853;
}
.challenge-tabs .btn:nth-child(3) {
  background: #ea4335;
}
.challenge-tabs .btn:nth-child(4) {
  background: #4285f4;
}

.challenge-tabs .btn + .btn {
  border-left: 1px solid #cfcfcf;
}

.challenge-tabs .btn.active:nth-child(1) {
  background: #ffffff;
  color: #000;
}
.challenge-tabs .btn.active:nth-child(2) {
  color: #34a853;
  background: #fff;
}
.challenge-tabs .btn.active:nth-child(3) {
  color: #ea4335;
  background: #fff;
}
.challenge-tabs .btn.active:nth-child(4) {
  color: #4285f4;
  background: #fff;
}
.challenge-tabs .btn.active {
  border-color: none !important;
  font-family: YouTube Sans Bold;
}
.challenge-tabs .btn:hover {
  background: #ffffff;
  border-color: none !important;
}
.challenge-tabs .btn:nth-child(1):hover {
  color: #000;
}
.challenge-tabs .btn:nth-child(2):hover {
  color: #34a853;
}
.challenge-tabs .btn:nth-child(3):hover {
  color: #ea4335;
}
.challenge-tabs .btn:nth-child(4):hover {
  color: #4285f4;
}

.challenge-card {
  background: #f2f2f2;
  border-radius: 18px;
  padding: 22px 22px 20px;
  border: 1px solid #d0d5dd;
  /* position: relative; */
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.pagination-wrapper {
  text-align: center;
}
.pagination-wrapper p {
  /* text-align: center; */
  font-size: 18px;
  margin-top: 20px;
  /* margin-bottom: 5%; */
}
.float {
  position: relative;
  min-height: 100px;
}
.pagination {
  gap: 5px;
}
.pagination .page-link {
  border-radius: 999px;
  width: 27px;
  height: 27px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: #f1f3f4;
  color: #555;
  background-color: #fff;
}
.bicycle {
  position: absolute;
  bottom: 0;
  right: 30px;
}
.pagination .page-item.active .page-link {
  background-color: #ea4335;
  border-color: #ea4335;
  color: #fff;
}

.results-text {
  margin-top: 4px;
  font-size: 14px;
}

.challenge-card ul {
  padding-left: 18px;
}

.challenge-card li {
  margin-bottom: 10px;
  color: #000;
  font-size: 14px;
}
.challenge-card p {
  color: #000;
}
.trend-cards {
  background: var(--bg);
  padding: 48px 6%;
}

.trend-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
  align-items: start;
  justify-items: stretch;
}

.card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  color: white;
  min-height: 220px;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-wide {
  grid-column: 1 / -1;
  /* span both columns */
  justify-self: center;
  width: 60%;
  /* controls the centered width (tweak as needed) */
  min-height: 260px;
}

.card-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-family: "Youtube Sans Bold";
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-copy {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 20px;
  opacity: 0.95;
}

.card-btn {
  align-self: flex-start;
  background: #ffffff;
  color: #202124;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.06);
  font-family: "Youtube Sans Bold";
}

.card-blue {
  background: var(--blue);
}

.card-yellow {
  background: var(--yellow);
}

.card-green {
  background: var(--green);
}

/* tweak yellow text & button for contrast */
/* .card-yellow .card-copy { color: rgba(0,0,0,0.75); } */
/* .card-yellow .card-btn { background: rgba(255,255,255,0.95); } */

.challenges-section {
  width: 100%;
  padding: 3rem 1rem 5rem;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.challenges-container {
  max-width: 1000px;
  text-align: center;
}

.challenges-container h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #202124;
  font-family: "YouTube Sans ExtraBold";
}

.challenges-container h1 span {
  color: #ea4335;
  font-family: "YouTube Sans ExtraBold";
}

.challenges-container h3 {
  font-size: 1.1rem;
  color: #202124;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "YouTube Sans Bold";
}

.challenges-container p {
  font-size: 0.95rem;
  color: #202124;
  margin-bottom: 2rem;
}

.challenges-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border: 2px dashed #333;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem;
}

.challenge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.challenge-item img {
  width: 45px;
  height: 45px;
  margin-bottom: 0.5rem;
}

.challenge-item h4 {
  font-size: 1.1rem;
  color: #202124;
  font-weight: 700;
  font-family: "YouTube Sans Bold";
}

.challenge-item p {
  font-size: 0.9rem;
  color: #202124;
  line-height: 1.2;
  max-width: 350px;
}

.register-btn {
  margin-top: 2rem;
  background: #ea4335;
  color: #ffffff;
  border: none;
  padding: 0.7rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Youtube Sans Bold";
}

.register-btn:hover {
  background: #e00027;
  transform: translateY(-2px);
}

.travel-guide {
  position: absolute;
  right: -5rem;
  bottom: -5rem;
}

@media (max-width: 480px) {
  .challenges-container h1 {
    font-size: 1.4rem;
  }

  .challenges-container h3 {
    font-size: 1rem;
  }

  .challenge-item img {
    width: 40px;
  }
  .trend-content h1 {
    font-size: 1.5rem;
  }
  .float {
    min-height: 70px;
  }
  .trend-content p {
    font-size: 0.85rem;
  }

  .right-trend {
    right: 0.4rem;
  }
  .challenge-tabs .btn {
    padding: 10px 20px !important;
  }

  .trend-icon {
    width: 30px !important;
  }
}
@media (max-width: 640px) {
  .trend-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .copy {
    width: 15px;
  }

  .card-wide {
    grid-column: auto;
    width: 100%;
  }

  .card {
    min-height: 180px;
    padding: 24px;
  }

  .card-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .trend-container {
    flex-direction: column;
    text-align: center;
  }
  .float {
    min-height: 70px;
  }
  .left-trend {
    width: 30px !important;
    left: 1rem !important;
    top: 34% !important;
    bottom: unset;
  }
  .challenges-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    margin: 1.5rem;
  }

  .challenge-item p {
    max-width: 100%;
  }

  .challenges-container h1 {
    font-size: 1.6rem;
  }

  .register-btn {
    padding: 0.6rem 1.8rem;
  }
  .float img {
    width: 80px;
  }
  .trend-icon {
    width: 30px !important;
  }

  .right-trend {
    right: 0.4rem;
  }

  .left-trend {
    top: unset;
    left: -0.4rem;
  }

  .trend-content h1 {
    font-size: 1.8rem;
  }

  .trend-content h3 {
    font-size: 1rem;
  }
  .challenge-tabs .btn {
    padding: 10px 20px;
  }
  .copy {
    width: 15px;
  }

  .trend-content p {
    font-size: 0.9rem;
  }

  .travel-guide img {
    width: 100px;
  }

  .travel-guide {
    bottom: -2rem !important;
    right: -2rem !important;
  }
}

@media (max-width: 920px) {
  .card-wide {
    width: 80%;
  }

  .trend-grid {
    gap: 28px;
  }
  .copy {
    width: 15px;
  }
  .left-trend {
    width: 50px !important;
    left: 1rem !important;
    top: 55% !important;
    bottom: unset;
  }
}

@media (min-width: 1201px) and (max-width: 1800px) {
  .challenge-tabs .btn {
    min-width: 0;
    padding: 15px 80px !important;
  }
}
@media (min-width: 600px) and (max-width: 800px) {
  .challenge-tabs .btn {
    min-width: 0;
    padding: 15px 50px !important;
  }
}
@media (min-width: 921px) and (max-width: 1200px) {
  .left-trend {
    width: 50px !important;
    left: 1rem !important;
    top: 45% !important;
    bottom: unset;
  }
  .challenge-tabs .btn {
    min-width: 0;
    padding: 15px 50px !important;
  }
}
.gemini .btn:nth-child(1) {
  background: #9aa0a6 !important;
  color: #fff;
}
.gemini .btn:nth-child(2) {
  background: #9aa0a6 !important;
  color: #fff !important;
}
.gemini .btn:nth-child(3) {
  background: #9aa0a6 !important;
  color: #fff !important;
}
.gemini .btn:nth-child(4) {
  background: #9aa0a6 !important;
  color: #fff !important;
}
.gemini .btn.active {
  color: #000 !important;
  background: #fff !important;
}
.gemini .btn.hover:nth-child(2) {
  color: #000 !important;
  background: #fff !important;
}
/* .gemini .btn.active:nth-child(2) {
  color: #000;
  background: #fff !important;
}
.gemini .btn.active:nth-child(2) {
  color: #000;
  background: #fff !important;
}
.gemini .btn.active:nth-child(2) {
  color: #000;
  background: #fff !important;
} */
