@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN SYSTEM VARIABLES
   ========================================================================== */
:root {
  --bg-dark: #030b14;       /* Deep Space Dark Navy */
  --bg-navy: #071629;       /* Deep Navy */
  --bg-card: #0c213a;       /* Lighter Slate Navy */
  --gold: #C9A45B;          /* Elegant Gold */
  --gold-hover: #E2BE76;    /* Lighter Gold for Hover */
  --ivory: #F3EEE4;         /* Warm Ivory Text */
  --text-muted: #A0AFB7;    /* Muted Silver-Gray */
  
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --max-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--ivory);
  background-color: var(--bg-dark);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--ivory);
  font-weight: 400;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--ivory);
  opacity: 0.9;
}

p.lead {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition-fast);
  font-weight: 600; /* Bold all general hyperlinks */
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ==========================================================================
   LAYOUT CONTAINERS & SECTION UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

.bg-secondary-section {
  background-color: var(--bg-navy);
}

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

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

/* ==========================================================================
   GOLD DIVIDER
   ========================================================================== */
.divider-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3.5rem 0;
  width: 100%;
}

.divider-gold::before,
.divider-gold::after {
  content: "";
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
  flex-grow: 1;
  max-width: 150px;
}

.divider-gold .diamond {
  color: var(--gold);
  font-size: 1rem;
  margin: 0 1rem;
  display: inline-block;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  width: 8px;
  height: 8px;
  background-color: var(--bg-dark);
}

/* ==========================================================================
   PULL QUOTE
   ========================================================================== */
.pull-quote {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--gold);
  text-align: center;
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
  line-height: 1.4;
  position: relative;
  font-weight: 300;
}

.pull-quote::before {
  content: "“";
  font-size: 4rem;
  position: absolute;
  left: -1rem;
  top: -2rem;
  opacity: 0.2;
  color: var(--gold);
}

.pull-quote::after {
  content: "”";
  font-size: 4rem;
  position: absolute;
  right: -1rem;
  bottom: -3rem;
  opacity: 0.2;
  color: var(--gold);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid rgba(201, 164, 91, 0.1);
  transition: background-color var(--transition-medium), padding var(--transition-medium);
  padding: 1.25rem 0;
}

header.scrolled {
  background-color: rgba(3, 11, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(201, 164, 91, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1450px;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
  transition: all var(--transition-medium);
  filter: drop-shadow(0 0 8px rgba(201, 164, 91, 0.1));
}

.logo-img:hover {
  transform: scale(1.03);
}

header.scrolled .logo-img {
  height: 54px; /* Scaled down smoothly on scroll for compact sticky header */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  align-items: center;
}

nav a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ivory);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
}

nav a:hover, nav li.active a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0.5rem;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--ivory);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(3, 11, 20, 0.4) 0%, rgba(3, 11, 20, 0.95) 100%), url('../img/hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.2s forwards 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 20px rgba(201, 164, 91, 0.15));
}

.hero-tagline {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--ivory);
  margin-bottom: 3rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  font-family: var(--font-title);
  letter-spacing: 0.03em;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 18px 36px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-medium);
  outline: none;
}

.btn-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-medium);
}

.btn-primary {
  background-color: var(--bg-navy);
  border: 1.5px solid var(--gold);
  color: var(--ivory);
}

.btn-primary:hover {
  background-color: var(--gold);
  color: var(--bg-navy);
  box-shadow: 0 0 15px rgba(201, 164, 91, 0.3);
}

.btn-primary:hover .btn-icon {
  transform: rotate(45deg);
}

.btn-secondary {
  background-color: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--bg-navy);
  box-shadow: 0 0 15px rgba(201, 164, 91, 0.2);
}

.btn-secondary:hover .btn-icon {
  transform: rotate(45deg);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-bottom: 4px;
  position: relative;
  transition: var(--transition-fast);
}

.btn-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(1);
  transform-origin: bottom left;
  transition: transform var(--transition-medium);
}

.btn-text .arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

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

.btn-text:hover::after {
  background-color: var(--gold-hover);
}

.btn-text:hover .arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid rgba(201, 164, 91, 0.15);
  border-radius: 4px;
  padding: 2.5rem;
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 91, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-title {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 164, 91, 0.1);
  padding-bottom: 0.75rem;
}

.card-body {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-body ul {
  list-style: none;
  padding-left: 0.5rem;
}

.card-body li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-body li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ==========================================================================
   PAGES COMMON HERO & LAYOUTS
   ========================================================================== */
.page-hero {
  padding: 11rem 0 5rem 0;
  text-align: center;
  background-image: linear-gradient(to bottom, rgba(3, 11, 20, 0.7) 0%, rgba(3, 11, 20, 1) 100%), url('../img/hero-bg.png');
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid rgba(201, 164, 91, 0.15);
}

.page-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.page-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 300;
  letter-spacing: 0.05em;
  max-width: 800px; /* Increased to prevent wrapping */
  margin: 0 auto;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

/* Credentials Strip */
.credibility-strip {
  background-color: var(--bg-navy);
  border-top: 1px solid rgba(201, 164, 91, 0.2);
  border-bottom: 1px solid rgba(201, 164, 91, 0.2);
  padding: 2rem 0;
}

.credibility-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.credibility-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.credibility-icon {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}

.credibility-text {
  font-family: var(--font-title);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.credibility-subtext {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.form-control {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid rgba(201, 164, 91, 0.25);
  border-radius: 4px;
  padding: 1rem;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(201, 164, 91, 0.2);
  background-color: rgba(12, 33, 58, 0.7);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.25rem;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-checkbox span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form Success Overlay style */
.form-success-container {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 4px;
  animation: fadeIn 0.5s ease forwards;
}

.form-success-icon {
  width: 48px;
  height: 48px;
  fill: var(--gold);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(201, 164, 91, 0.15);
  border-radius: 4px;
  background-color: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(201, 164, 91, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 1.75rem 2rem;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 400;
  padding-right: 1.5rem;
  transition: color var(--transition-fast);
}

.faq-icon {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  transition: transform var(--transition-medium);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium) cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 2rem 1.75rem 2rem;
  border-top: 1px solid rgba(201, 164, 91, 0.08);
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* FAQ Active State */
.faq-item.active {
  border-color: var(--gold);
}

.faq-item.active .faq-question h3 {
  color: var(--gold);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   PARTICIPATE PAGE ELEMENTS
   ========================================================================== */
.step-card {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid rgba(201, 164, 91, 0.15);
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
  transition: var(--transition-fast);
}

.step-card:hover {
  border-color: rgba(201, 164, 91, 0.35);
}

.step-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--gold);
  background-color: var(--bg-navy);
  border: 1px solid var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.step-content p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Checklist items */
.checklist {
  list-style: none;
  margin-bottom: 2rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0.25rem;
  color: var(--gold);
  font-weight: bold;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: #02070e;
  border-top: 1px solid rgba(201, 164, 91, 0.15);
  padding: 3rem 0 1.5rem 0; /* Reduced padding */
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem; /* Reduced margin */
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.footer-links h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 164, 91, 0.08);
  padding-top: 1.5rem; /* Reduced padding */
  display: flex;
  flex-direction: column; /* Stacked layout */
  align-items: center;
  text-align: center;
  gap: 0.5rem; /* Halved gap */
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.75rem;
}

.footer-credentials-summary {
  font-style: italic;
  font-size: 0.75rem;
  max-width: 650px;
  text-align: center; /* Centered credentials summary */
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE ANIMATIONS & MEDIA QUERIES
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-credentials-summary {
    text-align: left;
    max-width: 100%;
  }
}

/* Small Screens (Mobiles) */
@media (max-width: 1150px) {
  header {
    padding: 1rem 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-navy);
    z-index: 1050;
    padding: 6rem 2rem 2rem 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    transition: right var(--transition-medium);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1.75rem;
  }
  
  nav a {
    font-size: 0.95rem;
  }
  
  /* Prevent scrolling when nav is active */
  body.nav-active {
    overflow: hidden;
  }
  
  /* Burger transition to 'X' */
  .burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 768px) {  
  .hero {
    padding-top: 80px;
  }
  
  .hero-logo-img {
    margin-bottom: 1.5rem;
  }
  
  .hero-tagline {
    font-size: 1.15rem;
    margin-bottom: 2rem;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .btn {
    width: 100%;
    padding: 16px 24px;
  }
  
  .page-hero {
    padding: 8rem 0 4rem 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .credibility-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding-left: 2rem;
  }
  
  .divider-gold {
    margin: 2.5rem 0;
  }
  
  .pull-quote {
    font-size: 1.4rem;
    margin: 2rem auto;
  }
  
  .card {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   PARTICIPATE ACTION GRID LAYOUT & FAQ UNBOLDING (ROUND 2 CHANGES)
   ========================================================================== */
.participate-grid-container {
  max-width: 600px;
  margin: 2rem auto 0 auto;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.participate-squares-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.btn-participate-square {
  background-color: var(--bg-navy);
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  color: var(--ivory);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-medium);
  min-height: 180px;
  height: auto !important;
  position: relative;
  overflow: hidden;
}

/* Step Completed Badge and Visuals */
.btn-participate-square.step-completed {
  border-color: #28a745 !important;
}

.btn-participate-square.step-completed::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #28a745;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-participate-square .btn-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.btn-participate-square .step-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.btn-participate-square .step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-family: var(--font-body);
}

.btn-participate-square:hover {
  background-color: var(--gold);
  color: var(--bg-navy);
  box-shadow: 0 0 15px rgba(201, 164, 91, 0.25);
}

.btn-participate-square:hover .step-title,
.btn-participate-square:hover .step-desc,
.btn-participate-square:hover .btn-icon {
  color: var(--bg-navy);
}

.participate-rect-row {
  width: 100%;
}

.btn-participate-rect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-align: center;
  width: 100%;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Disabled State for Step 3 Questionnaire */
.btn-participate-rect.btn-participate-disabled {
  opacity: 0.85 !important;
  background-color: rgba(201, 164, 91, 0.1) !important;
  border: 1.5px solid rgba(201, 164, 91, 0.45) !important;
  color: rgba(201, 164, 91, 0.8) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all var(--transition-medium);
}

.btn-rect-primary {
  background-color: var(--gold);
  border: 1.5px solid var(--gold);
  color: var(--bg-navy);
  padding: 24px 36px;
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-rect-primary .btn-icon {
  width: 24px;
  height: 24px;
  color: var(--bg-navy);
}

.btn-rect-primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: 0 0 20px rgba(201, 164, 91, 0.4);
}

.participate-rect-secondary-row {
  width: 70%;
  margin: 0 auto;
}

.btn-rect-secondary {
  background-color: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-rect-secondary .btn-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.btn-rect-secondary:hover {
  background-color: var(--gold);
  color: var(--bg-navy);
  box-shadow: 0 0 15px rgba(201, 164, 91, 0.2);
}

.btn-rect-secondary:hover .btn-icon {
  color: var(--bg-navy);
}

/* FAQ answers unbolding */
.faq-answer ul, .faq-answer li {
  font-weight: 300;
}

@media (max-width: 576px) {
  .participate-squares-row {
    grid-template-columns: 1fr;
  }
  .participate-rect-secondary-row {
    width: 100%;
  }
}

/* ==========================================================================
   ELEMENTOR INTEGRATION OVERRIDES
   ========================================================================== */

/* Fix invisible/dark sections in Elementor Editor by disabling scroll animations */
.elementor-editor-active .scroll-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Eliminate Elementor section/column paddings and gaps ONLY for CAD custom widgets */
.elementor-section:has([class*="elementor-widget-cad-"]) {
  padding: 0 !important;
  margin: 0 !important;
}
.elementor-section:has([class*="elementor-widget-cad-"]) > .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.elementor-section:has([class*="elementor-widget-cad-"]) .elementor-column > .elementor-widget-wrap,
.elementor-section:has([class*="elementor-widget-cad-"]) .elementor-column > .elementor-element-populated {
  padding: 0 !important;
  margin: 0 !important;
}
.elementor-section:has([class*="elementor-widget-cad-"]) .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure the fixed header overlaps the hero section on Elementor pages */
.elementor-page header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.elementor-page .hero {
  margin-top: 0 !important;
}

/* Subpage Widget Styling Overrides */
.cad-lead-quote,
.cad-lead-quote p {
  font-family: var(--font-title) !important;
  font-size: 1.45rem !important;
  color: var(--gold) !important;
  font-style: italic !important;
  line-height: 1.45 !important;
  text-align: center !important;
}
.cad-lead-quote p {
  margin-bottom: 0;
}
.cad-lead-quote p:not(:last-child) {
  margin-bottom: 1.5rem;
}

.cad-dissertation-title,
.cad-dissertation-title p,
.cad-dissertation-title strong,
.cad-dissertation-title p strong {
  font-family: var(--font-title) !important;
  font-size: 1.15rem !important;
  color: var(--ivory) !important;
  font-style: italic !important;
  line-height: 1.5 !important;
}
.cad-dissertation-title strong,
.cad-dissertation-title p strong {
  color: var(--gold) !important;
}
.cad-dissertation-title p {
  margin-bottom: 0;
}
.cad-dissertation-title p:not(:last-child) {
  margin-bottom: 0.5rem;
}

.cad-dissertation-desc,
.cad-dissertation-desc p {
  font-size: 0.95rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
}
.cad-dissertation-desc p {
  margin-bottom: 0;
}
.cad-dissertation-desc p:not(:last-child) {
  margin-bottom: 1rem;
}

.cad-rich-text ul {
  list-style: none !important;
  margin-bottom: 2rem;
  padding-left: 0.5rem;
}

.cad-rich-text ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.cad-rich-text ul li::before {
  content: "✦" !important;
  position: absolute;
  left: 0;
  color: var(--gold);
}

.page-slug-about-andrew .cad-rich-text ul li {
  color: var(--text-muted);
}

/* Subpage Outer Section Paddings */
.page:not(.home) .elementor-section:first-of-type {
  padding-top: 5rem !important;
}
.page:not(.home) .elementor-section:last-of-type {
  padding-bottom: 5rem !important;
}

/* Credentials Card Description Styling */
.cad-credentials-desc,
.cad-credentials-desc p {
  font-size: 1.05rem !important;
  color: var(--ivory) !important;
  line-height: 1.6 !important;
}
.cad-credentials-desc p {
  margin-bottom: 0;
}
.cad-credentials-desc p:not(:last-child) {
  margin-bottom: 1rem;
}

/* Dissertation Quote Block Styling */
.cad-dissertation-quote,
.cad-dissertation-quote p {
  font-family: var(--font-title) !important;
  font-size: 1.25rem !important;
  color: var(--gold) !important;
  font-style: italic !important;
  line-height: 1.5 !important;
}
.cad-dissertation-quote p {
  margin-bottom: 0;
}
.cad-dissertation-quote p:not(:last-child) {
  margin-bottom: 1rem;
}

/* Shortcode toggle container */
.cad-shortcode-container {
  display: none;
  margin-top: 3rem;
  text-align: left;
  padding: 2.5rem;
  background: var(--bg-navy) !important;
  border: 1px solid rgba(201, 164, 91, 0.3) !important;
  border-radius: 4px;
}

/* reCAPTCHA responsive adjustments */
.g-recaptcha {
  display: inline-block;
  margin: 0 auto;
}

/* Success reference block text sizing */
.form-success-container strong {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
}

/* Force constraint on action panel and share experience form to match content-block width */
.elementor-widget-cad-participate-action-panel .container.content-block,
.elementor-widget-cad-share-experience-form .container.content-block {
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* Responsive constraints to fix layout overflow on smaller viewports */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem !important; /* Reduce outer wrapper padding */
  }
}

@media (max-width: 576px) {
  /* Reduce excessive padding inside action panel and narrative form cards */
  .elementor-widget-cad-participate-action-panel .scroll-animate,
  .elementor-widget-cad-share-experience-form .scroll-animate,
  .elementor-widget-cad-contact-form .scroll-animate {
    padding: 2rem 1.25rem !important;
  }
  
  /* Scale down square buttons to fit mobile screens */
  .btn-participate-square {
    padding: 1.75rem 1rem !important;
    min-height: 160px !important;
  }
  
  .btn-participate-square .step-title {
    font-size: 1.05rem !important;
  }
  
  .btn-participate-square .step-desc {
    font-size: 0.8rem !important;
  }
  
  /* Scale down rectangular buttons to prevent screen bleed */
  .btn-rect-primary {
    padding: 18px 24px !important;
    font-size: 0.95rem !important;
  }
  
  .btn-rect-secondary {
    padding: 14px 20px !important;
    font-size: 0.85rem !important;
  }
}




