/* =========================================================
   PAGES.CSS - INNER PAGE STANDARD
   Quality & Dominance
   Font Standard: Inter Only
========================================================= */

:root {
   --qd-navy: #0B2240;
   --qd-navy-dark: #07182E;
   --qd-gold: #C8A464;
   --qd-gold-dark: #9C6B21;
   --qd-slate: #3F4A57;
   --qd-muted: #6B7480;
   --qd-light: #F7F9FC;
   --qd-border: #E5EAF0;
   --qd-white: #FFFFFF;
}

/* =========================================================
   BASE INNER PAGE TYPOGRAPHY
========================================================= */

.page-wrapper,
.page-content {
   font-family: 'Inter Regular', Arial, sans-serif;
   color: var(--qd-slate);
   background: var(--qd-white);
}

.page-wrapper p,
.page-content p,
.page-wrapper li,
.page-content li {
   font-family: 'Inter Regular', Arial, sans-serif;
   font-size: 17px;
   line-height: 1.75;
   color: var(--qd-slate);
}

.page-wrapper strong,
.page-content strong {
   font-family: 'Inter Bold', Arial, sans-serif;
   color: var(--qd-navy);
}

/* =========================================================
   PAGE HERO
   Important: Do NOT style plain header tag here.
========================================================= */

.page-hero {
   position: relative;
   min-height: 520px;
   display: flex;
   padding-top: 80px;
   align-items: center;
   justify-content: center;
   text-align: center;
   overflow: hidden;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}

.page-hero::before {
   content: "";
   position: absolute;
   inset: 0;
   background: rgba(11, 34, 64, 0.7);
   z-index: 1;
}

.page-hero > .container,
.page-hero > div {
   position: relative;
   z-index: 2;
}

.page-hero.about-hero {
   background-image: url('../../images/pages/about-us.jpg');
}

.page-eyebrow,
.eyebrow {
   display: inline-block;
   margin-bottom: 12px;
   font-family: 'Inter SemiBold', Arial, sans-serif;
   font-size: 15px;
   line-height: 1.4;
   letter-spacing: 0.14em;
   text-transform: uppercase;
   color: var(--qd-gold);
}

.page-title {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 55px;
   line-height: 1.02;
   letter-spacing: -0.04em;
   color: var(--qd-white);
   margin: 0 0 20px;
}

.page-title.longT {
   font-size: clamp(38px, 5vw, 64px);
}

.header-section {
   margin: 0 auto 20px;
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(30px, 4vw, 54px);
   line-height: 1.15;
   color: var(--qd-white);
}
.form-main-heading{}
.page-content p.page-hero-text {
   max-width: 920px;
   margin: 0 auto;
   font-family: 'Inter Regular', Arial, sans-serif;
   font-size: 18px;
   line-height: 1.8;
   color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   GLOBAL INNER PAGE SECTIONS
========================================================= */

.section-spacing,
.page-content section:not(.page-hero) {
   padding: 50px 0;
}

.section-heading {
   max-width: 1100px;
   margin: 0 auto 30px;
}

.section-heading.text-center,
.text-center {
   text-align: center;
}

.section-heading h2,
.page-wrapper h2,
.page-content h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 35px;
   line-height: 1.18;
   color: var(--qd-navy);
   margin: 0 0 18px;
}
.header-section{color: var(--qd-cream) !important;}

.section-heading h3,
.page-wrapper h3,
.page-content h3 {
   font-family: 'Inter Bold', Arial, sans-serif;
   font-size: clamp(23px, 2.5vw, 30px);
   line-height: 1.25;
   color: var(--qd-navy);
   margin: 0 0 14px;
}

.section-heading p {
   font-size: 18px;
   line-height: 1.85;
   color: var(--qd-slate);
   margin: 0;
}

.bg-white {
   background: var(--qd-white);
}

/* =========================================================
   BUTTONS
========================================================= */


.btn-secondary-qd,
.btn-brand-medium {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 54px;
   padding: 0 30px;
   font-family: 'Inter SemiBold', Arial, sans-serif;
   font-size: 15px;
   line-height: 1;
   text-decoration: none !important;
   border-radius: 0;
   transition: all 0.3s ease;
}

.btn-brand-medium,
.btn-gold {
   background: var(--qd-gold);
   color: var(--qd-navy) !important;
   border: 1px solid var(--qd-gold);
}

.btn-brand-medium:hover,
.btn-gold:hover {
   background: var(--qd-white);
   color: var(--qd-navy) !important;
   border-color: var(--qd-white);
   transform: translateY(-2px);
}

.btn-secondary-qd {
   background: transparent;
   color: var(--qd-white) !important;
   border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary-qd:hover {
   background: rgba(255, 255, 255, 0.12);
   color: var(--qd-white) !important;
}

/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page {
   background: var(--qd-white);
}

.about-page .about-trust-strip {
   background: var(--qd-navy);
   padding: 28px 0;
}

.about-page .about-trust-strip p {
   max-width: 1100px;
   margin: 0 auto;
   text-align: center;
   font-size: 16px;
   line-height: 1.75;
   color: rgba(255,255,255,0.84);
}

.about-page .about-two-col,
.about-page .about-founder-grid,
.about-page .about-model-wrapper,
.about-page .about-expertise-grid,
.about-page .about-values-grid,
.about-page .founder-proof-grid,
.about-page .about-cta-grid {
   display: grid;
   gap: 28px;
}

.about-page .about-two-col {
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page .about-founder-grid {
   grid-template-columns: 420px 1fr;
   gap: 70px;
   align-items: center;
}

.about-page .about-model-wrapper {
   grid-template-columns: 1.15fr .85fr;
   gap: 40px;
   align-items: start;
}

.about-page .about-expertise-grid {
   grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-page .about-values-grid {
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page .about-cta-grid {
   grid-template-columns: 1fr auto;
   align-items: center;
   gap: 45px;
}

.about-page .about-content-card,
.about-page .about-value-card {
   padding: 38px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 14px 34px rgba(11,34,64,0.055);
}

.about-page .about-content-card h3,
.about-page .about-value-card h3 {
   font-family: 'Inter Bold', Arial, sans-serif;
   font-size: 26px;
   line-height: 1.25;
   color: var(--qd-navy);
   margin-bottom: 14px;
}

.about-page .about-content-card p,
.about-page .about-value-card p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.8;
   color: var(--qd-slate);
}

.about-page .about-founder-section,
.about-page .about-closing-cta {
   background: var(--qd-light);
}
.about-page .about-founder-image {
   width: 100%;
   max-width: 420px;
   margin: 0 auto;
}

.about-page .about-founder-image img {
   width: 100%;
   height: auto;
   display: block;
   object-fit: contain;
   object-position: center top;
   box-shadow: 0 28px 55px rgba(11,34,64,0.13);
}

.about-page .about-founder-content h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(34px, 4vw, 54px);
   line-height: 1.18;
   color: var(--qd-navy);
   margin-bottom: 22px;
}

.about-page .about-founder-content p {
   font-size: 18px;
   line-height: 1.85;
   color: var(--qd-slate);
   margin-bottom: 16px;
}

.about-page .founder-proof-grid {
   grid-template-columns: repeat(3, minmax(0, 1fr));
   margin-top: 32px;
}

.about-page .founder-proof-grid div {
   padding: 24px;
   background: var(--qd-white);
   border-left: 4px solid var(--qd-gold);
   box-shadow: 0 10px 26px rgba(11,34,64,0.05);
}

.about-page .founder-proof-grid strong {
   display: block;
   margin-bottom: 9px;
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 31px;
   line-height: 1;
   color: var(--qd-navy);
}

.about-page .founder-proof-grid span {
   display: block;
   font-size: 14px;
   line-height: 1.55;
   color: var(--qd-muted);
}

/* Curated Team Model */
.about-page .about-model-main {
   padding: 42px;
   background: var(--qd-navy);
   color: var(--qd-white);
}

.about-page .about-model-main h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 32px;
   line-height: 1.25;
   color: var(--qd-white);
   margin-bottom: 18px;
}

.about-page .about-model-main p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.85;
   color: rgba(255,255,255,0.82);
}

.about-page .about-model-list {
   display: grid;
   gap: 16px;
}

.about-page .about-model-list div {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 19px 22px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   font-family: 'Inter SemiBold', Arial, sans-serif;
   color: var(--qd-navy);
   box-shadow: 0 10px 26px rgba(11,34,64,0.045);
}

.about-page .about-model-list svg {
   flex: 0 0 auto;
   width: 22px;
   height: 22px;
   color: var(--qd-gold);
}

/* Dark Expertise Section */
.about-page .about-dark-section {
   background: var(--qd-navy);
}

.about-page .about-dark-section .eyebrow {
   color: var(--qd-gold);
}

.about-page .about-dark-section .section-heading h2,
.about-page .about-dark-section h2,
.about-page .about-dark-section h3 {
   color: var(--qd-white);
}

.about-page .about-dark-section .section-heading p,
.about-page .about-dark-section p {
   color: rgba(255,255,255,0.76);
}

.about-page .about-expertise-card {
   padding: 38px;
   background: rgba(255,255,255,0.055);
   border: 1px solid rgba(255,255,255,0.12);
}

.about-page .about-expertise-card h3 {
   font-family: 'Inter Bold', Arial, sans-serif;
   font-size: 25px;
   color: var(--qd-white);
   margin-bottom: 14px;
}

.about-page .about-expertise-card p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.8;
   color: rgba(255,255,255,0.74);
}

.about-page .about-value-card svg {
   width: 36px;
   height: 36px;
   color: var(--qd-gold);
   margin-bottom: 20px;
}

.about-page .about-cta-grid h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(34px, 4vw, 52px);
   line-height: 1.18;
   color: var(--qd-navy);
   margin-bottom: 16px;
}

.about-page .about-cta-grid p {
   margin-bottom: 0;
   font-size: 18px;
   line-height: 1.8;
   color: var(--qd-slate);
}

.about-page .about-closing-cta .btn-secondary-qd {
   color: var(--qd-navy) !important;
   border-color: var(--qd-navy);
}

.about-page .about-closing-cta .btn-secondary-qd:hover {
   background: var(--qd-navy);
   color: var(--qd-white) !important;
}

.about-page .about-role-card {
   margin-top: 30px;
   padding: 32px;
   background: var(--qd-white);
   border-left: 4px solid var(--qd-gold);
   box-shadow: 0 14px 34px rgba(11,34,64,0.07);
}

.about-page .about-role-card h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 24px;
   color: var(--qd-navy);
   margin-bottom: 12px;
}

.about-page .about-role-card p {
   margin-bottom: 0;
}

.about-page .about-timeline-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 28px;
}

.about-page .about-timeline-card {
   position: relative;
   padding: 42px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 14px 34px rgba(11,34,64,0.055);
}

.about-page .about-timeline-card::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 4px;
   background: var(--qd-gold);
}

.about-page .about-timeline-card span {
   display: block;
   margin-bottom: 18px;
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 34px;
   line-height: 1;
   color: var(--qd-gold);
}

.about-page .about-timeline-card p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.8;
   color: var(--qd-slate);
}

.about-page .about-expertise-tags {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 16px;
   max-width: 1100px;
   margin: 0 auto;
}

.about-page .about-expertise-tags span {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 16px 24px;
   background: rgba(255,255,255,0.065);
   border: 1px solid rgba(255,255,255,0.14);
   font-family: 'Inter SemiBold', Arial, sans-serif;
   font-size: 15px;
   line-height: 1.4;
   color: var(--qd-white);
   min-height: 54px;
}

.about-page .about-model-main .eyebrow {
   color: var(--qd-gold);
}

.about-page .about-cta-actions {
   display: flex;
   align-items: center;
   gap: 14px;
   flex-wrap: wrap;
}

@media (max-width: 991px) {
   .about-page .about-timeline-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 767px) {
   .about-page .about-role-card,
   .about-page .about-timeline-card {
      padding: 26px;
   }

   .about-page .about-expertise-tags {
      justify-content: flex-start;
   }

   .about-page .about-expertise-tags span {
      width: 100%;
      justify-content: flex-start;
   }
}

.about-qd-exists-section {
   background: var(--qd-navy);
}

.about-qd-exists-box {
   max-width: 1050px;
   margin: 0 auto;
   padding: 54px 60px;
   background: rgba(255,255,255,0.045);
   border: 1px solid rgba(255,255,255,0.08);
   text-align: center;
}

.about-qd-exists-box .eyebrow {
   color: var(--qd-gold);
}

.about-qd-exists-box h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(30px, 3vw, 42px);
   line-height: 1.2;
   color: var(--qd-white);
   margin-bottom: 22px;
}
.about-qd-exists-box p {
   max-width: 900px;
   margin: 0 auto 16px;
   font-size: 17px;
   line-height: 1.75;
   color: rgba(255,255,255,0.8);
}

.about-qd-exists-actions {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 18px;
   margin-top: 40px;
   flex-wrap: wrap;
}
.about-mission-section {
   background: var(--qd-light);
}

.about-mission-section .section-heading {
   max-width: 980px;
}
.about-qd-exists-actions .btn-secondary-qd:hover {
   background: rgba(255,255,255,0.1);
}

@media (max-width: 767px) {

   .about-qd-exists-box {
      padding: 36px 26px;
      text-align: left;
   }

   .about-qd-exists-actions {
      flex-direction: column;
      align-items: stretch;
   }

}
.about-founder-text-only .about-founder-content-full {
    max-width: 1100px;
    margin: 0 auto;
}

.about-founder-text-only .about-role-card {
    margin-top: 32px;
}
/* =========================================================
   SIMPLE PAGE / POLICY / CARD SUPPORT
========================================================= */

.btm-pg-title {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(32px, 4vw, 50px);
   line-height: 1.18;
   color: var(--qd-navy);
   margin-bottom: 16px;
}

.btm-pg-text {
   max-width: 760px;
   margin: 0 auto 28px;
   font-size: 18px;
   line-height: 1.75;
   color: var(--qd-slate);
}

.service-card,
.benefit-card,
.consultation-card {
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 12px 32px rgba(11,34,64,0.05);
   transition: all 0.3s ease;
}

.service-card:hover,
.benefit-card:hover,
.consultation-card:hover {
   border-color: var(--qd-gold);
   box-shadow: 0 18px 42px rgba(11,34,64,0.08);
   transform: translateY(-5px);
}

.policy-container {
   max-width: 900px;
   margin: 0 auto;
   padding: 80px 24px;
}

.policy-section {
   margin-bottom: 42px;
}

.policy-section h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 32px;
   color: var(--qd-navy);
   border-bottom: 1px solid var(--qd-border);
   padding-bottom: 12px;
   margin-bottom: 18px;
}

.policy-section h3 {
   font-family: 'Inter SemiBold', Arial, sans-serif;
   font-size: 14px;
   color: var(--qd-gold);
   text-transform: uppercase;
   letter-spacing: 0.12em;
}

.last-updated {
   color: var(--qd-gold);
   font-family: 'Inter SemiBold', Arial, sans-serif;
}

/* =========================================================
   FORMS
========================================================= */

.form-main-container {
   font-family: 'Inter Regular', Arial, sans-serif;
}

.form-main-container label,
.form-main-container .form-label {
   font-family: 'Inter SemiBold', Arial, sans-serif;
   color: var(--qd-navy);
}

.form-main-container input,
.form-main-container select,
.form-main-container textarea {
   font-family: 'Inter Regular', Arial, sans-serif;
   font-size: 16px;
   color: var(--qd-slate);
}

/* =========================================================
   UTILITIES
========================================================= */

.core-values,
.page-intro-text {
   text-decoration: none !important;
   text-underline-offset: 0 !important;
}

.gold-line,
.gold-divider {
   background-color: var(--qd-gold);
}

.gold-border {
   border-left: 4px solid var(--qd-gold);
}

.accent-text {
   color: var(--qd-gold);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
   .about-page .about-founder-grid,
   .about-page .about-model-wrapper,
   .about-page .about-cta-grid {
      grid-template-columns: 1fr;
      gap: 40px;
   }

   .about-page .about-founder-image img {
      height: auto;
      max-height: none;
   }

   .about-page .about-founder-image {
      max-width: 520px;
   }
   .page-hero {
     min-height: 720px;
     padding-top: 300px;
     padding-bottom: 90px;
     align-items: flex-start;
  }

}

@media (max-width: 991px) {
   .section-spacing,
   .page-content section:not(.page-hero) {
      padding: 65px 0;
   }
   .about-page .about-two-col,
   .about-page .about-expertise-grid,
   .about-page .about-values-grid,
   .about-page .founder-proof-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 767px) {
   .page-title {
      font-size: 42px;
   }

   .header-section {
      font-size: 28px;
   }

   .page-hero-text,
   .section-heading p,
   .about-page .about-founder-content p,
   .about-page .about-cta-grid p,
   .page-wrapper p,
   .page-content p,
   .page-wrapper li,
   .page-content li {
      font-size: 16px;
      line-height: 1.7;
   }

   .section-spacing,
   .page-content section:not(.page-hero) {
      padding: 55px 0;
   }

   .about-page .about-content-card,
   .about-page .about-expertise-card,
   .about-page .about-value-card,
   .about-page .about-model-main {
      padding: 28px;
   }

   .page-hero-actions,
   .about-cta-actions {
      flex-direction: column;
      align-items: stretch;
   }

   .btn-primary-qd,
   .btn-secondary-qd,
   .btm-pg-btn,
   .cta-button,
   .btn-brand-medium,
   .btn-gold {
      width: 100%;
   }

   .about-page .about-founder-image {
      max-width: 100%;
   }

   .page-hero {
      min-height: 550px;
       padding-top: 140px;
       padding-bottom: 70px;
  }
}
.about-page .about-operational-note {
   max-width: 980px;
   margin: 48px auto 0;
   padding: 38px 42px;
   background: rgba(255,255,255,0.065);
   border: 1px solid rgba(255,255,255,0.12);
   text-align: center;
}

.about-page .about-operational-note h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 28px;
   color: var(--qd-white);
   margin-bottom: 14px;
}

.about-page .about-operational-note p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.85;
   color: rgba(255,255,255,0.78);
}

@media (max-width: 767px) {
   .about-page .about-operational-note {
      padding: 28px;
      text-align: left;
   }
}

/* =========================================================
   SERVICES PAGE
========================================================= */

.services-hero {
   background-image: url('../../images/pages/services.jpg');
}

.services-page {
   background: var(--qd-white);
}

.services-light-section,
.services-cta-section {
   background: var(--qd-light);
}

.services-dark-section {
   background: var(--qd-navy);
}

.services-dark-section .eyebrow {
   color: var(--qd-gold);
}

.services-dark-section .section-heading h2,
.services-dark-section .section-heading p {
   color: var(--qd-white);
}

.services-track-grid,
.services-grid,
.services-model-grid {
   display: grid;
   gap: 28px;
}

.services-track-grid {
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid {
   grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-model-grid {
   grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-track-card,
.service-card-q,
.services-model-card {
   padding: 38px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 14px 34px rgba(11,34,64,0.055);
   transition: all 0.3s ease;
}

.service-track-card:hover,
.service-card-q:hover,
.services-model-card:hover {
   transform: translateY(-5px);
   border-color: var(--qd-gold);
   box-shadow: 0 18px 42px rgba(11,34,64,0.09);
}

.service-track-card i,
.service-card-q i,
.services-model-card i {
   width: 36px;
   height: 36px;
   color: var(--qd-gold);
   margin-bottom: 22px;
}

.service-track-card h3,
.service-card-q h3,
.services-model-card h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 25px;
   line-height: 1.25;
   color: var(--qd-navy);
   margin-bottom: 14px;
}

.service-track-card p,
.service-card-q p,
.services-model-card p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.8;
   color: var(--qd-slate);
}

.service-card-q.dark {
   background: rgba(255,255,255,0.055);
   border: 1px solid rgba(255,255,255,0.12);
   box-shadow: none;
}

.service-card-q.dark h3 {
   color: var(--qd-white);
}

.service-card-q.dark p {
   color: rgba(255,255,255,0.76);
}

.service-card-q.dark i {
   color: var(--qd-gold);
}

.services-cta-section .about-cta-grid h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(34px, 4vw, 50px);
   line-height: 1.18;
   color: var(--qd-navy);
   margin-bottom: 16px;
}

.services-cta-section .about-cta-grid p {
   margin-bottom: 0;
   font-size: 18px;
   line-height: 1.8;
   color: var(--qd-slate);
}

.services-cta-section .btn-secondary-qd {
   color: var(--qd-navy) !important;
   border-color: var(--qd-navy);
}

.services-cta-section .btn-secondary-qd:hover {
   background: var(--qd-navy);
   color: var(--qd-white) !important;
}

@media (max-width: 991px) {
   .services-track-grid,
   .services-grid,
   .services-model-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 767px) {
   .service-track-card,
   .service-card-q,
   .services-model-card {
      padding: 28px;
   }
}
/* =========================================================
   INDUSTRIES PAGE
========================================================= */

.industries-hero {
   background-image: url('../../images/pages/industries.jpg');
}

.industries-page {
   background: var(--qd-white);
}

.industries-grid-section,
.industries-cta-section {
   background: var(--qd-light);
}

.industries-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 30px;
}

.industry-card {
   position: relative;
   display: flex;
   flex-direction: column;
   min-height: 100%;
   padding: 38px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 14px 34px rgba(11,34,64,0.055);
   text-decoration: none !important;
   transition: all 0.3s ease;
}

.industry-card::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 4px;
   background: var(--qd-gold);
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.3s ease;
}

.industry-card:hover {
   transform: translateY(-6px);
   border-color: rgba(200,164,100,0.55);
   box-shadow: 0 22px 48px rgba(11,34,64,0.11);
}

.industry-card:hover::before {
   transform: scaleX(1);
}

.industry-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 24px;
}

.industry-icon img {
   object-fit: contain;
   display: block;
}

.industry-card h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 24px;
   line-height: 1.25;
   color: var(--qd-navy);
   margin-bottom: 14px;
   text-align: center;
}

.industry-card p {
   flex: 1;
   text-align: center;
   font-size: 16.5px;
   line-height: 1.75;
   color: var(--qd-slate);
   margin-bottom: 26px;
}

.industry-link {
   display: inline-flex;
   align-items: center;
   margin-top: auto;
   font-family: 'Inter SemiBold', Arial, sans-serif;
   font-size: 14px;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   color: var(--qd-gold);
   text-align: right;
}

.industry-link::after {
   content: "→";
   margin-left: 8px;
   transition: transform 0.3s ease;
}

.industry-card:hover .industry-link::after {
   transform: translateX(4px);
}

.industries-dark-section {
   background: var(--qd-navy);
}

.industries-dark-section .eyebrow {
   color: var(--qd-gold);
}

.industries-dark-section .section-heading h2 {
   color: var(--qd-white);
}

.industries-dark-section .section-heading p {
   color: rgba(255,255,255,0.78);
}

.industries-cta-section .about-cta-grid h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(34px, 4vw, 52px);
   line-height: 1.18;
   color: var(--qd-navy);
   margin-bottom: 16px;
}

.industries-cta-section .about-cta-grid p {
   font-size: 18px;
   line-height: 1.8;
   color: var(--qd-slate);
   margin-bottom: 0;
}

@media (max-width: 991px) {
   .industries-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

@media (max-width: 767px) {
   .industries-grid {
      grid-template-columns: 1fr;
   }

   .industry-card {
      padding: 28px;
   }

   .industry-icon {
      width: 58px;
      height: 58px;
   }

   .industry-icon img {
      width: 34px;
      height: 34px;
   }
}

/* =========================================================
   PRIVACY / POLICY PAGE
========================================================= */

.privacy-hero {
   background-image: url('../../images/pages/privacy-policy.png');
}

.policy-page {
   background: var(--qd-white);
}

.policy-container {
   max-width: 920px;
   margin: 0 auto;
   padding: 85px 24px;
}

.policy-intro {
   margin-bottom: 48px;
   padding-bottom: 34px;
   border-bottom: 1px solid var(--qd-border);
}

.policy-intro p {
   margin-top: 18px;
   font-size: 18px;
   line-height: 1.85;
   color: var(--qd-slate);
}

.last-updated {
   display: inline-block;
   font-family: 'Inter SemiBold', Arial, sans-serif;
   font-size: 13px;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   color: var(--qd-gold);
}

.policy-section {
   margin-bottom: 46px;
   padding: 0 !important;
}

.policy-section h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(26px, 3vw, 34px);
   line-height: 1.2;
   color: var(--qd-navy);
   margin-bottom: 18px;
}

.policy-section p {
   font-size: 17px;
   line-height: 1.85;
   color: var(--qd-slate);
   margin-bottom: 18px;
}

.policy-section ul {
   margin: 18px 0 0;
   padding-left: 22px;
}

.policy-section li {
   margin-bottom: 12px;
   font-size: 17px;
   line-height: 1.75;
   color: var(--qd-slate);
}

.policy-section strong {
   font-family: 'Inter Bold', Arial, sans-serif;
   color: var(--qd-navy);
}

.policy-contact-card {
   margin-top: 24px;
   padding: 30px;
   background: var(--qd-light);
   border-left: 4px solid var(--qd-gold);
}

.policy-contact-card h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 22px;
   color: var(--qd-navy);
   margin-bottom: 8px;
}

.policy-contact-card p {
   margin-bottom: 0;
}

.policy-contact-card a {
   font-family: 'Inter SemiBold', Arial, sans-serif;
   color: var(--qd-gold);
   text-decoration: none;
}

.policy-contact-card a:hover {
   color: var(--qd-navy);
}

@media (max-width: 767px) {
   .policy-container {
      padding: 60px 20px;
   }

   .policy-intro p,
   .policy-section p,
   .policy-section li {
      font-size: 16px;
      line-height: 1.75;
   }

   .policy-contact-card {
      padding: 24px;
   }
}
/* =========================================================
   Q&D PATHWAYS PAGE
========================================================= */

.pathways-hero {
   background-image: url('../../images/pages/qd-pathways.jpg');
   background-position: top;
}

.pathways-page {
   background: var(--qd-white);
}
.membership-teaser {
   font-size: 14px;
   line-height: 1.6;
   color: #ffffff;
   font-weight: 600;
   margin: 8px 0 12px;
}

.pathways-grid,
.pathways-list-grid,
.pathways-process-grid {
   display: grid;
   gap: 28px;
}

.pathways-grid {
   grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pathways-process-grid {
   grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pathways-card,
.pathways-process-card {
   padding: 38px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 14px 34px rgba(11,34,64,0.055);
}

.pathways-card i {
   width: 36px;
   height: 36px;
   color: var(--qd-gold);
   margin-bottom: 22px;
}

.pathways-card h3,
.pathways-process-card h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 25px;
   color: var(--qd-navy);
   margin-bottom: 14px;
}

.pathways-card p,
.pathways-process-card p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.8;
   color: var(--qd-slate);
}

.pathways-dark-section {
   background: var(--qd-navy);
}

.pathways-dark-section .section-heading h2 {
   color: var(--qd-white);
}

.pathways-dark-section .section-heading p {
   color: rgba(255,255,255,0.78);
}

.pathways-list-grid {
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pathways-list-grid div {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 20px 24px;
   background: rgba(255,255,255,0.055);
   border: 1px solid rgba(255,255,255,0.12);
   font-family: 'Inter SemiBold', Arial, sans-serif;
   color: var(--qd-white);
}

.pathways-list-grid svg {
   width: 22px;
   height: 22px;
   color: var(--qd-gold);
}

.pathways-process-card span {
   display: block;
   margin-bottom: 18px;
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 34px;
   color: var(--qd-gold);
}

.pathways-form-section {
   background: var(--qd-light);
}

@media (max-width: 991px) {
   .pathways-grid,
   .pathways-process-grid,
   .pathways-list-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 767px) {
   .pathways-card,
   .pathways-process-card {
      padding: 28px;
   }
}

.pathways-products-section {
    background: #f4f1ea;
}

.pathways-product-grid,
.pathways-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.pathways-product-card,
.pathways-service-card,
.pathways-membership-card {
    background: #fff;
    border: 1px solid rgba(11, 34, 64, 0.10);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(11, 34, 64, 0.08);
}

.pathways-product-card {
    position: relative;
}

.pathways-product-card.featured {
    border: 2px solid #b8862a;
    transform: translateY(-10px);
}

.popular-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #b8862a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pathways-product-card h3,
.pathways-service-card h3,
.pathways-membership-card h3 {
    color: #0b2240;
    font-weight: 800;
    margin-bottom: 14px;
}

.pathways-product-price {
    color: #b8862a;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
}

.pathways-product-card p,
.pathways-service-card p,
.pathways-membership-card p {
    color: #3f4a57;
    line-height: 1.7;
}

.pathways-membership-card {
    margin-top: 32px;
    background: #0b2240;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.pathways-membership-card h3,
.pathways-membership-card p {
    color: #fff;
}

.membership-eyebrow {
    display: block;
    color: #b8862a;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 12px;
}

.membership-price-box {
    min-width: 180px;
    text-align: right;
}

.membership-price-box strong {
    display: block;
    color: #fff;
    font-size: 30px;
    margin-bottom: 18px;
}

.pathways-service-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pathways-service-card span {
    display: block;
    color: #b8862a;
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 14px;
}

@media (max-width: 991px) {
    .pathways-product-grid,
    .pathways-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pathways-membership-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .membership-price-box {
        text-align: left;
    }
}

@media (max-width: 575px) {
    .pathways-product-grid,
    .pathways-service-grid {
        grid-template-columns: 1fr;
    }

    .pathways-product-card.featured {
        transform: none;
    }
}
.pathways-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pathways-product-card p {
    margin-bottom: 28px;
}

.pathways-product-card .btm-pg-btn {
    margin-top: auto;
    width: 224px;
    text-align: center;
}
.pathways-products-section {
    background: #f4f1ea;
}

.pathways-products-heading {
    max-width: 980px;
    margin: 0 auto 45px;
}

.pathways-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pathways-product-card {
    background: #fff;
    border: 1px solid rgba(11, 34, 64, 0.10);
    border-radius: 18px;
    padding: 28px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 18px 45px rgba(11, 34, 64, 0.08);
}

.pathways-product-card.featured {
    border: 2px solid #b8862a;
}

.pathways-product-card h3 {
    color: #0b2240;
    font-size: 25px;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 18px;
}

.pathways-product-price {
    color: #b8862a;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 18px;
}

.pathways-product-card p {
    color: #3f4a57;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.pathways-product-card .btm-pg-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.popular-badge {
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #b8862a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pathways-membership-card {
    margin-top: 32px;
    background: #0b2240;
    border-radius: 18px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 35px;
    align-items: center;
    box-shadow: 0 18px 45px rgba(11, 34, 64, 0.18);
}

.membership-eyebrow {
    display: block;
    color: #b8862a;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 12px;
}

.pathways-membership-card h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.pathways-membership-card p,
.membership-benefits li {
    color: rgba(255,255,255,.86);
    font-size: 15px;
    line-height: 1.7;
}

.membership-benefits {
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    list-style: none;
}

.membership-benefits li::before {
    content: "✓";
    color: #b8862a;
    font-weight: 900;
    margin-right: 8px;
}

.membership-price-box {
    text-align: right;
}

.membership-price-box strong {
    display: block;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 18px;
}

.membership-price-box .btm-pg-btn {
    width: 100%;
    text-align: center;
}

.pathways-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 45px;
}

.pathways-service-card {
    background: #fff;
    border: 1px solid rgba(11, 34, 64, 0.10);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    box-shadow: 0 18px 45px rgba(11, 34, 64, 0.08);
}

.pathways-service-card span {
    color: #b8862a;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.pathways-service-card h3 {
    color: #0b2240;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 18px;
}

.pathways-service-card p {
    color: #3f4a57;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.pathways-service-card .btm-pg-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

@media (max-width: 1199px) {
    .pathways-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .pathways-service-grid {
        grid-template-columns: 1fr;
    }

    .pathways-service-card {
        min-height: auto;
    }

    .pathways-membership-card {
        grid-template-columns: 1fr;
    }

    .membership-price-box {
        text-align: left;
    }

    .membership-price-box .btm-pg-btn {
        max-width: 220px;
    }
}

@media (max-width: 575px) {
    .pathways-product-grid {
        grid-template-columns: 1fr;
    }

    .pathways-product-card {
        min-height: auto;
    }

    .membership-benefits {
        grid-template-columns: 1fr;
    }
}
.pathways-product-card {
   display: flex;
   flex-direction: column;
   height: 100%;
}

.pathways-product-content {
   flex: 1;
}

.pathways-card-actions {
   margin-top: auto;
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.pathways-card-actions .btm-pg-btn,
.pathways-details-btn {
   width: 100%;
   text-align: center;
}

.pathways-details-btn {
   border: 1px solid #b8862a;
   background: transparent;
   color: #b8862a;
   padding: 14px 18px;
   border-radius: 999px;
   font-weight: 800;
   font-size: 14px;
   line-height: 1.2;
   cursor: pointer;
   transition: 0.25s ease;
}

.pathways-details-btn:hover {
   background: #b8862a;
   color: #fff;
}

.pathways-modal-overlay {
   position: fixed;
   inset: 0;
   z-index: 99999;
   background: rgba(11, 34, 64, 0.72);
   display: none;
   align-items: center;
   justify-content: center;
   padding: 24px;
}

.pathways-modal-overlay.active {
   display: flex;
}

.pathways-modal {
   width: 100%;
   max-width: 760px;
   max-height: 82vh;
   overflow-y: auto;
   background: #fff;
   border-radius: 22px;
   padding: 42px;
   position: relative;
   box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.pathways-modal h3 {
   color: #0b2240;
   font-size: 30px;
   line-height: 1.2;
   font-weight: 800;
   margin-bottom: 18px;
   padding-right: 35px;
}

.pathways-modal-content p {
   color: #3f4a57;
   font-size: 16px;
   line-height: 1.8;
   margin: 0;
}

.pathways-modal-close {
   position: absolute;
   top: 18px;
   right: 22px;
   width: 36px;
   height: 36px;
   border: none;
   background: transparent;
   color: #0b2240;
   font-size: 36px;
   line-height: 1;
   cursor: pointer;
}

body.pathways-modal-open {
   overflow: hidden;
}

@media (max-width: 575px) {
   .pathways-modal {
      padding: 32px 24px;
      border-radius: 18px;
   }

   .pathways-modal h3 {
      font-size: 24px;
   }
}
/* =========================================================
   CAREERS PAGE
========================================================= */

.careers-hero {
   background-image: url('../../images/pages/careers.jpg');
}

.careers-page {
   background: var(--qd-white);
}

.careers-light-section {
   background: var(--qd-light);
}

.careers-dark-section {
   background: var(--qd-navy);
}

.careers-values-grid,
.careers-opportunity-grid,
.careers-list-grid {
   display: grid;
   gap: 28px;
}

.careers-values-grid,
.careers-opportunity-grid {
   grid-template-columns: repeat(3, minmax(0, 1fr));
}

.careers-value-card,
.career-card-q {
   padding: 38px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 14px 34px rgba(11,34,64,0.055);
}

.careers-value-card i {
   width: 36px;
   height: 36px;
   color: var(--qd-gold);
   margin-bottom: 22px;
}

.careers-value-card h3,
.career-card-q h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 25px;
   color: var(--qd-navy);
   margin-bottom: 14px;
}

.careers-value-card p,
.career-card-q p {
   font-size: 17px;
   line-height: 1.8;
   color: var(--qd-slate);
   margin-bottom: 0;
}

.career-card-top {
   display: flex;
   justify-content: space-between;
   gap: 16px;
   margin-bottom: 14px;
}

.career-card-top span {
   flex-shrink: 0;
   height: fit-content;
   padding: 7px 10px;
   background: rgba(184,134,42,0.12);
   color: var(--qd-gold);
   font-family: 'Inter SemiBold', Arial, sans-serif;
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: 0.08em;
}

.career-meta {
   margin-top: 22px;
   font-family: 'Inter SemiBold', Arial, sans-serif;
   font-size: 13px;
   color: var(--qd-gold);
   text-transform: uppercase;
   letter-spacing: 0.08em;
}

.careers-dark-section .section-heading h2 {
   color: var(--qd-white);
}

.careers-dark-section .section-heading p {
   color: rgba(255,255,255,0.78);
}

.careers-list-grid {
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

.careers-list-grid div {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 20px 24px;
   background: rgba(255,255,255,0.055);
   border: 1px solid rgba(255,255,255,0.12);
   font-family: 'Inter SemiBold', Arial, sans-serif;
   color: var(--qd-white);
}

.careers-list-grid svg {
   width: 22px;
   height: 22px;
   color: var(--qd-gold);
}

@media (max-width: 991px) {
   .careers-values-grid,
   .careers-opportunity-grid,
   .careers-list-grid {
      grid-template-columns: 1fr;
   }

   .career-card-top {
      flex-direction: column;
   }
}

@media (max-width: 767px) {
   .careers-value-card,
   .career-card-q {
      padding: 28px;
   }
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-hero {
   background-image: url('../../images/pages/contact-us.jpg');
}

.contact-page {
   background: var(--qd-white);
}

.contact-intro-section {
   padding: 75px 0 35px;
}

.contact-infohead {
   max-width: 1080px;
   margin: 0 auto;
   padding: 44px;
   background: var(--qd-light);
   border: 1px solid var(--qd-border);
}

.contact-infohead h2 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: clamp(32px, 4vw, 48px);
   line-height: 1.15;
   color: var(--qd-navy);
   margin-bottom: 18px;
}

.contact-infohead p {
   max-width: 840px;
   font-size: 17px;
   line-height: 1.8;
   color: var(--qd-slate);
   margin-bottom: 28px;
}

.contact-info-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 18px;
}

.contact-info-card {
   padding: 24px;
   background: var(--qd-white);
   border-left: 4px solid var(--qd-gold);
   box-shadow: 0 10px 26px rgba(11,34,64,0.05);
}

.contact-info-card strong {
   display: block;
   margin-bottom: 8px;
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   color: var(--qd-navy);
}

.contact-info-card a {
   font-family: 'Inter SemiBold', Arial, sans-serif;
   color: var(--qd-gold);
   text-decoration: none;
   word-break: break-word;
}

.contact-info-card a:hover {
   color: var(--qd-navy);
}

@media (max-width: 991px) {
   .contact-info-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 767px) {
   .contact-intro-section {
      padding: 55px 0 25px;
   }

   .contact-infohead {
      padding: 28px;
   }
}

/* =========================================================
   BOOK CONSULTATION PAGE
========================================================= */

.book-consultation-hero {
   background-image: url('../../images/pages/book-a-consultation.png');
}

.book-consultation-page {
   background: var(--qd-white);
}

.book-intro-section {
   padding: 80px 0 45px;
   background: var(--qd-white);
}

.book-process-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 28px;
}

.book-process-card {
   padding: 38px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 14px 34px rgba(11,34,64,0.055);
}

.book-process-card span {
   display: block;
   margin-bottom: 18px;
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 34px;
   line-height: 1;
   color: var(--qd-gold);
}

.book-process-card h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 25px;
   color: var(--qd-navy);
   margin-bottom: 14px;
}

.book-process-card p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.8;
   color: var(--qd-slate);
}

@media (max-width: 991px) {
   .book-process-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 767px) {
   .book-intro-section {
      padding: 55px 0 30px;
   }

   .book-process-card {
      padding: 28px;
   }
}

/* =========================================================
   SET AN APPOINTMENT PAGE
========================================================= */

.appointment-hero {
   background-image: url('../../images/pages/set-an-appointment.jpg');
}

.appointment-page {
   background: var(--qd-white);
}

.appointment-intro-section {
   padding: 80px 0 45px;
   background: var(--qd-white);
}

.appointment-info-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 28px;
}

.appointment-info-card {
   padding: 38px;
   background: var(--qd-white);
   border: 1px solid var(--qd-border);
   box-shadow: 0 14px 34px rgba(11,34,64,0.055);
}

.appointment-info-card span {
   display: block;
   margin-bottom: 18px;
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 34px;
   line-height: 1;
   color: var(--qd-gold);
}

.appointment-info-card h3 {
   font-family: 'Inter ExtraBold', Arial, sans-serif;
   font-size: 25px;
   color: var(--qd-navy);
   margin-bottom: 14px;
}

.appointment-info-card p {
   margin-bottom: 0;
   font-size: 17px;
   line-height: 1.8;
   color: var(--qd-slate);
}

@media (max-width: 991px) {
   .appointment-info-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 767px) {
   .appointment-intro-section {
      padding: 55px 0 30px;
   }

   .appointment-info-card {
      padding: 28px;
   }
}
/* =========================================
   QD FORM SYSTEM
========================================= */

.qd-form-card{
   max-width: 1200px;
   margin: 50px auto;
   background: #ffffff;
   padding: 60px;
   border-radius: 28px;
   border: 1px solid rgba(11,34,64,.08);
   box-shadow: 0 24px 70px rgba(11,34,64,.08);
}

.qd-form-header{
   margin-bottom: 45px;
   padding-bottom: 28px;
   border-bottom: 1px solid rgba(11,34,64,.08);
}

.qd-form-kicker{
   display: inline-block;
   color: var(--qd-gold);
   text-transform: uppercase;
   letter-spacing: .14em;
   font-size: 12px;
   font-family: 'Inter Bold';
   margin-bottom: 14px;
}

.qd-form-header h2{
   font-size: 54px;
   line-height: 1.05;
   color: var(--qd-navy);
   margin-bottom: 18px;
}

.qd-form-header p{
   max-width: 780px;
   color: var(--qd-slate);
   font-size: 17px;
   line-height: 1.85;
}

.qd-form-card label{
   display: block;
   margin-bottom: 10px;
   color: var(--qd-navy);
   font-family: 'Inter Bold';
   font-size: 15px;
}

.qd-form-card input,
.qd-form-card textarea,
.qd-form-card select{
   width: 100%;
   border: 1px solid rgba(11,34,64,.16);
   background: #f8fafc;
   border-radius: 16px;
   padding: 18px 20px;
   font-size: 16px;
   transition: all .25s ease;
   box-shadow: none;
}

.qd-form-card textarea{
   min-height: 180px;
   resize: vertical;
}

.qd-form-card input:focus,
.qd-form-card textarea:focus,
.qd-form-card select:focus{
   border-color: var(--qd-gold);
   background: #ffffff;
   outline: none;
   box-shadow: 0 0 0 4px rgba(184,134,42,.12);
}

.qd-form-card ::placeholder{
   color: #8b98a7;
}

.qd-form-submit-wrap{
   margin-top: 40px;
}

.qd-form-submit-btn{
   min-width: 260px;
   padding: 18px 34px;
   background: var(--qd-navy);
   border: 1px solid var(--qd-gold);
   border-radius: 14px;
   color: #ffffff;
   font-family: 'Inter Bold';
   text-transform: uppercase;
   letter-spacing: .08em;
   transition: all .3s ease;
}

.qd-form-submit-btn:hover{
   background: var(--qd-gold);
   color: var(--qd-navy);
}

@media(max-width:767px){

   .qd-form-card{
      padding: 32px 22px;
      border-radius: 22px;
   }

   .qd-form-header h2{
      font-size: 36px;
   }

   .qd-form-submit-btn{
      width: 100%;
   }
}

/* =========================================
   REFERRAL FORM IMPROVEMENTS
========================================= */

.qd-form-card{
   max-width: 1200px;
   margin: 50px auto;
   background: #ffffff;
   padding: 60px;
   border-radius: 28px;
   border: 1px solid rgba(11,34,64,.08);
   box-shadow: 0 24px 70px rgba(11,34,64,.08);
}

.qd-form-header{
   margin-bottom: 45px;
   padding-bottom: 28px;
   border-bottom: 1px solid rgba(11,34,64,.08);
}

.qd-form-kicker{
   display: inline-block;
   color: var(--qd-gold);
   text-transform: uppercase;
   letter-spacing: .14em;
   font-size: 12px;
   font-family: 'Inter Bold';
   margin-bottom: 14px;
}

.qd-form-header h2{
   font-size: 52px;
   line-height: 1.05;
   color: var(--qd-navy);
   margin-bottom: 18px;
}

.qd-form-header p{
   color: var(--qd-slate);
   font-size: 17px;
   line-height: 1.85;
   max-width: 780px;
}

.qd-form-card label{
   display: block;
   margin-bottom: 10px;
   color: var(--qd-navy);
   font-family: 'Inter Bold';
   font-size: 15px;
}

.qd-form-card input,
.qd-form-card textarea,
.qd-form-card select{
   width: 100%;
   border: 1px solid rgba(11,34,64,.14);
   background: #f8fafc;
   border-radius: 16px;
   padding: 18px 20px;
   font-size: 16px;
   transition: all .25s ease;
}

.qd-form-card textarea{
   min-height: 160px;
   resize: vertical;
}

.qd-form-card input:focus,
.qd-form-card textarea:focus,
.qd-form-card select:focus{
   border-color: var(--qd-gold);
   background: #ffffff;
   outline: none;
   box-shadow: 0 0 0 4px rgba(184,134,42,.10);
}

.qd-form-submit-wrap{
   margin-top: 40px;
}

.qd-form-submit-btn{
   min-width: 260px;
   padding: 18px 34px;
   background: var(--qd-navy);
   border: 1px solid var(--qd-gold);
   border-radius: 14px;
   color: #ffffff;
   font-family: 'Inter Bold';
   text-transform: uppercase;
   letter-spacing: .08em;
   transition: all .3s ease;
}

.qd-form-submit-btn:hover{
   background: var(--qd-gold);
   color: var(--qd-navy);
}

@media(max-width:767px){

   .qd-form-card{
      padding: 32px 22px;
      border-radius: 22px;
   }

   .qd-form-header h2{
      font-size: 34px;
   }

   .qd-form-submit-btn{
      width: 100%;
   }
}
.thank-you-hero {
    padding: 120px 0;
    background:linear-gradient(135deg, #3d5c86 0%, #184688 100%);
    color: #fff;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.thank-you-text {
    max-width: 760px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.85);
}

.thank-you-card {
    max-width: 720px;
    margin: 40px auto;
    background: #fff;
    color: #0B2240;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.thank-you-card h3 {
    margin-bottom: 24px;
    font-size: 28px;
}

.thank-you-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.thank-you-card li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.thank-you-note {
    color: #3F4A57;
    margin-top: 20px;
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid #B8862A;
    color: #fff;
}
