@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");

body {
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
}

#header .header-row li {
    list-style: none;
}

/* ul.header-login {
  padding: 0 1rem;
} */

.hero-heading {
    font-size: 3rem;
    line-height: 1;
}

.hero-heading-withbg {
    display: none;
}

.testimonials-row {
    display: none;
}

.list-icon li {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.list-icon li::before {
    content: "\f559";
    font-family: FontAwesome;
    margin-right: 5px;
}

.btn-modern {
    font-size: 1em;
}

.btn-warning,
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    color: #fff !important;
}

form .form-label,
form .form-check-label,
form .form-control,
form .form-check {
    /* font-size: 1rem; */
    font-size: 0.938rem;
}

/* form .form-label {
  text-transform: capitalize;
} */

.header-top-right {
    display: flex;
    font-size: 0.9rem;
    /* margin: 0.2rem 0; */
    margin-bottom: -10px;
}

.header-top-right li:not(:last-child) {
    margin-right: 1.2rem;
}

/* .header-top-right li:not(:last-child) a {
    min-width: 32px;
    min-height: 28px;
} */

.header-top-right li a,
.header-top-right li .text-resize-trigger {
    color: var(--dark);
    /* padding: 6px; */

    position: relative;
    /* letter-spacing: 0.025em; */
    border-color: #d1d9e6;
    box-shadow: 3px 3px 6px #b8b9be, -3px -3px 6px #fff;

    /* display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;

    padding: 0.2rem 0.4rem;
    line-height: 1.5; */
    border-radius: 6px;
    transition: all 0.3s ease;

    width: 46px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-top-right li a:hover,
.header-top-right li .text-resize-trigger:hover {
    text-decoration: none;
    color: #31344b;
    background-color: #e6e7ee;
    border-color: #e6e7ee;
    box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #fff;
}

.hm-hero-icon {
    font-size: 3rem;
    color: var(--primary);
}

.header-nav-features-toggle.text-decoration-none {
    pointer-events: none;
}

#apply-now-page .featured-box {
    transition: box-shadow 0.3s ease-in-out;
}

#apply-now-page .featured-box:hover {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px,
        rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.hm-benefits {
    background-color: #041655 !important;
}

form .form-select {
    padding: 0.5rem 1rem;
    border-radius: var(--bs-border-radius-lg);
    line-height: initial;
}

.custom-bg-color-light-1 {
    background-color: #fff;
}

form label i {
    padding-right: 0.3rem;
}

.page-header.page-header-modern.page-header-lg {
    padding: 2rem 0;
}

/* .user-dashboard .profile-image i {
  font-size: 5rem;
}

.user-dashboard .profile-image {
  display: none !important;
}

.user-dashboard .nav-item .active {
  color: var(--dark) !important;
}

.user-dashboard .nav-list li a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 12px 0 12px 22px;
} */

.border-radius-4 {
    border-radius: 0.4rem;
}

/* old user dashboard design */
.user-dashboard .nav-list li a:hover {
    color: initial;
    background-color: var(--bs-tertiary-bg);
}

.user-dashboard .nav-list li a:before {
    top: initial;
}

/* /old user dashboard design */

.user-dashboard .list-group-item.active {
    background-color: var(--primary);
}

.user-dashboard .list-group-item {
    font-size: 1rem;
    padding: 1rem;
    font-weight: 500;
}

.user-dashboard .list-group-item:hover {
    text-decoration: none;
}

.user-dashboard .list-group-item i {
    padding-right: 4px;
}

.user-dashboard .card {
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: all 0.3s ease-in-out;
}

.user-dashboard .card:hover {
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px) !important;
}

.user-dashboard .card a {
    color: initial;
}

.user-dashboard .card a:hover {
    text-decoration: none;
}

.user-dashboard .card-border:after {
    transition: 0.3s all ease;
}

.user-dashboard-first-col,
.user-dashboard-second-col {
    padding: 0.5rem;
}

/* .user-dashboard .card-body {
  padding: 1.5rem;
} */

.user-dashboard .card .card-title {
    letter-spacing: normal;
}

.d-none,
.hidden,
#customInput {
    display: none;
}

a.return-dashboard {
    color: var(--grey);
    margin-bottom: 0.8rem;
}

.page-details a.return-dashboard {
    pointer-events: none;
    cursor: default;
}

a.return-dashboard:hover {
    color: var(--primary);
}

.input-group-text {
    cursor: pointer;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

#footer {
    background-image: url("../img/main/backgrounds/background-4.jpg");
}

/* .form-check-input.is-valid,
.was-validated .form-check-input:valid,
.form-check-input.is-valid~.form-check-label,
.was-validated .form-check-input:valid~.form-check-label {
  color: inherit;
  border-color: inherit;
} */

.success-icon {
    font-size: 80px;
    color: #28a745;
}

.success-page p {
    font-size: 1.2rem;
}

label#password-error,
label#confirmPassword-error {
    position: absolute;
    top: 42px;
}

.input-group.has-danger {
    margin-bottom: 1rem;
}

.input-group button.btn.btn-outline-secondary {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-color: rgba(0, 0, 0, 0.09);
}

.password .invalid-feedback {
    position: absolute;
    bottom: -22px;
}

.user-dashboard-second-col h4.text-center {
    font-size: 1.8em;
    margin-bottom: 1.5rem;
}

/* ================================ Homepage Government Apps Section ============================= */
.hm-gov-apps-section {
    padding: 80px 0;
}

.hm-gov-apps-section .app-card {
    transition: all 0.25s ease-in-out;
}

.hm-gov-apps-section .app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hm-gov-apps-section .app-card img {
    transition: transform 0.3s ease;
}

.hm-gov-apps-section .app-card:hover img {
    transform: scale(1.05);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}
/* ================================ /Homepage Government Apps Section ============================= */

/* ===================================== printing license  ======================================= */
#frmPrintingLicense .btn-success,
#frmPrintingLicense .btn-danger {
    padding: 12px 14.5px;
    /* border-radius: 0.5rem; */
}

.licenseApplicationPage .licenseTypesContainer .tab-content {
    box-shadow: none;
    border: none;
    /* padding: 1rem 0 0; */
    padding: 0;
}

.licenseApplicationPage .licenseTypesName .btn {
    border-radius: 0.5rem;
    color: #fff;
    margin: 0 1rem 1rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    font-weight: normal;
    padding: 1em;
    border: none;
}

.licenseApplicationPage .licenseTypesName .btn {
    transition: all 0.3s ease-in;
}

.licenseApplicationPage .licenseTypesName .btn.active {
    box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 20px, rgba(0, 0, 0, 0.5) 0px 6px 6px !important;
    border: none !important;
    scale: 1.15;
}

.licenseApplicationPage .licenseTypesName .btn:hover {
    color: #dedede;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px,
        rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.licenseApplicationPage .licenseTypesName .films-tab-btn {
    /* background-color: #205107; */
    background-color: #2e7d32;
}

.licenseApplicationPage .licenseTypesName .plays-tab-btn {
    /* background-color: #914c00; */
    background-color: #b35f0f;
}

.licenseApplicationPage .licenseTypesName .series-tab-btn {
    /* background-color: #6750a4; */
    background-color: #5c2f91;
}

.user-dashboard .card-body {
    padding: 2rem 1.6rem;
}

.user-dashboard .card-links-group .card-link {
    color: var(--primary);
    font-size: 0.75rem;
    transition: all 0.3s ease-in;
    padding: 4px;
    margin: 0;
}

.user-dashboard .card-links-group .card-link:hover {
    background-color: var(--primary);
    color: #fff;
}

.card-links-group {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

/* .header-logo img,
.footer-logo {
  padding-top: 0.5rem;
  width: 190px;
} */

.header-logo img {
    width: 320px;
}

.footer-logo {
    width: 180px;
}

/* #nav-serviceevaluation-tab,
#nav-serviceevaluation {
  display: none;
} */

.form-switch .form-check-input {
    transform: scale(1.4);
    margin-top: 0.5em;
}

.filepond--root {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol";
    /* max-height: 50px; */
    margin-bottom: 0;
}

.filepond--root .filepond--drop-label {
    min-height: 2.55em;
}

.featured-box form button[type="submit"],
.featured-box form input[type="submit"] {
    padding: 0.8rem 1.8rem;
    text-transform: uppercase;
}

.btn-lg {
    border-radius: 0;
}

/* ===================================== attachments  ======================================= */

.file-preview {
    margin-top: 10px;
}

.file-preview-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.file-preview-item img,
.file-preview-item i {
    max-width: 150px;
    max-height: 150px;
    margin-right: 10px;
}

.file-preview-item .file-info {
    display: flex;
    flex-grow: 1;
}

.file-preview-item .remove-btn {
    cursor: pointer;
    color: red;
    font-size: 20px;
    padding: 0 0.5em;
}

.file-preview-item .file-icon {
    font-size: 24px;
    margin-right: 10px;
}

.existingAttachments,
.file-preview {
    line-break: anywhere;
}

/* ===================================== /attachments  ======================================= */

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.headerSearch {
    transition: all 0.3s ease-in;
}

.headerSearch:hover {
    scale: 1.3;
}

#individual-license {
    display: none !important;
}

#frmCompanyLicense span.text-primary,
#frmRegister span.mandatory {
    color: red !important;
}

.card-body.bg-success .card-links-group a {
    color: #fff;
}

/* ================================ Film Permit ============================= */

/* ================================ /Film Permit ============================= */

.custom-alert {
    margin: 0.6rem;
    border-radius: 6px;
    padding: 1rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* animation: fadeInSlideDown 1s ease forwards; */
    animation: fadeInDown;
    animation-duration: 1.5s;
}

.custom-alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hm-license-types .overlay:before {
    background: var(--dark-rgba-60);
}

/* ================================ Pages ============================= */
.page-content .cyber-security-strategy-vision h5 {
    font-size: 1.2em;
}
/* ================================ /Pages ============================= */

/* ================================ License Type Details Page ============================= */
.steps-container {
    padding: 20px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0;
    padding: 0 0 30px 0;
    position: relative;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-item:last-child .step-number-wrapper::after {
    display: none;
}

.step-number-wrapper {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-number-wrapper::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 53px;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% + 30px);
    background-image: linear-gradient(to bottom, #108bce 50%, transparent 50%);
    background-size: 3px 12px;
    background-repeat: repeat-y;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #062480 0%, #108bce 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(6, 36, 128, 0.3);
    position: relative;
    border: 3px solid white;
}

.step-content {
    flex: 1;
    padding-top: 5px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step-content:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #062480;
}

.step-description {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

#license-details-page .nav-tabs {
    gap: 10px;
    padding-bottom: 0;
}

#license-details-page .nav-tabs .nav-link {
    color: #64748b;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    margin-bottom: -2px;
}

#license-details-page .nav-tabs .nav-link:hover {
    color: #062480;
    background-color: #f5faff;
}

#license-details-page .nav-tabs .nav-link.active {
    color: #062480;
    background: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 -2px 8px rgba(6, 36, 128, 0.1);
}

#license-details-page .nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #062480 0%, #108bce 100%);
    border-radius: 3px 3px 0 0;
}

#license-details-page .tab-content {
    background: white;
    padding: 25px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
/* ================================ /License Type Details Page ============================= */

/* ================================ Header Text Resize Accessibility ============================= */
.header-top-right .text-resize-wrapper {
    position: relative;
}

.header-top-right .text-resize-dropdown {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    padding: 6px 10px;
    gap: 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 9999;
}

.header-top-right .text-resize-wrapper::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

.header-top-right .text-resize-wrapper.show-dropdown .text-resize-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.header-top-right .resize-btn {
    border: none;
    background: transparent;
    color: #212529;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.header-top-right .resize-btn:hover {
    color: var(--secondary);
}

.header-top-right .text-resize-trigger {
    cursor: pointer;
    transition: color 0.3s ease;
}

.header-top-right .text-resize-trigger:hover {
    color: var(--secondary);
}

/* ================================ /Header Text Resize Accessibility ============================= */

/* ================================ Floating Icons ============================= */
.floating-btn-wrapper {
    position: fixed;
    bottom: 110px;
    right: 16px;
    z-index: 9999;
}

.floating-btn {
    width: 40px;
    height: 40px;
    padding: inherit !important;
    background-color: var(--primary);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
}

.floating-btn:hover,
.floating-option:hover {
    background-color: var(--secondary);
}

.floating-options a:hover {
    color: #fff;
    text-decoration: none;
}

.floating-btn.active {
    transform: rotate(180deg);
}

.floating-options {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 50px;
    right: 0px;
    opacity: 0;
    visibility: hidden;
}

.floating-btn.active + .floating-options {
    opacity: 1;
    visibility: visible;
}

.floating-option {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 22px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: transform 0.35s cubic-bezier(0.25, 1.5, 0.5, 1),
        opacity 0.35s ease;
}

.floating-btn.active + .floating-options .floating-option {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.floating-btn.active + .floating-options .floating-option:nth-child(1) {
    transition-delay: 0.05s;
}
.floating-btn.active + .floating-options .floating-option:nth-child(2) {
    transition-delay: 0.1s;
}
.floating-btn.active + .floating-options .floating-option:nth-child(3) {
    transition-delay: 0.15s;
}
.floating-btn.active + .floating-options .floating-option:nth-child(4) {
    transition-delay: 0.2s;
}

.floating-tooltip .tooltip-inner {
    background-color: var(--primary);
    color: #fff;
    font-size: 14px;
    border-radius: 6px;
}

.floating-tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: var(--primary) !important;
}

.tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--primary);
}

.tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--primary);
}

.tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--primary);
}

.tooltip.bs-tooltip-auto[data-popper-placement^="bottom"]
    .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--primary);
}

/* ================================ /Floating Icons ============================= */

/* ================================ Footer ============================= */
footer .footer-top {
    background-color: #333333;
}

footer .footer-bottom {
    background-color: #303030;
}
footer a {
    color: #ffffff;
}
footer a:hover {
    color: #c9c9c9;
}

footer .social-btns a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #888;

  transition: all 0.3s ease-in-out;
}

footer .social-btns a:hover {
    background-color: var(--primary);
    color: #fff;
    border: none;
    text-decoration: none;
}


footer h5 {
    color: #fff;
    font-size: 1.5rem;
    text-transform: none;
    line-height: initial;
}

footer p {
    color: #fff;
}

.footer-logos img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

footer .footer-logos img:hover {
    filter: none;
}
/* ================================ /Footer ============================= */

/* ================================ Media Queries ============================= */

/* Styles for desktop screens (min-width: 1025px) */
@media (min-width: 1025px) {
    .card:hover .card-links-group {
        max-height: 100px;
        opacity: 1;
        display: flex;
        flex-direction: column;
    }

    .user-dashboard .card-links-group {
        display: flex;
        flex-direction: column;
    }

    .user-dashboard .card-links-group .card-link {
        font-size: 0.875rem;
    }

    /* .sticky-header-active .header-logo img {
    width: 140px;
    padding-top: 0;
  } */

    .sticky-header-active .header-logo img {
        width: 270px;
    }

    .mb-lg-8 {
        margin-bottom: 8rem !important;
    }

    .mb-lg-10 {
        margin-bottom: 10rem !important;
    }

    /* .filter-container {
    margin-left: 5rem;
  } */
    #licenseTypeChoiceModal .modal-body {
        margin: 0 auto;
    }

    #licenseTypeChoiceModal .modal-body .btn {
        padding: 1rem 2rem;
    }

    .owl-carousel-hero .card {
        min-height: 380px;
    }
}

/* Styles for larger screens (min-width: 992px) */
@media (min-width: 992px) {
    h1.custom-text-background {
        font-size: 6rem !important;
        margin-right: 12.2rem;
    }

    #header
        .header-nav-main
        nav
        > ul
        > li
        > a.dropdown-toggle
        .fa-chevron-down {
        display: contents;
    }

    .fa-chevron-down:before {
        padding: 0px 3px;
    }

    .user-dashboard-first-col {
        margin-bottom: 2rem;
    }

    .licenseApplicationPage .licenseTypesName {
        display: inline;
    }
}

@media (min-width: 768px) {
    #header .header-nav-top {
        margin-top: -8px;
    }
}

/* Styles for smaller screens (max-width: 1024px) */
@media (max-width: 1024px) {
    .card-links-group {
        max-height: initial;
        opacity: 1;
        display: flex;
        flex-direction: column;
    }

    .user-dashboard-first-col {
        margin-bottom: 2rem;
    }

    .user-dashboard .card-body {
        padding: 1rem;
    }
}

/* Styles for mobile screens (max-width: 767px) */
@media (max-width: 767px) {
    .file-preview-item .file-info {
        flex-wrap: wrap;
    }

    .text-sm-break {
        word-break: break-word;
    }

    .licenseApplicationPage .licenseTypes {
        text-align: center;
    }

    #frmPrintingLicense .btn-danger {
        padding: 0px 8px;
    }

    #license-details-page .page-title {
        margin-bottom: 2rem;
    }

    #license-details-page .page-title h2 {
        margin-bottom: 0.8rem;
    }

    .box-top-container {
        flex-direction: column;
        margin-bottom: 0.5rem;
    }

    .box-top-container a.return-dashboard {
        margin-bottom: 0.2rem;
    }

    .step-item {
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border: 3px solid white;
    }

    .step-number-wrapper::after {
        top: 53px;
    }

    .header-logo img {
        width: 240px;
    }

    /* header */
    .custom-header-top-nav-background {
        padding-right: 1rem !important;
    }

    .header-top-right li:not(:last-child) {
        margin-right: 0.2rem;
    }

    .header-top-right li a,
    .header-top-right li .text-resize-trigger {
        width: 42px;
        height: 36px;
    }
    .header-top-right {
        padding: 0;
        font-size: inherit;
    }
}
