/* Shared CSS for Landing Pages - Common styles between ChatSafe.me and QuestõesPRO */

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

body {
  font-family: Sarabun, sans-serif;
  line-height: 1.6;
}

/* Grid system */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 35px;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

@media (width <=768px) {
  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-dark {
  color: #343a40;
}

.text-light {
  color: #fff;
}

/* Background utilities */
.bg-dark {
  background-color: #343a40;
}

.bg-primary {
  background-color: #626ed4;
}

/* Spacing utilities */
.py-5 {
  padding: 3rem 0;
}

.p-3 {
  padding: 1rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mx-2 {
  margin: 0 0.5rem;
}

.mx-3 {
  margin: 0 1rem;
}

.mx-4 {
  margin: 0 1.5rem;
}

.my-2 {
  margin: 0.5rem 0;
}

.my-4 {
  margin: 1.5rem 0;
}

.px-4 {
  padding: 0 1.5rem;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

/* Typography */
h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  font-size: 16px;
}

/* Form components */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background-color: #fff;
  color: #495057;
  font-size: 1rem;
  line-height: 1.5;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  background-clip: padding-box;
}

.form-control:focus {
  border-color: #80bdff;
  background-color: #fff;
  color: #495057;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

.btn {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  vertical-align: middle;
}

.btn-info {
  border-color: #17a2b8;
  background-color: #38a4f8;
  color: #fff;
}

.btn-info:hover {
  border-color: #117a8b;
  background-color: #379deb;
  color: #fff;
}

.btn-lg {
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Card components */
.card {
  margin: 1rem;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.card-body {
  padding: 1.5rem;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 17.5%);
}

.gallery-img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}

/* Alert components */
.alert {
  position: relative;
  margin-bottom: 1rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-info {
  border-color: #bee5eb;
  background-color: #d1ecf1;
  color: #0c5460;
}

/* Validation */
.is-invalid {
  border-color: #dc3545;
}

.is-valid {
  border-color: #28a745;
}

/* Landing page shared styles */
.section-header {
  color: #656565;
}

.navbar-header {
  padding: 1rem 0;
}

.header-block-background {
  z-index: 1;
  width: 100% !important;
  min-height: 750px;
  background-image: url('/img/questoes-landing-bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.base-filter {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.base-filter .mask {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  background-attachment: fixed;
  overflow: hidden;
}

.color-filter {
  z-index: 1;
  background-color: rgb(18 18 18 / 75%);
  background-attachment: fixed;
}

.header-content {
  position: relative;
  z-index: 2;
}

/* Terms checkbox shared styles */
.terms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}