/* =======================================
   GLOBAL RESET & VARIABLES
======================================= */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --off-white: #f7f3e9;
  --off-white2: #f5f5e6;
  --yellow: #ffe74c;
  --blue: #2d4d6e;
  --red: #ff5964;
}

/* =======================================
   BASE LAYOUT & BODY
======================================= */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: 'DM Sans', sans-serif;
  color: #1c1c1e;
  background-color: var(--off-white);
  display: block;
  justify-content: center;
  align-items: center;
}

/* html {
position: relative;
}

body {
  position: relative;

} */

/* =======================================
   LOGO
======================================= */
#logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  max-width: 800px;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* =======================================
   FLOATING BALLS
======================================= */
.ball {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  transition: transform 0.1s linear;  
}

.balls-container {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1;
}

/* =======================================
   TAGLINE TEXT
======================================= */
.tagline {
  position: fixed;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* =======================================
   ROCKET BUTTON
======================================= */
.rocket-button {
  display: none;
  position: fixed;
  top: 77%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  cursor: pointer;
  z-index: 11;
  background: none;
  border: none;
  padding: 0;
  animation: bounce 1.2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-12px);
  }
}

/* =======================================
   MODAL CONTAINER & OVERLAY
======================================= */
.modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(255, 89, 100, 0.9);
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.modal[style*="display: flex"] {
  display: flex !important;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
  display: flex;
  transition: opacity 1s;
}

body.modal-open {
  overflow: hidden !important;
}

/* =======================================
   MODAL CONTENT AREA
======================================= */
.modal-content {
  background: rgba(255, 224, 102, 0.6);
  padding: 2em;
  border-radius: 20px;
  max-width: 90vw;
  width: 90vw;
  height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1.2s 0.5s, transform 1.2s 0.5s;
}

.modal.active .modal-content {
  opacity: 1;
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1em;
  right: 1em;
  background: none;
  border: none;
  font-size: 3em;
  cursor: pointer;
}

/* =======================================
   CONTACT FORM
======================================= */
#contact-form {
  position: relative;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

#contact-form label {
  display: block;
  text-align: left;
  width: 75%;
  margin: 0 auto 4px 4px;
  font-weight: 700;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
  width: 100%;
  border: none;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 0.75em 1em;
  font-size: 1em;
  display: block;
  background-color: #fff;
  box-sizing: border-box;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #fff;
  opacity: 0.8;
}

#contact-form button[type="submit"] {
  position: static;
  margin: 10px auto 0; 
  width: 40px;
  height: 30px;
  padding: 10px 40px;
  font-size: 1em;
  font-weight: 900;
  font-family: 'DM Sans', sans-serif;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.1s;
}

#contact-form button[type="submit"]:hover,
#contact-form button[type="submit"]:focus {
  background: var(--blue);
}

#contact-form button[type="submit"]:active {
  background: #22405a;
  transform: scale(0.97);
}

#contact-form .contact-sucess-msg {
  padding: 0 10px;
}

/* =======================================
   GRID LAYOUT
======================================= */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 66%;
  max-width: 900px;
  margin: 0 auto;
}

.col-1 {
  align-self: center;
}

.col-2 {
  align-self: center;
  padding-left: 10px;
}

/* =======================================
   BODY TEXT BLOCKS
======================================= */
.body-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2em;
  font-weight: 200;
  line-height: 1.5em;
  text-align: left;
}

.send-icon svg {
  width: 1em;
  height: 1em;
  color: #fff;
  vertical-align: middle;
}

/* =======================================
   RESPONSIVE MEDIA QUERIES
======================================= */

@media screen and (max-width: 1300px) {
  .grid-container {
    grid-template-columns: 1fr;
    width: 90%;
    gap: 20px;
    overflow-y: scroll;
  }

  .body-text {
    font-size: 1.1em;
  }

  .col-1, .col-2 {
    padding-left: 0px;
    padding-right: 0;
    padding-bottom: 0;
  }
  .col-2 {
    padding-bottom: 50px !important;
  }
  .col-2 .body-text {
    padding-top:0;
    padding-left:0;
    margin-right: auto;
  }
  
}

@media screen and (max-width: 1300px) {
  .modal-close {
    font-size: 3em;
  }

  .modal-content {
    max-width: 98vw;
    width: 95%;
    padding: 1.5em;
    height: 90%;
  }

  .col-1 {
    padding-top: 30px !important;
  }

}

@media screen and (max-width: 767px) {

  .modal-close {
    font-size: 2em;
    top: .5em;
    right: .5em;
  }

  .col-1 {
    padding-top: 30px !important;
  }

  body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
  }

  .modal-content {
    max-width: 95vw;
    width: 90%;
    padding: 1em;
    height: 90%;
  }

  .body-text {
    font-size: 1em;
  }

  .balls-container {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .tagline {
    font-size: 1.1em;
  }

}

@media screen and (max-width: 479px) {


}
