/* PROJECT STYLE GUIDE */

/*

------------ TYPOGRAPHY STYLES -------------

FONT SIZES:
12px / 16px / 20px / 24px / 32px / 40 / 48px / 62px 

FONT WEIGHTS:
H1 - 700, H2 - 700, H3 - 700, H4 - 700, H5 - 700, P - 400, A - 400

LINE HEIGHTS:
H1 - 1.2, H2 - 1.2, H3 - 1.2, H4 - 1.2, H5 - 1.2, P - 1.5, A - 1.5     

LETTER SPACING:
H1 - -2.0px, H2 - -2.0px, H3 - -2.0px, H4 - -2.0px, H5 - -2.0px, P - 0, A - 0

FONT FAMILY:
Poppins, sans-serif (Headings)
Poppins, sans-serif (Paragraphs & links)    

---------- COLOR PALETTE -----------

PRIMARY COLORS:
Base: #339af0 (Royal blue/Cobalt blue/Sky blue)
Tint: #d0ebff (Light sky blue/Arctic blue)
Shade: #1c7ed6 (Deep blue/Deep sea)

SECONDARY COLORS:
Base: #9775fa (Lavender/Violet/Medium purple)
Tint: e5dbff (Moonlight iris/Lavender blush)
Shade: #7048e8 (Dark violet/Velvet night)

TERTIARY COLORS:
Base: #ff922b (Pumpkin/Bright orange/Coral orange)
Tint: #ffe8cc (Dawn/Peach puff/Light apricot)
Shade: #f76707 (Lava/Tangerine/Deep orange)

NEUTRAL/GRAY COLORS:
Base: #495057 (Slate gray/Gray blue/Charcoal)
Tint: #f1f3f5 (Pebble/Isabelline/Off-white)
Shade: #212529 (Graphite/Eerie black/Charcoal gray)
White: #ffffff (Pure white)
Black: #000000 (Pure black)

---------- BORDER RADIUS -----------

Small: 4px, Medium: 8px, Large: 20px

---------- SPACING SYSTEM -----------

5px / 10px / 15px / 20px / 25px / 30px / 40px / 50px / 60px / 70px / 80px /  
90px / 100px / 125px / 150px / 200px / 250px / 300px / 400px / 500px 

*/

/* ------------------------------------------- GLOBAL STYLE ------------------------------------------- */

/* Add in universal selector later to remove default spacing properties. */
/* When you first create CSS file, your first code is usually the universal section (*). */

:root {
  /* font size */
  --text-sm: 1.2rem;
  --text-base: 1.6rem;
  --text-paragraph: 2.0rem;
  --text-h5: 2.4rem;
  --text-h4: 3.2rem;
  --text-h3: 4.0rem;
  --text-h2: 4.8rem;
  --text-h1: 6.2rem;

  /* font weights */
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* line heights */
  --line-height-normal: 1.5;
  --line-height-tight: 1.2;

  /* letter spacing */
  --letter-spacing-tight: -2.0px;
  /* there's no need to define the variable 0 - not used anywhere in the project  */

  /* font family */
  --font-family-throughout: 'Poppins', sans-serif;

  /* colors */
  --color-primary-base: #339af0;
  --color-primary-tint: #d0ebff;
  --color-primary-shade: #1c7ed6;
  --color-secondary-base: #9775fa;
  --color-secondary-tint: #040405;
  --color-secondary-shade: #7048e8;
  --color-tertiary-base: #ff922b;
  --color-tertiary-tint: #ffe8cc;
  --color-tertiary-shade: #f76707;
  --color-neutral-base: #495057;
  --color-neutral-tint: #f1f3f5;
  --color-neutral-shade: #212529;
  --color-white: #ffffff;
  --color-black: #000000;

  /* MISCELLANEOUS */

  --nav-height: 100px;
  /* update the value in the flexbox topic */


  /* border radius will be controlled from the specific class */

  /* spacing system will be controlled from the specific class */

}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
  /* 10 / 16 = 62.5% on html root*/
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  font-family: var(--font-family-throughout);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-neutral-base);
}


main {
  display: flow-root;
}


.page-wrapper {
  max-width: 1200px;
  /* Leave in pixels */
  width: 90%;
  margin: 0 auto;
  padding-top: 0;
  /* Push page content down */
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  /* Leave in pixels */
  color: var(--color-neutral-shade);
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
}

h5 {
  font-size: var(--text-h5);
}

p {
  font-size: var(--text-paragraph);
}

a {
  text-decoration: none;
  font-size: var(--text-base);
  display: inline-block;
}

a:link,
a:visited,
a:hover,
a:active {
  color: var(--color-neutral-base);
}

ul {
  list-style: none;
}

span {
  display: inline-block;
}

.small-text {
  font-size: var(--text-sm);
}

/* ------------------------------------------- COMPONENTS ------------------------------------------- */

/* Shared base for all buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  /* match Register’s proportions */
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Filled primary */
.btn-primary {
  background-color: var(--color-primary-base);
  color: var(--color-white);
  border: 2px solid var(--color-primary-base);
}

/* Outline primary */
.btn-primary-outline {
  background-color: var(--color-white);
  color: var(--color-primary-base);
  border: 2px solid var(--color-primary-base);
}

.btn-primary:link,
.btn-primary:visited {
  color: var(--color-white);
  background-color: var(--color-primary-base);
  border: 2px solid var(--color-primary-base);
  /* Leave in pixels */
  transition: 0.5s;
}

.btn-primary:hover,
.btn-primary:active {
  color: var(--color-white);
  background-color: var(--color-primary-shade);
  border: 2px solid var(--color-primary-shade);
  /* Leave in pixels */
  transform: scale(1.05, 1.05);
  box-shadow: 0px 3px 6px var(--color-neutral-base);
}

.btn-primary-outline:link,
.btn-primary-outline:visited {
  color: var(--color-primary-base);
  background-color: var(--color-white);
  border: 2px solid var(--color-primary-base);
  /* Leave in pixels */
  transition: 0.5s;
}

.btn-primary-outline:hover,
.btn-primary-outline:active {
  color: var(--color-primary-shade);
  background-color: var(--color-white);
  border: 2px solid var(--color-primary-shade);
  /* Leave in pixels */
  transform: scale(1.05, 1.05);
  box-shadow: 0px 3px 6px var(--color-neutral-base);
}

.btn-secondary:link,
.btn-secondary:visited {
  color: var(--color-white);
  background-color: var(--color-secondary-base);
  border: 2px solid var(--color-secondary-base);
  /* Leave in pixels */
  transition: 0.5s;
}

.btn-secondary:hover,
.btn-secondary:active {
  color: var(--color-white);
  background-color: var(--color-secondary-shade);
  border: 2px solid var(--color-secondary-shade);
  /* Leave in pixels */
  transform: scale(1.05, 1.05);
  box-shadow: 0px 3px 6px var(--color-neutral-base);
}

/* .btn-secondary-outline:link, .btn-secondary-outline:visited {
    color: var(--color-secondary-base);
    background-color: var(--color-white);
    border: 2px solid #9775fa;  
}

.btn-secondary-outline:hover, .btn-secondary-outline:active {
    color: #7048e8;
    background-color: ffffff;
    border: 2px solid #7048e8;      
} */

.highlight {
  background-color: var(--color-white);
  padding: 0.5rem 1.0rem;
  border-radius: 4px;
  /* Leave in pixels */
}

.highlight-primary {
  background-color: var(--color-primary-base);
}

.highlight-secondary {
  background-color: var(--color-secondary-base);
}

.highlight-tertiary {
  background-color: var(--color-tertiary-base);
}

.logo-md {
  width: 200px;
  /* Leave in pixels */
}

.logo-sm {
  width: 120px;
  /* Leave in pixels */
}

/* Floating Home/Up button
   - Replaces chat-container
   - Fixed bottom-right circle for quick re-anchor
   - Scrolls to top (#top) or homepage
   - Includes arrow + "Home" text for clarity */

.home-container {
  height: 7rem;
  width: 7rem;
  background-color: var(--color-primary-tint);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  /* arrow above text */
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  /* place in the vertical middle */
  right: 2rem;
  /* keep it on the right side */
  transform: translateY(-50%);
  /* offset by half its height */
  text-decoration: none;
  color: var(--color-primary-base);
  font-weight: var(--font-weight-bold);
  transition: color 0.3s ease;
  z-index: 999;
}

.home-container:hover,
.home-container:focus-visible {
  /* transform: scale(01.03); */
  /* box-shadow: 0px 3px 6px var(--color-neutral-base); */
  outline: none;
}

.home-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.home-text {
  font-size: 0.9rem;
  line-height: 1;
}

/* .beta {
    position: relative;
} */

/* Pseudo element */
/* .beta::after {
    content: 'beta';
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.2rem;
    background-color: var(--color-tertiary-base);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--color-white);
    transform: translate(70%, -30%);
} */

/* ------------------------------------------- SECTIONS ------------------------------------------- */

/* --------------- NAVBAR --------------- */

/* Overall navbar box */
.dv2-navbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* 3-column grid aligned perfectly with page-wrapper */
.dv2-navbar-inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  /* <-- center identity vertically relative to logo */
  padding: 0.75rem 0;


  display: grid;
  grid-template-columns: 160px 1fr 160px;
  /* perfect centering */
  align-items: baseline;
  /* <-- this fixes the “identity is lower than logo” problem */
  padding: 0.75rem 0.5rem;
}

/* LOGO */
.dv2-nav-left img {
  height: 50px;
  /* <-- PERFECT SIZE for narrow navbar */
  width: auto;
}

/* IDENTITY TEXT */
.dv2-nav-center {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-neutral-shade);
  opacity: 0.9;
  line-height: 1;
  /* keep it aligned to logo baseline */
  white-space: nowrap;
  transform: translateY(-10px);
}

/* BALANCER */
.dv2-nav-right {
  /* empty on purpose */
}


/* MODERN HERO SECTION — FINAL STABLE VERSION */
/* NEW MODERN HERO SECTION */

.hero-section-modern {
  padding: 6rem 2rem 0rem;
  display: flow-root;
  /* keep this */
  margin-bottom: 2rem;
  background: linear-gradient(to bottom right,
      var(--color-neutral-tint),
      var(--color-white));
  border-bottom: none;
}

.hero-section-modern>* {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ⭐ FIX: Make hero vertically stable at all breakpoints */
.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Main text */
.hero-content {
  text-align: center;
  max-width: 100%;
}

.hero-title {
  font-size: var(--text-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-shade);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title .hero-title-highlight {
  display: inline-block;
  width: auto;
  max-width: max-content;
  margin-bottom: 0.5rem;
  padding: 0.1em 0.2em;
  border-radius: 4px;
  background-color: var(--color-secondary-base);
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: var(--text-paragraph);
  color: var(--color-neutral-base);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-cta-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  /* larger tap target */
  background-color: var(--color-primary-base);
  /* color: var(--color-white) !important; */
  text-decoration: none;
  border-radius: 6px;
  /* font-size: 1.2rem;     more legible */
  font-weight: var(--font-weight-bold);
  transition: 0.25s ease;
}

.hero-content .hero-cta-btn {
  color: var(--color-white);
}

.hero-cta-btn:hover {
  background-color: var(--color-primary-shade);
}

/* Hero service tiles grid */
.hero-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.8rem;
  width: 100%;
  max-width: 100%;
}

.hero-service-card {
  background: var(--color-white);
  border: 1px solid var(--color-neutral-tint);
  padding: 2rem 1rem;
  border-radius: 12px;
  text-align: center;
  transition: 0.25s ease;
  cursor: pointer;
  min-width: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hero-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.hero-card-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-card-text {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-neutral-shade);
}

/* Teaser text — initially hidden but space is reserved */
.hero-card-teaser {
  font-size: 1.2rem;
  color: var(--color-neutral-base);
  margin-top: 0.35rem;
  margin-bottom: 0.2rem;
  min-height: 1.2em;
  display: block;
  /* Smooth reveal */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  pointer-events: none;
  text-align: center;
}

/* Reveal on hover AND keyboard focus */
.hero-service-card:hover .hero-card-teaser,
.hero-service-card:focus-within .hero-card-teaser {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

/* New wrapper: stable layout that can’t collapse or shift with hero’s reflow */
.hero-stack {
  display: flow-root;
  /* prevents collapse */
  padding-top: 1rem;
  /* padding-bottom: 2rem;            */
  margin-bottom: 20rem;
  /* section spacing (consistent at all sizes) */
}

/* Divider line: stays at a fixed place, independent of hero’s internal height */

.hero-divider {
  width: min(90%, 1200px);
  height: 1px;
  background: var(--color-neutral-base);
  margin: 0 auto;
}

/* <-- --------------------- ACCOUNT ACCESS --------------------- --> */
.hero-auth-actions {
  /* spacing above buttons */
  padding: 0;
  /* spacing below before next section */
  display: flex;
  gap: 1rem;
  justify-content: center;
  /* center | flex-start | flex-end */
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin: 0;
  /* no collapsing margins */
  padding-top: 1.5rem;
  /* stable spacing above buttons */

}

/* --------------- FEATURES SECTION --------------- */

/* --------------------- DV2 FEATURES --------------------- */

.dv2-features {
  padding: 8rem 2rem 0rem;
  /* NO top padding */
  margin-bottom: 20rem;
  /* section spacing */
  background: #ffffff;
  text-align: center;
}

.dv2-features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.dv2-features-title {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-bold);
  margin-bottom: 6rem;
  color: var(--color-neutral-shade);
}

.dv2-features-title .features-title-highlight {
  display: inline-block;
  width: auto;
  max-width: max-content;
  margin-bottom: 0.5rem;
  padding: 0.1em 0.2em;
  border-radius: 4px;
  background-color: var(--color-tertiary-base);
}

/* Grid layout */
.dv2-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
}

/* Feature card */
.dv2-feature-card {
  padding: 3rem 2rem;
  background: #f7f9fb;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
  overflow: visible;
  /* ensure icon can render normally */
}

/* Icon styling */
.dv2-feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  opacity: 0.95;
  position: relative;
  z-index: 5;
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

/* Text */
.dv2-feature-card h3 {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.dv2-feature-card p {
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  color: var(--color-neutral-shade-dark);
}

/* ---------------------- DV2 CTA ---------------------- */

.dv2-cta-section {
  margin-bottom: 20rem;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
}

.dv2-cta-card {
  background-color: var(--color-primary-base);
  color: white;
  max-width: 950px;
  width: 100%;
  padding: 6rem 5rem;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.dv2-cta-heading {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-bold);
  margin: 0;
}

.dv2-cta-text {
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  max-width: 42rem;
  margin: 0 auto;
}

.dv2-cta-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Outline primary */
.btn-primary-dv2-outline {
  background-color: var(--color-white);
  color: var(--color-primary-base);
  border: 2px solid var(--color-primary-base);
}

.btn-primary-dv2-outline:link,
.btn-primary-dv2-outline:visited {
  color: var(--color-primary-base);
  background-color: var(--color-white);
  border: 2px solid var(--color-primary-base);
  /* Leave in pixels */
  transition: 0.5s;
}

.btn-primary-dv2-outline:hover,
.btn-primary-dv2-outline:active {
  color: var(--color-primary-shade);
  background-color: var(--color-white);
  border: 2px solid var(--color-primary-shade);
  /* Leave in pixels */
  transform: scale(1.05, 1.05);
  box-shadow: 0px 3px 6px var(--color-neutral-base);
}

/* ------------------------------------------------------ */
/* CTA Secondary: inverse outline (Contact us)            */
/* ------------------------------------------------------ */
.btn-inverse-outline-dv2 {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  transition: 0.5s;
}


.btn-inverse-outline-dv2:link,
.btn-inverse-outline-dv2:visited {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  transition: 0.5s;
}

/* Hover + Active states (mirrors your button system) */
.btn-inverse-outline-dv2:hover,
.btn-inverse-outline-dv2:active {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  transform: scale(1.05, 1.05);
  box-shadow: 0px 3px 6px var(--color-neutral-base);
}

/* -------------------- DV2 ABOUT PREVIEW -------------------- */

.dv2-about-preview {
  padding: 8rem 2rem;
  margin-bottom: 20rem;
  background: #ffffff;
  text-align: center;
}

.dv2-about-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.dv2-about-title {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-shade);
}

.dv2-about-text {
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  color: var(--color-neutral-shade-dark);
  max-width: 90%;
  margin: 0 auto;
}

.dv2-about-text .about-text-highlight {
  display: inline-block;
  width: auto;
  max-width: max-content;
  margin-bottom: 0.5rem;
  padding: 0.1em 0.2em;
  border-radius: 4px;
  background-color: var(--color-tertiary-base);
}


.dv2-about-btn {
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
  border-radius: 8px;
  align-self: center;
}

/* ------------------ dv2 About Hero ------------------ */

.dv2-about-hero {
  padding: 8rem 2rem 6rem;
  background: #f7f9fb;
  text-align: center;
  margin-bottom: 20rem;
}

.dv2-about-hero-inner {
  max-width: 850px;
  margin: 0 auto;
}

.dv2-about-hero h1 {
  font-size: var(--text-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-shade);
  margin-bottom: 1.5rem;
}

.dv2-about-hero p {
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  color: var(--color-neutral-shade-dark);
  max-width: 48rem;
  margin: 0 auto;
}

/* --------------- SERVICES  --------------- */

/* -------------------- DV2 SERVICES (FINAL, CONSISTENT) -------------------- */

.dv2-services {
  padding: 0;
  margin-bottom: 20rem;
  /* matches About and Guidelines sections */
}

.dv2-services-inner {
  max-width: 1350px;
  margin: 0 auto;
  text-align: center;
}

/* H2 — identical to About main section heading */
.dv2-services-title {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-bold);
  margin-bottom: 4rem;
  text-align: center;
  color: var(--color-neutral-shade);
}

/* Subtitle — matches the larger About H2 paragraph text */
.dv2-services-subtitle {
  max-width: 90%rem;
  /* same as your About paragraphs */
  margin: 0 auto 10rem;
  /* same vertical spacing */
  font-size: var(--text-paragraph);
  /* FIX: bigger paragraph scale */
  line-height: var(--line-height-relaxed);
  /* FIX: correct About spacing */
  color: var(--color-neutral-shade-dark);
}

.dv2-services-subtitle .services-subtitle-highlight {
  display: inline-block;
  width: auto;
  max-width: max-content;
  margin-bottom: 0.5rem;
  padding: 0.1em 0.2em;
  border-radius: 4px;
  background-color: var(--color-tertiary-base);
}

/* Grid — identical rhythm to About + Guidelines */
.dv2-services-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5rem;
  row-gap: 15rem;
  justify-items: center;
  align-items: stretch;
}

/* Card — styled like About cards but more neutral */
.dv2-service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  /* KEY: makes card match tallest sibling */
  background: #f7f9fc;
  padding: 4rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 42rem;
  gap: 2rem;
  /* Subtle base shadow off by default */
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  /* Keep transitions tiny and elegant */
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
  /* optional; see prefers-reduced-motion below */
}

.dv2-services-card-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.5rem
}

/* H3 — identical to About h3 */
.dv2-service-card h3 {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  color: var(--color-neutral-shade-dark);
}

/* P — identical to About main paragraphs (NOT card paragraphs) */
.dv2-service-card p {

  font-size: var(--text-paragraph);
  /* the missing piece */
  line-height: var(--line-height-normal);
  /* FIX: same breathing room */
  color: var(--color-neutral-shade-dark);
  max-width: 42rem;
  /* matches About */
}


/* Keyboard focus remains visible; do not hide outlines */
.dv2-service-card:focus-within,
.dv2-service-card:focus {
  outline: 2px solid var(--color-tertiary-base);
  outline-offset: 3px;
  /* Avoid combining focus with transform to prevent motion during tabbing */
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.08);
}


/* --------------------- DV2 GUIDELINES --------------------- */

.dv2-guidelines {
  padding: 8rem 2rem;
  margin-bottom: 20rem;
  background: #ffffff;
  text-align: center;
}

.dv2-guidelines-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section title */
.dv2-guidelines-title {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-bold);
  margin-bottom: 2rem;
  color: var(--color-neutral-shade);
}

.dv2-guidelines-subtitle {
  max-width: 90%;
  margin: 0 auto 6rem;
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  color: var(--color-neutral-shade-dark);
}

.dv2-guidelines-subtitle .guidelines-subtitle-highlight {
  display: inline-block;
  width: auto;
  max-width: max-content;
  margin-bottom: 0.5rem;
  padding: 0.1em 0.2em;
  border-radius: 4px;
  background-color: var(--color-tertiary-base);
}

/* Grid layout */
.dv2-guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
}

/* Card */
.dv2-guideline-card {
  padding: 3rem 2rem;
  background: #f7f9fb;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  text-align: center;
  /* <-- KEY FIX */
}

/* Icon */
.dv2-guideline-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* Heading & text */
.dv2-guideline-card h3 {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.dv2-guideline-card p {
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  color: var(--color-neutral-shade-dark);
}

/* Ensure headings and paragraphs are centered */
.dv2-guideline-card h3,
.dv2-guideline-card p {
  text-align: center;
  /* Reinforce center alignment */
}

/* --------------- CONTACT US SECTION --------------- */

.contact {
  padding: 8rem 2rem;
  background-color: var(--color-neutral-tint);
  font-family: var(--font-family-throughout);
  margin-bottom: 20rem;
}

/* .contact .container {
  max-width: 800px;
  margin: 0 auto;
} */

/* Heading + Intro */
/* .contact h2 {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-neutral-shade);
  letter-spacing: var(--letter-spacing-tight);
} */

.contact p {
  font-size: var(--text-paragraph);
  line-height: var(--line-height-normal);
  text-align: left;
  margin-bottom: 3rem;
  color: var(--color-neutral-base);
}

/* Form Layout (Contact-specific) */
.contact-form {
  display: grid;
  gap: 2rem;
}

/* --------------- SHARED FORM ELEMENTS --------------- */

/* Shared form container */
.form-container {
  max-width: 850px;
  /* MATCH dv2 ABOUT PREVIEW + CTA */
  margin: 0 auto;
  /* center horizontally */
  padding: 4rem 3rem;
  /* add breathing room */
  background: #f7f9fb;
  /* subtle dv2 soft grey */
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  /* dv2 card shadow */
}


.form-container h2 {
  text-align: center;
  font-size: var(--text-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-shade);
  margin-bottom: 1.5rem;
}


.form-container p {
  text-align: center;
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  max-width: 42rem;
  margin: 0 auto 3rem;
  color: var(--color-neutral-shade-dark);
}

.contact h2,
.register h2,
.login h2 {
  font-size: var(--text-h1);
  /* bump up to match others */
  line-height: var(--line-height-normal);
  margin-bottom: 2rem;
}

/* Name fields wrapper */
.form-name {
  display: flex;
  gap: 1rem;
}

.form-name .form-group {
  flex: 1;
  /* ensures equal width */
}

.form-select-province {
  width: 100%;
  padding: 0.5rem;
}

/* Country field */
.country-field {
  display: none;
  /* hidden by default */
  margin-top: 10px;
}

.country-field label {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-shade);
}

.country-field input {
  font-size: var(--text-base);
  padding: 1rem;
  border: 1px solid var(--color-neutral-base);
  border-radius: 6px;
  background-color: var(--color-white);
  color: var(--color-neutral-shade);
}

.country-field input:focus {
  outline: none;
  border-color: var(--color-primary-base);
  box-shadow: 0 0 0 3px var(--color-primary-tint);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* margin-bottom: 1rem; */
}

.form-group label {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-shade);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  padding: 1rem;
  border: 1px solid var(--color-neutral-base);
  border-radius: 6px;
  background-color: var(--color-white);
  color: var(--color-neutral-shade);
  /* Explicit cursor alignment fixes */
  text-align: left;
  text-indent: 0;
  direction: ltr;
  box-sizing: border-box;
}

small {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 0.85em;
}

.form-group textarea::placeholder {
  text-align: left;
}

.form-group textarea {
  text-align: left;
  text-indent: 0;
  padding-left: 1rem;
  /* matches other inputs */
  width: 100%;
  box-sizing: border-box;
}

.form-group textarea::placeholder {
  text-align: left;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-base);
  box-shadow: 0 0 0 3px var(--color-primary-tint);
}

.form-submit-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Shared Button */
.btn-primary {
  display: inline-block;
  background-color: var(--color-primary-base);
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  padding: 1rem 2rem;
  /* match Login’s padding */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  gap: 1rem;
}

.btn-primary:hover {
  background-color: var(--color-primary-shade);
}

.dv2-inline-login-link {
  color: var(--color-primary-base);          /* your primary blue */
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.inline-login-link:hover {
  color: var(--color-primary-base);
  text-decoration-thickness: 2px;
}

/* ------------------ DV2 CASE STUDIES ------------------ */

.dv2-case-studies {
  padding: 6rem 2rem;
  margin-bottom: 20rem;
}

.dv2-case-title {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-neutral-shade);
}

.dv2-case-subtitle {
  max-width: 90%;
  margin: 0 auto 6rem;
  text-align: center;
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  color: var(--color-neutral-base);
}

.dv2-case-highlight {
  background-color: var(--color-tertiary-base);
  padding: 0.1em 0.2em;
  border-radius: 4px;
}

/* GRID: Clean SaaS 3‑column → 2‑column → 1‑column */
.dv2-case-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Case card */
.dv2-case-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.8rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.25s ease;
}

.dv2-case-card h3 {
  font-size: var(--text-h3);
  margin-bottom: 0.5rem;
  color: var(--color-neutral-shade-dark);
}

.dv2-case-summary {
  font-size: var(--text-paragraph);
  color: var(--color-neutral-shade-dark);
  line-height: var(--line-height-normal);
}

/* Toggle buttons */
.dv2-case-toggle {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  background: var(--color-tertiary-base);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.dv2-case-toggle:hover {
  opacity: 0.8;
}

/* Rich-content block spacing + smooth reveal */
.dv2-case-hidden {
  padding-top: 0;
  /* collapsed */
  border-top: 0;
  /* collapsed */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    opacity 0.30s ease,
    padding-top 0.30s ease,
    border-top-color 0.30s ease;
}

/* visible state */
.dv2-case-card.open .dv2-case-hidden {
  max-height: 5000px;
  /* safe upper bound */
  opacity: 1;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.dv2-case-card.open .dv2-case-toggle:not(.dv2-case-close) {
  display: none;
}

.dv2-case-close {
  margin-top: 1rem;
  background: var(--color-neutral-shade);
}

/* ---------------------------------------------------------
   BASE HIDE: legacy only (do NOT include dv2 here)
--------------------------------------------------------- */
.case-hidden {
  display: none !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding-top: 0;
  border-top: 0;
}

/* -----------------------------
      LEGACY: visible states (either)
      ----------------------------- */
.case-details[data-expanded="true"] .case-hidden,
.case-hidden.visible {
  display: block !important;
  max-height: 500px;
  /* or a large enough value */
  opacity: 1;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ----------------------------------------------------------
   dv2 Case Studies — Buttons / Interactive Elements
   ---------------------------------------------------------- */

/* Base clickable style */
.dv2-case-toggle,
.dv2-case-close,
.dv2-case-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  background: var(--color-tertiary-base);
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

/* Focus ring (keyboard accessibility) */
.dv2-case-toggle:focus-visible,
.dv2-case-close:focus-visible,
.dv2-case-back:focus-visible {
  outline: 2px solid var(--color-primary-base);
  outline-offset: 3px;
}

/* Return / Back link variant (secondary style) */
.dv2-case-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  background: var(--color-neutral-tint);
  color: var(--color-neutral-shade);
  text-decoration: none;
  border: 1px solid var(--color-neutral-shade);
  cursor: pointer;
}

/* Subtle icon-like chevron if desired */
.dv2-case-toggle::after {
  content: " ›";
  font-weight: 600;
  opacity: 0.8;
}

.dv2-case-close::before,
.dv2-case-back::before {
  content: "‹ ";
  font-weight: 600;
  opacity: 0.8;
}

/* card->grid */
/* When expanded — stretch across whole grid */
.dv2-case-card.open {
  grid-column: 1 / -1;
  padding: 3rem 4rem;
  /* more space for real content */
  background: #ffffff;
  /* essential for rich content sections */
}

/* Expanded content layout */
.dv2-case-hidden h4 {
  font-size: var(--text-h3);
  margin-bottom: 1rem;
  color: var(--color-neutral-shade);
}

.dv2-case-hidden p {
  font-size: var(--text-paragraph);
  line-height: var(--line-height-relaxed);
  max-width: 80ch;
  /* readability for long text */
  margin-bottom: 1.5rem;
}

/* ----------------- dv2 FOOTER ----------------- */

.dv2-footer {
  background: #f7f9fb;
  padding: 5rem 2rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 12rem;
}

/* Logo */
.dv2-footer-logo img {
  height: 50px;
  opacity: 0.95;
}

/* Company summary */
.dv2-footer-summary {
  max-width: 90%;
  margin: 0 auto;
  font-size: var(--text-paragraph);
  color: var(--color-neutral-shade-dark);
  opacity: 0.85;
  line-height: var(--line-height-relaxed);
}

/* Quick links */
.dv2-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.dv2-footer-links a {
  text-decoration: none;
  color: var(--color-neutral-shade);
  font-size: var(--text-paragraph);
}

.dv2-footer-links a:hover {
  text-decoration: underline;
}

/* Social icons (reusing your icons) */
.dv2-footer-social {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
  padding: 0;
}

.dv2-footer-social img {
  height: 26px;
  opacity: 0.85;
}

.dv2-footer-social img:hover {
  opacity: 1;
}

/* Corporate stripe */
.dv2-footer-corp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.dv2-corp-text p {
  margin: 0.2rem 0;
  font-size: var(--text-sm);
  opacity: 0.85;
}


/* ------------------------------------------------------ */
/* Footer social media         */
/* ------------------------------------------------------ */
.dv2-social-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.dv2-footer-social a {
  color: var(--color-neutral-tint);
  transition: color 0.2s ease;
}

.dv2-footer-social a:hover {
  color: var(--color-neutral-tint);
}

.dv2-footer-social img {
  width: 24px;
  height: 24px;
}

.dv2-footer-social svg {
  font-size: initial;
  width: 24px;
  height: 24px;
  display: block;
  background: var(--color-neutral-shade);
}

.dv2-footer-social svg path {
  fill: var(--color-neutral-tint);
  opacity: 1.0;
}

/* Hover state */
.dv2-footer-social a:hover svg path {
  fill: var(--color-primary-base);
  opacity: 0.6;
}

/* ------------------------------------------------------ */
/* Footer meta: copyright + revision (single row)         */
/* ------------------------------------------------------ */
.dv2-footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-size: var(--text-sm);
  color: var(--color-neutral-base);
}

/* Remove default paragraph spacing */
.dv2-footer-meta p {
  margin: 0;
}

/* Separator between items */
.dv2-footer-meta p+p::before {
  content: "•";
  margin-right: 1.2rem;
  color: var(--color-neutral-base);
}

/* ------------------------------------------------------ */
/* Footer faith pillar                                   */
/* ------------------------------------------------------ */
.dv2-footer-faith {
  position: relative;
  margin-top: 3rem;
  padding-top: 1rem;
  padding-bottom: 1rem;

  background-color: var(--color-primary-base);
  text-align: center;
}

/* Subtle divider above faith pillar */
.dv2-footer-faith::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
}

/* Faith text styling */
.dv2-footer-faith p {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 600;
  /* semibold */
  color: var(--color-white);
  line-height: 1.6;
  opacity: 0.95;
}

.status-container {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

