@font-face { font-family: Ekamai; src: url(fonts/Ekamai.ttf); }
@font-face { font-family: Konto; src: url(fonts/Korto-Light.otf); }

:root {
  --red: #ec1d25;
  --turquoise: #8abdb6;
}

body {
  margin: 0;
  font-family: Konto, sans-serif;
  background: #fff;
  min-height: 100vh;
  max-width:100vw;
  overflow-x: hidden; /* Prevent any horizontal scrolling */
  padding: 0px 15px !important;
}

/* --- LOGO --- */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(30px, 5vw, 60px) 20px;
}
.logo img {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-bottom: -80px;
}

/* --- BOOMBOX IMAGE --- */
.boombox {
  margin: 0 auto;
  width: 90%;
  max-width: 700px;
  padding: clamp(20px, 5vw, 50px);
}
.boombox img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* --- CONTENT BOXES --- */
.box {
  margin: 0 auto;
  margin-top: 35px;
  background: var(--red);
  color: #fff;
  padding: clamp(20px, 5vw, 50px);
  width: 100%;
  max-width: 700px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.box.second { background: var(--turquoise); }
.box.third { background: var(--red); }
.box.fourth { background: var(--turquoise); }

.box h1,
.box h2,
.box h3 {
  text-align: left;
  font-family: Ekamai;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.box h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.box h2 { font-size: clamp(1.3rem, 3vw, 2rem); }
.box h3 { margin-top: 10px; font-size: clamp(1rem, 4vw, 5rem); }

.box p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-align: left;
  line-height: 1.5;
  font-family: Konto;
  font-weight: bold;
  letter-spacing: 1px;
}
span {
  font-style: italic;
  font-size: 14px;
  display: block;
  text-align: left;
  letter-spacing:1px;
}

/* --- FOOTER --- */
footer {
  margin: 30px 0 20px;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: bold;
}

/* --- CTA BUTTON --- */
.cta-button {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--turquoise);
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  z-index: 1000;
  text-decoration: none;
  font-family: Ekamai;
  transition: background 0.3s ease;
  letter-spacing:1px;
}
.cta-button:hover { background: #72aaa3; }

/* --- POPUP MODAL --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: left;
  font-family: Konto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  position: relative;
}
.modal-content h2 {
  font-family: Ekamai;
  color: var(--red);
  margin-top: 0;
  text-align: center;
}
.modal-content label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: Konto;
  font-size: 1rem;
}
.modal-content button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: var(--turquoise);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  font-family: Ekamai;
  cursor: pointer;
  transition: background 0.3s ease;
}
.modal-content button:hover { background: #72aaa3; }

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
}
.close-btn:hover { color: var(--red); }

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 820px) {

  .box, .boombox {
    width: 90%;
    max-width: 90%;
    padding: 25px 20px;
  }

  .logo img {
    width: 100%;
    max-width: 100%;
  }

  .cta-button {
    width: 90%;
    max-width: 350px;
    font-size: 1rem;
  }
  .avcu {
    padding-left:0px !important;
  }
}
@media (max-width: 880px) {
  .logo img {
    margin-bottom:-40px;
  }
}

@media (max-width: 500px) {
  .athi, .avcu {
    width:150px !important;
    height:34px !important;
  }
}
