/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --secondary-color: #1e1e6f;
}

.light-background {
  --background-color: #f3f9ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0d83fd;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #409dfd;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Lato", sans-serif;
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.text-dark-blue {
  color: var(--secondary-color);
  color: var(--heading-color);
}

body {
  font-family: 'Lato', sans-serif !important;
}

.header-1 {
  background-color: var(--secondary-color);
  height: 70px;
}

.header-2 {
  background-color: var(--accent-color);
}

.bg-light-blue {
  background: var(--accent-color);
}

.bg-light-blue:hover {
  background: #2779a8;
}

.header-2 .navbar-nav .nav-link {
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  padding: 12px 12px;
  margin: 0 7px;
}

.logo img {
  width: 170px;
  margin-top: 7px;
}

.searchbar {
  background: #fff;
  padding: 4px;
  border-radius: 30px;
  border: 2px solid #02467a;
  margin-top: 20px;
}

.searchbar select,
.searchbar .btn {
  border-radius: 20px;
}

.header-2 .navbar-nav .nav-link:hover {
  background: var(--secondary-color);
  transition: 0.5s;
}

.banner-section {
  background: url(../img/top-banner.jpg);
  /* background-size: cover;
  background-position: center; */
}

.banner-section::before {
  content: '';
  position: absolute;
  left: 0;
  width: 70%;
  top: 120px;
  height: 190px;
}

.blue-line-title::before {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  left: 0px;
  bottom: -8px;
  background: var(--accent-color);
  margin: auto;
  z-index: 9;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"] {
  appearance: textfield;
}


.features-2 .feature-item .feature-icon,
.features-2 .feature-item .feature-icon img {
  transition: 0.5s;
}

.features-2 .feature-item:hover .feature-icon {
  background: var(--accent-color);
}

.features-2 .feature-item :hover img {
  filter: brightness(0) invert(1);
}

.hero .stat-item:hover .stat-icon img {
  filter: brightness(0) invert(1);
}


.about-buttons {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about-buttons:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 20%);
  border-color: color-mix(in srgb, var(--accent-color), black 20%);
}

.flags {
  width: 100px;
}

.clients .swiper-wrapper img {
  background: #fff;
  padding: 10px;
  border: 1px solid #ccc;
}

.home-messages .inner img {
  width: 100% !important;
}

.home-messages .inner p {
  padding: 5px;
  background: var(--heading-color);
  text-align: center;
  margin-top: 7px;
  font-size: 0.9em;
}

.home-messages .inner p a {
  color: #fff;
}

.table-text,
.table-text th {
  color: #00205B !important;
}

.table-text td {
  color: #00205B !important;
  font-size: 20px !important;
}

.chapterfilter ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.chapterfilter ul li {
  width: 30px;
  height: 30px;
  padding: 2px;
  text-align: center;
  background-color: #bbbbbb;
  color: #ffffff;
  cursor: pointer;
}


/* --- quick styling for the alphabet bar --- */
.chapter-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
  font-family: sans-serif;
}

.chapter-filter .chapter {
  padding: .35rem .65rem;
  border: 1px solid #999;
  border-radius: .3rem;
  background: #f6f6f6;
  cursor: pointer;
  user-select: none;
  transition: background .2s ease;
  color: #000000;
}

.chapter-filter .chapter:hover {
  background: #e0e0e0;
}

.chapter-filter .chapter.active {
  background: #2779A8;
  color: #fff;
  border-color: #2779A8;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-weight: 800 !important;
}

.text-green {
  color: #047804;
}

/* Timer Display Styling */
#timerDisplay {
  font-family: 'Courier New', monospace;
  color: #0d6efd;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
}

/* Resend Link Hover Effect */
#resendLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

#resendLink:hover {
  gap: 10px;
  color: #0a58ca !important;
  text-decoration: none;
}

#resendLink i {
  transition: transform 0.3s ease;
}

#resendLink:hover i {
  transform: rotate(360deg);
}

/* Verification Section Animation */
#verification_tab {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);  
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Timer Section Fade In */
#timerSection {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}