/* ============================================================
   enquiry.css — Dark × Purple Enquiry Form
   ============================================================ */


/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --purple-glow: #a855f7;
  --purple-dark: #7c3aed;
  --purple-deep: #3b0764;
  --purple-soft: #c084fc;
  --purple-faint: rgba(168, 85, 247, 0.12);
  --purple-mid: rgba(168, 85, 247, 0.30);
  --bg: #050507;
  --surface: #0d0d14;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(168, 85, 247, 0.18);
  --glass-active: rgba(168, 85, 247, 0.45);
  --text-primary: #f0e6ff;
  --text-secondary: #9d84bc;
  --text-muted: #5e4d78;
  --error: #f87171;
  --success: #34d399;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}


/* ── Ambient orbs ────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift linear infinite;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124, 58, 237, .35) 0%, transparent 70%);
  top: -120px;
  left: -140px;
  animation-duration: 22s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, .25) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
  animation-duration: 30s;
  animation-direction: reverse;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(59, 7, 100, .5) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 18s;
}

@keyframes orb-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -25px) scale(1.06);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.94);
  }
}

/* ── Grid overlay ────────────────────────────────────────── */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 85, 247, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ── Page layout ─────────────────────────────────────────── */
.page-wrap {
  position: relative;
  z-index: 1;
  margin: 6rem 6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* prevents overflow issues */
  gap: 5rem;
  align-items: stretch; /* equal height feel */
}

.card-enquiry,
.ct-wrap {
  width: 100%;
}

/* ── Card ────────────────────────────────────────────────── */
.card-enquiry {
  grid-column: span 2;
  background: linear-gradient(135deg,
      rgba(13, 13, 20, 0.96) 0%,
      rgba(20, 10, 38, 0.92) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem 3rem 2.8rem;
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, .06),
    0 8px 40px rgba(0, 0, 0, .7),
    0 0 80px rgba(124, 58, 237, .08),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  animation: card-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(36px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Card header ─────────────────────────────────────────── */
.card-header-enquiry {
  margin-bottom: 2.4rem;
  animation: fade-up .6s .1s both;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-soft);
  background: rgba(168, 85, 247, .1);
  border: 1px solid rgba(168, 85, 247, .25);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 1rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-glow);
  box-shadow: 0 0 8px var(--purple-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(.8);
  }
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text-primary);
}

.card-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-glow), var(--purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-subtitle {
  margin-top: .6rem;
  font-size: .92rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ── Form rows ───────────────────────────────────────────── */
.form-row {
  margin-bottom: 1.4rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 900px) {
    
  .card-enquiry {
    padding: 2rem 1.4rem 2rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
  .page-wrap{
     grid-template-columns: 1fr;
     margin: 2rem auto;
  }
  .ct-wrap{
      margin: 0 auto;
  }
}

@media (max-width: 600px) {
    
  .card-enquiry {
    padding: 2rem 1.4rem 2rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
  .page-wrap{
      grid-template-columns: 1fr;
      margin: 2rem auto;
  }
}

/* stagger animation and descending z-index for dropdown overlap */
.form-row {
  position: relative;
}

.form-row:nth-child(1) {
  animation: fade-up .5s .15s both;
  z-index: 10;
}

.form-row:nth-child(2) {
  animation: fade-up .5s .22s both;
  z-index: 9;
}

.form-row:nth-child(3) {
  animation: fade-up .5s .29s both;
  z-index: 8;
}

.form-row:nth-child(4) {
  animation: fade-up .5s .36s both;
  z-index: 7;
}

.form-row:nth-child(5) {
  animation: fade-up .5s .43s both;
  z-index: 6;
}

.form-row:nth-child(6) {
  animation: fade-up .5s .50s both;
  z-index: 5;
}

.form-row:nth-child(7) {
  animation: fade-up .5s .57s both;
  z-index: 4;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Field wrap ──────────────────────────────────────────── */
.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-wrap.hidden {
  display: none;
}

.field-wrap.reveal {
  display: flex;
  animation: fade-up .35s ease both;
}

label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  text-align: left;
}

.field-wrap:focus-within label {
  color: var(--purple-soft);
}

/* ── Input shell ─────────────────────────────────────────── */
.input-shell {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.input-shell:hover {
  border-color: rgba(168, 85, 247, .36);
  background: var(--glass-hover);
}

.input-shell:focus-within {
  border-color: var(--purple-glow);
  background: rgba(168, 85, 247, .06);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .15), 0 4px 20px rgba(168, 85, 247, .1);
}

/* error state */
.field-wrap.has-error .input-shell {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .15);
}

.field-wrap.has-error label {
  color: var(--error);
}

/* ── Input / textarea / select ───────────────────────────── */
input,
textarea,
select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--text-primary);
  padding: .78rem 1rem .78rem 2.8rem;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
  padding-top: .8rem;
}

select {
  cursor: pointer;
}

select option {
  background: #ffffff;
  color: #1e293b;
  padding: 12px 16px;
  font-size: 15px;
}

.req {
  color: var(--error);
  margin-left: 3px;
}

/* field icon */
.field-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  pointer-events: none;
  transition: fill var(--transition);
}

.textarea-shell .field-icon {
  top: 1rem;
  transform: none;
}

.input-shell:focus-within .field-icon {
  fill: var(--purple-glow);
}

.input-shell input,
.input-shell textarea {
  padding: 0.78rem 1rem 0.78rem 2.5rem;
  /* enough to clear the icon (0.85rem offset + 18px width + a bit of gap) */
}

/* select arrow */
.select-arrow {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  pointer-events: none;
  transition: fill var(--transition), transform var(--transition);
}

.input-shell:focus-within .select-arrow {
  fill: var(--purple-glow);
  transform: translateY(-50%) rotate(180deg);
}

/* ── Custom Dropdown ──────────────────────────────────────── */
.custom-select-trigger {
  position: relative;
  width: 100%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0.87rem 1rem 0.87rem 2.5rem; /* matches exactly native select padding */
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  line-height: normal;
}

.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: #000000; /* Solid black to ensure no perceived transparency */
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(168, 85, 247, 0.2);
  padding: 8px; /* padding around items */
}

.custom-select-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-item {
  padding: 12px 16px; /* padding inside items */
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.custom-select-item:hover,
.custom-select-item.selected {
  background: var(--purple-glow); /* purple highlight */
  color: #fff;
}

/* Make sure select-shell is positioned relative for dropdown */
.select-shell {
  position: relative;
  overflow: visible !important; /* Allow dropdown to escape */
}

/* The native select will be visually hidden */
.select-shell select.hidden-native {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Handle arrow icon rotation */
.select-shell.dropdown-open .select-arrow {
  transform: translateY(-50%) rotate(180deg);
  fill: var(--purple-glow);
}
.select-shell.dropdown-open {
  border-color: var(--purple-glow);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .15);
}

/* custom scrollbar for dropdown */
.custom-select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.custom-select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--purple-glow);
}

/* animated focus bar */
.focus-bar {
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-glow), var(--purple-soft));
  transition: left var(--transition), right var(--transition);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.input-shell:focus-within .focus-bar {
  left: 0;
  right: 0;
}

/* char count */
.char-count {
  text-align: right;
  font-size: .72rem;
  color: var(--text-muted);
  padding-top: 3px;
}

/* field error */
.field-error {
  font-size: .78rem;
  color: var(--error);
  min-height: 1.2em;
  animation: error-shake .35s ease;
}

@keyframes error-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-5px);
  }

  60% {
    transform: translateX(5px);
  }
}

/* ── CAPTCHA row ─────────────────────────────────────────── */
/* ── Captcha row ─────────────────────────────────────────────── */
.captcha-block {
  display: flex;
  align-items: flex-end;   /* align image bottom with input bottom */
  gap: 1rem;
  width: 100%;
}

.captcha-img-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;          /* never squish the image */
}

.captcha-img-wrap img {
  display: block;
  width: 300px;
  height: 100px;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  object-fit: cover;
}

.refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition);
  flex-shrink: 0;
}

.refresh-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  transition: fill var(--transition);
}

.refresh-btn:hover svg { fill: var(--purple-glow); }
.refresh-btn:hover     { background: rgba(var(--purple-glow-rgb), .08); }

/* spin animation on CAPTCHA refresh */
.refresh-btn.spinning svg {
  animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive: stack on small screens ──────────────────────── */
@media (max-width: 480px) {
  .captcha-block          { flex-direction: column; align-items: flex-start; }
  .captcha-img-wrap img   { width: 100%; height: 100%; }
  .page-wrap{
      grid-template-columns: 1fr;
      margin: 2rem auto;
  }
}
/* ── Submit button ───────────────────────────────────────── */
.submit-row {
  margin-top: 2rem;
}

.submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-glow) 60%, var(--purple-soft) 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  box-shadow: 0 4px 24px rgba(124, 58, 237, .45), 0 0 60px rgba(168, 85, 247, .15);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  animation: fade-up .5s .6s both;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, .6), 0 0 80px rgba(168, 85, 247, .25);
  filter: brightness(1.08);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0) scale(.99);
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-loader {
  display: none;
  z-index: 1;
}

.btn-loader .spin {
  width: 20px;
  height: 20px;
  stroke: #fff;
  animation: spin-anim 1s linear infinite;
}

@keyframes spin-anim {
  to {
    transform: rotate(360deg);
  }
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loader {
  display: flex;
}

/* shimmer before background-position trick */
.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .18) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position .7s ease;
}

.submit-btn:hover::before {
  background-position: 200% 0;
}

/* ripple */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.submit-btn.ripple-active .btn-ripple {
  animation: ripple-anim .55s ease-out forwards;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── Form message ────────────────────────────────────────── */
.form-message {
  display: none;
  margin-top: 1.2rem;
  padding: .9rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
  animation: fade-up .35s ease both;
}

.form-message.success {
  display: block;
  background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .3);
  color: var(--success);
}

.form-message.error {
  display: block;
  background: rgba(248, 113, 113, .1);
  border: 1px solid rgba(248, 113, 113, .3);
  color: var(--error);
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--purple-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple-glow);
}

/* ── Selection ───────────────────────────────────────────── */
::selection {
  background: rgba(168, 85, 247, .35);
  color: #fff;
}

.ct-wrap {
    display: flex; flex-direction: column; gap: 14px; margin: 0 auto; width: 100%; max-width: 520px; /* prevents stretching on large screens */;
}

.ct-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ct-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-glow);
  margin: 0 0 3px;
}

.ct-value {
  font-size: 15px;
  font-weight: 500;
  color: #f0e8ff;
  margin: 0 0 2px;
}

.ct-sub {
  font-size: 12px;
  color: rgb(227, 197, 255);
  margin: 0;
}

/* Map card */
.map-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
}

.map-header {
  padding: 1.1rem 1.4rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.map-frame {
  width: 100%;
  height: 260px;
  display: block;
  border: none;
  /* inverts the map to match dark theme */
  filter: invert(0.88) hue-rotate(200deg) saturate(0.6) brightness(0.75);
}

.ct-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--purple-glow);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 999px;
  padding: 2px 10px;
  margin-top: 4px;
}
/* =========================================================
   RESPONSIVE MASTER FIX (clean + scalable)
   ========================================================= */

/* 📱 Mobile (≤ 576px) */
@media (max-width: 576px) {

  .page-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 4rem 1rem;
  }

  .card-enquiry {
    grid-column: span 1;
    padding: 1.6rem 1.2rem;
  }

  .ct-wrap {
      display: grid;
      grid-template-columns: 1fr;
      margin: 0 auto;
      width: 100%;
      max-width: 520px; /* prevents stretching on large screens */
      gap:1rem;
  }

  .ct-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    gap: 10px;
  }

  .ct-icon {
    width: 40px;
    height: 40px;
  }

  .ct-value {
    font-size: 14px;
    word-break: break-word;
  }

  .map-frame {
    height: 200px;
  }

  .map-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .captcha-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .captcha-img-wrap img {
    width: 100%;
    height: auto;
  }
}


/* 📲 Small Tablets (577px – 768px) */
@media (min-width: 577px) and (max-width: 768px) {

  .page-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 3rem 1.5rem;
  }

  .card-enquiry {
    grid-column: span 1;
    padding: 2rem 1.6rem;
  }

  .ct-wrap {
      display: grid;
      grid-template-columns: 1fr;
      margin: 0 auto;
      width: 100%;
      max-width: 520px; /* prevents stretching on large screens */
      gap:1rem;
  }

  .ct-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .map-frame {
    height: 220px;
  }
}


/* 💻 Tablets / Small Laptops (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {

  .page-wrap {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .card-enquiry {
    grid-column: span 1;
  }

  .ct-wrap {
      display: grid;
      grid-template-columns: 1fr;
      margin: 0 auto;
      width: 100%;
      max-width: 520px; /* prevents stretching on large screens */
      gap:1rem;
  }

  .map-frame {
    height: 240px;
  }
}


/* 🖥️ Large Screens (≥ 1025px) */
@media (min-width: 1025px) {

  .page-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-enquiry {
    grid-column: span 2;
  }

  .ct-wrap {
    max-width: 520px;
  }
}


@media (max-width: 768px) { .card-title { font-size: 2.2rem; } }
@media (max-width: 480px) { .card-title { font-size: 1.9rem; } }
