/*
  common.css - extracted core variables and base rules
  Purpose: shared styles for all pages to reduce duplication
*/

:root,
[data-bs-theme=light] {
  --bs-body-bg: #ffffff;
  --bs-body-color: #494B5B;
  --bs-primary: #002a74;
  --bs-primary-rgb: 33, 92, 92;
  --bs-primary-hover: #376fdfb6;
  --bs-primary-hover-rgb: 20, 75, 75;
  --bs-secondary: #58ea01;
  --bs-secondary-rgb: 204, 232, 201;
  --bs-heading-color: #16181B;
  --inverse-color: #494B5B;
  --inverse-color-rgb: 73, 75, 91;
  --bs-link-color: var(--bs-primary);
  --nav-bg: #ffffff;
  --nav-color: #fff;
  --nav-hover-color: #1f6bff;
  --dropdown-bg: #ffffff;
  --dropdown-color: #1f6bff;
  --dropdown-hover-bg: #f7f7f7;
  --nav-inverse: #000000;
  --nav-inverse-alt: #ffffff;
}

/* Base / Typography */
body {
  font: 0.95rem/1.6 "Poppins", sans-serif;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

html {
  overflow-x: clip;
  max-width: 100%;
}

/* Heading base styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
}

h6 {
  font-size: 0.875rem;
  font-weight: 600;
}

p {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-wrap {
  position: relative;
  overflow-x: clip;
  width: 100%;
}

/* Selection helpers */
::-moz-selection {
  background-color: var(--bs-black);
  color: var(--bs-white);
}

::selection {
  background-color: var(--bs-black);
  color: var(--bs-white);
}

/* Links */
a {
  transition: 0.3s all ease-in-out;
  color: var(--bs-primary);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-heading-color);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

/* Sections */
.section {
  padding: 70px 0;
  scroll-margin-top: 0px;
}

@media (max-width: 767.98px) {
  .section {
    padding: 40px 0;
  }
}

.section.first-section {
  padding-top: 100px;
}

@media (min-width: 992px) {
  .section.first-section {
    padding-top: 130px;
  }
}

/* Utilities */
.text-heading-color {
  color: var(--bs-heading-color);
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem 0 rgba(var(--bs-black-rgb), 0.05) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem 0 rgba(var(--bs-black-rgb), 0.05) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem 0 rgba(var(--bs-black-rgb), 0.05) !important;
}

/* Lists */
.list-checked {
  padding: 0;
  margin: 0;
  color: var(--bs-body-color);
}

.list-checked li {
  position: relative;
  margin-bottom: 10px;
  display: flex;
  align-items: start;
  gap: 10px;
}

.list-checked li i {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  display: inline-block;
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border-radius: 50%;
  color: var(--bs-primary);
  font-size: 20px;
}

/* Buttons */
.btn {
  padding: 12px 20px;
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 500;
  position: relative;
  font-family: "Poppins", sans-serif;
}

.btn:hover,
.btn:active,
.btn:focus {
  color: var(--bs-white);
  background-color: var(--bs-primary-hover) !important;
  border: 1px solid var(--bs-primary-hover) !important;
}

.btn.btn-white.hover-outline {
  background-color: var(--bs-white) !important;
  color: var(--bs-black) !important;
  border: 1px solid transparent !important;
}

.btn.btn-white.hover-outline:hover {
  color: var(--bs-white) !important;
  background-color: transparent !important;
  border: 1px solid var(--bs-white) !important;
}

.btn.btn-white-outline {
  border: 1px solid rgba(var(--inverse-color-rgb), 0.2) !important;
  color: var(--inverse-color) !important;
  background-color: transparent;
}

.btn.btn-white-outline:hover,
.btn.btn-white-outline:focus,
.btn.btn-white-outline:active {
  background-color: transparent !important;
  border: 1px solid rgba(var(--inverse-color-rgb), 0.5) !important;
}

/* Forms */
.form-control {
  padding-top: 10px;
  padding-bottom: 10px;
  border-width: 1px;
  font-size: 16px;
  background-color: transparent;
  border-color: rgba(var(--inverse-color-rgb), 0.1);
}

.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--bs-primary);
}

/* Small helpers */
.a-link i {
  font-size: 26px;
  margin-left: 10px;
  transition: 0.25s all ease-in-out;
}

.a-link:hover i {
  margin-left: 15px;
}

/* Page title helper */
.page-title {
  padding-top: 100px !important;
  padding-bottom: 50px !important;
  background-color: rgba(var(--inverse-color-rgb), 0.03);
}

/* Exported for use by other CSS files */