/* WordWeb Essential Styles - Bootstrap 5 Compatible */

/* ===== CORE TYPOGRAPHY & COLORS ===== */
body {
  background-color: var(--background-body, #fff);
  font-family: Raleway, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted, #777);
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color var(--transition-speed, 0.3s) ease,
    color var(--transition-speed, 0.3s) ease;
}

.lead,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--link-color, #528fcc);
  transition: color var(--transition-speed, 0.3s) ease;
}

a:focus,
a:hover {
  text-decoration: underline;
  color: var(--link-hover, #1f5c99);
}

/* Remove underlines from navbar brand and navigation links */
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus,
.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark, #444);
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: color var(--transition-speed, 0.3s) ease;
}

h1 {
  font-size: 36px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 12px;
}

.lead {
  font-size: 16px;
  margin-bottom: 40px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .lead {
    font-size: 17px;
  }
}

.subhead {
  font-size: smaller;
}

p {
  margin: 0 0 10px;
}

/* ===== SELECTION COLORS ===== */
::-moz-selection {
  background: cyan;
  color: black;
}

::selection {
  background: cyan;
  color: black;
}

/* ===== UTILITY MARGINS ===== */
.mb-0 {
  margin-bottom: 0;
}
.mb-5 {
  margin-bottom: 5px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-50 {
  margin-bottom: 50px;
}
.mb-60 {
  margin-bottom: 60px;
}
.mb-70 {
  margin-bottom: 70px;
}
.mb-80 {
  margin-bottom: 80px;
}
.mb-90 {
  margin-bottom: 90px;
}
.mb-100 {
  margin-bottom: 100px;
}

.mt30 {
  margin-top: 30px;
}
.mt50 {
  margin-top: 50px;
}

@media only screen and (max-width: 960px) {
  .mt30,
  .mt50 {
    margin-top: 0;
  }
}

/* ===== NAVBAR BRAND STYLING ===== */
/* Most navbar styling moved to modern-styles.css for better organization */
.navbar-brand:focus,
.navbar-brand:hover {
  color: #444;
  background-color: transparent;
}

/* ===== CUSTOM BUTTONS ===== */
.btn-blue {
  color: #fff !important;
  background-color: #528fcc !important;
  -webkit-box-shadow: 0 2px 0 0 #1f5c99 !important;
  -moz-box-shadow: 0 2px 0 0 #1f5c99 !important;
  -o-box-shadow: 0 2px 0 0 #1f5c99 !important;
  box-shadow: 0 2px 0 0 #1f5c99 !important;
  border: 0 !important;
  text-decoration: none !important; /* Remove underlines from button links */
}

.btn-blue:hover,
.btn-blue:focus {
  color: #fff !important;
  background-color: #1f5c99 !important;
  -webkit-box-shadow: 0 2px 0 0 #143d66 !important;
  -moz-box-shadow: 0 2px 0 0 #143d66 !important;
  -o-box-shadow: 0 2px 0 0 #143d66 !important;
  box-shadow: 0 2px 0 0 #143d66 !important;
  text-decoration: none !important; /* Ensure no underlines on hover/focus */
}

.btn-theme {
  color: #fff !important;
  background-color: #528fcc;
  -webkit-box-shadow: 0 2px 0 0 #1f5c99;
  -moz-box-shadow: 0 2px 0 0 #1f5c99;
  -o-box-shadow: 0 2px 0 0 #1f5c99;
  box-shadow: 0 2px 0 0 #1f5c99;
}

.js-buy {
  background-color: #20609e;
  width: 305px;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 10px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.js-buy:hover {
  background-color: #143d66;
}

/* ===== SECTIONS ===== */
.sec {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body, #333);
  padding: 50px 0;
  transition: color var(--transition-speed, 0.3s) ease;
}

/* Reduce top padding for first content section */
.sec:first-of-type {
  padding-top: 30px;
}

.sec.sec-hero {
  color: var(--text-on-primary);
  padding: 60px 0 30px;
  background: linear-gradient(135deg, #2674c2, #1f5c99);
}

.sec.sec-home {
  font-size: 14px;
  line-height: 1.5;
  background-color: var(--background-section, #fff);
  transition: background-color var(--transition-speed, 0.3s) ease;
}

.sec.sec-blue {
  background-color: #1f5c99;
  color: var(--text-on-primary);
}

.sec.sec-blue h1,
.sec.sec-blue h2,
.sec.sec-blue h3,
.sec.sec-blue h4,
.sec.sec-blue h5,
.sec.sec-blue h6 {
  color: var(--text-on-primary);
}

.sec.sec-blue a,
.sec.sec-blue a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== LISTS WITH FONTAWESOME ARROWS ===== */
.sec ul {
  list-style: none;
  padding: 0 0 0 10px;
  margin: 0 0 15px;
}

.sec ul li {
  line-height: 1.5;
  margin: 0 0 15px;
}

.sec ul li:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #528fcc;
  margin-right: 8px;
  margin-top: 2px;
  vertical-align: top;
  position: relative;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>');
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Process content lists - ensure proper styling */
.process-content ul {
  list-style: none;
  padding: 0 0 0 10px;
  margin: 0 0 15px;
}

.process-content ul li {
  line-height: 1.5;
  margin: 0 0 15px;
  padding: 0.25rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.process-content ul li:last-child {
  border-bottom: none;
}

/* Hero section lists */
.sec-hero ul {
  list-style: none;
  padding: 0 0 0 10px;
  margin: 0 0 15px;
}

.sec-hero ul li {
  line-height: 1.5;
  margin: 0 0 15px;
}

/* Footer lists */
footer#footer ul {
  padding: 0;
  list-style: none;
}

footer#footer ul li {
  padding: 8px 2px;
}

/* Combined list item markers with blue circles and arrows */
.process-content ul li:before,
.sec-hero ul li:before,
footer#footer ul li a:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #528fcc;
  margin-right: 8px;
  margin-top: 2px;
  vertical-align: top;
  position: relative;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>');
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== PROCESS BOXES ===== */
.process-1,
.process-2 {
  background: #528fcc;
  padding: 20px 30px;
}

.process-1 h3,
.process-2 h3,
.process-3 h3 {
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  height: 40px;
}

.process-1 p,
.process-2 p,
.process-3 p {
  color: #f5f5f5;
  font-size: 12px;
  margin: 0;
  line-height: 16px;
}

.process-content {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  padding: 20px 30px 10px;
  background: var(--background-section, #fff);
  border: 5px solid var(--border-color-light, #eee);
  border-top: none;
  z-index: 0;
  border-radius: 0;
  color: var(--text-body, #333);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

/* ===== TITLELINES ===== */
.titleline {
  position: relative;
  max-width: 200px;
  margin: 0 auto 30px 0;
  border-top: 1px solid #528fcc;
}

.titleline:after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 70%;
  border-top: 5px solid #528fcc;
}

.titleline-center {
  position: relative;
  max-width: 200px;
  margin: 0 auto 30px;
  border-top: 1px solid #528fcc;
}

.titleline-center:after {
  content: "";
  position: absolute;
  top: -3px;
  left: 35%;
  right: 35%;
  border-top: 5px solid #528fcc;
}

.titleline-footer {
  position: relative;
  max-width: 200px;
  margin: 0 auto 20px 0;
  border-top: 1px solid #528fcc;
}

.titleline-footer:after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 70%;
  border-top: 5px solid #528fcc;
}

/* ===== FOOTER ===== */
#footer {
  padding: 2rem 0;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(135deg, #17446b, #396ca6);
  position: relative;
  min-height: 100px;
  text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
  color: #fff;
}

#footer h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-list {
  padding: 0;
  list-style: none;
}

.footer-list li {
  padding: 8px 2px;
}

.footer-list li a {
  color: #fff;
}

.footer-list li i {
  margin-right: 8px;
  color: #528fcc;
}

#copyright {
  width: 100%;
  min-height: 50px;
  padding: 20px 0;
  text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
  background: var(--secondary-color, #1f5c99);
  color: var(--text-on-secondary, #fff);
}

#copyright p {
  margin: 5px auto;
}

#copyright a {
  color: #fff;
}

.copyright-link {
  padding: 0;
  list-style: none;
  margin: 5px 0;
  float: right;
}

.copyright-link li {
  display: inline-block;
}

.copyright-link li + li:before {
  padding: 0 5px;
  color: #fff;
  content: "/\00a0";
}

.copyright-link li a,
.copyright-link li a:hover {
  color: #fff;
}

/* Back to top functionality moved to modern-styles.css */

/* ===== FORM CONTROLS ===== */
.form-control {
  font-size: 14px;
  line-height: 24px;
  padding: 5px 10px;
  height: 34px;
  border: 1px solid var(--border-color, #ddd);
  outline: 0;
  background: var(--background-section, #fff);
  color: var(--text-body, #333);
  margin-top: 0;
  margin-bottom: 20px;
  border-radius: 0;
  box-shadow: none;
  transition:
    border-color var(--transition-speed, 0.3s) ease,
    background-color var(--transition-speed, 0.3s) ease,
    color var(--transition-speed, 0.3s) ease;
}

.form-control:focus {
  border: 1px solid var(--primary-color, #528fcc);
  background: var(--background-section, #fff);
  color: var(--text-body, #333);
  box-shadow: none;
}

select:focus {
  border-color: #528fcc;
}

/* ===== TEXT COLORS ===== */
.text-white {
  color: #f5f5f5;
}
.text-gray {
  color: #999;
}
.text-black {
  color: #555;
}
.text-blue {
  color: #528fcc;
}
.text-theme {
  color: #528fcc;
}

/* ===== BLOCKQUOTES ===== */
blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #528fcc;
}

blockquote ol:last-child,
blockquote p:last-child,
blockquote ul:last-child {
  margin-bottom: 0;
}

blockquote .small,
blockquote footer,
blockquote small {
  display: block;
  font-size: 80%;
  line-height: 1.6;
  color: #999;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767px) {
  #copyright p,
  .copyright-link {
    text-align: center;
  }

  .copyright-link {
    float: none;
    margin: -10px auto;
  }

  .navbar-brand {
    width: 100%;
  }
}

/* ===== INLINE FLAGS ===== */
.inline-flag {
  vertical-align: middle;
  margin-left: 4px;
  width: 21px;
  height: 16px;
  position: relative;
  top: -1px;
}

/* ===== PAYPAL BUTTONS ===== */
.paypal-btn {
  transition: filter 0.3s ease;
}

.paypal-btn:hover {
  filter: brightness(0.95) saturate(0.9);
  cursor: pointer;
}

/* ===== FOCUS STYLES ===== */
:focus {
  outline: 0;
}

a:focus {
  cursor: pointer;
}

/* ===== CSS-ONLY INFO ICON (replaces FontAwesome) ===== */
.fa.fa-info-circle,
.info-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #1f5c99;
  color: white;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
  font-family: serif;
  margin-left: 4px;
  vertical-align: middle;
}

.fa.fa-info-circle::before,
.info-circle::before {
  content: "i";
}

/* ===== IMAGES ===== */
img.align-left {
  float: left;
  margin: 0 20px 5px 0;
  background: #fff;
  clear: both;
}

img.align-right {
  float: right;
  margin: 0 0 5px 20px;
  background: #fff;
  clear: both;
}

.sec img {
  max-width: 100%;
  height: auto;
}

.sec img.no-resize {
  width: auto;
}

/* ===== TABLES ===== */
td,
th {
  padding: 10px;
  border: 1px solid var(--border-color-light, #e5e5e5);
  text-align: left;
  color: var(--text-body, #333);
  transition:
    color var(--transition-speed, 0.3s) ease,
    border-color var(--transition-speed, 0.3s) ease;
}

table {
  max-width: 100%;
  background-color: var(--background-section, transparent);
  transition: background-color var(--transition-speed, 0.3s) ease;
}

.table tr td {
  border: none !important;
}

/* ===== PLATFORM MESSAGES ===== */
.machint {
  padding: 5px;
  background-color: var(--warning-bg, cyan);
  color: var(--warning-text, #000);
  font-weight: bold;
  text-align: center;
  transition:
    background-color var(--transition-speed, 0.3s) ease,
    color var(--transition-speed, 0.3s) ease;
}

/* ===== MISC UTILITIES ===== */
.text-center {
  text-align: center;
}

.full-width {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.full-width:after,
.full-width:before {
  display: table;
  content: " ";
  clear: both;
}

/* ===== RESPONSIVE NAVBAR BRAND ===== */
@media only screen and (max-width: 767px) {
  .navbar-brand .logo {
    width: 60px;
  }

  .navbar-brand .site-name {
    width: 80%;
  }
}

@media only screen and (max-width: 960px) {
  .process-1 h3,
  .process-2 h3,
  .process-3 h3 {
    line-height: 1.2;
  }
}
