.clickable-text {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

.clickable-text:hover {
    color: darkblue;
}

.custom {
    cursor: pointer;
}

.custom-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.custom-masthead,
.custom-page-section,
.custom-page-section-exam,
.custom-page-section-about,
.custom-page-section-team {
    padding-top: 40px;
    padding-bottom: 20px;
}

.best-value-card {
    border: 1px solid red;
}

.card-container {
    position: relative;
}

.card {
    position: relative;
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.most-popular {
    background-color: #28a745;
    padding: 5px 10px;
    color: #fff;
    border-radius: 3px;
    position: absolute;
    top: -10px;
    left: 15px;
    z-index: 1;
}

.best-value {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 1;
    background-color: yellow;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
}

.field-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

@media (min-width: 992px) {
    .card.equal-height {
        height: 100%;
    }

    .navbar li {
        margin-left: -1em;
        margin-right: -1em;
    }
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
}

.card.equal-height {
    display: flex;
    flex-direction: column;
}

.card.equal-height .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .offcanvas-top {
        min-height: 50vh;
    }
}

/* Default light mode styles */
.custom-modal .modal-content {
    background-color: white;
    color: black;
}

.custom-modal .modal-header,
.custom-modal .modal-footer {
    border-color: #dee2e6;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .custom-modal .modal-content {
        background-color: #2c2c2c;
        color: white;
    }

    .custom-modal .modal-header,
    .custom-modal .modal-footer {
        border-color: #444;
    }
}

/* Default light mode styles */
.custom-form.card {
    background-color: white;
    color: black;
}

.custom-form.card label,
.custom-form.card input.form-control {
    color: inherit;
}

.custom-form.card input.form-control {
    background-color: #f8f9fa;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .custom-form.card {
        background-color: #2c2c2c;
        color: white;
    }

    .custom-form.card label,
    .custom-form.card input.form-control {
        color: inherit;
    }

    .custom-form.card input.form-control {
        background-color: #444;
        color: white;
    }
}
/* Used for Available Exams */
.img-fluid {
    width: 65%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


.portfolio-hover {
    position: relative;
}

.portfolio-hover img.portfolio-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-hover img.portfolio-hover-overlay {
    opacity: 1;
}

.portfolio-item .img-fluid {
    transition: all 0.3s ease;
}

.portfolio-item:hover .img-fluid {
    border: 2px solid rgb(10, 10, 10);
    opacity: 0.7;
    filter: brightness(120%);
}

.custom-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}


.headings-container {
    margin-bottom: 0;
}
/* Default light mode styles */
.custom-modal a {
    color: #212529;
  }
  
  /* Dark mode styles */
  @media (prefers-color-scheme: dark) {
    .custom-modal a {
      color: #a8a8a8;
    }
  }
  .headings-container h1.section-heading {
    margin-bottom: -2px;
}
.bullets-container {
    display: inline-block;
    text-align: left;
}     
.lead.tight-spacing {
    line-height: 1.1;
}    
.lead.tight-spacing {
    line-height: 1.4;
}

.custom-page-section.mb-1 {
    margin-bottom: 1rem !important;
}

.custom-page-section-exam.mt-1 {
    margin-top: 1rem !important;
}
.nav-link-pointer:hover {
    cursor: pointer;
}
@-moz-document url-prefix() {
    .img-fluid {
        width: 280px;
        max-width: 100%;
        height: auto;
    }
}
.navbar-brand .img-fluid {
    width: 800px;
    height: auto;
}
