@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color system */
  --primary-blue: #084b81;
  --secondary-dark: #241e20;
  --base-dark: #090914;
  --neutral-dark: #191d23;
  --text-sub: #464646;
  --blue-gray-500: #64748b;
  --border-gray: #dfdfdf;
  --border-medium: #bcbcbc;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --accent-cyan: #03c8ff;
  --accent-purple: #843970;
  --bl-badge-amber-bg: #dcd6bb;
  --bl-badge-blue-bg: #DDEEFF;
  --contact-bg: #ebebeb;

  /* Font system */
  --font-primary: 'Outfit', 'Sofia Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --font-tertiary: 'DM Sans', sans-serif;
}
/* =============================================
   DARK MODE THEME
   Toggled by: body.dark-theme
   ============================================= */
body.dark-theme {
  --bg-white: #0e0e14;
  --bg-light: #161620;
  --base-dark: #f0f0f0;
  --text-sub: #a0a0b0;
  --border-gray: #2a2a38;
  --border-medium: #3a3a4a;
  --neutral-dark: #e0e0e0;
  --blue-gray-500: #8890a4;
  --contact-bg: #212121;
}


/* =============================================
   READING MODE (Eye Protection)
   Toggled by: body.reading-mode
   Global — any page/component using the CSS vars
   below will automatically pick up the warm tone.
   ============================================= */
/* body.reading-mode {
  --bg-white: #fbf3dc;
  --bg-light: #f7ecd0;
  --base-dark: #2b2416;
  --text-sub: #5b4f3a;
  --border-gray: #e4d9b8;
  --border-medium: #d8c9a0;
  --contact-bg: #f7ecd0;
} */

html {
  font-size: 19px;
  scroll-behavior: smooth;
  height: 100%;
}

@media (max-width: 1600px) {
  html { font-size: 17px; }
}
@media (max-width: 1400px) {
  html { font-size: 16px; }
}
@media (max-width: 1199px) {
  html { font-size: 15px; }
}
@media (max-width: 991px) {
  html { font-size: 14px; }
}
@media (max-width: 767px) {
  html { font-size: 13px; }
}
@media (max-width: 575px) {
  html { font-size: 12px; }
}

body {
  font-family: var(--font-primary);
  font-weight: 300;
  line-height: 1.5;
  color: var(--base-dark);
  background-color: var(--bg-white);
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Common layout utility classes */
.container {
  width: 100%;
  max-width: 75.47rem; /* 1434px / 19 */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Button variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.737rem 1.21rem; /* 14px 23px */
  border-radius: 1.684rem; /* 32px */
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.842rem; /* 16px */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  border: 1px solid var(--primary-blue);
}

.btn-primary:hover {
  /* background-color: transparent; */
  color: #6aeffb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 75, 129, 0.55);
}


.btn-secondary {
  position: relative;
  background-color: transparent;
  color: var(--base-dark);
  border: 0.042rem solid var(--base-dark);
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
  z-index: 0;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #1f7dc9; /* blue fill — swap to any color you like */
  transform: scaleX(0);
  transform-origin: left center;
  z-index: -1;
  transition: none;
}

.btn-secondary:hover {
  color: #ffffff;
  border-color: #2563eb;
}

.btn-secondary:hover::before {
  animation: fillBounce 1.2s cubic-bezier(0.05, 0.6, 0.3, 1) forwards;
}

@keyframes fillBounce {
  0%   { transform: scaleX(0); }
  72%  { transform: scaleX(1.07); }
  82%  { transform: scaleX(0.97); }
  90%  { transform: scaleX(1.02); }
  100% { transform: scaleX(1); }
}

.btn-contact {
  background-color: var(--bg-white);
  color: var(--base-dark);
  border: 0.053rem solid var(--primary-blue); /* 1px */
}

.btn-contact:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-talk {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  border: 0.053rem solid var(--bg-white); /* 1px */
  gap: 0.474rem; /* 9px */
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

.btn-talk:hover {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-talk img {
  width: 1.105rem; /* 21px */
  height: 1.105rem; /* 21px */
}

/* 6. Pagination — Figma uses rounded-rectangle buttons (not circles) */
.cs-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.053rem; /* 20px / 19 */
  border-top: 0.053rem solid #eaecf0;
  margin-top: 0;
}

/* Previous / Next buttons */
.cs-pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.421rem; /* ~8px */
  height: 2.316rem; /* ~44px / 19 */
  padding: 0 0.737rem; /* ~14px */
  border-radius: 0.421rem; /* ~8px */
  border: 0.053rem solid #d0d5dd;
  background-color: var(--bg-white);
  color: var(--base-dark);
  font-family: var(--font-primary); /* Poppins */
  font-size: 0.737rem; /* 14px / 19 */
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: all 0.25s ease;
}

.cs-pagination-btn svg {
  transition: transform 0.25s ease;
}

.cs-pagination-btn:hover:not(:disabled) {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  border-color: var(--primary-blue);
}

.cs-prev-btn:hover:not(:disabled) svg {
  transform: translateX(-3px);
}

.cs-next-btn:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.cs-pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Page number buttons */
.cs-pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.105rem; /* ~2px */
}

.cs-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.105rem;  /* 40px / 19 */
  height: 2.105rem;
  border-radius: 0.421rem; /* 8px */
  border: none;
  background-color: transparent;
  font-family: var(--font-primary);
  font-size: 0.842rem; /* 16px / 19 */
  font-weight: 400;
  color: #667085;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cs-page-btn:hover {
  background-color: rgba(8, 75, 129, 0.06);
  color: var(--primary-blue);
}

.cs-page-btn.active {
  background-color: #f9f5ff; /* Primary/50 from Figma */
  color: var(--primary-blue);
  font-weight: 600;
}

.cs-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.105rem;
  height: 2.105rem;
  font-family: var(--font-primary);
  font-size: 0.842rem;
  color: #667085;
  font-weight: 500;
}

.ct-info-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3.579rem; /* 68px / 19 */
}

.ct-info-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 3.211rem; /* 61px / 19 */
  line-height: 4.316rem; /* 82px / 19 */
  color: var(--base-dark);
  text-align: center;
}

.ct-info-email-block {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.263rem; /* 5px / 19 */
}

/* Shared Contact Form Component */
.contact-section {
  background-color: var(--contact-bg);
  border-top: 0.053rem solid var(--border-gray);
  padding: 5.416rem 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 4.211rem;
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-greeting {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.579rem;
  color: var(--base-dark);
  margin-bottom: 0.789rem;
}

.contact-heading {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 2.526rem;
  line-height: 3rem;
  color: var(--base-dark);
  margin-bottom: 1.368rem;
}

.contact-heading span {
  font-weight: 600;
}

.contact-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem;
  line-height: 1.526rem;
  color: var(--text-sub);
  margin-bottom: 3.158rem;
}

.trusted-by {
  display: flex;
  flex-direction: column;
  gap: 1.053rem;
  margin-bottom: 3.158rem;
}

.trusted-title {
  font-family: var(--font-primary);
  font-size: 0.842rem;
  color: var(--base-dark);
  font-weight: 400;
}

.trusted-logos-row {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.684rem 1.579rem;
  align-items: center;
  max-width: 22.316rem;
}

.trusted-logo-item {
  height: 1.789rem;
  filter: grayscale(100%);
  opacity: 0.4;
}

.trusted-logo-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.social-follow {
  display: flex;
  flex-direction: column;
  gap: 0.526rem;
}

.social-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.737rem;
  color: var(--text-sub);
  opacity: 0.65;
}

.social-buttons {
  display: flex;
  gap: 0.526rem;
}

.social-btn {
  background-color: var(--primary-blue);
  width: 1.658rem;
  height: 1.658rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  background-color: var(--accent-cyan);
}

.social-btn img {
  width: 0.763rem;
  height: 0.763rem;
  filter: brightness(0) invert(1);
}

.contact-right {
  position: relative;
}

.contact-card {
  background-color: var(--bg-white);
  border-radius: 1.105rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0px 4px 20px rgba(8, 75, 129, 0.25);
  width: 100%;
  max-width: 38.211rem;
  padding: 3.158rem 2.053rem 7rem;
  position: relative;
  z-index: 5;
}

.floating-envelope {
  position: absolute;
  bottom: 0;
  left: 14.632rem;
  width: 13.102rem;
  height: 6.897rem;
  pointer-events: none;
  z-index: 6;
  transform: rotate(-4.55deg);
}

.floating-envelope img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.579rem;
  margin-bottom: 1.205rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group-full {
  grid-column: span 2;
  margin-bottom: 2.105rem;
}

.form-label {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.737rem;
  color: var(--base-dark);
  margin-bottom: 0.526rem;
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-icon {
  width: 1.658rem;
  height: 0.711rem;
  margin-right: 0.263rem;
}

.form-input {
  width: 100%;
  padding: 0.263rem 0;
  font-family: var(--font-primary);
  font-size: 0.737rem;
  font-weight: 300;
  border-bottom: 1px solid var(--border-medium);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary-blue);
}

.phone-input {
  font-family: var(--font-secondary);
  font-weight: 500;
}

.subject-section {
  display: flex;
  flex-direction: column;
  gap: 0.789rem;
  margin-bottom: 2.105rem;
}

.subject-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.789rem;
  color: var(--base-dark);
}

.subject-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.526rem 1.053rem;
}

.subject-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.421rem;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.737rem;
  color: var(--text-sub);
  cursor: pointer;
  padding: 0.263rem 0.526rem;
  border-radius: 0.263rem;
  transition: all 0.3s ease;
}

.subject-tag-btn:hover {
  background-color: var(--bg-light);
}

.tick-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 0.684rem;
  height: 0.684rem;
}

.tick-icon .tick-default { display: block; }
.tick-icon .tick-selected { display: none; }

.subject-tag-btn.selected .tick-icon .tick-default { display: none; }
.subject-tag-btn.selected .tick-icon .tick-selected { display: block; }

.subject-tag-btn.selected {
  color: var(--primary-blue);
  font-weight: 500;
}

.subject-tag-btn.selected .tick-icon {
  opacity: 1;
}

.message-placeholder {
    color: inherit;
}

.message-placeholder::placeholder {
    color: #8d8d8d;
}

.message-placeholder:not(:placeholder-shown) {
    color: var(--base-dark);
    /* font-weight: 400; */
}

.submit-row {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  width: 9.842rem;
  height: 2.316rem;
  border-radius: 1.579rem;
  font-size: 0.737rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #053b66;
  transform: translateY(-2px);
}

.form-feedback {
  margin-top: 0.789rem;
  font-size: 0.789rem;
  font-weight: 500;
  text-align: center;
}

.form-feedback.success {
  color: #0a7c4a;
}

.form-feedback.error {
  color: #c0392b;
}

/* =============================================================
   GLOBAL CTA SECTION
============================================================= */

.cta-section {
  position: relative;
  overflow: hidden;
  background-color: #0a1628;
}

.cta-inner {
  position: relative;
  min-height: 22.947rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 48.158rem; /* ~782px / 19 */
  height: 44.421rem; /* ~711px / 19 */
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(8, 75, 129, 0.55) 0%, transparent 70%);
  pointer-events: none;
}

/* Glow */
.cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 58.8rem;
  height: 44.421rem;
  border-radius: 48.875rem;
  filter: blur(164.5px);
  pointer-events: none;
}

/* Stars */
.cta-stars-left,
.cta-stars-right {
  position: absolute;
  width: 40.5625rem;
  height: 38.25rem;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.cta-stars-left {
  left: -5rem;
  top: 50%;
  transform: translateY(-50%);
}

.cta-stars-right {
  right: -5rem;
  top: 10%;
  transform: translateY(-10%);
}

/* Content */
.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.368rem;
  max-width: 55rem;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-heading {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 2.895rem;
  line-height: 1.182;
  color: var(--bg-white);
  background: linear-gradient(180deg, #FFF 47.5%, rgba(255, 255, 255, 0.56) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.632rem;
  background-color: var(--bg-white);
  color: var(--base-dark);
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.842rem;
  padding: 0.684rem 1.579rem;
  border-radius: 1.579rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-btn:hover {
  background-color: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-btn svg {
  flex-shrink: 0;
}

.gl-hero {
  position: relative;
  width: 100%;
  height: 54.895rem; /* ~1043px / 19 */
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gl-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.gl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175.79deg, rgba(0, 0, 0, 0.7) 72.3%, rgba(0, 0, 0, 0.28) 109.69%);
  z-index: 1;
}

/* ── Phone wrapper ── */
.phone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding-bottom: 0.1rem;
    border-bottom: 1px solid var(--border-medium);
}

/* ── Trigger button ── */
.country-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px 0 10px;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.15);
    height: 100%;
    min-width: 80px;
    flex-shrink: 0;
    user-select: none;
}

.selected-flag-img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.flag-placeholder {
    font-size: 18px;
    line-height: 1;
}

.selected-code {
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    white-space: nowrap;
}

.dropdown-arrow {
    opacity: 0.6;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.phone-input {
    flex: 1;
    border: none !important;
    padding-left: 10px !important;
}

/* ── Dropdown panel ── */
.country-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    /* width: 280px; */
    background: #ffffff;
    border: 1px solid #b0b0b0;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    z-index: 999;
    overflow: hidden;
}

.country-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px 6px;
    border-bottom: 1px solid rgba(151, 149, 149, 0.08);
}

.country-search-icon {
    flex-shrink: 0;
    color: #9ca3af;
}

.country-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 2px 0;
    color: #000;
    font-size: 13px;
    outline: none;
    width: 100%;
}

.country-search-input::placeholder {
    color: rgba(87, 84, 84, 0.4);
}

/* ── Country list ── */
.country-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.country-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #000;
    transition: background 0.15s;
}

.country-list li:hover,
.country-list li.active {
    background: rgba(151, 149, 149, 0.08);
    color: #000;
}

.country-list li img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.country-list li .c-code {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.55;
    white-space: nowrap;
}

.country-list-loading,
.country-list-empty {
    text-align: center;
    padding: 16px;
    opacity: 0.5;
    cursor: default !important;
}

.country-list-empty:hover {
    background: none !important;
}

.load-more-sentinel {
  justify-content: center;
  padding: 10px;
  cursor: default !important;
  pointer-events: none;
}

.load-more-sentinel:hover {
  background: none !important;
}

.loading-more-text {
  font-size: 12px;
  opacity: 0.45;
}

/* ── Dark theme overrides for country picker ── */
body.dark-theme .country-dropdown {
    background: #1a1a24;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .country-search-wrap {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .country-search-input {
    color: #e0e0e0;
}

body.dark-theme .country-search-input::placeholder {
    color: #9ca3af;
}

body.dark-theme .country-list li {
    color: #e0e0e0;
}

body.dark-theme .country-list li:hover,
body.dark-theme .country-list li.active {
    background: rgba(255, 255, 255, 0.06);
    color: #e0e0e0;
}

body.dark-theme .country-list li .c-code {
    color: #e0e0e0;
}

body.dark-theme .country-list-empty,
body.dark-theme .country-list-loading {
    color: #9ca3af;
}


@media (max-width: 1440px) {
  .gl-hero {
    height: 48.495rem;
  }
}
@media (max-width: 1024px) {
  .gl-hero {
    height: 42rem;
  }
}
@media (max-width: 768px) {
  .gl-hero {
    height: 38rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cta-heading {
    font-size: 2rem;
  }

  .cta-stars-left,
  .cta-stars-right {
    width: 24rem;
    height: auto;
    opacity: 0.3;
  }

  .cta-stars-left {
    left: -8rem;
  }

  .cta-stars-right {
    right: -8rem;
  }
}

@media (max-width: 480px) {
  .cta-heading {
    font-size: 1.7rem;
  }

  .cta-content {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 1024px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }
}

body.bl-reading-mode {
  --bg-white: #fbf3dc;
  --bg-light: #f7ecd0;
  --base-dark: #2b2416;
  --text-sub: #5b4f3a;
  --border-gray: #e4d9b8;
  --border-medium: #d8c9a0;
  --contact-bg: #f7ecd0;
}

/* =============================================================
   GLOBAL TESTIMONIALS SECTION
   ============================================================= */
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4.211rem; /* 80px / 19 */
}

.testimonials-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonials-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 2.986rem; /* 56.73px / 19 */
  letter-spacing: -0.096rem; /* -1.83px / 19 */
  color: var(--base-dark);
}

.testimonials-subtitle {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1.053rem; /* 20px / 19 */
  line-height: 1.263rem; /* 24px / 19 */
  color: var(--text-sub);
  width: 44rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.789rem; /* 15px / 19 */
  color: var(--text-sub);
}

.view-all-link:hover {
  color: var(--primary-blue);
}

.view-all-link svg {
  transition: transform 0.3s ease;
}

.view-all-link:hover img {
  transform: translateX(3px) rotate(45deg);
}

/* Slider logic */
.testimonials-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.579rem; /* 30px / 19 */
}

.slider-arrow-btn {
  width: 3.053rem; /* 58px / 19 */
  height: 3.053rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: var(--bg-white);
  transition: all 0.3s ease;
}

.slider-arrow-btn:hover img {
  filter: brightness(0) invert(1);
}

.slider-arrow-btn img {
  width: 1rem;
  height: 1rem;
}

.testimonials-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.105rem; /* 21px / 19 */
  width: 100%;
}

.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 1.579rem; /* 30px / 19 */
  background-color: var(--bg-white);
  border-radius: 0.721rem; /* 13.7px / 19 */
  padding: 1.579rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(8, 75, 129, 0.05);
}

.testimonial-avatar {
  width: 11.51rem; /* 218.68px / 19 */
  height: 11.51rem;
  border-radius: 0.721rem; /* 13.7px / 19 */
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 0.789rem; /* 15px / 19 */
  height: 100%; 
}

.testimonial-stars {
  display: flex;
  gap: 0.263rem; /* 5px / 19 */
}

.testimonial-stars svg {
  width: 0.91rem; /* 17px / 19 */
  height: 0.871rem; /* 16.5px / 19 */
}

.testimonial-text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.867rem; /* 16.47px / 19 */
  line-height: 1.348rem; /* 25.62px / 19 */
  color: var(--base-dark);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-card.expanded .testimonial-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.testimonial-text p {
  margin: 0;
  padding: 0;
}

.testimonial-toggle {
  all: unset;
  display: none;
  align-self: flex-start;
  font-family: var(--font-primary);
  font-size: 0.768rem;
  font-weight: 500;
  color: var(--primary-blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
  margin-top: 0.2rem;
}

.testimonial-toggle:hover {
  opacity: 0.75;
}

.testimonial-toggle.visible {
  display: inline-block;
}

.testimonial-user {
  display: flex;
  align-items: baseline;
  gap: 0.526rem; /* 10px / 19 */
  margin-top: 0.526rem;
}

.user-name {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.771rem; /* 14.64px / 19 */
  color: var(--base-dark);
  letter-spacing: -0.01rem;
}

.user-company {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.771rem; /* 14.64px / 19 */
  color: var(--blue-gray-500);
}

.ct-step-card {
  background-color: #fff;
  border-radius: 0.632rem; /* 12px / 19 */
  border: 0.053rem solid var(--border-gray);
  padding: 2.105rem 1.842rem; /* 40px 35px / 19 */
  display: flex;
  flex-direction: column;
  gap: 0.789rem; /* 15px / 19 */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ct-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(8, 75, 129, 0.09);
  border-color: var(--primary-blue);
}

.ct-step-header {
  display: flex;
  align-items: center;
  gap: 1.13rem; /* ~15px / 19 */
  padding: 2.109rem 0 2.109rem 0;
}

.ct-step-number {
  color: var(--primary-blue);
  opacity: 0.18;
  letter-spacing: -0.04em;
  color: #b6b4b4;
  font-family: "Sofia Pro";
  font-size: 6.25rem;
  font-weight: 600;
  line-height: 1.5625rem; /* 25% */
}

.ct-step-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.105rem; /* 21px / 19 */
  color: var(--base-dark);
  line-height: 1.4;
}

.ct-step-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.895rem; /* 17px / 19 */
  line-height: 1.579rem; /* 30px / 19 */
  color: var(--text-sub);
}

/* ---------------------------------------------------------------
   GLOBAL HERO CONTENT — reusable across every .gl-hero page.
   Must be nested inside .container. .container's max-width was
   tuned to match the Figma 1920px hero frame (content starts at
   the container's own left margin), so any hero built this way
   stays pixel-aligned with Figma at 1920 and scales consistently
   at every other breakpoint via .container's existing rules.
--------------------------------------------------------------- */
.gl-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.gl-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.526rem; /* 29px / 19 */
  max-width: 55.947rem; /* 1063px / 19 */
  width: 100%;
  /* padding-bottom: 18.421rem;  */
}

/* @media (max-width: 1440px) {
  .gl-hero-content {
    padding-bottom: 12rem;
  }
} */

/* @media (max-width: 1024px) {
  .gl-hero-content {
    padding-bottom: 6rem;
  }
}

@media (max-width: 768px) {
  .gl-hero-content {
    padding-bottom: 3rem;
    gap: 1rem;
  }
} */


/* 4. Why Choose Section */
.why-choose-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.263rem; /* 43px / 19 */
  align-items: center;
}

.why-choose-left {
  display: flex;
  flex-direction: column;
  gap: 3.632rem; /* 69px / 19 */
}

.why-title-wrapper {
  position: relative;
  height: 8.316rem; /* 158px / 19 */
  max-width: 30rem;
}

.why-title {
  font-family: var(--font-primary);
  font-size: 2.263rem; /* 43px / 19 */
  line-height: 4.105rem; /* 78px / 19 */
  color: var(--base-dark);
  font-weight: 600;
  text-transform: capitalize;
}

.why-title span {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 3.684rem; /* 70px / 19 */
  color: var(--primary-blue);
  display: block;
}

.why-title-underline {
  position: absolute;
  bottom: 0.263rem; /* 5px / 19 */
  left: 0.158rem; /* 3px / 19 */
  width: 21.632rem; /* 411px / 19 */
  height: 0.263rem; /* 5px / 19 */
}

.why-title-underline img {
  padding-top: 0.5rem;
}

/* Accordion Styling */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1.205rem; /* 40px / 19 */
}

.accordion-item {
  /* border-bottom: 0.053rem solid var(--border-gray); */
  padding-bottom: 1.053rem; /* 20px / 19 */
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
}

.accordion-title-block {
  display: flex;
  align-items: center;
  gap: 0.895rem; /* 17px / 19 */
}

.accordion-icon {
  width: 2rem; /* 38px / 19 */
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.263rem; /* 5px / 19 */
  border: 0.053rem solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-blue);
  transition: background-color 0.3s ease;
}

.accordion-icon svg {
  width: 1.14rem; /* ~21px / 19 */
  height: 1.14rem;
}

body.dark-theme .accordion-arrow path,
body.dark-theme .view-all-link svg path,
body.dark-theme .slider-arrow-btn svg path {
  stroke: var(--base-dark);
}

.accordion-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.158rem; /* 22px / 19 */
  color: var(--base-dark);
}

.accordion-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accordion expanded content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 2.895rem; /* 55px / 19 */
}

.accordion-text {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.421rem; /* 27px / 19 */
  color: var(--text-sub);
  padding-top: 1.158rem; /* 22px / 19 */
}

/* Active accordion state */
.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
  max-height: 10.526rem; /* 200px / 19 */
}

/* Why Choose Right - Odoo container with shadow backdrop */
.why-choose-right {
  position: relative;
  width: 32.421rem; /* 616px / 19 */
  height: 35.789rem; /* 680px / 19 */
  margin-left: 1.895rem; /* 36px / 19 offset */
  margin-top: 2.158rem; /* 41px / 19 offset */
}

.shadow-backdrop {
  position: absolute;
  background-color: var(--contact-bg);
  width: 32.421rem; /* 616px / 19 */
  height: 35.789rem; /* 680px / 19 */
  top: 2.158rem; /* Offset down */
  left: -1.895rem; /* Offset left */
  border-radius: 0.105rem; /* 2px / 19 */
  z-index: 1;
}

.purple-container {
  position: absolute;
  background-color: var(--bg-white); /* #843970 */
  width: 32.421rem; /* 616px / 19 */
  height: 35.789rem; /* 680px / 19 */
  top: 0;
  left: 0;
  border-radius: 0.105rem; /* 2px / 19 */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.purple-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.purple-container img.fading {
  opacity: 0;
}

.bl-bookmark-btn {
  position: absolute;
  top: 1.579rem;
  right: 0.842rem;
  z-index: 2;
  width: 1.737rem;
  height: 1.737rem;
  border-radius: 0.158rem;
  background: rgb(from var(--base-dark) r g b / 0.4);
  color: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.bl-bookmark-btn svg {
  width: 1.11875rem;
  height: 1.18956rem;
}

.bl-bookmark-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.bl-bookmark-btn.saved {
  background: var(--primary-blue);
  color: #ffd166;
}
