:root {
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-primary: #2563eb;
  --container-width: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-image:
      url("../images/3dRenderSmartphoneWithHandFillOnlineSurvey-ubtpqqqP.webp"),
      url("../images/greenAndBlueSpotsMainLandingBackgroundDesktop-C0lUyUVh.svg"),
      url("../images/blueSpotMainLandingBackgroundDesktop-B0FeAFVg.svg");
    background-size: 754px 923px, 5120px 3501px, 754px 923px;
    background-repeat: no-repeat, repeat-x, no-repeat;
    background-position:right calc(50% - 522px) top 3.5%,
      center top 26px,
      right calc(50% - 101px) top 2611px;
    background-color: #fff;

}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--color-primary);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 8px;
}
header {
  background: #fff;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 1000;
  color: #6CBD45;
}

.logo img {
  width: 25px;
  height: 25px;
}

.nav ul {
  display: flex;
  gap: 70px;
  list-style: none;
}

.nav a {
  position: relative;
  font-weight: 400;
  color: var(--color-text);
  padding: 2px 0;
  transition: color 0.3s;
  font-size: 20px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
  left: 0;
}

.btn-login {
  background: #fff;
  color: #6D87E6;
  border: 1px solid #6D87E6;
  padding: 15px 31px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 19px;
  transition: box-shadow 0.3s, transform 0.2s;
}

.btn-login:hover {
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .header-container {
    max-width: 100%;
    padding: 5px 12px;
    gap: 12px;
  }

  .nav ul {
    display: none;
  }

}

main {
  padding: 32px 0;
  min-height: calc(100vh - 200px);
}

.hero {
  padding: 40px 0px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero p {
  margin-top: 50px;
  font-size: 22px;
  max-width: 700px;
  color: #444;
}

.hero-content {
  padding: 0 50px;
}

.hero-max-w {
  width: 900px;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 320px;
}

.hero-actions .note {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.btn-primary {
  display: inline-block;
  padding: 25px 55px;
  background: #6783e9;
  margin-top: 55px;
  color: #fff;
  border-radius: 12px;
  font-size: 32px;
  font-weight: 600;
  transition: background 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  background: #7E95E9;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 16px;
    margin-top: 20px;
    padding: 0 10px;
    line-height: 1.5;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-max-w {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    align-items: center;
    margin: 20px 0;
    gap: 8px;
  }

  .btn-primary {
    font-size: 16px;
    padding: 12px 24px;
    margin-top: 20px;
    width: 100%;
    max-width: 280px;
  }

  .info-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .info-block h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .info-block p {
    font-size: 15px;
    line-height: 1.4;
  }
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 60px auto;
}

.info-block {
  flex: 1;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-block h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #6CBD45;
  text-align: left;
}

.info-block p {
  font-size: 20px;
  text-align: left;
  line-height: 1.4;
  margin-top: 0;
  max-width: 260px;
}

@media (max-width: 767px) {
  .info-row {
    flex-direction: column;
    align-items: center;
  }

  .info-block {
    max-width: 100%;
  }

  .info-block h3 {
    font-size: 20px;
  }

  .info-block p {
    font-size: 16px;
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .info-block {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 25px;
    margin: 0 auto;
  }

  .btn-primary {
    font-size: 18px;
    padding: 12px 25px;
  }
}

.participate {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0px auto;
}

.participate-image img {
height: 481px;
  margin: 0px 153px 0px 107px;
}

.participate-text h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--color-text);
}

.participate-text p {
  font-size: 19px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .participate {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 15px;
    /* щоб не прилипало */
  }

  .participate-image img {
    width: 100%;
    height: auto;
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }

  .participate-text h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .participate-text p {
    font-size: 15px;
    line-height: 1.5;
  }
}

.rewards-section {
  padding: 15px 0;
}

.rewards-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 0 50px;
}

.rewards-text {
  flex: 1;
  margin-top: 80px;
}

.rewards-text h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
}

.rewards-text p {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #333;
  min-width: 575px;
}

.rewards-text small {
  display: block;
  font-size: 14px;
  color: #888;
  margin-top: 10px;
}

.rewards-image {
  flex: 1;
  text-align: right;
}

.rewards-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0px;
  margin-right: 93px;
  height: 494px;
}

@media (max-width: 768px) {
  .rewards-container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
    text-align: center;
  }

  .rewards-text {
    margin-top: 20px;
  }

  .rewards-text h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .rewards-text p {
    font-size: 15px;
    line-height: 1.5;
    min-width: auto;
  }

  .rewards-image img {
    margin: 0 auto;
    height: auto;
    max-width: 100%;
  }
}

.testimonial {
  min-width: calc(33.333% - 26px);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial p {
  font-size: 19px;
  margin-bottom: 20px;
  color: #333;
  flex-grow: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonials {
  padding: 150px 0; 
}

.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonials-header h2 {
  padding-left: 20px;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  gap: 15px;
  margin: 0px 30px;
}

.slider-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid #6CBD45;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #6CBD45;
  transition: background 0.3s, color 0.3s;
}

.slider-controls button:hover {
  background: #6CBD45;
  color: #fff;
}

.testimonials-slider {
  display: flex;
  gap: 40px;
  overflow: hidden;
}

.testimonial {
  min-width: calc(33.333% - 26px);
  padding: 24px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.testimonial p {
  font-size: 19px;
  margin-bottom: 20px;
  color: #333;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
}

.author h4 {
  font-size: 20px;
  font-weight: 700;
}

.author small {
  font-size: 16px;
  color: #777;
}

@media (max-width: 992px) {
  .testimonial {
    min-width: 80%;
    /* буде видно один відгук, але з "подсмотром" сусіднього */
  }

  .testimonials-slider {
    gap: 20px;
  }

  .testimonials-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .testimonials-header h2 {
    padding-left: 0;
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .testimonial {
    min-width: 100%;
    /* на мобілці показуємо 1 у фулл-ширину */
  }

  .testimonials {
    padding: 80px 0;
  }

  .testimonials-header h2 {
    font-size: 22px;
  }

  .testimonial p {
    font-size: 16px;
  }

  .author img {
    width: 64px;
    height: 64px;
  }

  .author h4 {
    font-size: 18px;
  }

  .author small {
    font-size: 14px;
  }
}

.mini-poll {
  padding: 250px 0 50px 0;
}

.poll-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 70px;
}

.poll-results {
  margin-top: 25px;
}

.poll-image img {
  width: 337px;
  height: 560px;
}

.poll-content h4 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.poll-content {
  margin-top: 50px;
}

#pollForm {
  margin-top: 30px;
}

.poll-content h2 {
  font-size: 35px;
  font-weight: 900;
  margin-bottom: 20px;
}

#pollForm label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 15px;
  cursor: pointer;
}

#pollForm input[type="radio"] {
  accent-color: #6c8ef5;
  width: 22px;
  height: 22px;
}

.poll-results div {
  display: flex;
  justify-content: space-between;
  font-size: 19px;
  gap: 30px;
  margin-bottom: 25px;
}

.poll-results b {
  color: #6c8ef5;
}

.poll-option {
  font-size: 18px;
  margin-bottom: 15px;
  cursor: pointer;
  padding-left: 30px;
  position: relative;
}


@media (max-width: 768px) {
  .mini-poll {
    padding: 100px 20px 40px 20px;
  }

  .poll-wrapper {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    align-items: center;
  }

  .poll-image img {
    max-width: 180px;
    height: auto;
  }

  .poll-content {
    margin-top: 0;
    width: 100%;
  }

  .poll-content h4 {
    font-size: 20px;
  }

  .poll-content h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  #pollForm label {
    font-size: 16px;
    justify-content: flex-start;
  }

  #pollForm input[type="radio"] {
    width: 18px;
    height: 18px;
  }

  .poll-results div {
    font-size: 16px;
    gap: 15px;
    margin-bottom: 15px;
  }
}

.partners {
  padding: 60px 0;
  text-align: center;
}

.partners-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 40px;
  color: #111;
  text-align: center;
}

.partners-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.partners-logos img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .partners-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 25px 20px;
  }

  .partners-logos img {
    height: 70px;
    max-width: 90%;
  }

  .partners-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .partners-logos {
    gap: 20px 15px;
  }

  .partners-logos img {
    height: 60px;
    max-width: 100%;
  }

  .partners-title {
    font-size: 24px;
    
  }
}

.footer {
  border-top: 1px solid #e5eaf1;
  padding: 50px 0 40px 0;
  background: #fff;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer-container {
  display: flex;
  gap: 200px;
  align-items: center;
}

.footer-left {
  flex: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 18px;
  color: #34a853;
}

.logo-text {
  font-size: 21px;
  color: #6CBD45;
}

.copy {
  font-size: 13px;
  color: rgb(167, 167, 167);;
  margin-top: 20px;
}

.footer-center {
  flex: 4;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-links a {
  position: relative;
  display: inline-block;
  color: #4169e1;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  height: 2px;
  background: #4169e1;
  width: 100%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #005bff;
}

.footer-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.footer-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.btn {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btn-prim {
  background: #637df7;
  color: #fff;
  padding: 15px 31px;
  font-size: 19px;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.btn-primary:hover {
  background: #5063d6;
}

.btn-outline {
  border: 1px solid #637df7;
  color: #637df7;
  padding: 15px 31px;
  font-size: 19px;
}

.btn-outline:hover {
  background: #f1f3ff;
  color: #637df7;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    margin-top: 10px;
  }
}

.main-terms {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  color: #222;
}

.terms-container {
  max-width: 900px;
  width: 100%;
  font-family: "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

.terms-container h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.terms-container h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 25px 0 10px;
  color: #333;
}

.terms-container p {
  margin-bottom: 12px;
  font-size: 15px;
  color: #444;
}

.terms-container ul {
  margin: 0 0 15px 20px;
  padding: 0;
}

.terms-container li {
  margin-bottom: 6px;
  font-size: 15px;
  color: #444;
}

.notmain {
  background: #fff;
}

.policy {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  color: #222;
}

.policy-container {
  max-width: 950px;
  width: 100%;
  font-family: "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
  line-height: 1.65;
}

.policy-container h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 25px;
  text-align: center;
}

.policy-container h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 25px 0 12px;
  color: #333;
}

.policy-container p {
  margin-bottom: 12px;
  font-size: 15px;
  color: #444;
}

.policy-container ul {
  margin: 0 0 18px 22px;
  padding: 0;
}

.policy-container li {
  margin-bottom: 6px;
  font-size: 15px;
  color: #444;
}

.head-logo {
  font-size: 25px;
  color: #6CBD45;
}

.register {
  max-width: 500px;
  margin: 80px auto;
  padding: 20px;
  font-family: "Segoe UI", "Roboto", sans-serif;
  text-align: center;
}

.register h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #111;
  font-size: 32px;
  font-weight: 900;
}

.register p {
  font-size: 18px;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.5;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.register-form input[type="email"] {
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.register-form input[type="email"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.25);
}

.register-form button {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.register-form button:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.register-form button:active {
  transform: translateY(0);
}

.thankyou {
  max-width: 600px;
  margin: 100px auto;
  padding: 40px 20px;
  text-align: center;
  font-family: "Segoe UI", "Roboto", sans-serif;
  border-radius: 16px;
}

.thankyou h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #28a745;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.thankyou h1 .check {
  font-size: 40px;
  line-height: 1;
}

.thankyou p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .footer {
    width: 100%;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    text-align: center;
  }

  .copy {
    margin-top: 10px;
  }

  .footer-center {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer-right {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
  }
}