:root {
  --color-primary: #0e674b;
  --color-background: #f5fbf9;
  --color-background-alt: #d6e7e1;
  --font-heading: 'League Spartan', sans-serif;
  --font-text: 'TT Norms', sans-serif;
}

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

body {
  background-color: var(--color-background);
  background-image: 
    url("./images/bg-left.png"), 
    url("images/bg-right.png");
  background-repeat: repeat-y, repeat-y;
  background-position: left top, right top;
  background-size: 280px auto, 280px auto;

  font-family: var(--font-text);
}

.hero-section {
  background-color: var(--color-background);
  padding: 5px;
  position: relative;
  margin: 30px 20px;
  margin-left: 200px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.main-title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: -1px;
  z-index: 10;
  position: relative;
  width: 100%;
}

.subtitle {
  color: #555454;
  padding-left: 100px;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.hero-image {
  width: 100%;
  height: 150px;
  background-color: var(--color-background) 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-image img {
  width: auto;
  height: 100%;
}

.intro-section {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text {
  color: var(--color-primary);
  background-color: var(--color-background);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 400;
  max-width: 70%;
  margin: auto;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.hexagon-placeholder {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hexagon-placeholder img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.hexagon-placeholder svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.cta-section {
  padding: 30px 20px;
  display: flex;
  justify-content: center;
}

.cta-button {
  font-family: var(--font-heading);
  background: var(--color-primary);
  color: var(--color-background);
  border: none;
  padding: 24px 60px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(14, 118, 75, 0.3);
}

.cta-button:hover {
  background: #0B5F3D;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(14, 118, 75, 0.4);
}

.about-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-box {
  position: relative;
  background: var(--color-background-alt);
  padding: 60px;
  color: var(--color-primary);
  line-height: 1.8;
  font-size: 1.1rem;
}

.about-box p {
  margin-bottom: 20px;
}

.about-photo {
  position: absolute;
  top: 0;
  right: 0;

  width: 140px;
  height: 140px;
  object-fit: cover;

  margin: -30px -20px 0 0;
  border-radius: 50%;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.workshops-section {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.workshops-title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  background-color: var(--color-background);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin: 0px auto 10px auto;
  width: fit-content;
  text-transform: uppercase;
}

.workshops-subtitle {
  font-family: var(--font-text);
  color: var(--color-primary);
  background-color: var(--color-background);
  font-size: 1.2rem;
  font-style: italic;
  width: fit-content;
  text-align: center;
  margin: 0px auto 30px auto;
  opacity: 0.9;
}

.workshops-block {
  background: var(--color-background-alt);
  padding: 40px;
  margin-bottom: 30px;
}

.block-title {
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.learning-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.learning-list li {
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.learning-list li:last-child {
  margin-bottom: 0;
}

.learning-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.block-text {
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

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

.client-hexagon {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.client-hexagon svg {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.client-hexagon:hover svg {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--color-background);
  padding: 40px;
  max-width: 500px;
  width: 90%;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}

.modal-title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.modal-list li {
  color: var(--color-primary);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .images-grid { grid-template-columns: 1fr; }
  .hero-section { margin-left: 20px; margin-top: 35px; opacity: 0.9;;}
  .subtitle { padding-left: 30px; }
  .hero-image img {
    width: 100%;
    height: auto;
    opacity: 0.9;
  }
}

@media (max-width: 480px) {
  .clients-grid { grid-template-columns: 1fr; }
}
