/**
 * GSM Modem — custom theme (no third-party theme)
 * Layout and components for landing, forms, pricing, footer.
 */

:root {
  --primary: #4CAF50;
  --primary-dark: #43A047;
  --primary-light: #f3f7fd;
  --text: #555;
  --heading: #333;
  --radius: 0.5rem;
  --radius-sm: 0.25rem;
  --shadow: 0 2px 12px rgba(76, 175, 80, 0.12);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Base — consistent font scale (1rem = 16px) */
html { font-size: 16px; overflow-x: hidden; }
body, html { width: 100%; min-height: 100%; box-sizing: border-box; }
body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: inherit; }
body, p { color: var(--text); font: 400 1rem/1.625rem system-ui, -apple-system, sans-serif; }
.p-large { font-size: 1.125rem; line-height: 1.75rem; font-weight: 400; }
.p-small { font-size: 0.875rem; line-height: 1.5rem; font-weight: 400; }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 700; font-family: system-ui, -apple-system, sans-serif; }
h1 { font-size: 2rem; line-height: 2.5rem; }
h2 { font-size: 1.75rem; line-height: 2.25rem; }
h3 { font-size: 1.375rem; line-height: 1.75rem; }
h4 { font-size: 1.125rem; line-height: 1.5rem; }
h5 { font-size: 1rem; line-height: 1.375rem; }
h6 { font-size: 0.9375rem; line-height: 1.25rem; }
.above-heading { color: var(--primary); font: 700 0.75rem/0.875rem system-ui, sans-serif; text-align: center; }
.p-heading { margin-bottom: 3.25rem; }
.h2-heading { }
.li-space-lg li { margin-bottom: 0.375rem; }
a { color: var(--text); text-decoration: underline; }
a.white { color: #fff; }
.blue { color: var(--primary); }

/* Buttons */
.btn-solid-reg, .btn-solid-lg {
  display: inline-block;
  padding: 1.1875rem 2.125rem;
  border: 0.125rem solid var(--primary);
  border-radius: 2rem;
  background-color: var(--primary);
  color: #fff;
  font: 700 0.875rem/0 system-ui, sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-solid-lg { padding: 1.375rem 2.625rem; }
.btn-solid-reg:hover, .btn-solid-lg:hover {
  background-color: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}
.btn-outline-reg, .btn-outline-lg, .btn-outline-sm {
  display: inline-block;
  padding: 1.1875rem 2.125rem;
  border: 0.125rem solid var(--primary);
  border-radius: 2rem;
  background-color: transparent;
  color: var(--primary);
  font: 700 0.875rem/0 system-ui, sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline-lg { padding: 1.375rem 2.625rem; }
.btn-outline-sm { padding: 0.875rem 1.5rem; }
.btn-outline-reg:hover, .btn-outline-lg:hover, .btn-outline-sm:hover {
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* Form */
.form-group { position: relative; margin-bottom: 1.25rem; }
.form-group.has-error.has-danger { margin-bottom: 0.625rem; }
.label-control {
  position: absolute;
  top: 0.87rem;
  left: 1.25rem;
  color: var(--text);
  font: 400 0.875rem/1.375rem system-ui, sans-serif;
  cursor: text;
  transition: all 0.2s ease;
}
.form-control-input:focus + .label-control,
.form-control-input.notEmpty + .label-control,
.form-control-textarea:focus + .label-control,
.form-control-textarea.notEmpty + .label-control {
  top: 0.125rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.form-control-input, .form-control-select {
  display: block;
  width: 100%;
  padding: 1.0625rem 1.25rem 0.0625rem;
  border: 1px solid #c4d8dc;
  border-radius: 0.25rem;
  background: #fff;
  color: var(--text);
  font: 400 0.875rem/1.875rem system-ui, sans-serif;
  transition: all 0.2s;
}
.form-control-select { height: 3rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.form-control-textarea {
  display: block;
  width: 100%;
  height: 8rem;
  padding: 1.25rem 1.3125rem;
  border: 1px solid #c4d8dc;
  border-radius: 0.25rem;
  background: #fff;
  color: var(--text);
  font: 400 0.875rem/1.75rem system-ui, sans-serif;
  transition: all 0.2s;
}
.form-control-input:focus, .form-control-select:focus, .form-control-textarea:focus {
  border-color: #a1a1a1;
  outline: none;
}
.checkbox { font: 400 0.75rem/1.25rem system-ui, sans-serif; }
input[type='checkbox'] { vertical-align: -15%; margin-right: 0.375rem; }
.form-control-submit-button {
  display: inline-block;
  width: 100%;
  height: 3.125rem;
  border: 1px solid var(--primary);
  border-radius: 1.5rem;
  background-color: var(--primary);
  color: #fff;
  font: 700 0.875rem/0 system-ui, sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.form-control-submit-button:hover {
  background-color: var(--primary-dark);
  color: #fff;
}
.help-block.with-errors ul { margin-bottom: 0; font-size: 0.75rem; color: #555; }

/* Preloader */
.spinner-wrapper {
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: #fff;
}
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.75rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -1.875rem;
  text-align: center;
}
.spinner > div {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  background: var(--primary);
  animation: sk-bounce 1.4s ease-in-out infinite both;
}
.spinner .bounce1 { animation-delay: -0.32s; }
.spinner .bounce2 { animation-delay: -0.16s; }
@keyframes sk-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Nav */
.navbar-custom {
  background-color: var(--primary);
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  font: 700 0.875rem/0.875rem system-ui, sans-serif;
  transition: all 0.2s;
}
.navbar-custom .navbar-brand.logo-image { display: flex; align-items: center; max-width: 70%; }
.navbar-custom .navbar-brand.logo-image img { max-width: 100%; height: auto; width: 12rem; object-fit: contain; }
.navbar-custom .navbar-brand.logo-text { font: 700 2rem/1.5rem system-ui, sans-serif; color: #fff; text-decoration: none; }
.navbar-custom .navbar-nav { margin-top: 0.75rem; margin-bottom: 0.5rem; }
.navbar-custom .nav-item .nav-link {
  padding: 0.625rem 0.75rem;
  color: #f7f5f5;
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.2s;
}
.navbar-custom .nav-item .nav-link:hover,
.navbar-custom .nav-item .nav-link.active { color: #fff; opacity: 1; }
.navbar-custom .dropdown:hover > .dropdown-menu { display: block; min-width: auto; }
.navbar-custom .dropdown-menu {
  margin-top: 0;
  border: none;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 0.25rem 0;
}
.navbar-custom .dropdown-item {
  color: var(--heading);
  opacity: 0.9;
  text-decoration: none;
  padding: 0.5rem 1rem;
}
.navbar-custom .dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  opacity: 1;
}
.navbar-custom .nav-item .btn-outline-sm {
  margin: 0.25rem 0 1.375rem 0.5rem;
  border-color: #fff;
  color: #fff;
}
.navbar-custom .nav-item .btn-outline-sm:hover { background: #fff; color: var(--primary); }
.navbar-custom .navbar-toggler { padding: 0; border: none; color: #fff; font-size: 2rem; }
.navbar-custom button[aria-expanded='false'] .navbar-toggler-awesome.fas.fa-times { display: none; }
.navbar-custom button[aria-expanded='false'] .navbar-toggler-awesome.fas.fa-bars { display: inline-block; }
.navbar-custom button[aria-expanded='true'] .navbar-toggler-awesome.fas.fa-bars { display: none; }
.navbar-custom button[aria-expanded='true'] .navbar-toggler-awesome.fas.fa-times { display: inline-block; margin-right: 0.125rem; }

/* Header */
.header { background-color: var(--primary); overflow-x: hidden; overflow-y: visible; }
.header .header-content { padding-top: 8.5rem; padding-bottom: 2.5rem; text-align: center; }
.header .header-content .row { min-height: 0; }
.header .text-container { margin-bottom: 1.5rem; display: block; visibility: visible; }
.header .image-container { max-width: 100%; }
.header .img-wrapper { max-width: 100%; }
.header .image-container img { max-width: 100%; height: auto; }
.header h1 { margin-bottom: 0.75rem; color: #fff; font-size: 1.75rem; line-height: 2.25rem; }
.header .p-large { margin-bottom: 1.25rem; color: var(--primary-light); font-size: 1rem; }
.header .btn-solid-lg {
  margin: 0 0.25rem 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 0.8125rem;
  border-color: var(--primary-light);
  background: var(--primary-light);
  color: var(--primary);
}
.header .btn-solid-lg:hover { background: rgba(255,255,255,0.95); color: var(--primary); border-color: #fff; }
.header .btn-outline-lg { border-color: var(--primary-light); color: var(--primary-light); }
.header .btn-outline-lg:hover { background: var(--primary-light); color: var(--primary); }
.header-frame { margin-top: -1px; width: 100%; height: 2.25rem; min-height: 1.5rem; }

/* Description cards */
.cards-1 {
  padding: 2rem 0 2.5rem;
  text-align: center;
}
.cards-1 .h2-heading { margin-bottom: 2rem; font-size: 1.5rem; line-height: 2rem; }
.cards-1 .card {
  max-width: 21rem;
  margin: 0 auto;
  padding: 0;
  border: none;
  height: 100%;
}
.cards-1 .card-image { max-width: 12rem; margin: 0 auto 1.25rem; }
.cards-1 .card-image img { width: 100%; height: auto; }
.cards-1 .card-title { margin-bottom: 0.5rem; font-size: 1.125rem; }
.cards-1 .card-body { padding: 0; }
.cards-1 .card-body p { font-size: 0.9375rem; }

/* Tabs (features) */
.tabs { padding: 8rem 0 8.125rem; background: var(--primary-light); }
.tabs .h2-heading, .tabs .p-heading { text-align: center; }
.tabs .nav-tabs { margin-bottom: 2.25rem; border-bottom: none; }
.tabs .nav-link {
  padding: 0.375rem 1rem;
  border: none;
  color: #86929b;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
}
.tabs .nav-link:hover, .tabs .nav-link.active { background: transparent; color: var(--primary); }
.tabs .nav-link .fas { margin-right: 0.625rem; }
.tabs .list-unstyled .fas { color: var(--primary); font-size: 0.5rem; line-height: 1.625rem; }
.tabs .list-unstyled .media-body { margin-left: 0.625rem; }

/* Lightbox (inline modal) */
.lightbox-basic {
  margin: 2.5rem auto;
  padding: 2rem 1.5rem;
  border-radius: 0.25rem;
  background: #fff;
  text-align: left;
}
.lightbox-basic .image-container { max-width: 33.75rem; margin: 0 auto 3rem; }
.lightbox-basic h3 { margin-bottom: 0.5rem; }
.lightbox-basic hr {
  width: 2.5rem;
  height: 0.125rem;
  margin: 0 0 0.875rem 0;
  border: 0;
  background: var(--primary);
}
.lightbox-basic .list-unstyled .fas { color: var(--primary); font-size: 0.5rem; line-height: 1.625rem; }
.lightbox-basic .list-unstyled .media-body { margin-left: 0.625rem; }
.lightbox-basic .btn-solid-reg, .lightbox-basic .btn-outline-reg { margin-top: 0.75rem; }
.lightbox-basic button.mfp-close.x-button {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  width: 2.75rem;
  height: 2.75rem;
  color: #707984;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.mfp-hide { display: none !important; }

/* Basic-1 (details) */
.basic-1 { padding: 7.5rem 0 8rem; }
.basic-1 .list-unstyled .fas { color: var(--primary); font-size: 0.5rem; line-height: 1.625rem; }
.basic-1 .list-unstyled .media-body { margin-left: 0.625rem; }

/* Pricing */
.cards-2 {
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.cards-2 .h2-heading { margin-bottom: 2rem; font-size: 1.5rem; }
.cards-2-row { margin: 0 -0.5rem; }
.cards-2 .card {
  display: block;
  width: 100%;
  max-width: 19rem;
  margin: 0 auto;
  border: 1px solid #ccd3df;
  border-radius: 0.375rem;
  height: 100%;
}
.cards-2 .card .card-body { padding: 1.5rem 1.25rem 1.75rem; }
.cards-2 .card .card-title { margin-bottom: 0.5rem; color: var(--primary); font: 700 1.125rem/1.5rem system-ui, sans-serif; }
.cards-2 .card .price .currency { margin-right: 0.25rem; color: #434c54; font-weight: 700; font-size: 1.5rem; vertical-align: 40%; }
.cards-2 .card .price .value { color: #434c54; font: 700 3.25rem/3.5rem system-ui, sans-serif; text-align: center; }
.cards-2 .card .frequency { font-size: 0.875rem; }
.cards-2 .card .divider { height: 1px; margin: 1.75rem 0 2rem; border: none; background: #ccd3df; }
.cards-2 .card .list-unstyled { margin: 1.875rem 0 1.625rem; text-align: left; }
.cards-2 .card .list-unstyled .media { margin-bottom: 0.5rem; }
.cards-2 .card .list-unstyled .fas { color: var(--primary); font-size: 0.875rem; line-height: 1.625rem; }
.cards-2 .card .list-unstyled .fas.fa-times { margin-left: 0.1875rem; margin-right: 0.125rem; color: var(--text); }
.cards-2 .card .list-unstyled .media-body { margin-left: 0.625rem; }
.cards-2 .card .button-wrapper { margin-top: 1rem; }

/* Newsletter form */
.form { padding: 2rem 0 3rem; }
.form .text-container {
  margin-bottom: 2rem;
  padding: 1.5rem 1rem 2rem;
  border-radius: 0.5rem;
  background: var(--primary-light);
}
.form h2 { margin-bottom: 1.5rem; font-size: 1.5rem; text-align: center; }
.form .form-message { margin-top: 1rem; }
.form .form-group { margin-bottom: 1rem; }

/* Footer — clear separation from content */
.footer-frame { width: 100%; height: 1.5rem; }
.footer {
  padding: 3rem 0 1.5rem;
  background: var(--primary);
}
.footer .footer-col { margin-bottom: 1.5rem; }
.footer h4 { margin-bottom: 0.5rem; color: #fff; font-size: 1.125rem; }
.footer .list-unstyled, .footer p { color: var(--primary-light); font-size: 0.875rem; }
.footer .footer-col .list-unstyled .fas { color: #fff; font-size: 0.5rem; line-height: 1.5rem; }
.footer .footer-col .list-unstyled .media-body { margin-left: 0.5rem; }
.footer .footer-col.last .list-unstyled .fas { font-size: 0.875rem; }
.footer .footer-col.last .list-unstyled .fas.fa-globe { margin-left: 1rem; margin-right: 0.625rem; }

/* Copyright */
.copyright {
  padding: 1rem 0 0.375rem;
  background: var(--primary);
  text-align: center;
}
.copyright .p-small { padding-top: 1.375rem; border-top: 1px solid rgba(255,255,255,0.2); color: var(--primary-light); }
.copyright a { color: var(--primary-light); text-decoration: none; }

/* Extra pages (Sign up / Log in / Contact) — theme-aligned */
.ex-2-header {
  padding: 8.5rem 0 3.5rem;
  background: var(--primary);
  text-align: center;
}
.ex-2-header h1 { color: #fff; margin-bottom: 0.5rem; font-weight: 700; }
.ex-2-header p { color: rgba(255, 255, 255, 0.95); max-width: 32rem; margin: 0 auto 2rem; line-height: 1.5; font-size: 1rem; }
.ex-2-header .form-container {
  max-width: 26rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(76, 175, 80, 0.15);
}
.ex-2-header .checkbox { text-align: left; }
.ex-2-header .row.justify-content-center { text-align: left; }
.ex-2-header .row.justify-content-center > [class*="col-"] { margin-bottom: 1rem; }

/* Back to top */
a.back-to-top {
  position: fixed;
  z-index: 999;
  right: 0.75rem;
  bottom: 0.75rem;
  display: none;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 1.875rem;
  background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.125rem;
  border: 1px solid #fff;
  text-indent: -9999px;
}
a:hover.back-to-top { background-color: var(--primary); }

/* Utility */
.img-fluid { max-width: 100%; height: auto; }
.text-container, .image-container { }
.media-body { }
.list-unstyled { list-style: none; padding-left: 0; margin-bottom: 0; }
.features .feature-value { color: #000; padding: 2px 5px; border: 1px solid var(--primary); border-radius: 11px 1px; }

/* Modal overlay for lightbox */
.theme-modal-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}
.theme-modal-overlay.is-open { display: flex; }
.theme-modal-content { position: relative; background: #fff; border-radius: 0.25rem; padding: 2rem; max-width: 56rem; max-height: 90vh; overflow-y: auto; width: 100%; margin: auto; }

/* Extra page headers (Privacy, About, Terms) — theme-aligned */
.ex-header {
  padding: 8.5rem 0 3.5rem;
  background: var(--primary);
  text-align: center;
  position: relative;
}
.ex-header h1 { color: #fff; margin: 0; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.ex-header .ex-header-subtitle {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0.5rem 0 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.ex-header + .ex-basic-1 { margin-top: 0; }
.ex-basic-1 {
  padding: 1.25rem 0;
  background: var(--primary-light);
  border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}
.ex-basic-1 .breadcrumbs {
  font-size: 0.875rem;
  color: var(--text);
}
.ex-basic-1 .breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.ex-basic-1 .breadcrumbs a:hover { color: var(--primary-dark); }
.ex-basic-1 .breadcrumbs .fa { margin: 0 0.5rem; color: var(--primary); opacity: 0.8; }
.ex-basic-1 .breadcrumbs span { color: var(--heading); font-weight: 600; }
.ex-basic-2 {
  padding: 2.5rem 0 4rem;
  background: #fff;
}
/* Extra spacing before footer on content-heavy pages */
.ex-basic-2.contact-page-content { padding-bottom: 4.5rem; }
.ex-basic-2 .text-container {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--primary-light);
}
.ex-basic-2 .text-container:last-of-type { border-bottom: none; padding-bottom: 0; }
.ex-basic-2 .text-container h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.375rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
  display: inline-block;
}
.ex-basic-2 .text-container h4 { margin: 1.25rem 0 0.5rem; font-size: 1.125rem; color: var(--heading); }
.ex-basic-2 .text-container p { line-height: 1.7; margin-bottom: 0.75rem; }
.ex-basic-2 .text-container ul.list-unstyled.indent,
.ex-basic-2 .text-container ul.indent {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}
.ex-basic-2 .text-container ul.list-unstyled.indent li,
.ex-basic-2 .text-container ul.indent li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1rem;
}
.ex-basic-2 .text-container ul.list-unstyled.indent li::before,
.ex-basic-2 .text-container ul.indent li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
}
.ex-basic-2 .text-container ul.list-unstyled.indent li .fas.fa-square,
.ex-basic-2 .text-container ul.indent li .fas.fa-square {
  display: none;
}
.ex-basic-2 .text-container ul.list-unstyled.indent .media-body,
.ex-basic-2 .text-container ul.indent .media-body {
  margin-left: 0;
}
.ex-basic-2 .text-container.dark {
  padding: 1.75rem 1.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  border: 1px solid rgba(76, 175, 80, 0.15);
  box-shadow: var(--shadow);
}
.ex-basic-2 .text-container.dark h3 { border-bottom-color: rgba(76, 175, 80, 0.3); }
.ex-basic-2 .btn-outline-reg { margin-top: 0.5rem; }
.ex-basic-2 .btn-outline-reg.ml-2 { margin-left: 0.5rem; }
.ex-basic-2 a:not(.btn-outline-reg):not(.white) { text-decoration: none; font-weight: 500; }
.ex-basic-2 a:not(.btn-outline-reg):not(.white):hover { text-decoration: underline; }
.ex-basic-2 code {
  font-size: 0.9375rem;
  padding: 0.15rem 0.4rem;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  color: var(--heading);
}
/* Version page */
.version-card .version-number { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin: 0.5rem 0 1rem; }
/* Releases page — modern cards and typography */
.ex-basic-2.releases-page { padding-top: 2rem; }
.ex-basic-2 .release-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.ex-basic-2 .release-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.ex-basic-2 .release-card .card-body { padding: 1.5rem 1.75rem; }
.ex-basic-2 .release-body { color: var(--text); line-height: 1.65; font-size: 0.9375rem; }
.ex-basic-2 .release-detail .release-body { font-size: 1rem; line-height: 1.75; color: var(--heading); }
.ex-basic-2 .release-detail .card-body { padding: 2rem 2.5rem; }
/* Coding examples — tabs and code blocks */
.examples-intro { font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; color: var(--text); }
.code-examples { margin-bottom: 2rem; }
.code-tabs.nav-tabs { border-bottom: 2px solid var(--primary-light); margin-bottom: 0; }
.code-tabs .nav-link {
  border: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.code-tabs .nav-link:hover { color: var(--primary); background: var(--primary-light); }
.code-tabs .nav-link.active { color: var(--primary); background: #fff; border-bottom: 2px solid var(--primary); margin-bottom: -2px; }
.code-tab-content { background: #fff; border: 1px solid var(--primary-light); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 0; }
.code-block {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow-x: auto;
  color: var(--heading);
}
.code-block code { background: none; padding: 0; font-size: inherit; }
.indent { padding-left: 1.25rem; }
.ex-basic-2 ol.li-space-lg { padding-left: 1.5rem; }
.ex-basic-2 ol.li-space-lg li { margin-bottom: 0.5rem; line-height: 1.5; }

/* Content lists — user-friendly bullets (Privacy, Terms, etc.) */
.content-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}
.content-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1rem;
}
.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
}
.content-list li .media-body { display: inline; }
.ex-basic-2 .content-list + p { margin-top: 1rem; }

/* Contact page — theme-aligned, user-friendly */
.contact-info-box {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}
.contact-info-box h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}
.contact-info-box .p-small {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}
.contact-info-box a.white { text-decoration: none; transition: opacity 0.2s; }
.contact-info-box a.white:hover { opacity: 0.9; text-decoration: underline; }
.contact-info-box .mr-2 { margin-right: 0.5rem; opacity: 0.9; }
.contact-info-box strong { color: #fff; }
/* Contact page white section (company card + form) */
.contact-page-content .contact-intro {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.contact-info-box-white {
  background: var(--primary-light) !important;
  border: 1px solid rgba(76, 175, 80, 0.2) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow);
}
.contact-info-box-white h4 { color: var(--primary) !important; }
.contact-info-box-white .p-small,
.contact-info-box-white p { color: var(--text) !important; }
.contact-info-box-white a { color: var(--primary); text-decoration: none; }
.contact-info-box-white a:hover { text-decoration: underline; }
.contact-info-box-white strong { color: var(--heading) !important; }
.contact-info-box-white .mr-2 { color: var(--primary); }
.form-container-white {
  background: var(--primary-light) !important;
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius);
  padding: 2rem !important;
  box-shadow: var(--shadow);
}
.ex-basic-2 .alert { border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.ex-basic-2 .alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.ex-basic-2 .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Cookie consent bar — user-friendly, attractive, theme-aligned */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  display: none;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}
.cookie-consent-bar.is-visible { display: block; animation: cookieBarSlideUp 0.35s ease; }
@keyframes cookieBarSlideUp { from { transform: translateY(100%); opacity: 0.9; } to { transform: translateY(0); opacity: 1; } }

.cookie-consent-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-consent-message {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 1 320px;
  min-width: 0;
}

.cookie-consent-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.cookie-consent-text-wrap {
  min-width: 0;
}

.cookie-consent-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 0.25rem;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}
.cookie-consent-text a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  text-underline-offset: 2px;
}
.cookie-consent-text a:hover { opacity: 0.9; }

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  display: inline-block;
  margin: 0;
  padding: 0.75rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.cookie-btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.cookie-btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-light);
}
.cookie-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #fff;
}

@media (max-width: 575.98px) {
  .cookie-consent-bar { padding: 1.25rem 1rem; }
  .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 1.25rem; text-align: center; }
  .cookie-consent-message { flex-direction: column; align-items: center; text-align: center; }
  .cookie-consent-actions { justify-content: center; flex-wrap: wrap; }
  .cookie-consent-title { font-size: 0.9375rem; }
  .cookie-consent-text { font-size: 0.875rem; }
  .cookie-btn { padding: 0.625rem 1.125rem; font-size: 0.875rem; }
}

/* Cookie preferences modal — theme-aligned, popup on top of backdrop */
.cookie-preferences-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}
.cookie-preferences-modal.is-open {
  display: flex;
  pointer-events: auto;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-preferences-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
.cookie-preferences-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.2);
}
.cookie-preferences-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--primary-light);
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.cookie-preferences-header h3 { margin: 0; font-size: 1.25rem; color: var(--heading); }
.cookie-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  padding: 0 0.25rem;
  transition: color 0.2s;
  border-radius: 50%;
}
.cookie-close:hover { color: var(--primary); }
.cookie-preferences-body {
  padding: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}
.cookie-modal-intro {
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}
.cookie-option {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(76, 175, 80, 0.1);
}
.cookie-option:last-child { margin-bottom: 0; }
.cookie-option-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
}
.cookie-option-label input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
  cursor: pointer;
}
.cookie-option-label input[type="checkbox"]:checked {
  accent-color: var(--primary);
}
/* Force white checkmark on green when checked (cross-browser) */
.cookie-option-label input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid var(--primary);
  border-radius: 0.25rem;
  background: #fff;
}
.cookie-option-label input[type="checkbox"]:checked {
  background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 100% 100%;
  border-color: var(--primary);
}
.cookie-option-label input[type="checkbox"]:disabled {
  opacity: 0.9;
  cursor: default;
}
.cookie-preferences-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--primary-light);
  background: var(--primary-light);
  border-radius: 0 0 var(--radius) var(--radius);
}
.cookie-preferences-footer .btn-outline-reg { margin: 0; }
.cookie-preferences-footer .btn-solid-reg { margin: 0; }

/* Mobile: ensure container and nav don't overflow */
.container { padding-left: 1rem; padding-right: 1rem; }
.navbar-custom .container { max-width: 100%; }
@media (max-width: 991.98px) {
  .header .header-content .row [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 575.98px) {
  .navbar-custom .navbar-brand.logo-image img { width: 10rem; }
  .header .header-content { padding-top: 8rem; padding-bottom: 2rem; }
  .ex-header { padding-top: 8rem; padding-bottom: 2.5rem; }
  .header .text-container { margin-bottom: 1rem; }
  .cards-1 .card-image { max-width: 10rem; }
  .cards-2 .card .card-body { padding: 1.25rem 1rem; }
  .cards-2 .card .price .value { font-size: 2.5rem; line-height: 2.75rem; }
  .btn-solid-lg, .btn-solid-reg { padding: 0.875rem 1.25rem; font-size: 0.8125rem; }
  .form .text-container { padding: 1.25rem 0.75rem; }
}

@media (min-width: 576px) {
  .container { padding-left: 15px; padding-right: 15px; }
}

@media (min-width: 768px) {
  .header .header-content { padding-top: 8.5rem; padding-bottom: 3rem; }
  .header .text-container { margin-bottom: 2.5rem; }
  .header h1 { font-size: 2.75rem; line-height: 3.25rem; }
  .header .p-large { font-size: 1.125rem; }
  .header-frame { height: 4rem; }
  .cards-1 { padding: 3rem 0 3rem; }
  .cards-1 .h2-heading { font-size: 1.75rem; margin-bottom: 2.5rem; }
  .cards-1 .card-image { max-width: 14rem; margin-bottom: 1.5rem; }
  .cards-2 { padding: 4rem 0 2.5rem; }
  .cards-2 .h2-heading { margin-bottom: 2.5rem; }
  .cards-2 .card .card-body { padding: 2rem 1.5rem; }
  .form { padding: 3rem 0 4rem; }
  .form .text-container { padding: 2.5rem 1.5rem 2.5rem; margin-bottom: 2.5rem; }
  .form h2 { font-size: 1.75rem; }
  .form form { margin: 0 2rem; }
  .footer { padding: 2.5rem 0 0.5rem; }
  .footer-frame { height: 3.5rem; }
  .ex-2-header { padding: 8rem 0 3.5rem; }
  .ex-2-header .form-container { padding: 2rem 1.5rem 1.25rem; }
}

@media (min-width: 992px) {
  .navbar-custom { padding: 2.125rem 2rem; background: transparent; box-shadow: none; }
  .navbar-custom .navbar-brand.logo-image { max-width: none; }
  .navbar-custom .navbar-brand.logo-image img { width: 16rem; height: 6rem; }
  .navbar-custom .navbar-nav { margin-top: 0; margin-bottom: 0; }
  .navbar-custom.top-nav-collapse { padding: 0.5rem 2rem; background: var(--primary); box-shadow: 0 1px 6px rgba(0,0,0,0.1); }
  .navbar-custom .nav-item .btn-outline-sm { margin: 0 0 0 1rem; }
  .header .header-content { padding-top: 9rem; padding-bottom: 4rem; text-align: left; }
  .header h1 { font-size: 3.5rem; line-height: 4.125rem; }
  .header .text-container { margin-bottom: 3rem; }
  .header-frame { height: 5.5rem; }
  .cards-1 { padding: 3.25rem 0 3rem; }
  .cards-1 .h2-heading { margin-bottom: 3.5rem; font-size: 2rem; }
  .cards-1 .card-image { max-width: 16rem; margin-bottom: 2rem; }
  .cards-2 { padding: 5rem 0 2.25rem; }
  .cards-2 .h2-heading { margin-bottom: 3.75rem; }
  .cards-2 .card .card-body { padding: 2.5rem 2rem 2.75rem; }
  .form .text-container { padding: 4rem 2.5rem 3rem; }
  .form form { margin: 0 4rem; }
  .footer-frame { height: 5rem; }
  .ex-2-header { padding: 9rem 0 4rem; }
  .ex-2-header .form-container { padding: 2.25rem 1.75rem 1.25rem; }
  .ex-2-header .contact-info-box { padding: 2rem 2.25rem; }
}

@media (min-width: 1200px) {
  .cards-2 .card { max-width: 19.375rem; }
  .cards-2 .card .card-body { padding: 2.5rem 2.25rem 2.75rem; }
}
