@import url('https://fonts.googleapis.com/css2?family=Fanwood+Text:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alice&display=swap');

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

html { 
  -webkit-text-size-adjust: 100%; 
}
body { 
  overflow-x: hidden; 
}

/* Main content styling */

.mainContent {
  height: auto;
  margin: auto;
  margin-top: 150px;
  padding-bottom: 20px;
}

.resourceCard{
  background-color: white;
  width: 90%;
  margin: 32px auto;
  padding: 26px 34px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  padding-bottom: 40px;
}

.cardHeaderBand{
  position: relative;
  background: #EDF5F0;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  margin-bottom: 18px;
}

.resourceCardTitle{
  font-family: "Fanwood Text", serif;
  font-weight: 600;
  font-size: 45px;
  margin: 0;
}

.cardBody{
  padding: 6px 6px 0;
}

.resourceCardDesc{
  font-family: "Mulish", sans-serif;
  font-size: 22px;
  margin-bottom: 14px;
}

.sectionTitle{
  font-family: "Mulish", sans-serif;
  font-size: 22px;
  margin: 16px 0 10px;
}

.underline{
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(111,218,211,0.95);
}

.formatCard{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
  font-family: "Mulish", sans-serif;
  font-size: 22px;
}

.addressFormat{
  padding: 10px 16px;
  margin: 0;
  background: rgba(234, 247, 246, 0.9);
  border: 1px solid rgba(0,0,0,0.06);
  font-weight: 800;
  color: #1f3d3b;
  border-radius: 12px;
}

.callButton{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(316deg, #9FE7E2 0%, #6FDAD3 74%);
  border: 1px solid rgba(0,0,0,0.06);
  font-weight: 800;
  color: #063b39;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(0,0,0,0.10);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.callButton:hover{
  transform: translateY(-1px);
}

/* FORM styles */
.submitForm{
  margin-top: 12px;
}

.formGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.formFieldWide{
  grid-column: 1 / -1;
}

.formLabel{
  display: block;
  font-family: "Mulish", sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 6px;
  color: rgba(0,0,0,0.78);
}

.req{
  color: #0B4F4A;
  font-weight: 900;
}

.formInput{
  width: 100%;
  font-family: "Mulish", sans-serif;
  font-size: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.95);
  outline: none;
}

.formInput:focus{
  border-color: rgba(111,218,211,0.95);
  box-shadow: 0 0 0 4px rgba(111,218,211,0.18);
}

.formTextarea{
  resize: vertical;
  min-height: 130px;
}

.checkRow{
  display: inline-flex;
  gap: 10px;
  align-items: flex-start;
  font-family: "Mulish", sans-serif;
  font-size: 18px;
}

.checkBox{
  transform: translateY(4px);
}

.formActions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.formMsg{
  margin-top: 18px;
}

.formMsgError .addressFormat{
  background: rgba(255, 230, 230, 0.75);
  border-color: rgba(180, 30, 30, 0.25);
}

.formMsgSuccess .addressFormat{
  background: rgba(234, 247, 246, 0.95);
}


/* End main content styling */


/* Responsivity */

@media (max-width: 900px){
  .resourceCard{ 
    width: 94%; padding: 22px 18px; 
  }
  .resourceCardTitle{ 
    font-size: 38px; 
  }
  .formGrid{ 
    grid-template-columns: 1fr; 
  }
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}

a, .resourceCardLink, .resourceLink {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.websiteRow, .formatCard, .heroContent, .cardBody {
  min-width: 0;
}

.websiteRow a, .formatCard a, .resourcesLinks a {
  max-width: 100%;
}

.callButton, .addressFormat {
  max-width: 100%;
  white-space: normal;
}

.resourceCardTitle{ 
  font-size: clamp(26px, 3.6vw, 45px); 
}
.resourceCardDesc, .sectionTitle, .formatCard, .formLabel, .checkRow{
  font-size: clamp(15px, 2vw, 22px);
}
.formInput{
  font-size: clamp(15px, 2vw, 18px);
}
@media (max-width: 576px){
  .resourceCard{ 
    padding: 18px 14px; 
  }
  .formActions{ 
    flex-direction: column; align-items: stretch;
  }
  .formActions > *{ 
    width: 100%; 
  }
}

/* End Responsivity */