@charset "UTF-8";
/* CSS Document */

:root {
  --orange: #f26b21;
  --purple: #7b2cbf;
  --deep-purple: #4b0082;
  --dark-gray: #222222;
  --light-bg: #f7f3f9;
  --white: #ffffff;
}

/* RESET / BASE */

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

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--dark-gray);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

/* Global typography */

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-weight: 400;
}

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

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

a:hover,
a:focus {
  text-decoration: none; /* remove white underline globally */
}

/* LAYOUT HELPERS */

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--light-bg);
  color: var(--dark-gray);
}

/* HEADER */

.site-header {
  background: linear-gradient(to bottom, #f4f4f4, #e5e5e5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--dark-gray);
}

.site-header a {
  color: var(--dark-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 72px;
  width: auto;
}

.brand-name {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-gray);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

/* Gradient hover underline only (no white line) */
.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
  transition: width 0.25s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.nav-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 600;
}

.nav-pill:hover,
.nav-pill:focus {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  text-decoration: none;
}

/* Disable underline hover effect for the Packages pill */
.main-nav .nav-pill::after {
  display: none !important;
  content: none !important;
}


/* HERO (WITH OPTIONAL VIDEO) */

.hero {
  position: relative;
  background: radial-gradient(circle at top left, var(--purple), var(--deep-purple));
  color: var(--white);
  padding: 9rem 0 8rem;
  overflow: hidden;
}

.hero-with-video::after {
  /* overlay to keep text readable over video */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2; /* above video + overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  transition: opacity 1s ease-out;
}

.hero-video.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-text {
  max-width: 700px;
  text-align: left;
}

.hero-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

/* BUTTONS */

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--purple));
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  transition: 
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(242, 107, 33, 0.35); /* orange glow */
  text-decoration: none;
}

/* SECTIONS */

.section-header {
  margin-bottom: 2rem;
  max-width: 640px;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.section-header p {
  font-size: 0.95rem;
  font-weight: 400;
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.25rem 1.2rem 1.1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--orange);
}

.section-alt .service-card {
  background: var(--white);
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--deep-purple);
  font-weight: 600;
}

.service-card p {
  font-size: 0.9rem;
}

/* Note under services */
.packages-note {
  margin-top: 1.8rem;
  font-size: 0.9rem;
}

/* ===========================
   SERVICE ICONS (Remix Icon)
   =========================== */

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, var(--orange), var(--purple));
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  font-size: 28px; /* size of Remix icon */
}

/* Hover consistency with your new card animations */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: 0.9rem;
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border-top: 3px solid var(--orange);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-top-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.11);
  border-top-color: var(--purple);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  color: var(--deep-purple);
  font-weight: 600;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}


/* WORK – RECENT WORK SECTION */

.recent-work-section {
  background: radial-gradient(circle at top left, var(--purple), #050508);
  color: var(--white);
}

.recent-work-header {
  margin-bottom: 2.4rem;
}

.recent-work-title {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  position: relative;
  display: inline-block;
}

.recent-work-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
}

.recent-work-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #d4cfeb;
  max-width: 640px;
}

/* Grid + cards */

.work-grid,
.recent-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.work-item,
.recent-work-card {
  background: radial-gradient(circle at top, rgba(255, 122, 51, 0.18), rgba(0, 0, 0, 0.9));
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}


/* ===========================
   SCROLL REVEAL (FADE-UP)
   =========================== */

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-up.is-visible {
  animation: revealUp 0.6s ease-out forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Shared media wrapper for nicer hover zoom */
.recent-work-media {
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}

.recent-work-media img,
.work-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.work-item:hover,
.recent-work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.95);
  border-color: rgba(242, 107, 33, 0.7); /* orange accent */
}

.work-item:hover img,
.recent-work-card:hover img {
  transform: scale(1.05);
}

/* Captions / labels */

.work-item figcaption,
.recent-work-label {
  padding: 0.85rem 1.05rem 1rem;
  font-size: 0.95rem;
  text-align: center;
  background: transparent;
  color: #f3efff;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.recent-work-card:hover .recent-work-label,
.work-item:hover figcaption {
  color: #ffb266; /* warm orange highlight */
}

/* ABOUT */

.about-inner {
  display: flex;
}

.about-text {
  max-width: 640px;
  font-size: 0.95rem;
}

.about-text p + p {
  margin-top: 0.75rem;
}

/* CONTACT */

.contact-inner {
  max-width: 640px;
}

.contact-details {
  font-size: 0.95rem;
}

.contact-details p + p {
  margin-top: 0.4rem;
}
/* ABOUT – split layout with snapshot card */

.about-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.about-text p + p {
  margin-top: 0.75rem;
}

.about-card {
  flex: 0 0 320px;
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--orange);
}

.about-card-logo {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, var(--orange), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.about-card-logo img {
  width: 70%;
  height: auto;
}

.about-card-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--deep-purple);
}

.about-card-list {
  list-style: none;
  font-size: 0.9rem;
}

.about-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.about-card-list i {
  font-size: 1.1rem;
  color: var(--orange);
}

/* CONTACT – dark split strip with CTA card */

.contact-section {
  background: #181818;
  color: #ffffff;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
}

.contact-copy {
  max-width: 560px;
}

.contact-copy h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.contact-intro {
  font-size: 0.98rem;
  margin-bottom: 1.3rem;
}

.contact-details a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-card {
  flex: 0 0 320px;
  background: radial-gradient(circle at top left, rgba(123, 44, 191, 0.9), rgba(0, 0, 0, 0.95));
  border-radius: 1.2rem;
  padding: 1.3rem 1.4rem 1.3rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
}

.contact-card-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.contact-card-list {
  list-style: none;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.contact-card-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.contact-card-list i {
  color: #ffffff;
  font-size: 1.1rem;
}

.contact-btn {
  width: 100%;
  justify-content: center;
}

/* Stack on small screens */

@media (max-width: 900px) {
  .about-inner,
  .contact-inner {
    flex-direction: column;
  }

  .about-card,
  .contact-card {
    flex: 1 1 auto;
  }
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .services-grid,
  .work-grid,
  .recent-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    text-align: left;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .work-grid,
  .recent-work-grid {
    grid-template-columns: 1fr;
  }

  .brand-name {
    display: none;
  }
}

/* SUBPAGE HERO VARIANT */

.hero-sub {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* INCLUDES SECTION (base; overridden later with checkmarks) */

.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.includes-list {
  list-style: none;
  font-size: 0.95rem;
}

.includes-list li + li {
  margin-top: 0.35rem;
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.pricing-card {
  background: #111111;
  border-radius: 0.9rem;
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  border-top: 3px solid var(--purple);
}

.pricing-card-highlight {
  border-top-color: var(--orange);
  transform: translateY(-4px);
}

.pricing-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.9rem;
}

.pricing-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pricing-unit {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
  list-style: none;
  font-size: 0.9rem;
}

.pricing-features li + li {
  margin-top: 0.35rem;
}

.pricing-features .note {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* A LA CARTE */

.alacarte-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.alacarte-group h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.alacarte-list {
  list-style: none;
  font-size: 0.95rem;
}

.alacarte-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.section:not(.section-alt) .alacarte-list li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.alacarte-list .price {
  white-space: nowrap;
  font-weight: 600;
}

.alacarte-list .note {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* RESPONSIVE ADJUSTMENTS FOR PACKAGES PAGE */

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alacarte-grid,
  .includes-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-highlight {
    transform: none;
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Gray section variant for the includes block */
.section-gray {
  background: #e5e5e5;
  color: var(--dark-gray);
}

/* Make certain section headers full-width when needed */
.section-header-wide {
  max-width: 100%;
}

/* Includes section with checkmarks (overrides basic includes styles) */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.includes-list {
  list-style: none;
  font-size: 0.95rem;
}

.includes-list li {
  position: relative;
  padding-left: 1.6rem;
}

.includes-list li + li {
  margin-top: 0.35rem;
}

.includes-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--orange);
}

/* Keep includes grid stacked on narrow screens */
@media (max-width: 900px) {
  .includes-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   RECENT WORK LIGHTBOX
   ========================================= */

.work-item {
  cursor: zoom-in; /* subtle cue that it's clickable */
}

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.work-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.work-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(123, 44, 191, 0.9), rgba(0, 0, 0, 0.95));
  backdrop-filter: blur(4px);
}

.work-lightbox-content {
  position: relative;
  max-width: min(1040px, 90vw);
  max-height: 85vh;
  margin: 0;
  padding: 1.25rem 1.4rem 1.3rem;
  border-radius: 1.3rem;
  background: #050509;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* The big image */
#work-lightbox-image {
  max-width: 100%;
  max-height: 65vh;
  border-radius: 0.9rem;
  display: block;
}

/* Caption under image */
#work-lightbox-caption {
  font-size: 0.9rem;
  color: #f3efff;
  letter-spacing: 0.01em;
  text-align: center;
}

/* Close button */
.work-lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 999px;
}

.work-lightbox-close:hover,
.work-lightbox-close:focus {
  background: rgba(0, 0, 0, 0.35);
}

/* Small-screen tweaks */
@media (max-width: 640px) {
  .work-lightbox-content {
    max-width: 94vw;
    padding: 1rem 1rem 1.1rem;
  }

  #work-lightbox-image {
    max-height: 60vh;
  }
}

/* ===========================
   SCROLL TO TOP BUTTON
   =========================== */

.scroll-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  cursor: pointer;
  font-size: 24px;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  z-index: 9999;
}

.scroll-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
/* =========================================
   CONTACT FORM POPUP (JOTFORM MODAL)
   ========================================= */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.contact-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left,
    rgba(123, 44, 191, 0.9),
    rgba(0, 0, 0, 0.95)
  );
  backdrop-filter: blur(3px);
}

/* Dialog shell */
.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 94vw);
  max-height: 90vh;          /* cap height to viewport */
  background: #050509;
  border-radius: 1.5rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
  padding: 1.6rem 1.8rem 1.6rem;
  border-top: 4px solid var(--orange);

  /* key: let the whole dialog scroll if content is taller */
  overflow-y: auto;
}

.contact-modal-body {
  /* simple block layout inside the dialog */
  display: block;
  margin-top: 0.25rem;
}

/* Title / intro text in modal */
.contact-modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.contact-modal-intro {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

/* Close button */
.contact-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-modal-close:hover,
.contact-modal-close:focus {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-1px);
}

.contact-modal-frame-wrap {
  border-radius: 1.1rem;
  overflow: hidden;
  background: #111;
  margin-top: 0.75rem;
}

/* JotForm injects an iframe here */
.contact-modal-frame-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .contact-modal-dialog {
    padding: 1.3rem 1.1rem 1.3rem;
  }

  .contact-modal-title {
    font-size: 1.4rem;
  }

  .contact-modal-frame-wrap iframe {
    height: 60vh;
  }
}

/* Other modal override you had */
#projectModal .modal-content {
  max-height: none !important;
  height: auto !important;
}
