@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');

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

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

/* mainContent styling */

.hero {
  padding: 22px 0 8px;
  margin-top: 150px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  background: #fff;
}

.hero-image {
  position: relative;
  min-height: 420px;
}

.hero-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroContent {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

.heroTitle {
  font-family: Alice, serif;
  font-size: 45px;
  line-height: 1.2;
  margin-bottom: 6px;
}

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

.heroSubtitle {
  padding-top: 16px;
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.7;
  max-width: 62ch;
  color: rgba(0, 0, 0, 0.78);
}

.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: 55px;
}

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

.resourceCardTitle{
  font-family: "Fanwood Text", serif;
  font-weight: 600;
  font-size: 45px;
  margin: 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;
}

.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;
}

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

.smallLine{
  font-family: "Mulish", sans-serif;
  font-size: 22px;
  opacity: .85;
  margin-left: 4px;
}

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

.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);
}

.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;
}

.websiteRow{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: "Mulish", sans-serif;
  font-size: 22px;
}

.websiteLink{
  font-weight: 800;
}

.resourceCardLink{
  font-family: "Mulish", sans-serif;
  font-weight: 800;
  color: #0B4F4A;
  text-decoration: none;
  position: relative;
}

.resourceCardLink::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:100%;
  height:3px;
  background: linear-gradient(90deg, #6FDAD3, #9FE7E2);
  border-radius: 2px;
}

.resourceCardLink:hover{
  opacity: .9;
}

/* End Body content */

/* Responsivity */
@media (max-width: 900px){
  .resourceCard{
    width: 94%;
    padding: 22px 18px;
  }
  .resourceCardTitle{
    font-size: 38px;
  }
  .formatCard, .websiteRow{
    font-size: 20px;
  }
}

@media (min-width: 300px) and (max-width: 550px){
  .hero-card {
    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;
}

.heroTitle{ 
  font-size: clamp(28px, 4vw, 45px); 
}
.heroSubtitle{ 
  font-size: clamp(16px, 2.1vw, 25px); 
}
.resourceCardTitle{ 
  font-size: clamp(26px, 3.6vw, 45px);
}
.resourceCardDesc, .sectionTitle, .formatCard, .websiteRow, .smallLine{
  font-size: clamp(15px, 2vw, 22px);
}
.formatCard{ 
  margin: 12px 0; 
}

/* End responsivity */