:root {
  /* --app-info: #67ddab;
  --app-primary: #0C4242;
  --app-primary-rgb: 12, 66, 66;
  --app-primary-dark: #0F2E15;
  --app-secondary: #67ddab;
  --app-secondary-dark: #2fd08d;
  --app-secondary-rgb: 103, 221, 171;
  --app-primary-lite: #F9FBF6;
  --app-secondary-lite: #C3E9A0;
  --app-lite: #F9FBF6;
  --app-tertiary: #0000F5;
  --app-dark: #000000; */
  --app-info: #66C7B4;
  --app-primary: #0D47A1;
  --app-primary-rgb: 12, 66, 66;
  --app-primary-dark: #031E3A;
  --app-secondary: #40C4FF;
  --app-secondary-dark: #B3DCFA;
  --app-secondary-rgb: 103, 221, 171;
  --app-primary-lite: #E6F3FD;
  --app-secondary-lite: #99DFFF;
  --app-lite: #F5F5F5;
  --app-tertiary: #0000F5;
  --app-dark: #182125;
  --app-dark-rgb: 0, 0, 0;
  --app-body-font: 'Inter Tight', -apple-system, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --app-heading-font: 'Bricolage Grotesque', var(--app-body-font);
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html[dir="rtl"] {
  text-align: right;
}

*::-moz-selection {
  color: var(--app-primary-lite);
  background-color: var(--app-secondary-dark);
}

*::selection {
  color: var(--app-primary-lite);
  background-color: var(--app-secondary-dark);
}

::-webkit-input-placeholder {
  color: #999999 !important;
}

:-ms-input-placeholder {
  color: #999999 !important;
}

::placeholder {
  color: #999999 !important;
}

::-webkit-scrollbar {
  width: .5rem;
}

::-webkit-scrollbar:horizontal {
  height: 3px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 .5rem var(--app-secondary-lite);
  border-radius: 2rem;
}

::-webkit-scrollbar-thumb {
  background: var(--app-primary);
  border-radius: 1rem;
  -webkit-transition: all ease-in-out .5s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--app-secondary);
  -webkit-transition: all ease-in-out .5s;
}

::-webkit-scrollbar-button:horizontal:end:increment,
::-webkit-scrollbar-button:horizontal:start:decrement,
::-webkit-scrollbar-button:vertical:end:increment,
::-webkit-scrollbar-button:vertical:start:decrement {
  display: block;
}

::-webkit-scrollbar-button:horizontal:start {
  width: 3px;
}

::-webkit-scrollbar-button:horizontal:end {
  width: 3px;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font-optical-sizing: auto;
  font-family: var(--app-body-font);
  color: var(--app-dark);
  background: var(--app-lite);
}

/* .container {
  width: min(1100px, 90%);
  margin: auto;
} */
a,
a:visited {
  color: var(--app-tertiary);
  text-decoration: none;
}

a.btn,
a.btn:visited {
  color: var(--app-primary-lite);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--app-primary);
  text-decoration: underline;
}

a.btn:hover,
a.btn:focus {
  text-decoration: none !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-optical-sizing: auto;
  font-family: var(--app-heading-font);
  color: var(--app-dark);
}

.fw-bold {
  font-weight: 600 !important;
  letter-spacing: -.6px;
}

.ff-serif {
  font-family: serif !important;
}

.fs-7 {
  font-size: 0.7rem !important;
}

.mh-100 {
  min-height: 100px !important;
}

.mh-75 {
  min-height: 75px !important;
}

.mh-50 {
  min-height: 50px !important;
}

.mh-25 {
  min-height: 25px !important;
}

#earningSection {
  cursor: default;
  user-select: none;
}

.programList .shadow-over {
  transition: all ease-in-out .6s;
}

.programList .shadow-over:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transition: all ease-in-out .6s;
}

.btn {
  border-width: 2px;
  border-radius: 25%;
  padding: .75rem 1rem;
}

.bg-primary {
  background: rgba(var(--app-secondary-rgb), .1) !important;
}

.bg-primary-subtle {
  background: var(--app-primary-lite) !important;
  color: var(--app-primary-dark) !important
}

.btn-primary,
a.btn-primary,
a.btn-primary:visited {
  background: var(--app-primary);
  color: var(--app-primary-lite);
  border: 2px solid var(--app-primary);
  text-decoration: none;
  transition: all .65s ease-in-out;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-within,
.btn-primary:focus-visible {
  background: var(--app-primary-dark);
  color: #ffffff;
  border: 2px solid var(--app-primary-dark);
  transition: all .65s ease-in-out;
}

.btn-light,
a.btn-light,
a.btn-light:visited {
  background: #ffffff;
  color: var(--app-primary);
  border: 2px solid var(--app-primary);
  text-decoration: none;
  transition: all .65s ease-in-out;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:focus-within,
.btn-light:focus-visible {
  background: #ffffff;
  color: var(--app-primary-dark);
  border: 2px solid var(--app-primary-dark);
  transition: all .65s ease-in-out;
}


.text-primary {
  color: var(--app-primary) !important;
}

.text-secondary {
  color: var(--app-secondary) !important;
}

.btn-secondary,
a.btn-secondary,
a.btn-secondary:visited {
  background: var(--app-secondary);
  color: var(--app-primary);
  border: 2px solid var(--app-secondary);
  text-decoration: none;
  transition: all .65s ease-in-out;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:focus-within,
.btn-secondary:focus-visible {
  background: var(--app-secondary-dark);
  color: var(--app-primary-dark);
  border: 2px solid var(--app-secondary-dark);
  transition: all .65s ease-in-out;
}

.btn-dark,
a.btn-dark,
a.btn-dark:visited {
  background: var(--app-dark);
  color: var(--app-lite);
  border: 2px solid var(--app-dark);
  text-decoration: none;
  transition: all .65s ease-in-out;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:focus-within,
.btn-dark:focus-visible {
  background: var(--app-dark);
  color: var(--app-primary-lite);
  border: 2px solid var(--app-dark);
  transition: all .65s ease-in-out;
}

.modal-header,
.modal-footer {
  background: var(--app-lite);
  overflow: hidden;
}

.modal-header {
  outline: none;
}

.modal-header .modal-title {
  font-weight: 600;
  cursor: default;
  user-select: none;
}

.modal-footer {
  outline: none;
}

.modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.form-control,
.form-select {
  background: #ffffff;
  border: 2px solid #e4e4e4 !important;
  box-shadow: none !important;
  transition: background .65s ease-in-out
}

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 1);
  border: 2px solid var(--app-primary) !important;
}

.form-check-input {
  background-color: var(--app-primary-lite);
  border-color: var(--app-primary);
}

.form-check-input:checked {
  background-color: var(--app-secondary);
  border-color: var(--app-secondary) !important;
}

.help-text {
  font-family: inherit;
  font-style: italic;
  color: #009;
}

.form-check-input:focus {
  background-color: var(--app-primary);
  border-color: var(--app-primary);
  outline: 0;
  box-shadow: 0 0 0 0 transparent;
}

.btn {
  padding: 6px 14px;
  /* padding: .25rem !important;
  border-radius: .5rem !important; */
  vertical-align: middle;
  text-align: center;
  align-items: center;
}

.form-control,
.form-select {
  padding: .5rem !important;
  border-radius: 0 !important;
}

.btn,
.form-control {
  border-radius: 100px !important;
}

/* .searchbar{
    width: 50% !important;
} 
@media screen and (max-width: 900px){
 .searchbar{
    width: 100% !important;
 }   
}*/

.navbar {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--app-primary);
}

.brand-accent {
  color: var(--app-primary);
  font-weight: 600;
}

.nav-link {
  color: var(--app-dark);
  font-weight: 500;
  padding: 0.6rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--app-primary) !important;
  transition: all .65s ease-in-out;
}

.btn-signin {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-signin:hover {
  background-color: #00695C;
  border-color: #00695C;
  transform: translateY(-1px);
}

.search-form {
  max-width: 420px;
}

.search-form .form-control {
  border-radius: 10px 0 0 10px;
  border-right: none;
  padding: 0.65rem 1.25rem;
}

.search-form .btn {
  border-radius: 0 10px 10px 0;
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  padding: 0.65rem 1.25rem;
}

.search-form .btn:hover {
  background-color: #00695C;
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 1rem;
  }
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 35px;

  padding: 6px 8px 6px 16px;

  transition: all 0.25s ease;
}

.search-wrapper:focus-within {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-wrapper input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--app-dark);
  padding: 12px 0;
}

.search-wrapper input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.search-wrapper input:focus {
  border: none !important;
  outline: none !important;
}

.search-wrapper button {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  width: 40px;

  border: none;
  border-radius: 10px;

  background: var(--app-primary);
  color: #ffffff;

  font-size: 16px;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.15s ease;
}

.search-wrapper button:hover {
  background: var(--app-primary-dark);
}

.search-wrapper button:active {
  transform: scale(0.96);
}

@media (max-width: 640px) {
  .search-wrapper {
    max-width: 100%;
  }
}

.nav-divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: #E2E8F0;
  margin: 0 6px;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0 !important;
}

footer {
  padding-top: 19px;
  color: var(--app-dark);
  border-top: .1px dashed rgba(var(--app-dark-rgb), .2);
}

.jumbotron {
  padding: 1rem;
  background: linear-gradient(135deg, var(--app-secondary-dark, #40C4FF), var(--app-secondary-lite, #99DFFF));
  border: 1px dashed var(--app-dark);
  border-radius: 35px
}

.jumbotron .hdg {
  color: var(--app-dark);
}

.jumbotron img {
  border: none;
  margin: 1rem;
}

.nav .nav-item .nav-link,
.nav .nav-item .nav-link:hover,
.nav .nav-item .nav-link:focus,
.nav .nav-item .nav-link:focus-visible,
.nav .nav-item .nav-link:visited,
.nav .nav-item .nav-link .dropdown-menu .dropdown-item,
.nav .nav-item .nav-link .dropdown-menu .dropdown-item:hover,
.nav .nav-item .nav-link .dropdown-menu .dropdown-item:focus,
.nav .nav-item .nav-link .dropdown-menu .dropdown-item:visited,
.nav .nav-item .nav-link .dropdown-menu .dropdown-item:focus-visible {
  color: var(--app-dark);
  text-decoration: none;
  outline: 0;
  border-bottom-color: transparent;
  user-select: none;
}

.nav .nav-item .nav-link.active {
  color: var(--app-primary);
  font-weight: 900;
  text-decoration: none;
}

.nav .dropdown-menu .dropdown-item.active {
  background: var(--app-secondary);
  color: var(--app-primary-dark);
  font-weight: 900;
  text-decoration: none;
  border-bottom-color: var(--app-secondary);
}

.fcategories .category-card {
  padding: 1rem;
  background: var(--app-secondary-lite);
  border: 1px dashed var(--app-dark);
  border-radius: 17.5px;
}

.worksteps .stepcard {
  padding: 1rem;
  background: #ffffff;
  border: 1px dashed var(--app-dark);
  border-radius: 17.5px;

  &:last-child {
    background: transparent;
    border-color: transparent;
  }
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--app-secondary), var(--app-primary));
  bottom: -12px;
  left: 15%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.category-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(0, 137, 123, 0.15);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: #64748b;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  color: var(--app-primary);
  transform: scale(2.15);
}

.category-title a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}

.category-card:hover .category-title a {
  color: var(--app-primary);
  transform: scale(2.15);
}

#btnReset {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#btnReset:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .category-title {
    font-size: 1.1rem;
  }

  .category-icon {
    font-size: 2.8rem;
  }
}

.program-card {
  width: 380px;
  padding: 1rem 1.25rem;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
}

.program-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transform: scale(1.15);
}

.program-card .card-header {
  background: var(--app-primary-dark);
  /* deep navy blue */
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 35px;
}

.program-card .duration,
.program-card .price {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.program-card .logo-container {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -32px auto 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.program-card .logo {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--app-secondary) 0%, var(--app-primary) 100%);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.8rem;
}

.program-card .card-body {
  padding: 2.5rem 1.5rem 1.75rem;
  text-align: center;
  position: relative;
}

.program-card .title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.program-card .category {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.program-card .tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  margin: 1rem 0 1.25rem;
}

.program-card .details {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 0.95rem;
  color: var(--app-dark);
}

.program-card .detail-item {
  text-align: center;
}

.program-card .detail-label {
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.program-card .detail-value {
  font-weight: 700;
  color: var(--app-primary);
  font-size: 1.1rem;
}

.program-card .detail-item-divider {
  display: inline-block;
  width: 1px;
  height: 50px;
  background: #E2E8F0;
  margin: 0 6px;
}

.program-card .icon {
  font-size: 1.3rem;
  margin-right: 0.35rem;
}

.hero {
  background: linear-gradient(135deg, #004953 0%, #00897b 100%);
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.overall-rating {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
}

.review-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  height: 100%;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.review-header {
  background: #f1f5f9;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.stars {
  color: #fbbf24;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.verified-badge {
  background: #d1fae5;
  color: #065f46;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
}

.program-name {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.review-text {
  line-height: 1.7;
  color: #374151;
}

.alternatives-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.alt-item {
  transition: background 0.2s;
}

.alt-item:hover {
  background: #f1f5f9;
}

footer {
  background: linear-gradient(50deg, var(--app-primary, #0D47A1), var(--app-primary-dark, #031E3A));
  color: #ffffff;
}

footer .h5 {
  color: var(--app-secondary);
}

footer a.nav-link,
footer .social-icons a {
  color: var(--app-secondary-lite) !important;
  transition: all .65s ease-in-out;

  &:hover {
    color: #ffffff !important;
    transition: all .65s ease-in-out;
  }
}

.sticky-top {
  z-index: 999;
}

#overlayer {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 7100;
  background: rgba(0, 0, 0, .9);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(.7rem);
}

.loader {
  z-index: 7700;
  position: fixed;
  top: 50%;
  left: 50%;
  color: var(--app-primary);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 900px) {
  .jumbotron .d-flex {
    display: block !important;
    text-align: center;
  }

  .jumbotron .d-flex img {
    border: 2px solid var(--app-secondary);
    margin: 1rem;
  }

  .jumbotron {
    position: static;
    top: 0;
    z-index: 0
  }
}