/* =========================================================
   Emblem – Digital Delivery Note Landing Page
   Custom styles on top of Bootstrap 5.3
========================================================= */

:root {
  --navy: #1B2559;
  --primary: #5E6ED6;
  --primary-dark: #5E6ED6;
  --teal: #1BD4AF;
  --text-muted: #6B7488;
  --bg-soft: #F5F7FC;
  --footer-bg: #4F5EE8;
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --text-dark: #000000;
}

* {
  scroll-margin-top: 90px;
}

html,
body {
  font-family: "Geologica", sans-serif !important;
  color: var(--navy);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-name {
  font-family: "Geologica", sans-serif;
  color: var(--navy);
  font-weight: 700;
}

a {
  text-decoration: none;
}

.section-py {
  padding: 5.5rem 0;
}

.bg-soft {
  background: var(--bg-soft);
}

.section-title {
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.25rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-text {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 200;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-teal {
  color: var(--teal) !important;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-pill {
  border-radius: 50rem;
  font-weight: 600;
}

/* =========================================================
   Placeholder image blocks
========================================================= */
.img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  background: #EEF1FB;
  border: 2px dashed #C4CAE6;
  border-radius: var(--radius-lg);
  color: #9AA3C4;
  text-align: center;
  font-size: .9rem;
  padding: 1.5rem;
}

.img-ph i {
  font-size: 2rem;
}

.logo-ph {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF1FB;
  border: 2px dashed #C4CAE6;
  border-radius: .6rem;
  color: #9AA3C4;
  font-size: .95rem;
}

.logo-ph-light {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
  color: rgba(255, 255, 255, .7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-sub {
  font-size: .6rem;
  letter-spacing: .08em;
  color: var(--text-muted);
  font-weight: 600;
}

/* =========================================================
   Navbar
========================================================= */
.site-navbar {
  padding: .85rem 0;
  box-shadow: 0 2px 18px rgba(20, 25, 60, .06);
}

.site-navbar .nav-link {
  color: var(--navy);
  font-weight: 600;
  padding: .5rem 1rem;
}

.site-navbar .nav-link:hover {
  color: var(--primary);
}

/* Desktop nav links */
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav-links .menu-item a {
  color: #201c44;
  font-weight: 400;
  font-size: 17px;
}

.site-nav-links .menu-item a:hover {
  color: var(--primary);
}

/* =========================================================
   Mobile menu — centred white panel over a dark scrim.
   912px matches the breakpoint used elsewhere in this file.
========================================================= */
.mobile-menu {
  display: none;
}

@media (max-width: 912px) {
  .site-nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: #f1f1f4;
    padding: 8px 11px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
  }

  /* toggled to block by main.js */
  .mobile-menu-modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, .7);
  }

  /* deliberately NOT called .modal-content — that class belongs to
     Bootstrap and would inherit its flex/border/bg-var rules */
  .mobile-menu-panel {
    position: relative;
    background-color: #fff;
    width: 80%;
    margin: 100px auto;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
  }

  .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    cursor: pointer;
  }

  .mobile-menu-panel .menu-item {
    margin: 15px 0;
  }

  .mobile-menu-panel .menu-item a {
    font-weight: 400;
    font-size: 17px;
  }

  .mobile-menu-panel .menu-item a:not(:last-child) {
    color: #201c44;
  }


}

/* =========================================================
   Hero
========================================================= */
.hero-section {
  padding: 8.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.hero-title span {
  font-weight: 600;
}

.hero-text {
  color: var(--text-dark);
  font-size: 1.3rem;
  line-height: 1.7;
  max-width: 480px;
}

.hero-media {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  position: relative;
  z-index: 2;
  width: 82%;
  height: 82%;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  aspect-ratio: 1/1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.hero-shape-blue {
  width: 34%;
  height: 34%;
  top: -4%;
  right: 14%;
  background: var(--primary);
  opacity: .95;
}

.hero-shape-teal {
  width: 40%;
  height: 40%;
  bottom: -6%;
  right: 6%;
  background: var(--teal);
  opacity: .9;
}

.hero-dashed-ring {
  position: absolute;
  width: 78%;
  height: 78%;
  border: 2px dashed rgba(61, 79, 234, .35);
  border-radius: 50%;
  z-index: 0;
}

/* =========================================================
   About / info cards
========================================================= */
.about-photo {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
}

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #EDEFF7;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 6px 20px rgba(20, 25, 60, .05);
}

.info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.info-title {
  font-size: 1.4rem;
  margin-bottom: .35rem;
  font-weight: 600;
}

.info-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.6;
  font-weight: 200;
}

/* =========================================================
   Phase cards
========================================================= */
.phase-card {
  position: relative;
  /* clips the blurred gradient to the card's rounded bottom corners */
  overflow: hidden;
  background: #fff;
  border: 1px solid #EDEFF7;
  /* dropped so the glow sits flush with the card edge rather than
     leaving a 1px hairline beneath it */
  border-bottom: 0;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(20, 25, 60, .06);
}

/* Soft gradient shadow along the bottom edge — blue on the left → teal
   on the right, blurred so it diffuses upward into the card instead of
   reading as a hard bar. Inset horizontally past the edges so the blur
   doesn't fade out at the corners. */

.phase-card-blue {
  border-bottom: 4px solid var(--primary);
}

.phase-card-teal {
  border-bottom: 4px solid var(--teal);
}

.phase-label {
  display: inline-block;
  color: #3148DD;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: .85rem;
  font-family: "Geologica", sans-serif !important;
}

.phase-title {
  font-size: 1.5rem;
  line-height: 1.35;
  margin-bottom: 1.35rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy);
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.5;
}

.check-list i {
  color: var(--teal);
  font-size: 1.05rem;
}

/* =========================================================
   Timeline
========================================================= */
.timeline-container {
  max-width: 1666px;
}

.timeline-heading {
  max-width: 700px;
  margin-bottom: 7.6rem;
}

.timeline-heading .section-title,
.timeline-heading .section-text,
.figma-timeline {
  font-family: "Geologica", sans-serif;
}

.timeline-heading .section-title {
  color: #201c44;
  font-size: 45px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 1.15rem;
}

.timeline-heading .section-text {
  color: #5c5f6e;
  font-size: 25px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 38px;
}

.figma-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 9.8vw, 11.7rem);
  min-height: 520px;
}

.timeline-phase {
  position: relative;
  height: 520px;
}

.timeline-watermark {
  position: absolute;
  left: 0;
  top: 90px;
  z-index: 0;
  width: 288px;
  color: rgba(0, 0, 0, .1);
  font-family: "Geologica", sans-serif;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 64px;
  text-align: center;
  white-space: nowrap;
}

.timeline-rule {
  position: absolute;
  left: 0;
  right: 0;
  top: 202px;
  height: 2px;
  background: #3148dd;
}

.timeline-event {
  position: absolute;
  z-index: 1;
  width: 416px;
  height: 385px;
  transform: translateX(-50%);
  text-align: center;
}

.timeline-event-1 {
  left: 30%;
}

.timeline-event-2 {
  left: 74%;
}

.timeline-event-bottom {
  top: 184px;
}

.timeline-event-top {
  top: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 37px;
  height: 36px;
  border-radius: 50%;
  background: #3148dd;
  border: 11px solid #3148dd;
  box-shadow: inset 0 0 0 5px #3148dd;
  display: block;
}

.timeline-connector {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100px;
  background: rgba(0, 0, 0, .1);
  display: block;
}

.timeline-copy {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-copy strong {
  color: #201c44;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 64px;
  white-space: nowrap;
}

.timeline-copy span {
  color: #5c5f6e;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 33px;
}

.timeline-event-bottom .timeline-dot {
  top: 0;
}

.timeline-event-bottom .timeline-connector {
  top: 65px;
}

.timeline-event-bottom .timeline-copy {
  top: 166px;
}

.timeline-event-top .timeline-copy {
  top: -90px;
}

.timeline-event-top .timeline-connector {
  top: 65px;
}

.timeline-event-top .timeline-dot {
  top: 184px;
}


.timeline-event-top .timeline-connector::after {
  content: "";
  position: absolute;
  left: -4px;
  top: -10px;
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, .1);
  border-radius: 50%;
}

.timeline-event-bottom .timeline-connector::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 100%;
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, .1);
  border-radius: 50%;
}

@media (max-width: 1199.98px) {
  .figma-timeline {
    gap: 3.5rem;
  }

  .timeline-event {
    width: 320px;
  }

  .timeline-copy strong,
  .timeline-copy span {
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {

  .hero-title,
  .hero-text {
    text-align: center;
  }

  .hero-text {
    font-size: 1.2rem;
    font-weight: 200;
  }

  .phase-title {
    font-size: 1.2rem;
  }

  #phases .row {
    gap: 2rem !important;
  }

  .check-list li {
    font-size: 0.95rem;
  }

  .timeline-container {
    max-width: 430px;
  }

  .timeline-heading {
    text-align: left !important;
    margin-bottom: 3.1rem;
  }

  .timeline-heading .section-title {
    font-size: 38px;
    line-height: 1;
    text-align: left;
  }

  .timeline-heading .section-text {
    font-size: 18px;
    line-height: 26px;
    text-align: left;
  }

  .figma-timeline {
    display: flex;
    flex-direction: column;
    gap: 5.5rem;
    min-height: 0;
  }

  .timeline-phase {
    width: 360px;
    height: 220px;
    margin-inline: auto;
  }

  .timeline-watermark {
    left: -70px;
    top: 80px;
    width: 190px;
    color: rgba(0, 0, 0, .06);
    font-size: 45px;
    line-height: 64px;
    transform: rotate(-90deg);
    transform-origin: center;
  }

  .timeline-rule {
    left: 75px;
    right: auto;
    top: 0;
    width: 2px;
    height: 216px;
  }

  .timeline-event {
    left: 115px;
    width: 276px;
    height: auto;
    min-height: 78px;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .timeline-event-1 {
    top: 36px;
  }

  .timeline-event-2 {
    top: 154px;
  }

  .timeline-event-top,
  .timeline-event-bottom {
    left: 98px;
  }

  .timeline-dot {
    position: absolute;
    transform: none;
    width: 14px;
    height: 14px;
    min-width: 14px;
    border: 0;
    box-shadow: none;
    margin-top: 0;
    left: -29px;
    top: 0 !important;
  }

  .timeline-connector {
    display: none;
  }

  .timeline-copy {
    position: static;
    align-items: flex-start;
    margin: -16px 0 0 19px !important;
  }

  .timeline-copy strong {
    font-size: 20px;
    letter-spacing: 0;
    line-height: 39px;
  }

  .timeline-copy span {
    font-size: 15px;
    font-weight: 200;
    letter-spacing: 0;
    line-height: 21px;
  }

  #how .section-title {
    text-align: center;
  }

  #how .section-text {
    text-align: center;
  }

  #how .row {
    gap: 5rem !important;
  }

  #app .d-flex {
    flex-direction: column;
    align-items: center;
  }

  #app .section-text {
    text-align: center;
  }
}

/* =========================================================
   Process / How it works
========================================================= */
.process-section {
  background: #fff;
}

.process-container {
  max-width: 1666px;
}

.process-heading {
  max-width: 760px;
  margin-bottom: 7.55rem;
}

.process-heading .section-title,
.process-heading .section-text,
.process-row {
  font-family: "Geologica", sans-serif;
}

.process-heading .section-title {
  color: #201c44;
  font-size: 45px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.process-heading .section-text {
  color: #5c5f6e;
  font-size: 25px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 38px;
}

.process-row {
  position: relative;
  align-items: flex-start;
}

.process-col {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.6rem;
}

.process-icon {
  width: 128px;
  height: 128px;
  margin: 0 auto 1.85rem;
  border-radius: 25px 25px 25px 0;
  border-bottom-left-radius: 0;
  background: linear-gradient(135deg, #5e6ed6 0%, #3148dd 48%, #1bd4af 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .16);
}

.process-icon img {
  width: 59px;
  height: 59px;
  display: block;
}

.process-title {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 1.05rem;
}

.process-text {
  color: #423d3d;
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 24px;
  margin: 0 auto;
  max-width: 414px;
}

.process-arrow {
  position: absolute;
  z-index: 0;
  object-fit: fill;
  pointer-events: none;
}

.process-arrow-desktop {
  width: 318px;
  height: 38px;
}

/* the vertical arrow is a mobile-only asset */
.process-arrow-mobile {
  display: none;
}

.process-arrow-one {
  left: calc(33.333% - 150px);
  top: 0;
}

.process-arrow-two {
  left: calc(66.666% - 150px);
  top: 100px;
  transform: scaleY(-1);
}

@media (max-width: 767.98px) {
  .process-container {
    max-width: 430px;
  }

  .process-heading {
    max-width: 390px;
    margin-bottom: 3.8rem;
    text-align: left !important;
  }

  .process-heading .section-title {
    font-size: 38px;
    line-height: 1;
    text-align: left;
  }

  .process-heading .section-text {
    font-size: 18px;
    line-height: 26px;
    text-align: left;
  }

  /* the horizontal arrow is desktop-only; mobile uses its own asset,
     so no rotation hacks are needed here any more */
  .process-arrow-desktop {
    display: none;
  }

  .process-arrow-mobile {
    display: block;
    width: 17%;
    /* height: 223px; */
  }

  .process-arrow-mobile-one {
    top: 23%;
    left: 76%;
    transform: translateX(-50%);
  }

  /* mirrored so the pair reads as one zig-zag down the stack */
  .process-arrow-mobile-two {
    top: 62%;
    left: 13%;
    transform: translateX(-50%) scaleX(-1);
  }

  .process-col {
    padding: 0 1.5rem;
  }

  .process-icon {
    width: 106px;
    height: 107px;
    margin-bottom: 1.45rem;
    border-radius: 21px 21px 21px 0;
  }

  .process-icon img {
    width: 52px;
    height: 52px;
  }

  .process-title {
    font-size: 20px;
    margin-bottom: .8rem;
  }

  .process-text {
    font-size: 14px;
    line-height: 24px;
    max-width: 342px;
  }
}

/* =========================================================
   Feature cards (Why Emblem)
========================================================= */
.feature-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #EDEFF7;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 2.5rem;
  box-shadow: 0 8px 24px rgba(20, 25, 60, .05);
  border-bottom: 7px solid var(--teal);
}

.feature-icon {
  color: var(--teal);
  font-size: 1.80rem;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.feature-title {
  font-size: 1.05rem;
  margin-bottom: .6rem;
}

.feature-text {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   App showcase / roles
========================================================= */
.app-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
}

.role-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #EDEFF7;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(20, 25, 60, .05);
}

.role-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #3148DD;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.role-title {
  font-size: 1.40rem;
  margin-bottom: .35rem;
}

.role-text {
  color: var(--text-muted);
  font-size: 1.0rem;
  margin: 0;
  line-height: 1.6;
  font-weight: 200;
}

/* =========================================================
   FAQ
   (transferred from custom.css)
========================================================= */
#faq {
  padding: 60px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.faq-heading {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a3c;
  margin-bottom: 40px;
}

.faq-item {
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  text-align: left;
}

.faq-question {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(45, 83, 243, 0.08);
  color: #1a1a3c;
  font-size: 17px;
  font-weight: 600;
  padding: 20px 24px;
  margin: 10px 10px 20px 20px;
  width: 95%;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.faq-question i {
  background-color: #6675d7;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  min-width: 28px;
  font-size: 27px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.faq-item.open .faq-question i,
.faq-question i.rotate {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 50px;
  font-size: 16px;
  color: #292929;
  line-height: 1.6;
  text-align: left;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background-color: transparent !important;
  box-shadow: none;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 600px;
  opacity: 1;
}

@media (max-width: 912px) {
  .faq-question {
    width: 93%;
    margin: 10px;
    text-align: left;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 20px;
  }
}

/* ---- FAQ closing CTA ---- */
.communication svg,
.communication i {
  font-size: 55px;
  color: var(--primary);
  margin-top: 60px;
  margin-bottom: 20px;
}

.communication p {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 300;
}

.communication-btn {
  background-color: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 27px;
  font-size: 17px;
  font-weight: 400;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.communication-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  scale: 1.05;
}

.communication-btn a {
  all: unset;
}

/* =========================================================
   Contact / interest form
   (transferred from custom.css)
========================================================= */
.form-section {
  background-color: #fff;
  padding: 60px 20px;
  min-height: 100vh;
}

.form-wrapper {
  max-width: 1270px;
  margin: 0 auto;
  border-radius: 14px;
  background-color: #f8f8f9;
  padding: 40px;
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: #f8f8f9;
  border-radius: 20px;
  padding: 40px;
  gap: 30px;
}

.interest-form {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interest-form h2 {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  color: #1a1a1a;
}

input[type="checkbox"] {
  accent-color: #5d6eea;
}

.interest-form input[type="text"],
.interest-form input[type="tel"],
.interest-form input[type="email"] {
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 25px;
  border: none;
  background-color: #ffffff;
  outline: none;
  width: 100%;
  margin-bottom: 20px;
}

.input-form:focus {
  border-color: #6ba0fb;
  outline: none;
  box-shadow: 0 0 0 4px rgba(164, 194, 244, 0.35);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
  color: #292929;
}

.checkbox-container a {
  color: #2137c4;
  text-decoration: underline;
}

.interest-form button {
  background-color: #5d6eea;
  color: white;
  padding: 14px;
  font-size: 16px;
  width: 100%;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.interest-form button:hover {
  background-color: #2137c4;
  color: #ffff;
}

/* scoped: custom.css applied this to every button/input on the page */
.interest-form button,
.interest-form input {
  margin-top: 3px;
}

.form-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-image img {
  width: 100%;
  max-width: 344px;
  height: auto;
  object-fit: contain;
  margin-bottom: -100px;
}

.consent_checkbox a {
  all: unset;
}

.consent_checkbox:hover a {
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 1000px) and (max-width: 1200px) {
  .form-section {
    min-height: 70vh;
  }
}

@media (min-width: 1182px) and (max-width: 1400px) {
  .form-wrapper {
    max-width: 1140px;
  }
}

@media (min-width: 290px) and (max-width: 380px) {

  .interest-form input[type="text"],
  .interest-form input[type="tel"],
  .interest-form input[type="email"] {
    width: 80%;
  }

  .checkbox-container {
    width: 85%;
    margin-left: 30px;
  }

  .interest-form button {
    width: 80%;
    margin-left: 30px;
  }
}

@media (max-width: 912px) {
  .form-image {
    display: none;
  }

  .form-container {
    padding: 10px;
    padding-left: 0;
    display: flex;
    justify-content: center;
  }

  .communication svg,
  .communication i {
    font-size: 51px;
  }

  .form-section {
    min-height: 80vh;
  }

  .interest-form {
    min-width: 320px;
    padding-left: 10px;
  }

  .interest-form h2 {
    font-size: 27px;
  }

  .consent_checkbox {
    all: unset;
    font-size: 12px;
    text-align: left;
  }

  .consent_checkbox p {
    font-size: 11px;
    margin-top: 2px;
  }
}

/* =========================================================
   Footer
   (transferred from custom.css — base look is inline in the
   markup; these are the responsive overrides)
========================================================= */
@media (max-width: 912px) {
  footer {
    text-align: left !important;
  }

  footer .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  footer .row,
  footer .col-12,
  footer .col-6 {
    text-align: left !important;
  }

  footer .d-flex {
    justify-content: flex-start !important;
  }

  footer a {
    text-align: left;
  }

  footer .social-media-icons {
    text-align: left;
  }

  footer h3 {
    color: white !important;
  }

  .social-icon {
    font-size: 1.5rem;
  }

  .social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
  }

  .me-5.a,
  .me-5.p a {
    color: inherit;
    text-decoration: none;
  }
}

@media (min-width: 600px) and (max-width: 913px) {
  .footer-adress {
    flex-direction: column;
  }
}

footer h3 {
  color: white !important;
}