/* =========================================
   IFCDC GLOBAL SOFT-DARK + 3D GOLD (LIGHTER)
   ========================================= */

:root {
  --ifcdc-bg: #1a1a1a;          /* charcoal */
  --ifcdc-bg-soft: #222222;     /* lighter section dark */
  --ifcdc-card: #2b2b2b;        /* lifted card background */
  --ifcdc-border: #333333;
  --ifcdc-gold: #d4af37;        /* signature gold */
}

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  color: var(--ifcdc-gold);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

/* Softened 3D gold */
body, p, span, li, label, input, textarea, select, button, a,
h1, h2, h3, h4, h5, h6 {
  color: var(--ifcdc-gold);
  text-shadow:
    0px 1px 0px rgba(255, 255, 255, 0.18),
    0px 1.5px 2px rgba(0, 0, 0, 0.45);
}

/* Tighten line-height so the 3D effect stays clean */
p, li {
  line-height: 1.45;
}

.ifcdc-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ifcdc-bg);
  color: var(--ifcdc-gold);
}

/* Core content wrapper */
main, .page-wrapper, .content-wrapper {
  background: var(--ifcdc-bg);
  color: var(--ifcdc-gold);
}

/* Cards / panels */
.card,
.ifcdc-form-card,
.section-card,
.panel {
  background: var(--ifcdc-card);
  border-radius: 10px;
  border: 1px solid var(--ifcdc-border);
  box-shadow: 0 10px 26px rgba(0,0,0,0.65);
}

/* Section background */
section {
  background: var(--ifcdc-bg-soft);
}

/* Forms tuned for dark mode */
.ifcdc-form-shell {
  background: var(--ifcdc-bg);
}

/* Input fields on black theme */
.ifcdc-form-row input,
.ifcdc-form-row textarea,
.ifcdc-form-row select,
input,
textarea,
select {
  background: #050505;
  color: var(--ifcdc-gold);
  border: 1px solid var(--ifcdc-border);
  border-radius: 6px;
  padding: 8px 10px;
  box-sizing: border-box;
}

.ifcdc-form-row input::placeholder,
.ifcdc-form-row textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(212, 175, 55, 0.55);
  text-shadow: none;
}

/* Focus state */
.ifcdc-form-row input:focus,
.ifcdc-form-row textarea:focus,
.ifcdc-form-row select:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ifcdc-gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5);
}

/* Primary buttons */
.ifcdc-button-primary,
button,
input[type="submit"],
input[type="button"] {
  background: radial-gradient(circle at 30% 0%, #f5e1a5 0, #b8891d 45%, #5c4513 100%);
  color: #000000;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid #f1d68a;
  padding: 9px 18px;
  cursor: pointer;
  letter-spacing: 0.03em;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.9),
    0 4px 10px rgba(0, 0, 0, 0.85),
    0 0 12px rgba(212, 175, 55, 0.6);
  text-shadow:
    0px 1px 0px rgba(255, 255, 255, 0.5),
    0px 0px 4px rgba(0, 0, 0, 0.9);
}

.ifcdc-button-primary:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  transform: translateY(-1px);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.9),
    0 6px 14px rgba(0, 0, 0, 0.95),
    0 0 16px rgba(212, 175, 55, 0.8);
}

/* Links */
a {
  color: var(--ifcdc-gold);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
  text-shadow:
    0px 1px 0px rgba(255, 255, 255, 0.5),
    0px 0px 5px rgba(212, 175, 55, 0.8);
}

/* ===== IFCDC BLACK + GOLD BRAND BAR ===== */

.ifcdc-brand-header {
  width: 100%;
  background: #000000;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}

.ifcdc-brand-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1120px;
  width: 100%;
  padding: 0 16px;
}

.ifcdc-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(255,255,255,0.25));
}

.ifcdc-brand-text {
  display: flex;
  flex-direction: column;
}

/* ===== IFCDC 3D RAISED GOLD TEXT ===== */
.ifcdc-brand-text,
.ifcdc-brand-name,
.ifcdc-brand-tagline {
  color: #d4af37;
  text-shadow:
    0px 1px 0px rgba(255, 255, 255, 0.35),
    0px 2px 2px rgba(0, 0, 0, 0.55),
    0px 0px 6px rgba(212, 175, 55, 0.55);
}

.ifcdc-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ifcdc-brand-tagline {
  font-size: 0.75rem;
  opacity: 0.95;
}

/* ===== NAVIGATION BAR ===== */

.ifcdc-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #101018;
}

.ifcdc-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.ifcdc-logo-text {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.ifcdc-subbrand {
  font-size: 0.75rem;
  opacity: 0.7;
}

.ifcdc-nav {
  display: flex;
  gap: 0.5rem;
}

.ifcdc-nav a {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #d9d9e6;
  opacity: 0.8;
  border-radius: 4px;
  transition: background 0.15s, opacity 0.15s;
}

.ifcdc-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

.ifcdc-nav a.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

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

.ifcdc-hero {
  padding: 2.5rem 0 1.5rem;
}

.ifcdc-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.ifcdc-section {
  margin: 2rem 0;
}

.ifcdc-section h1,
.ifcdc-section h2 {
  margin-bottom: 0.75rem;
}

.ifcdc-section p,
.ifcdc-section li {
  opacity: 0.9;
  font-size: 0.94rem;
}

.ifcdc-cta {
  background: radial-gradient(circle at top left, #3f51b5 0, #0b0b10 50%);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
}

.ifcdc-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ===== FORM SHELL ===== */

.ifcdc-form-shell {
  display: flex;
  justify-content: center;
  padding: 24px 12px 40px;
  background: #f5f5f5;
}

.ifcdc-form-card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 18px 28px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

.ifcdc-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 14px;
}

.ifcdc-form-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.14));
}

.ifcdc-form-header-text h1 {
  margin: 0;
  font-size: 1.25rem;
}

.ifcdc-form-header-text p {
  margin: 4px 0 0 0;
  font-size: 0.82rem;
  opacity: 0.8;
}

.ifcdc-form {
  margin-top: 14px;
}

.ifcdc-form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.ifcdc-form-row label {
  margin-bottom: 4px;
  font-size: 0.88rem;
  font-weight: 600;
}

.ifcdc-form-row input,
.ifcdc-form-row textarea,
.ifcdc-form-row select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
}

.ifcdc-form-row input:focus,
.ifcdc-form-row textarea:focus,
.ifcdc-form-row select:focus {
  border-color: #444;
}

/* Primary CTA */
.ifcdc-button-primary {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  background: linear-gradient(135deg, #222, #555);
  color: #ffffff;
  letter-spacing: 0.03em;
}

/* ===== MOBILE RESPONSIVENESS ===== */

@media (max-width: 640px) {
  .ifcdc-brand-header {
    height: 70px;
  }

  .ifcdc-logo {
    height: 48px;
  }

  .ifcdc-brand-name {
    font-size: 0.95rem;
  }

  .ifcdc-form-card {
    padding: 18px 14px 22px;
    border-radius: 10px;
  }

  .ifcdc-form-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .ifcdc-form-logo {
    height: 40px;
  }
}
