:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #9A7A2E;
  --purple: #7C3AED;
  --purple-light: #8B5CF6;
  --purple-mid: #6D28D9;
  --bg-dark: #F9FAFB;
  --bg-card: #FFFFFF;
  --bg-section: #F3F4F6;
  --text-white: #111827;
  --text-muted: #6B7280;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

* {
  -webkit-tap-highlight-color: transparent;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-mid));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--text-white);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.15s;
}

.dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.07);
  padding-left: 1.5rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.85;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-card);
  padding: 1.5rem 5%;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  opacity: 1;
  overflow-y: auto;
}

.mobile-menu a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107, 33, 168, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(124, 58, 237, 0.18) 0%, transparent 60%);
  animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-grid {
  position: absolute;
  inset: -50% -50% 0 -50%;
  z-index: 0;
  opacity: 0.1;
  background-image: linear-gradient(rgba(201, 168, 76, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(100vh) rotateX(60deg) scale(1);
  transform-origin: center top;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from { transform: perspective(100vh) rotateX(60deg) translateY(0); }
  to { transform: perspective(100vh) rotateX(60deg) translateY(60px); }
}


.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107, 33, 168, 0.25);
  border: 1px solid rgba(107, 33, 168, 0.4);
  color: var(--purple-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.h1-brand {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  margin: 1.5rem auto 2.5rem;
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(107, 33, 168, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(107, 33, 168, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s;
}

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

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

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

/* ── SECTION BASE ── */
section {
  padding: 100px 5%;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
}

.text-center {
  text-align: center;
}

.text-center .section-label {
  justify-content: center;
}

.text-center .section-label::before {
  display: none;
}

.text-center .section-sub {
  margin: 0 auto;
}

/* ── SERVICES ── */
.services {
  background: var(--bg-section);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  /* Removes underlines */
  color: inherit;
  /* Keeps text from turning blue */
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  /* Ensures all cards are same height */
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: rgba(107, 33, 168, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.3), rgba(201, 168, 76, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(107, 33, 168, 0.3);
}

.service-card h3 {
  color: var(--text-white);
  margin: 1.2rem 0 0.6rem;
  font-size: 1.1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
  /* Pushes 'Learn More' to the bottom */
}

.learn-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.learn-more:hover {
  gap: 10px;
}

/* ── CLIENTS ── */
.clients {
  background: var(--bg-dark);
  overflow: hidden;
}

.clients-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track-wrap {
  overflow: hidden;
  margin-top: 3.5rem;
  position: relative;
}

.carousel-track-wrap::before,
.carousel-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.carousel-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.carousel-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark), transparent);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.client-card {
  width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: border-color 0.3s, transform 0.3s;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
}

.client-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.client-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  color: #fff;
  flex-shrink: 0;
}

.client-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-white);
}

.client-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: rgba(107, 33, 168, 0.2);
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stars {
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
  letter-spacing: 2px;
}

/* ── CONTACT ── */
.contact {
  background: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3.5rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(107, 33, 168, 0.2);
  border: 1px solid rgba(107, 33, 168, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.info-text .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.info-text .value {
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  border: none;
  padding: 0.95rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(107, 33, 168, 0.35);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(107, 33, 168, 0.5);
}

.success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  text-align: center;
  color: #34D399;
  font-weight: 600;
  margin-top: 1rem;
}

.success-msg.show {
  display: block;
}

/* ── FOOTER ── */
footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 5rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
}

.social-icon:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  color: var(--text-white);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-contact li span:first-child {
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gold-line {
  color: var(--gold);
}

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 5% 60px;
  }

  .hero-stats {
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.mobile-sub-link {
  padding-left: 1.5rem !important;
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}


.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Two columns like your screenshot */
  gap: 12px 20px;
  margin-top: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  /* Vertically centers checkbox with text */
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

/* This is the secret sauce: it stops the checkbox from 
   acting like your big text inputs */
.check-item input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  cursor: pointer;
  accent-color: var(--purple-light);
  /* Makes it purple when ticked */
  /* Remove any background/border shadows from global input styles */
  box-shadow: none !important;
}

.check-item:hover {
  color: var(--text-white);
}

/* Mobile fix: stack them in one column on small screens */
@media (max-width: 480px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

.client-img {
  width: 100%;
  height: 100%;
  border-radius: 60%;
  /* Keeps it circular */
  object-fit: contain;
  /* Shows the full logo without cropping */
  background: white;
  /* Gives logos with transparency a clean background */
  padding: 5px;
  /* Adds a little breathing room inside the circle */
}

/* Ensure the container doesn't cut off the image */
.client-logo {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ── HOME PAGE CONTACT LAYOUT FIX ── */
.contact-container {
  display: flex;
  flex-direction: row;
  /* Horizontal on Web */
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  /* Left Half */
}

.contact-form {
  flex: 1.2;
  /* Right Half */
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

/* 📱 MOBILE FIX ── */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column !important;
    /* Stacks vertically */
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    /* Single column inputs */
    gap: 1rem !important;
  }

  .contact-form {
    width: 100%;
    padding: 1.5rem !important;
  }
}

/* ── MODERN PILL CHECKBOXES ── */
.modern-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.modern-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.modern-pill:hover {
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--text-white);
  background: rgba(0, 0, 0, 0.07);
}

.modern-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.modern-pill.active {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  border-color: var(--purple-light);
  color: #fff;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.35);
}

/* ── ERROR MESSAGE STYLES ── */
.error-msg {
  color: #ff4d4f;
  font-size: 0.75rem;
  margin-top: 0.4rem;
  display: none;
  font-weight: 500;
}