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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f1f3f4;
  color: #202124;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
}

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

.hidden {
  display: none !important;
}

/* =============================================
   UTILITY BUTTONS
   ============================================= */
.btn-primary {
  display: inline-block;
  background-color: #4285f4;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
  font-family: "Inter", sans-serif;
}
.btn-primary:hover {
  background-color: #185abc;
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #4285f4;
  border: 1px solid #4285f4;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
  font-family: "Inter", sans-serif;
}
.btn-outline:hover {
  background-color: rgba(66, 133, 244, 0.05);
}

.flex-1 {
  flex: 1;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 24px;
  background-color: #ffffff;
  border-bottom: 2px solid #f1f3f4;
}

@media (min-width: 768px) {
  .navbar-header {
    padding: 12px 48px;
  }
}

.navbar-container {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: #5f6368;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #4285f4;
}

.nav-actions-desktop {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .nav-actions-desktop {
    display: flex;
  }
}

.hamburger-btn {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #202124;
}

@media (min-width: 768px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-icon {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 8px;
  border-top: 1px solid #dadce0;
  margin-top: 12px;
}

.mobile-menu.flex {
  display: flex;
}

.mobile-nav-link {
  color: #5f6368;
  font-weight: 500;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.mobile-nav-link:hover {
  color: #4285f4;
}

.mobile-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

/* =============================================
   MAIN CONTENT WRAPPER
   ============================================= */
.main-content {
  flex-grow: 1;
}

.contact-main {
  background: linear-gradient(
    to bottom,
    #f1f3f4 0%,
    #ffffff 22%,
    #ffffff 70%,
    #f1f3f4 100%
  );
}

/* =============================================
   SECTION 1: CONTACT HERO
   ============================================= */
.hero-section {
  padding: 72px 24px 56px;
  text-align: center;
  background: transparent;
  width: 100%;
}

.contact-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #202124;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-hero-subtitle {
  font-size: 17px;
  color: #5f6368;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================
   SECTION 2: FORM & SIDEBAR
   ============================================= */
.contact-content-section {
  padding: 56px 24px 80px;
  background: transparent;
  width: 100%;
}

.contact-content-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}

/* Form Card */
.form-card {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.2s ease;
  position: relative;
}

.form-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-heading {
  font-size: 20px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
}

.card-subheading {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Form Layout & Elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 14px;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #202124;
  background: #ffffff;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #5f6368;
  opacity: 0.8;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.18);
}

/* Custom Select */
.select-wrapper {
  position: relative;
  width: 100%;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Primary Submit Button */
.btn-submit {
  width: 100%;
  background: #4285f4;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.btn-submit:hover {
  background: #185abc;
}

/* Success State */
.success-state {
  display: none;
  text-align: center;
  padding: 48px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-state.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e6f4ea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-title {
  font-size: 28px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 15px;
  color: #5f6368;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #4285f4;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.back-link:hover {
  color: #185abc;
  text-decoration: underline;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-info-card {
  background: #f0f4ff;
  border: 1px solid #c5d5f8;
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s ease;
}

.sidebar-info-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.badge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4285f4;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #4285f4;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 1px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.6;
}

.sidebar-divider {
  border: none;
  border-top: 1px solid #dadce0;
  margin-top: 20px;
  margin-bottom: 16px;
}

.sidebar-security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.4;
}

.sidebar-security-note svg {
  flex-shrink: 0;
}

.sidebar-nudge-card {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.2s ease;
}

.sidebar-nudge-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nudge-text {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 16px;
}

.btn-audit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4285f4;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-audit:hover {
  background: #185abc;
}

/* =============================================
   SECTION 3: REASSURANCE STRIP
   ============================================= */
.reassurance-section {
  padding: 48px 24px 72px;
  background: transparent;
  width: 100%;
}

.reassurance-container {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.reassurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dadce0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.icon-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.reassurance-title {
  font-size: 15px;
  font-weight: 700;
  color: #202124;
  margin-top: 12px;
  margin-bottom: 6px;
}

.reassurance-desc {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: #202124;
  color: #ffffff;
  padding: 48px 24px;
  border-top: 1px solid #3c4043;
}

.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 4fr;
    gap: 48px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 360px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #9ca3af;
  margin-top: 8px;
}

.social-link {
  color: #9ca3af;
  transition: color 0.2s;
}
.social-link:hover {
  color: #ffffff;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 640px) {
  .footer-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e5e7eb;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.footer-link {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.2s;
  display: block;
  padding: 2px 0;
}
.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(75, 85, 99, 0.6);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-disclaimer {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 640px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #9ca3af;
  gap: 8px 8px;
}

.footer-legal-link {
  color: #9ca3af;
  transition: color 0.2s;
}
.footer-legal-link:hover {
  color: #ffffff;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 768px) {
  .contact-content-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .contact-hero-title {
    font-size: 36px;
  }

  .hero-section {
    padding: 48px 20px 40px;
  }

  .contact-content-section {
    padding: 40px 20px 60px;
  }

  .reassurance-section {
    padding: 36px 20px 60px;
  }

  .reassurance-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reassurance-desc {
    max-width: 280px;
  }
}
/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
  background: #185abc;
  padding: 72px 24px;
  text-align: center;
  color: #ffffff;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 32px;
  letter-spacing: 0;
}

.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #185abc;
  text-decoration: none;
  border-radius: 9999px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.cta-button:hover {
  background: #f3f4f6;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.cta-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 12px;
  letter-spacing: 0;
  display: block;
}

@media (max-width: 640px) {
  .cta-title {
    font-size: 28px;
  }

  .cta-subtitle {
    font-size: 16px;
  }

  .cta-section {
    padding: 48px 20px;
  }
}

/* AFTER */
.contact-main {
  background: linear-gradient(
    to bottom,
    #f1f3f4 0%,
    #ffffff 22%,
    #ffffff 55%,
    #f1f3f4 68%,
    #f1f3f4 100%
  );
}
/* Make form-card a flex column so success state can fill it */
.form-card {
  display: flex;
  flex-direction: column;
}
 
/* Success state fills the card height, content centered on both axes */
.success-state {
  flex: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
 
.success-state.active {
  display: flex;
  opacity: 1;
}

/* In contact.css */
#contact-validation-error {
  display: none !important;
}

/* Form card becomes a flex column so success state can fill and center */
.form-card {
  display: flex;
  flex-direction: column;
  min-height: 420px; /* ensures the card has height for vertical centering */
}

.success-state {
  flex: 1;
  display: none;
  flex-direction: column;
  justify-content: center;  /* vertical center */
  align-items: center;      /* horizontal center */
  text-align: center;
  padding: 48px 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-state.active {
  display: flex;
  opacity: 1;
}
 
