:root {
  --text-color: #1a1c20;
  --link-color: #4a76ee;
  --background-color: #eeeff1;
} 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  max-width: 1400px;
  margin: 0 auto;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 80px;
}

nav .left a {
  color: var(--text-color);
  font-size: 24px;
  font-weight: 600;
}

nav .right a {
  color: var(--text-color);
  margin: 0 8px;
  font-size: 20px;
}

/* Section 1: Intro */
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  margin: 50px 0;
  margin-bottom: 100px;
  gap: 40px;
}

.intro .text {
  flex: 5;
}

.intro .text .links {
  margin: 8px;
}

.intro .text .links a {
  display: inline-block;
  padding: 4px 8px;
  border: 2px solid var(--link-color);
  margin-right: 8px;
  margin-bottom: 8px;
  transition: .1s;
  border-radius: 4px;
}

.intro .text .links a:hover {
  color: var(--text-color);
  border: 2px solid var(--text-color);
}
.intro .logo {
  flex: 2;
  display: flex;
  justify-content: right;
}
.intro .logo img {
  width: 300px;
  border-radius: 50%;
}

/* Section 2: Support */
.support-section {
  padding: 0 40px;
  margin-bottom: 100px;
}

.support-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.support-section .text {
  text-align: center;
  margin-bottom: 20px;
}

.support-section .support-button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.support-section .support-button a {
  display: inline-block;
  padding: 4px 8px;
  border: 2px solid var(--link-color);
  margin-right: 8px;
  margin-bottom: 8px;
  transition: .1s;
  border-radius: 4px;
}

.support-section .support-button a:hover {
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

/* Section 3: Workshops */
.workshops-section {
  padding: 60px 40px;
}

.workshops-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

.workshops-section .workshop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.workshops-section .workshop-cards .card {
  background-color: var(--background-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.workshops-section .workshop-cards .card img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1/1;
  object-fit: cover; /* try cover */
  border-radius: 12px;
  margin: 0 auto;
  margin-top: 12px;
}

.workshops-section .workshop-cards .text {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.workshops-section .workshop-cards .text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.workshops-section .workshop-cards .text p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.workshops-section .workshop-cards .text a {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 8px;
  border: 2px solid var(--link-color);
  margin-right: 8px;
  margin-bottom: 8px;
  transition: .1s;
  border-radius: 4px;
}

.workshops-section .workshop-cards .text a:hover {
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

/* Section 5: Documents */
.documents-section {
  padding: 60px 40px;
}

.documents-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.documents-section .documents-list {
  padding-left: 20px;
  list-style-type: disc;
  max-width: 600px;
}

.documents-section .documents-list li {
  margin-bottom: 4px;
}

.documents-section .documents-list a {
  color: var(--text-color);
  text-decoration: none;
}

.documents-section .documents-list a:hover {
  color: var(--link-color);
}

/* Section 6: FAQ */
.faq-section {
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.faq-section .faq-note {
  margin-bottom: 30px;
  font-size: 16px;
}

.faq-section .faq-note a {
  color: var(--link-color);
}

.faq-section .faq-item {
  margin-bottom: 12px;
  padding: 16px;

}

.faq-section .faq-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.faq-section .faq-item p {
  font-size: 16px;
  margin: 0;
}

/* Section 7: Contacts */
.contacts-section {
  padding: 60px 40px;
  margin-bottom: 100px;
}

.contacts-section .contacts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contacts-section .contacts-container .contact-info {
  flex: 1 1 300px;
}

.contacts-section .contacts-container .contact-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contacts-section .contacts-container .contact-info p {
  margin: 8px 0;
  font-size: 20px;
}

.contacts-section .contacts-container .contact-info .social-links a {
  color: var(--text-color);
  margin: 0 8px;
  font-size: 20px;
}

/*
.contacts-section .contacts-container .contact-form label {
  margin: 12px 0 4px;
}

.contacts-section .contacts-container .contact-form input,
.contacts-section .contacts-container .contact-form textarea {
  font-family: 'Poppins', sans-serif;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
  resize: none;
}

.contacts-section .contacts-container .contact-form button {
  padding: 12px;
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #fff;
  background-color: var(--link-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.contacts-section .contacts-container .contact-form button:hover {
  filter: brightness(.9);
}*/

/* Section 8: Partners */
.partners-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.partners-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.partners-section .partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.partners-section .partners-logos img {
  height: 60px;
  object-fit: contain;
  max-width: 150px;
}

@media (max-width: 740px) {
  /* Section 1: Intro */
  .intro {
    flex-direction: column-reverse;
  }
  .intro .logo img {
    width: 200px;
  }
}

@media (max-width: 440px) {
  /* Navbar */
  nav {
    padding: 0 12px;
  }

  nav .right a {
    margin: 0 4px;
    font-size: 16px;
  }

  /* Section 1: Intro */
  .intro {
    padding: 0 20px;
  }

  /* Section 2: Support */
  .support-section {
    padding: 0 20px;
  }

  /* Section 5: Documents */
  .documents-section {
    padding: 0 20px;
  }

  /* Section 7: Contacts */
  .contacts-section {
    padding: 0 20px;
  }
}