/* -------------------- BASE PAGE LAYOUT -------------------- */

/* -------------------- ANIMATIONS -------------------- */
@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* -------------------- TYPOGRAPHY -------------------- */

.three-d-title {
  font-size: 2.5rem; /* or 2.5rem if you want it just slightly smaller */
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-color);
  letter-spacing: 1.5px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
} 

h1.three-d-title {
  font-size: 2.5rem;
font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: var(--accent-color);
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  margin-bottom: 2rem;
}

h2 {
  color: black;
font-family: 'Open Sans', sans-serif;
  font-size: 1.8rem;
  margin-top: 2rem;
}

h3 {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  margin-top: 1rem;
  font-size: 1.75rem;
  font-weight: normal;
  color: black;
}

.three-d-title-two {
font-size: 3rem; /* or 2.5rem if you want it just slightly smaller */
font-family: 'Open Sans', sans-serif;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-color);
  letter-spacing: 1.5px;
  font-weight: bold;
  padding-left: 2rem;
  padding-right: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}

.wellness-page h3 {
  font-size: 1.1rem; /* or try 1rem if you want it even smaller */
  color: black;
  font-weight: normal;
  margin-top: 1.5rem;
  text-align: left;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* -------------------- FORM ELEMENTS -------------------- */
input[type="text"], textarea {
  width: 95%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(69, 111, 179, 0.903);
  background-color: #f1f8e9;
  resize: vertical;
  margin-top: 0.5rem;
}

/* -------------------- BUTTONS -------------------- */
.feel-good-container h3 {
  margin-bottom: 0.3rem;
}

.dropdown-icon-btn {
  margin-top: 0.2rem;
}

/*====================== save/my pet buttons - journal =============== */
    .icon-button {
      background-color: #ffc6e0 !important;
      color: black !important;
      border: .1px solid #d394b0;
      padding: 10px 15px;
      font-size: 1rem;
      border-radius: 5px;
      margin: 0 10px;
      cursor: pointer;
        font-weight: bold;
    }

.icon-button:hover {
  background-color: #cd8fc3 !important;
}

.icon-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.4);
}

button, .toolkit-entry button, .journal-entries-box h2 {
font-family: 'Open Sans', sans-serif;
  color: #2988a7;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.button, .toolkit-entry button {
  background-color: #2988a7;
  color: white;
  border-radius: .85rem;
  font-size: 1rem;
  padding: 1rem 2rem;
  cursor: pointer;
  border: none;
  display: block;
  margin-left: 10;
  margin-top: 1rem;
  text-align: left;
  transition: background-color 0.3s ease;
}

.button:hover, .toolkit-entry button:hover {
  background-color: #66bb6a;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.button-row {
  display: flex;
  flex-direction: row; /* Put buttons side-by-side */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically just in case */
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap; /* Nice for small screens */
}

.button-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
}

.dropdown-btn {
  background-color: rgb(59, 162, 197);
  border: 5px solid rgb(200, 245, 245);
  color: white;
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dropdown-icon-btn:hover {
  background-color: rgba(59, 162, 197, 0.85);
}

/* -------------------- COMPONENTS -------------------- */
/* Layout Containers */
.journal-container,
.mood-section,
.cloud-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0rem 2.2rem;
  box-sizing: border-box;
}

.info-row {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0; /* Restore index.html layout */
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.wellness-wrapper {
  margin-top: 1rem;
}

.container, .wellness-wrapper, .gradient-section-box {
  margin-left: auto;
  margin-right: auto;
}

.dropdown-section {
  width: 90%;
  max-width: 320px;
  margin: 2rem auto;
  text-align: left;
}

.touching-sections,
.cloud-section,
.mood-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* -------------------- IMAGE-TEXT BOX -------------------- */

/* -------------------- DROPDOWN STYLING -------------------- */
details {
  background-color: #ffc6e0;
  border: .5px solid #4f9dff;
  border-left: 3.0px solid rgb(25, 190, 185);
  border-radius: .55rem;
  padding: .8rem 1rem;
  margin-bottom: .85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
font-family: 'Open Sans', sans-serif;
  transition: all 0.3s ease;
}

summary {
  font-size: 1.2rem;
  font-weight: bold;
  /* text color inside dropdown boxes on index.html */
  color: black; 
  cursor: pointer;
  outline: none;
  text-align: left;
  padding-left: .5rem;
  position: relative;
}

summary::marker {
  font-size: 1.3rem;
  color: rgb(40, 130, 180);
}

details[open] summary {
  color: black;}


    /* -------------------- JOURNAL PAGE -------------------- */
    body.journal-page .container {
      margin-top: rem;
      padding-top: 0.5rem;
    }
  
    /* Journal input field */
    textarea {
      width: 95%;
      height: 100px;
      font-size: 1.1rem;
      padding: 1rem;
      border-radius: 0.5rem;
      border: 2px solid #ccc;
      margin-bottom: 1rem;
    }
  
    /* Save button */
    button {
      padding: 0.7rem 1.5rem;
      font-size: 1rem;
      background-color: rgb(107, 228, 157);
      border: none;
      border-radius: 0.5rem;
      color: black;
      cursor: pointer;
    }
  
    .bubble-box {
      font-family: 'Comic Neue', sans-serif;
      background: rgba(231, 253, 157, 0.816);
      border-radius: 1.75rem;
      padding: 2rem;
      /* increased padding */
      margin: 1.7rem auto;
      max-width: 200px;
      /* smaller width */
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
      text-align: center;
      border: 2.55px solid rgb(201, 220, 140);
      font-size: 1.14rem;
      /* you can tweak this if you want */
    }
  
    /* dreamy background on journal.html behind entries and text */
    /* Journal Entry Container - match toolkit dreamy look */
    /* Saved journal entry style */
    .entry {
      background-color: white;
      padding: 0.75rem;
      border-radius: 0.75rem;
      margin-top: 1rem;
      position: relative;
      border: 1.9px solid #307e7d;
    }
  
    .entry time {
      display: block;
      font-size: 0.9rem;
      color: rgba(26, 24, 28, 0.698);
      margin-bottom: 0.5rem;
    }
  
    #entryList {
      padding: 1rem;
      margin: 0 auto;
      max-width: 800px;
      box-sizing: border-box;
    }
  
    /* Entry Timestamp */
    .entry time {
      display: block;
      font-size: 0.9rem;
      color: #607d8b;
      margin-bottom: 0.5rem;
    }
  
    .full-width-wrapper {
      width: 100%;
      margin: 0;
      padding: 0;
      background: linear-gradient(145deg, #e0f7fa, #fdfcdc);
      display: flex;
      justify-content: center;
      box-sizing: border-box;
    }
  
    .full-journal-box {
      width: 100%;
      margin-left: calc(-50vw + 50%);
      padding-left: 1rem;
      padding-right: 1rem;
      background: linear-gradient(to bottom, #fff9b0, #cceeff, #fff9b0);
      /* match toolkit */
      box-sizing: border-box;
    }
  
    .gradient-section-box {
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: linear-gradient(to bottom, #89cbd4, rgb(40, 130, 180), #89cbd4);
      z-index: -1;
      position: absolute;
      inset: 0;
      z-index: -1;
      min-height: 100vh;
    }
  
    .gradient-section-box {
      min-height: 100%;
    }
  
    .bottom-wrapper {
      width: 100%;
      margin: 0;
      padding: 2rem 1rem;
      background: linear-gradient(to bottom, #fff9b0, #cceeff, #fff9b0);
      /* Match toolkit */
      display: flex;
      justify-content: center;
      box-sizing: border-box;
    }
  
    .journal-entries-box {
      width: 100%;
      max-width: 600px;
      background: white;
      border-radius: 1.5rem;
      padding: 2rem;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
      border-top: 3px solid rgba(40, 130, 180, 0.2);
      border-bottom: 3px solid rgba(40, 130, 180, 0.2);
      box-sizing: border-box;
      text-align: center;
    }
  
    .full-journal-wrapper {
      width: 100vw;
      margin: 0;
      padding: 0 1rem;
      background: linear-gradient(to bottom, #fff9b0, #cceeff, #fff9b0);
      /* matches existing */
      box-sizing: border-box;
    }
  
    .full-journal-box {
      max-width: 100%;
      width: 100%;
      margin: 0 auto;
      padding: 1.5rem;
      box-sizing: border-box;
    }
  
    body.journal-page {
      margin: 0;
      padding: 0;
      font-family: 'Open Sans', sans-serif;
      background: #e0f7fa;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
  
    /* Top Section (Title, Intro, Save Box) */
    .top-section {
      max-width: 800px;
      margin: 2rem auto;
      text-align: center;
      padding: 1rem;
    }
  
    /* Bottom Section (Entries Box) */
    .bottom-section {
      background: linear-gradient(to bottom, #89cbd4, rgb(40, 130, 180), #89cbd4);
      flex-grow: 1;
      width: 100%;
      padding: 2rem 1rem;
      box-sizing: border-box;
      border-top-left-radius: 1.5rem;
      border-top-right-radius: 1.5rem;
    }
  
    /* Entries Box (just one container inside) */
    .entries-box {
      background: white;
      border-radius: 1rem;
      padding: 1rem;
      max-width: 800px;
      margin: 0 auto;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
  
    /* Journal Textarea */
    textarea {
      width: 80%;
      max-width: 700px;
      height: 100px;
      font-size: 1.1rem;
      padding: 1rem;
      border-radius: 0.5rem;
      border: 2px solid #ccc;
      margin: 0 auto 1rem auto;
      display: block;
    }
  
    /* Button */
    button {
      padding: 0.7rem 1.5rem;
      font-size: 1rem;
      border-radius: 0.5rem;
      border: none;
      background-color: #468faf;
      color: white;
      cursor: pointer;
      margin-top: 1rem;
    }
  
    /* Entire top section (soft yellow background) */
    .top-journal-section {
      width: 100vw;
      margin: 0;
      background: linear-gradient(to bottom, #fff9b0, #fdfcdc);
      text-align: center;
      box-sizing: border-box;
    }
  
    /* Entry container */
    .journal-entries-box {
      max-width: 700px;
      margin: 0 auto;
      background: white;
      border-radius: 1.5rem;
      padding: 2rem;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
      text-align: left;
    }
  
    /* Entry timestamp */
    .entry time {
      display: block;
      font-size: 0.9rem;
      color: #607d8b;
      margin-bottom: 0.5rem;
    }
  
    .torn-paper-divider {
      width: 100%;
      height: 60px;
      background: #3bb5b3;
      background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 150' xmlns='http://www.w3.org/2000/svg'><path fill='%23030352' fill-opacity='1' d='M0,40 Q80,90 160,40 T320,40 T480,40 T640,40 T800,40 T960,40 T1120,40 T1280,40 T1440,40 L1440,0 L0,0 Z'/></svg>") no-repeat center;
      background-size: cover;
      margin: 0;
      padding: 0;
      transform: rotate(180deg);
      /* optional, depending on your direction */
    }
  
    
/* ------- IMPORTANT NUMBERS PAGE / QUICK HELP--------- */
body.important-page {
  align-items: flex-start;
}

body.important-page .container {
  margin-top: 0rem !important;
  padding-top: 0 !important;
}

ul {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  line-height: 2;
}

li {
  border: 2px solid rgba(15, 99, 50, 0.903);
  background: #60cf7a;
  border-left: 8px solid rgb(3, 3, 82);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
strong {
  color: white;
}

footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 1.6em;
    color: Black; /* ← updated from pink */
    padding: 1rem;
  }

/* -------------------- SUPPORT PAGE -------------------- */
body.support-page {
  align-items: flex-start;
}

body .container {
  margin-top: -0.3rem !important;
  padding-top: 0 !important;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

body.support-page {
  align-items: flex-start;
}

body.support-page .container {
  margin-top: -.3rem !important; /* try -1.5rem if you want it touching the top */
  padding-top: 0 !important;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

/* ---------------------- Wellness Plan -------------------- */
.saved-section {
  background-color: #ffffffcc; /* Optional soft white background */
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 1.5rem;
  max-width: 600px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

.gradient-section-box {
  background: linear-gradient(to bottom, #89cbd4, rgb(40, 130, 180), #89cbd4);
  padding: 2rem 1rem;
  margin-top: 0rem;
  margin-bottom: 0rem;
  border-radius: 0rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  border-top: 5px solid #ffffffcc;
  border-bottom: 5px solid #ffffffcc;
}

.plan-heading {
font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  margin: -1rem;
  color: #032d3b;
  text-align: center;
  font-weight: bold;
  border-top: blue 3px;
}

.tool-headers {
  font-family: 'Georgia', serif; /* or whatever font you want */
  font-size: 1.3rem;
  color: #a4f0b5;
  text-align: center;
  font-weight: bold;
}

.saved-section {
  background-color: #ffffffcc;
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 1.5rem;
  max-width: 600px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  border: 2px dashed rgba(40, 130, 180, 0.7); /* ← dotted border! */
}

/* -------------------- IMAGE OVERLAYS -------------------- */
/* Include: .info-image-large, .image-container, .overlay-image, etc */
.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.info-image-large {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.image-text-overlay {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.5rem;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.overlay-image {
  width: 100%;
  height: auto;
  display: block;
}

.text-over-image {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.7);
  color: rgb(29, 85, 148);
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
}


/* -------------------- PAGE HEADER -------------------- */
/* Include: .tagline, .hero-image, .hero-caption, .intro-paragraph */
.page-header {
  width: 100%;
  max-width: 600px;
  margin: -0.5rem auto -2.3rem;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}

.tagline {
font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  color: #4b6578;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.hero-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  opacity: 0; /* Start hidden */
  animation: fadeIn 1.7s ease-in-out forwards;
}

.hero-caption {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.intro-paragraph p {
  font-size: 0.95rem;
  color: #2f3b5c;
  margin-top: 0;
}

/* -------------------- AFFIRMATIONS -------------------- */
/* Include: .affirmation-popup */
.affirmation-popup {
  position: fixed;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: rgb(20, 20, 170);
  padding: 2rem 4rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  font-family: 'Shadows Into Light', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  text-align: center;
  z-index: 2000;
  transition: opacity 1s ease;
  width: 60%;
  max-width: 500px;
}

/* -------------------- Delete Buttons --------------------*/
.delete-button {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #c52e3f;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-left: 1rem;
  align-self: flex-start; /* optional if your layout needs it */
}

/* Only use absolute positioning when .delete-button is inside a journal .entry */
.entry .delete-button {
  position: absolute;
  top: 0.5rem;
  right: 0.8rem;
  margin-left: 0; /* override margin-left for absolute layout */
}

/* Hover style for all delete buttons */
.delete-button:hover {
  transform: scale(1.2);
  background-color: #ffebee;
}

/* -------------------- MEDIA QUERIES -------------------- */
@media (max-width: 600px) {
  .info-row {
    flex-direction: column;
    align-items: center;
  }
  .info-image {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
  .info-text {
    text-align: center;
    padding-top: 1rem;
  }
}

@media (max-width: 500px) {
  .dropdown-section {
    width: 95%;
    max-width: 300px;
  }
  details {
    font-size: 0.9rem;
    padding: 0.5rem 0.7rem;
  }
  summary {
    font-size: 1.05rem;
  }
}

@media (max-width: 400px) {
  .info-image {
    max-width: 60px;
  }
  .info-image-large {
    max-width: 100%;
  }
  .info-text p {
    font-size: 0.85rem;
  }
}

@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) {
    .button-row {
      transform: translateZ(0); /* triggers hardware acceleration to reset layout */
    }
  }
}

/* --------------------- global style for all pages ------------- */
@media (max-width: 600px) {
  body {
    padding: 0 1rem;
    box-sizing: border-box;
  }
}

/* -------------------- BASE PAGE LAYOUT -------------------- */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg-color);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

/* --------------------------Theme Customization ------------------ */
#authControls {
  margin-bottom: 0;
}

#authControls p {
  margin: 0;
  padding: 0;
}

.page-header {
  margin-top: 0;
  padding-top: 0;
}

body {
  margin-top: 0;
}

/* -------------------- Back to App ---------------- */
.backToApp {
  display: inline-block;
  margin: 2rem auto;
  padding: 10px 20px;
  background-color: #000 !important;  /* Black background */
  color: #fff !important;             /* White text */
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid white;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); /* Soft white-ish glow */
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
}

.backToApp:hover {
  background-color: #222 !important;  /* Darker hover */
  color: #fff !important;
  transform: scale(1.03);
}

.backToApp:active {
  transform: scale(0.98);
}

/* -------------------- Hidden Back Button Styling (if JS toggled) ---------------- */
#backButton {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#backButton.show {
  display: inline-block;
  opacity: 1;
  pointer-events: auto;
}


/* ------------------------ login/ register buttons ---------------- */

.auth-button {

.auth-button {
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 10px;
font-family: 'Open Sans', sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}  color: var(--text-color);
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 10px;
font-family: 'Open Sans', sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-button:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
  transform: scale(1.05);
}

#authControls {
  margin-top: 10px; /* Add space at the very top */
  text-align: center;
}

body {
  padding-top: 20px;
}

/* ------------------------  buttons ---------------- */

.button-row .button {
 background-color: #ffc6e0 !important; /* black background */
  color: black !important;            /* white text */
  border: 1px solid black;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button-row .button:hover {
 background-color: rgb(91, 5, 91) !important;
}

/* --------------------- Mobile-safe media query -------------------- */
@media (max-width: 600px) {
  .image-text-box {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    padding: 1rem 0.75rem;
    text-align: left; /* optional: center if you prefer */
  }

  .hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .hero-caption,
  .image-text-box p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

.torn-paper-divider {
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 1440 150' xmlns='http://www.w3.org/2000/svg'>\
  <path fill='%233bb5b3' fill-opacity='1' \
    d='M0,40 Q80,90 160,40 T320,40 T480,40 T640,40 T800,40 T960,40 T1120,40 T1280,40 T1440,40 L1440,0 L0,0 Z'/>\
</svg>") no-repeat center;
  background-size: cover;
  margin: 0;
  padding: 0;
  transform: rotate(180deg);
  /* flip if you want the wave on the other edge */
}
