/* Import local fonts */
@import './css/fonts.css';

/*
 * Traaple Partner Microsite Styles
 *
 * This stylesheet defines the visual language for the partner landing
 * pages. It takes cues from Traaple's existing design system by using
 * the Mont and Inter typefaces, a vibrant primary colour and
 * generous rounded corners. Sections are spaced with plenty of
 * breathing room and adapt gracefully to mobile screens.
 */

:root {
  /* Brand colours derived from Traaple's design system.
     Primary blue is used for calls‑to‑action and accents.
     Secondary and accent shades support colourful highlights
     seen across the official site. */
  --primary-color: #005fc5;
  --primary-hover: #025bbb;
  --secondary-color: #f5f7ff;
  --accent1: #8738f9;
  --accent2: #f99033;
  --accent3: #fa168a;
  --accent4: #f04254;
  --text-color: #1a1a1a;
  --background-color: #ffffff;
  /* Use the Mont family for headings and Inter for body copy, matching traaple-home */
  --heading-font: var(--font-primary);
  --body-font: var(--font-secondary);
}

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

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
}

p,
span,
div,
label,
input,
button {
  font-family: var(--body-font);
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 1.2rem 2rem;
  /* Match the Earnings section background */
  background-color: var(--secondary-color);
  border-bottom: 1px solid #e6ecff;
}

/* Full-width background behind header + hero so the hero's rounded
   margins sit on the same tint as the Earnings section */
.top-chrome {
  background-color: var(--secondary-color);
}
.brand {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}
.brand .logo-img {
  height: 35px;
}
.brand .logo-text {
  font-family: var(--heading-font);
  /* Slightly lighter weight for the logo wordmark */
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--primary-color);
}
.cta-button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600; /* medium-bold for clearer emphasis */
  font-family: var(--heading-font); /* Use Mont for primary buttons */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.cta-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  margin: 0.5rem 2rem 0 2rem;
  border-radius: 16px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('assets/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: start;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  max-width: 800px;
  padding: 0 1rem;
}
.hero h1 {
  font-family: var(--heading-font);
  /* Use a lighter weight for the main headline to prevent overwhelming boldness */
  font-weight: 600; /* medium bold */
  /* Responsive scaling for hero title */
  font-size: clamp(1.8rem, 4vw + 1rem, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero p {
  /* Responsive scaling for hero subtext */
  font-size: clamp(1rem, 1.2vw + 0.8rem, 1.3rem);
  margin-bottom: 2.8rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Emphasised CTA within hero */
.hero .cta-button {
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
}

/* Sections */
section {
  padding: 3rem 0;
}

.steps h2,
  .earnings h2,
  .benefits h2,
  .contact-form h2 {
font-family: var(--heading-font);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Steps */
.steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.step {
  flex: 1 1 30%;
  background-color: var(--secondary-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.step-icon {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--primary-color);
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: start;
  justify-content: center;
  margin-bottom: 1rem;
}
/* Use a bright sky blue for steps 1–3 */
.step:not(:last-child) .step-icon {
  background-color: #4fc3f7;
}

/* Make the final step in the how‑it‑works section stand out.
   Instead of a solid circle, use the star.png graphic as the
   background. Preserve the number overlay by keeping the text
   colour visible. */
/* Style the 4th (final) step card */
.step:last-child {
  background-color: #0f2a47;
}
.step:last-child h3,
.step:last-child p {
  color: #ffffff;
}
.step:last-child .step-icon {
  /* Restore star graphic behind the number */
  background-color: transparent;
  background-image: url('assets/emojis/star.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #0f2a47; /* Number "4" colour */
  width: 72px;
  height: 72px;
}

.step h3 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  /* Medium weight for step titles to make them stand out */
  font-weight: 600;
}

.step p {
  font-size: 0.95rem;
  color: #555;
}

/* Earnings */
.earnings {
  background-color: var(--secondary-color);
  text-align: center;
  padding: 3rem 2rem;
}
.earnings .container {
  max-width: 1200px;
  margin: 0 auto;
}
.earnings h2 {
  margin-bottom: 1rem;
}
.earnings p {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary-color);
}

/* Partner Details Section with Tabs */
.partner-details {
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
}

.partner-details h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
}

/* Responsive scaling for the partner section title */
@media (max-width: 768px) {
  .partner-details h2 {
    font-size: 2rem;
    margin-bottom: 2.25rem;
  }
}

@media (max-width: 480px) {
  .partner-details h2 {
    font-size: 1.65rem;
    margin-bottom: 2rem;
  }
}

.tabs {
  width: 100%;
}

.tab-nav {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #eee;
  margin-bottom: 2rem;
  gap: 1rem;
}

.tab-button {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--heading-font);
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  border-radius: 8px 8px 0 0;
}

.tab-button:hover {
  color: var(--primary-color);
  background-color: #f8f9ff;
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background-color: #f8f9ff;
}

.tab-content {
  min-height: 400px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile responsiveness for tab navigation */
@media (max-width: 640px) {
  .tab-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .tab-nav::-webkit-scrollbar { display: none; }
  .tab-button {
    flex: 0 0 auto;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }
}

/* Problem Content */
.problem-content {
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.problem-content .emoji-composition {
  position: relative;
  height: 120px;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: start;
  justify-content: center;
}

.problem-content .emoji-composition img {
  position: absolute;
  opacity: 1;
  filter: none;
  transition: transform 0.3s ease;
}

/* Soft floating animation for influencer hearts */
@keyframes floatMargin {
  0% { margin-top: 0; }
  50% { margin-top: -8px; }
  100% { margin-top: 0; }
}
.problem-content .float-emoji {
  animation: floatMargin 4.5s ease-in-out infinite;
}
.problem-content .float-emoji.float-emoji-lg {
  animation-duration: 5.5s;
}
.problem-content .float-delay-1 { animation-delay: 0s; }
.problem-content .float-delay-2 { animation-delay: 0.6s; }
.problem-content .float-delay-3 { animation-delay: 1.2s; }

.problem-content h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.problem-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Problem background card (venue only): applies rounded corners and ensures legibility */
.problem-content.bg-card {
  color: #ffffff;
  border-radius: 16px;
  padding: 3rem 2.25rem; /* extra padding so text breathes */
  background-size: cover;
  background-position: center;
}
.problem-content.bg-card .problem-top-icon {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto 1rem auto;
}
.problem-content.bg-card .panel-cta { margin-top: 2rem; }

@media (max-width: 480px) {
  .problem-content.bg-card { padding: 2rem 1.25rem; }
}
.problem-content.bg-card h3,
.problem-content.bg-card p {
  color: #ffffff;
}

/* Solution Content */
.solution-content {
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.solution-content .emoji-composition {
  position: relative;
  height: 120px;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: start;
  justify-content: center;
}

.solution-content .emoji-composition img {
  position: absolute;
  opacity: 1;
  filter: none;
  transition: transform 0.3s ease;
}

.solution-content .emoji-composition:hover img {
  transform: scale(1.1);
}

.solution-content h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.solution-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* CTA buttons placed at the bottom of each tab's panel */
.panel-cta {
  margin-top: 1.5rem;
}

/* Responsive type scaling for Problem/Solution copy */
@media (max-width: 640px) {
  .problem-content, .solution-content { padding: 1.25rem; }
  .problem-content h3, .solution-content h3 { font-size: 1.5rem; line-height: 1.3; }
  .problem-content p, .solution-content p { font-size: 0.98rem; line-height: 1.55; }
  .problem-content .emoji-composition, .solution-content .emoji-composition { height: 90px; }
  .panel-cta { width: 100%; }
}

@media (max-width: 480px) {
  .problem-content h3, .solution-content h3 { font-size: 1.35rem; }
  .problem-content p, .solution-content p { font-size: 0.95rem; }
  .problem-content .emoji-composition, .solution-content .emoji-composition { height: 72px; }
  .problem-content.bg-card .problem-top-icon { width: 48px; height: 48px; }
}

/* Center the button within the How It Works tab */
.steps-content .panel-cta {
  display: block;
  margin: 2rem auto 0;
}

/* Optional illustration placed in the Solution tab */
.solution-illustration {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin-top: 1.5rem;
  border-radius: 12px;
  box-shadow: none;
}

/* Steps Content in Tabs */
.steps-content {
  padding: 2rem 0;
}

.steps-content .step-list {
  /* Display the steps in a responsive grid. On small screens show two
     columns; on larger screens (tablet/desktop) show all four in a
     single row. */
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}

/* On small mobile screens, stack steps in a single column */
@media (max-width: 480px) {
  .steps-content .step-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .steps-content .step-list {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* Benefits */
.benefits {
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.benefits-grid {
  display: grid;
  /* Display benefit cards in two columns on desktop for improved readability */
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background-color: var(--secondary-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.benefit-image {
  width: 100%;
  /* Increase the height slightly so the icon has breathing room */
  height: 150px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  /* The benefit icon should sit on a pastel blue panel.  Use the
     secondary colour from the design system for this panel instead of
     relying on the illustration’s background. */
  background-color: var(--secondary-color);
  /* Centre the icon within its panel and prevent tiling */
  background-position: center;
  background-repeat: no-repeat;
  /* Constrain the icon size so it doesn’t overwhelm the card.  Using
     fixed pixel values here ensures consistent sizing across devices. */
  background-size: 5rem 5rem;
}

/*
 * Benefit card imagery
 *
 * Each of the benefit cards in the "Why partner with Traaple?" section includes
 * a decorative panel above the heading and description. Previously these
 * panels were left as neutral grey placeholders. To enhance the visual
 * storytelling for each benefit, we now apply custom background images
 * generated specifically for this microsite. The images live in the
 * assets folder and are sized appropriately for the cards.
 */

.benefit-card:nth-child(1) .benefit-image {
  /* Passive Income: simplified 3D coin and arrow icon with a transparent background */
  background-image: url('assets/passive-income-transparent.png');
}

.benefit-card:nth-child(2) .benefit-image {
  /* Reach Travellers: stylised world map with pin icon on a transparent background */
  background-image: url('assets/reach-travellers-transparent.png');
}

.benefit-card:nth-child(3) .benefit-image {
  /* Effortless Growth: 3D growth icon with leaves and arrow on a transparent background */
  background-image: url('assets/effortless-growth-transparent.png');
}

.benefit-card:nth-child(4) .benefit-image {
  /* Insights & Support: 3D bar chart and dashboard icon on a transparent background */
  background-image: url('assets/insights-support-transparent.png');
}
.benefit-card h3 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  /* Medium weight for benefit titles to create clear hierarchy */
  font-weight: 600;
}
.benefit-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Assign distinct accent colours to the benefit icons to mirror
   Traaple’s colourful highlight palette. */
   .benefits-grid  .benefit-icon {
    /* default styling for benefit icons — see individual nth-child selectors below */
    width: 100%;
    /* Match the benefit-image height for consistency */
    height: 150px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    /* Apply the pastel blue panel behind every icon */
    background-color: var(--secondary-color);
    /* Centre the icon within its panel and prevent tiling */
    background-position: center;
    background-repeat: no-repeat;
    /* Constrain the icon size similarly to benefit-image */
    background-size: 5rem 5rem;
   }

/*
 * Assign bespoke imagery to each benefit icon.  When the benefits grid is
 * rendered dynamically by script.js, each card becomes the nth-child in
 * the container.  These selectors attach the corresponding background
 * illustration generated for the microsite.
 */
.benefit-card:nth-child(1) .benefit-icon {
  /* Passive Income */
  background-image: url('assets/passive-income-transparent.png');
}

.benefit-card:nth-child(2) .benefit-icon {
  /* Reach Travellers */
  background-image: url('assets/reach-travellers-transparent.png');
}

.benefit-card:nth-child(3) .benefit-icon {
  /* Effortless Growth */
  background-image: url('assets/effortless-growth-transparent.png');
}

.benefit-card:nth-child(4) .benefit-icon {
  /* Insights & Support: bar chart on a monitor */
  background-image: url('assets/insights-support-transparent.png');
}



/* Form */
.contact-form form {
  max-width: 500px;
  margin: auto;
}

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

label {
  display: block;
  margin-bottom: 0.75rem;
  /* Medium weight for form labels to improve readability */
  font-weight: 500;
  color: var(--text-color);
  font-size: 1rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
}

input[type="text"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover,
select:hover {
  border-color: #e1e5e9;
}

/* Input with dropdown layout for influencer platform selection */
.input-with-dropdown {
  display: flex;
  gap: 0.5rem;
}

.platform-dropdown {
  flex: 0 0 140px;
  min-width: 140px;
}

.platform-dropdown.hidden,
.form-group.hidden {
  display: none;
}

.input-with-dropdown input[type="text"] {
  flex: 1;
}

/* Style placeholder text */
input::placeholder {
  color: #aaa;
}

/* Radio button styles */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-option {
  position: relative;
  padding: 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 100%; /* Make each radio option fill the parent width */
  box-sizing: border-box;
  display: block;
}

.radio-option:hover {
  border-color: var(--primary-color);
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option input[type="radio"]:checked + label {
  color: var(--primary-color);
}

.radio-option input[type="radio"]:checked + label::before {
  background-color: #fff;
  border-color: var(--primary-color);
}

.radio-option input[type="radio"]:checked + label::after {
  opacity: 1;
  left: 3px;
  top: 5px;
  width: 12px;
  height: 12px;
}

.radio-option:has(input[type="radio"]:checked) {
  border-color: var(--primary-color);
}

.radio-option label {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0;
  cursor: pointer;
  display: block;
  line-height: 1.4;
  width: 100%; /* Make label fill the radio option */
  box-sizing: border-box;
}

.radio-option label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid #e1e5e9;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
}

.radio-option label::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.radio-option label strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #1a1a1a;
}
.radio-option label br + span {
  font-size: 0.95rem;
  color: #555;
  display: block;
  margin-top: 0.1rem;
}

/* Adjust form button */
.contact-form button {
  margin-top: 2rem;
  width: 100%;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600; /* medium-bold */
  font-family: var(--heading-font);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Secondary CTA section replicating the hero call to action. */
/* Secondary CTA section: use a scenic background image and a centred white card for content. */
.secondary-cta {
  background-color: #0f2a47;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: start;
  position: relative;
}
.secondary-cta::before {
  /* Dark overlay to ensure text contrast */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.secondary-cta .cta-content-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: start;
}
.secondary-cta .cta-content-box {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.secondary-cta .cta-content-box h2 {
  font-family: var(--heading-font);
  /* Medium weight for the CTA heading to make it prominent */
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.secondary-cta .cta-content-box p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}
.secondary-cta .cta-content-box .cta-button {
  font-size: 1rem;
  padding: 0.8rem 2rem;
}

/* Layout and styling for the lead capture form embedded in the secondary CTA */
.secondary-cta .cta-form {
  margin-top: 1.5rem;
  width: 100%;
}
.secondary-cta .cta-form .form-group {
  margin-bottom: 1.5rem;
}
.secondary-cta .cta-form label {
  display: block;
  margin-bottom: 0.75rem;
  /* Medium weight for form labels to match other labels */
  font-weight: 500;
  text-align: left;
  color: var(--text-color);
  font-size: 1rem;
}
.secondary-cta .cta-form input[type="text"],
.secondary-cta .cta-form input[type="tel"],
.secondary-cta .cta-form input[type="email"],
.secondary-cta .cta-form select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.secondary-cta .cta-form input[type="text"]:focus,
.secondary-cta .cta-form input[type="tel"]:focus,
.secondary-cta .cta-form input[type="email"]:focus,
.secondary-cta .cta-form select:focus {
  outline: none;
  border-color: var(--primary-color);
}
.secondary-cta .cta-form input::placeholder {
  color: #aaa;
}
.secondary-cta .cta-form button {
  margin-top: 2rem;
  width: 100%;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600; /* medium-bold */
  font-family: var(--heading-font);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.secondary-cta .cta-form button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Thank you overlay styling */
.thank-you-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: start;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.thank-you-content {
  background-color: #ffffff;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  position: relative;
}

/* Close button in the thank you overlay */
.close-button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: #777;
  cursor: pointer;
  line-height: 1;
}
.close-button:hover {
  color: #111;
}
.thank-you-content h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 2rem;
  color: var(--primary-color);
}
.thank-you-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.thank-you-content .cta-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 24px;
  transition: background-color 0.3s ease;
}
.thank-you-content .cta-link:hover {
  background-color: var(--primary-hover);
}
.thank-you-hero {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

/* Industry-specific background classes */
body.venue-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

body.venue-bg .navbar {
  background-color: rgba(0, 0, 0, 0.8);
}

body.venue-bg .steps,
body.venue-bg .earnings,
body.venue-bg .partner-details {
  background-color: #2a2a2a;
  color: #ffffff;
}

body.venue-bg .benefit-card {
  background-color: #3a3a3a;
  color: #ffffff;
}

/* Footer */
footer {
  background-color: #0f2a47;
  padding: 2rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

footer .footer-logo,
footer p {
  position: relative;
  z-index: 1;
}

footer .footer-logo {
  height: 35px;
}

footer p {
  color: #ffffff;
  margin: 0;
}

/* Responsive footer */
@media (max-width: 768px) {
  footer {
    padding: 1.5rem 1rem;
  }
  
  footer .footer-logo {
    height: 28px;
  }
  
  footer p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 1rem;
  }
  
  footer .footer-logo {
    height: 24px;
  }
  
  footer p {
    font-size: 0.7rem;
  }
}

body.venue-bg footer {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .step-list {
    flex-direction: column;
  }
  .step {
    flex: 1 1 100%;
  }

  .hero {
    height: 60vh;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .cta-button {
    padding: 0.7rem 1.5rem;
  }

  .benefit-image {
    margin-bottom: 1rem;
  }
  .benefit-card h3 {
    font-size: 1.1rem;
  }

  /* Stack benefit cards on small screens */
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Narrow phone adjustments */
@media (max-width: 480px) {
  .hero {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .secondary-cta {
    padding: 3rem 0.75rem;
  }
  .navbar {
    padding: 0.9rem 1rem;
  }
}

/* Thank You Overlay */
.thank-you-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  text-align: center;
  padding: 20px;
}

.thank-you-overlay.hidden {
  display: none;
}

.thank-you-overlay h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #333;
}

.thank-you-overlay p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #333;
}

.thank-you-content .cta-link {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500;
}

.thank-you-overlay .cta-link:hover {
  text-decoration: none;
}

/* Multiple Fields Styling */
.multiple-field-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.social-profile-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  margin-top: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.social-profile-item:first-child {
  margin-top: 0;
}

.social-profile-item input[name*="social_followers"] {
  grid-column: 1 / -2;
  grid-row: 2;
}

.venue-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  margin-top: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.venue-item:first-child {
  margin-top: 0;
}

.venue-item select[name*="venue_type"] {
  grid-column: 1 / -2;
  grid-row: 2;
}

.venue-item input[name*="venue_capacity"] {
  grid-column: 1 / -2;
  grid-row: 3;
}

.event-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  margin-top: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.event-item:first-child {
  margin-top: 0;
}

.event-item input[name*="event_location"] {
  grid-column: 1 / -2;
  grid-row: 2;
}

.social-profile-item select,
.social-profile-item input,
.venue-item input,
.event-item input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  background-color: white;
}

.remove-item {
  background: transparent !important;
  color: #666666 !important;
  border: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  display: inline !important;
  cursor: pointer;
  font-size: 1rem !important;
  font-weight: normal !important;
  text-decoration: none !important;
  padding: 0.25rem 0 !important;
  margin-top: 0 !important;
  font-family: "Font Awesome 6 Free" !important;
}

.remove-item:hover {
  color: #333333 !important;
}

.add-item {
  background: transparent !important;
  border: none !important;
  color: #555 !important;
  cursor: pointer;
  font-size: 0.88rem !important;
  text-decoration: underline;
  padding: 0 !important;
  margin-top: -0.25rem !important;
}

.add-item:hover {
  color: #333;
}

/* Mobile responsiveness for multiple fields */
@media (max-width: 768px) {
  .social-profile-item,
  .venue-item,
  .event-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .remove-item {
    justify-self: end;
    margin-top: 0.5rem;
  }
}
