@font-face {
  font-family: 'Calluna Sans';
  src: url('fonts/CallunaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Calluna Sans';
  src: url('fonts/CallunaSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Calluna Sans';
  src: url('fonts/CallunaSans-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-family: 'Calluna Sans', sans-serif;
  overflow-x: clip;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 60vh;
  min-height: 100vh;
  background: url('images/moodrender.png') no-repeat center center;
  background-size: cover;
  margin: 0;
  overflow: hidden;
  top: 0;
  left: 0;
}

.logo {
  position: absolute;
  top: 50px;
  right: 50px;
  max-width: 300px;
  width: 40vw;
  height: auto;
  background: rgba(255,255,255,0.0);
  z-index: 2;
}

.hero-bottom-left {
  position: absolute;
  left: 32px;
  bottom: 32px;
  color: #fff;
  font-size: 5.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  z-index: 3;
  pointer-events: none;
  font-family: inherit;
}

@media (max-width: 900px) {
  .hero-bottom-left {
    font-size: 4.5rem;
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
  }
  .logo {
    top: 20px;
    right: 20px;
  }
  .hero-bottom-left {
    font-size: 3.5rem;
    left: 8px;
    bottom: 8px;
  }
}

@media (max-width: 600px) {
  .logo {
    max-width: 180px;
    width: 70vw;
  }
}

/* Introduction Section */
.introduction-section {
  padding: 60px 32px;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Calluna Sans', sans-serif;
  contain: layout;
}

.introduction-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
  margin: 0;
}

.sentence {
  display: block;

}

.sentence.completed span {
  font-weight: 800;
  animation: enlarge 0.6s ease-out;
  display:inline-block;
}

@keyframes enlarge {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

@media (max-width: 900px) {
  .introduction-section {
    padding: 40px 24px;
    max-width: 570px;
  }
  .introduction-text {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .introduction-section {
    padding: 32px 16px;
    max-width: 330px;
  }
  .introduction-text {
    font-size: 1rem;
  }
  .sentence {
    margin-bottom: 16px;
  }
}

/* Modal styles */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 95vw;
  max-width: 600px;
  height: auto;
  background: rgba(0,0,0,0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  font-family: Helvetica, Arial, sans-serif;
}

.modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-family: inherit;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  color: #707070;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: 0 8px;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover,
.modal-close:focus {
  color: #ffffff;
  outline: none;
}

.modal-content h2 {
  margin: 0 0 8px 0;
  font-size: 2rem;
}

.modal-content p {
  margin: 0 0 16px 0;
  font-size: 1rem;
  text-align: center;
}

.modal-content form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 8px;
}

.modal-content input,
.modal-content textarea {
  padding: 8px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  font-family: Helvetica, Arial, sans-serif;
}

.modal-content textarea {
  min-height: 15em;
  resize: vertical;
}

.modal-content button {
  width: 100%;
  padding: 10px 0;
  border-radius: 6px;
  border: none;
  background: #fff;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.modal-content button {
  padding: 10px 0;
  border-radius: 6px;
  border: none;
  background: #fff;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.modal-content button:hover {
  background: #eee;
}

@media (max-width: 600px) {
  .modal {
    max-width: 99vw;
    padding: 16px 4px;
  }
  .modal-content h2 {
    font-size: 1.3rem;
  }
  .modal-content form {
    padding: 0 2px;
    gap: 12px;
  }
}

/* Content Boxes Styles */
.content-boxes {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  justify-content: center;
  max-width: 100vw;
  width: 100vw;
  position: relative;
  top: 0;
}

.content-box {
  background: rgba(255,255,255,0.85);

  padding: 24px 16px;
  flex: 1 1 220px;
  min-width: 120px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  justify-content: flex-start;
}

.content-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 0;
}

.content-logo {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.content-box h3 {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 1.4rem;
  font-family: inherit;
  color: #222;
  text-align: center;
  font-weight: 100;
}

.content-box img {
  max-width: 120px;
  width: 80%;
  height: auto;
  margin-bottom: 0;
  object-fit: contain;
  align-self: center;
}

/* Footer styles */
.footer {
  width: 100vw;
  background-color: #eab545;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: auto;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/moodrender_b.png') no-repeat center 90%;
  background-size: cover;
  opacity: 0.3;
  z-index: 1;
}

/* Contact details styles */
.contact-details {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 300px;
  margin: 30px auto 32px 30px;
  font-size: 1.1rem;
  font-family: inherit;
  padding: 20px;
}
.contact-details div {
  text-align: left;
  margin-bottom: 8px;
}
.contact-details div:last-child {
  margin-bottom: 0;
}
.contact-details i {
  vertical-align: middle;
  font-size: 1.2em;
  margin-right: 0.5em;
}
.contact-details a {
  color: inherit;
  text-decoration: underline;
}

.copyright {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 0.9rem;
  color: #000;
  font-weight: 300;
  padding-bottom: 10px;
}


@media (max-width: 900px) {
  .content-boxes {
    justify-content: center;
    gap: 24px;
  }
  .content-box {
    flex: 1 1 45vw;
    max-width: 45vw;
  }
}

@media (max-width: 600px) {
  .content-boxes {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
  }
  .content-box {
    max-width: 90vw;
    min-width: 0;
  }
  .content-box img {
    max-width: 60px;
    width: 90%;
  }
  .contact-details {
    font-size: 0.8rem;
    margin: 12px auto 32px 12px;
  }
}


.btn-container{
  position: relative;
  left: 50%;
  margin: 0 0 100px -100px;
}

.btn{
	width: 180px;
	height: 40px;
	line-height: 40px;	
	background-color: #eab545;
  border-radius: 8px;
	color: #000;
  font-family: 'Calluna Sans', sans-serif;
  font-size: 18px;
  font-weight: normal;
	text-decoration: none;
	text-align: center;
	display: inline-block;
  position: relative;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  transform: translateY(-6px);
  -webkit-animation-name: hoverXX;
  animation-name: hoverXX;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;

	&:hover{
		background-color: #fcac00;
	}
}

@keyframes hover {
  50% {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
  }

  100% {
    -webkit-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}

@-webkit-keyframes hover-shadow {
  0% {
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
    opacity: .4;
  }

  50% {
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
    opacity: .4;
  }
}

@keyframes hover-shadow {
  0% {
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
    opacity: .4;
  }

  50% {
    -webkit-transform: translateY(3px);
    -ms-transform: translateY(3px);
    transform: translateY(3px);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
    opacity: .4;
  }
}

@-webkit-keyframes hover {
  50% {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
  }

  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}

@keyframes hover {
  50% {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
  }

  100% {
    -webkit-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}
