.customer-service-container {
    position: fixed;
    bottom: 145px;
    right: 103px;
    width: 60px;
    height: 60px;
    z-index: 999;
}

html,
body {
    overflow-x: hidden;
}

.customer-service-container:hover {
    cursor: pointer;
}


.text-blue {
    color: #0E3D91;
}

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

@media (max-width: 780px) {
    .main-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .page-links {
        display: none;
        flex-direction: column;
        background: #111;
        padding: 15px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .page-links li {
        margin: 0;
        padding: 2px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .page-links li a {
        color: #fff !important;
    }

    /* ------------------HAMBURGER MENU MOBILE------------------ */

    .menu-toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        margin-left: auto;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        display: none;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu {
        position: absolute;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100dvh;
        background: #111;
        color: #fff;
        display: flex;
        flex-direction: column;
        padding: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }


    .mobile-menu-overlay.open {
        display: block;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 10px;
    }

    .mobile-menu-header .mobile-logo img {
        height: 40px;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
        overflow-y: auto;
    }

    .mobile-menu-list li {
        margin-bottom: 15px;
    }

    .mobile-menu-list a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        display: block;
        padding: 10px 0;
        transition: color 0.2s;
    }

    .mobile-menu-footer {
        flex-shrink: 0;
        padding-bottom: env(safe-area-inset-bottom, 15px);
    }


    .social-icons li a {
        color: #fff;
        font-size: 16px;
    }

    .mobile-language select {
        background: #0E3D91;
        color: #fff;
        border: none;
        padding: 5px 10px;
        border-radius: 5px;
    }
}

/* Desktop */
@media (min-width: 781px) {
    .menu-toggle {
        display: none;
    }
}

/* ------------------HEADER MOBILE START------------------ */
@media (max-width: 768px) {

    .social-icons {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .about-section-one .col-lg-6 {
        margin-bottom: 30px;
    }

    .about-section-mission .row,
    .about-section-vision .row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
    }

    .about-section-mission p,
    .about-section-vision p {
        width: 100%;
        max-width: 100%;
        text-align: justify;
        color: #999999;

    }

    .about-section-one video {
        width: 100%;
        height: auto;
    }

    .testimonial-slider-one .testimonial-item-one {
        margin-bottom: 20px;
    }

    .testimonial-slider-one .testimonial-author-image img {
        width: 70px;
        height: 70px;
    }

    .about-section-one .col-lg-6.col-sm-12:last-child {
        height: 200px !important;
        margin-bottom: 20px;
    }

}

/* Loading overlay */
#loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Card */
.loading-card {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
    min-width: 260px;
}

/* Text */
.loading-text {
    margin-top: 20px;
    font-size: 18px;
    font-family: 'Gilroy-Medium';
    color: #111;
}

/* Dot loader */
.dot-loader {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot-loader span {
    width: 14px;
    height: 14px;
    background: #0168D9;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot-loader span:nth-child(1) {
    animation-delay: -0.32s;
}

.dot-loader span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.date-range {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    overflow: hidden;
    height: 40px;
    background: #fff;
    flex-shrink: 0;
}

.date-range input {
    border: none;
    height: 100%;
    flex: 1 1 115px;
    min-width: 115px;
    width: auto;
    padding: 0 12px;
    font-size: 14px;
    color: #235C93;
    background: #fff no-repeat right 10px center;
    background-size: 15px;
}

.date-range .date-separator {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 4px;
    color: #235C93;
    font-weight: 600;
}

.date-range .clear-btn {
    height: 100%;
    flex-shrink: 0;
    align-self: stretch;
    margin: 0;
    white-space: nowrap;
    padding: 0 14px;
    font-size: 14px;
    background: #CF0003;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.date-range .clear-btn:hover {
    background: #a80002;
}

/* ------------------HEADER MOBILE END------------------ */
/***********************
* Banner section homepage
***********************/

.hero-slider:not(.slick-initialized) .slick-slide-wrapper:not(:first-child) {
    display: none;
}

.hero-slider:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
    height: 500px;
}

.hero-banner-container {
    padding: 40px 100px;
    position: relative;
}

.hero-banner {
    position: relative;
    width: 100%;
    max-width: 1450px;
    aspect-ratio: 1920 / 660;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background-image: var(--hero-bg-desktop);
    background-size: cover;
    background-position: center;
}

.slick-slide-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 20px;
    padding-bottom: clamp(24px, 5vw, 60px);
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.hero-content h1 {
    font-size: clamp(28px, 6vw, 50px);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: 'Gilroy-Bold' !important;
    color: #fff;
    /* Limit to one row and reserve its height so the button stays fixed. */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    min-height: 1.2em;
}

.hero-content p {
    font-size: clamp(16px, 4vw, 30px);
    line-height: 1.4;
    margin-bottom: 2rem;
    font-family: 'Gilroy-Regular' !important;
    /* Limit to two rows and reserve their height so the button stays fixed. */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.8em;
}

.btn-hero {
    background-color: #fff;
    color: #0075C9;
    padding: clamp(8px, 1vw, 14px) clamp(20px, 3vw, 35px);
    font-size: clamp(12px, 2vw, 18px);
    font-family: 'Gilroy-Bold' !important;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #0075C9;
    color: #fff;
}

.hero-slider {
    margin: 0 auto;
    position: relative;
}


.hero-slider .slick-prev,
.hero-slider .slick-next {
    position: absolute;
    top: 105%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #0168D9;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
    background: #235C93;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider .slick-prev {
    left: 90px;
}

.hero-slider .slick-next {
    right: 90px;
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    content: '';
    display: none;
}

.hero-slider .slick-prev:after {
    content: '<';
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
    color: white;
    font-size: 20px;
}

.hero-slider .slick-next:after {
    content: '>';
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
    color: white;
    font-size: 20px;
}

/* Shared dot row — homepage hero banner + Semak Kasih slider */
.hero-slider .slick-dots,
.coverage-slider .slick-dots {
    position: relative;
    top: 35px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 120px;
    padding: 0;
    list-style: none;
    width: calc(100% - 240px);
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-slider .slick-dots::-webkit-scrollbar,
.coverage-slider .slick-dots::-webkit-scrollbar {
    display: none;
}

.hero-slider .slick-dots li,
.coverage-slider .slick-dots li {
    margin: 0 8px;
    flex-shrink: 0;
}

.hero-slider .slick-dots li button,
.coverage-slider .slick-dots li button {
    width: 14px;
    height: 14px;
    border-radius: 6px;
    background: #E5E5E5;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0;
    padding: 0;
    display: block;
}

.hero-slider .slick-dots li.slick-active button,
.coverage-slider .slick-dots li.slick-active button {
    background: #0168D9;
    width: 35px;
    height: 12px;
    border-radius: 14px;
    transform: none;
}

.hero-slider.hero-slider--many-dots .slick-dots li,
.coverage-slider.coverage-slider--many-dots .slick-dots li {
    margin: 0 4px;
}

.hero-slider.hero-slider--many-dots .slick-dots li button,
.coverage-slider.coverage-slider--many-dots .slick-dots li button {
    width: 10px;
    height: 10px;
}

.hero-slider.hero-slider--many-dots .slick-dots li.slick-active button,
.coverage-slider.coverage-slider--many-dots .slick-dots li.slick-active button {
    width: 22px;
    height: 8px;
}

.hero-slider .slick-dots li button:hover,
.coverage-slider .slick-dots li button:hover {
    background: #235C93;
}

.slick-dots li button:before {
    content: none !important;
}

@media (max-width: 1024px) {
    .hero-content p {
        line-height: 1.4;
    }
    .hero-overlay {
        align-items: center;
        padding-bottom: 0;
    }

    .btn-hero {
        position: absolute;
        left: 50%;
        bottom: clamp(46px, 12vw, 950px);
        transform: translateX(-50%);
    }
    .hero-banner {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        min-height: 0;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 20px;
        overflow: hidden;
        background-image: var(--hero-bg-mobile, var(--hero-bg-desktop));
        background-size: cover;
        background-position: center;
    }

    .hero-banner-container {
        padding: 40px 60px;
        position: relative;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0.5rem;
    }

    .btn-hero {
        padding: 10px 18px;
    }

    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        top: 106%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
    }

    .hero-slider .slick-prev {
        left: 10px;
    }

    .hero-slider .slick-next {
        right: 10px;
    }

    .hero-slider .slick-prev:after,
    .hero-slider .slick-next:after {
        font-size: 18px;
    }

    .hero-slider .slick-dots,
    .coverage-slider .slick-dots {
        margin: 0 58px;
        width: calc(100% - 116px);
        top: 30px;
    }

    .hero-slider .slick-dots li,
    .coverage-slider .slick-dots li {
        margin: 0 4px;
    }

    .hero-slider.hero-slider--many-dots .slick-dots li,
    .coverage-slider.coverage-slider--many-dots .slick-dots li {
        margin: 0 3px;
    }
}

/* Phones: smaller centered square with tighter padding (tablets keep the
   full-width treatment from the max-width: 1024px rule above). */
@media (max-width: 600px) {
    .hero-banner {
        max-width: 510px;
        border-radius: 14px;
    }

    .hero-banner-container {
        padding: 1.5rem 1rem;
    }
}

/* ===== Coverage Mini Banner ===== */
.coverage-check-slider-container h2 {
    font-size: clamp(28px, 4vw, 30px);
    font-family: 'Gilroy-Bold' !important;
    color: #667085;
    margin-bottom: 30px !important;
}

.coverage-check-slider-container {
    padding: 20px 100px 60px;
}

.coverage-inner {
    max-width: 1450px;
    margin: 0 auto;
}

.coverage-slider:not(.slick-initialized) .coverage-banner:not(:first-child) {
    display: none;
}

.coverage-slider {
    max-width: 1450px;
    margin: 0 auto;
    position: relative;
}

.coverage-banner {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}

.coverage-slider .slick-prev,
.coverage-slider .slick-next {
    position: absolute;
    top: 105%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #0168D9;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coverage-slider .slick-prev:hover,
.coverage-slider .slick-next:hover {
    background: #235C93;
    transform: translateY(-50%) scale(1.1);
}

.coverage-slider .slick-prev {
    left: 90px;
}

.coverage-slider .slick-next {
    right: 90px;
}

.coverage-slider .slick-prev:before,
.coverage-slider .slick-next:before {
    content: '';
    display: none;
}

.coverage-slider .slick-prev:after {
    content: '<';
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
    color: white;
    font-size: 20px;
}

.coverage-slider .slick-next:after {
    content: '>';
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
    color: white;
    font-size: 20px;
}

@media (max-width: 1400px) {
    .coverage-banner {
        height: 480px;
    }
}

@media (max-width: 1200px) {
    .coverage-banner {
        height: 420px;
    }

    .coverage-check-slider-container {
        padding: 40px 40px;
    }
}

@media (max-width: 992px) {
    .coverage-banner {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .coverage-banner {
        height: 320px;
    }

    .coverage-check-slider-container {
        padding: 40px 20px;
    }

    .coverage-slider .slick-prev,
    .coverage-slider .slick-next {
        top: 114%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
    }

    .coverage-slider .slick-prev {
        left: 10px;
    }

    .coverage-slider .slick-next {
        right: 10px;
    }

    .coverage-slider .slick-prev:after,
    .coverage-slider .slick-next:after {
        font-size: 18px;
    }

    .coverage-check-slider-container h2 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .coverage-banner {
        height: 160px;
    }
}

/* ================= FAQ SECTION ================= */

.faq-header h2 {
    font-size: clamp(28px, 5vw, 30px);
    font-family: 'Gilroy-Bold' !important;
    color: #0C55A5;
    padding-bottom: 20px;
}

.tab-content {
    position: relative;
    min-height: 100px;
    transition: min-height 0.2s ease;
}

.tab-pane {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.tab-pane.active.show {
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
}

.faq-header p {
    font-size: clamp(16px, 3vw, 24px);
    color: #0C55A5;
    font-family: 'Gilroy-Medium' !important;
    margin-bottom: 20px;
}

.faq-tabs-wrapper {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    clear: both;
}

.faq-tabs-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    white-space: nowrap;
    padding-bottom: 15px;
    width: 100%;
    margin: 0 auto;
}

.faq-tabs-scroll-container::-webkit-scrollbar {
    height: 4px;
}

.faq-tabs-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.faq-tabs-scroll-container::-webkit-scrollbar-thumb {
    background: #0C55A5;
    border-radius: 10px;
}

.faq-tabs-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #0a4585;
}

.faq-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    gap: 10px;
    white-space: nowrap;
    min-width: 100%;
}

.faq-tabs .nav-item {
    display: inline-block;
    float: none;
    flex-shrink: 0;
}

.faq-tabs .nav-link {
    border-radius: 30px;
    padding: 10px 24px;
    margin: 0;
    color: #0C55A5;
    border: 1px solid #0C55A5;
    background: transparent;
    transition: 0.3s;
    font-family: 'Gilroy-Medium' !important;
    font-size: 16px;
    white-space: nowrap;
}

.faq-tabs .nav-link.active {
    background-color: #0C55A5;
    color: #fff;
}

.scroll-indicator {
    display: none;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 15px;
}

.scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(12, 85, 165, 0.1);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
    color: #0C55A5;
    animation: pulse 2s ease-in-out infinite;
}

.scroll-arrow {
    font-size: 14px;
    font-weight: bold;
}

.scroll-text {
    font-family: 'Gilroy-Medium' !important;
    letter-spacing: 0.5px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.invalid-feedback {
    font-size: clamp(14px, 1.2vw, 16px);
    margin-top: 0.25rem;
}

.text-danger,
#deathCertNumberError,
#fileError,
#ocrMessage {
    font-size: clamp(14px, 1.2vw, 16px);
}


/* FAQ Items */
.faq-container {
    max-width: 1250px;
    padding: 0 10px;
    margin: 0 auto;
    width: 100%;
    clear: both;
}

.faq-item {
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    width: 100%;
}

.faq-question {
    width: 100%;
    background: #F3F3F3;
    border: none;
    padding: 12px 20px;
    font-size: clamp(14px, 1.5vw, 20px);
    font-family: 'Gilroy-Medium' !important;
    color: #0C55A5;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 20px;
    color: #0C55A5;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    font-size: clamp(14px, 1.5vw, 18px);
    transition: grid-template-rows 0.4s ease, padding 0.3s ease;
    overflow: hidden;
    padding: 0 25px;
    color: #000;
}

.faq-answer>div {
    min-height: 0;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding: 10px 25px 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ================= TABLET STYLES (iPad Air specific) ================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .faq-tabs-wrapper {
        margin-bottom: 50px;
    }

    .faq-tabs-scroll-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
        margin-bottom: 5px;
        text-align: center;
    }

    .faq-tabs {
        display: inline-flex;
        gap: 12px;
        padding: 0 20px;
        min-width: max-content;
    }

    .faq-tabs .nav-item {
        flex-shrink: 0;
    }

    .faq-tabs .nav-link {
        padding: 12px 28px;
        font-size: 16px;
    }

    .scroll-indicator {
        display: block;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-container {
        padding: 0 15px;
    }

    .faq-question {
        padding: 16px 24px;
        font-size: 16px;
    }

    .faq-answer {
        font-size: 15px;
        line-height: 1.6;
    }

    .faq-item.active .faq-answer {
        padding: 24px;
    }

    .faq-container .faq-item:first-child {
        margin-top: 10px;
    }
}

/* ================= MOBILE STYLES ================= */
@media (max-width: 767px) {
    .faq-tabs-wrapper {
        margin-bottom: 35px;
        width: 100%;
        overflow: hidden;
    }

    .faq-tabs-scroll-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
        width: 100%;
        margin: 0;
    }

    .faq-tabs {
        display: inline-flex;
        gap: 8px;
        padding: 0 15px;
        min-width: max-content;
    }

    .faq-tabs .nav-item {
        display: inline-flex;
    }

    .faq-tabs .nav-link {
        padding: 8px 18px;
        font-size: 14px;
        white-space: nowrap;
    }

    .scroll-indicator {
        display: block;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .faq-question {
        font-size: 15px;
        padding: 14px 16px;
    }

    .faq-header p {
        margin-bottom: 10px;
        font-size: 15px;
        padding: 0 15px;
    }

    .faq-header h2 {
        font-size: 24px;
        padding: 0 15px;
    }

    .faq-container {
        padding: 0 10px;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        padding: 16px;
    }

    .faq-tabs-scroll-container {
        scroll-snap-type: x mandatory;
    }

    .faq-tabs .nav-item {
        scroll-snap-align: start;
    }
}

/* ================= EXTRA SMALL DEVICES ================= */
@media (max-width: 480px) {
    .faq-tabs .nav-link {
        padding: 6px 14px;
        font-size: 13px;
    }

    .faq-question {
        font-size: 14px;
        padding: 12px 14px;
    }

    .faq-icon {
        font-size: 16px;
        margin-left: 10px;
    }

    .faq-answer {
        font-size: 13px;
        line-height: 1.5;
    }

    .faq-item.active .faq-answer {
        padding: 14px;
    }
}

/* ================= LANDSCAPE MODE ON TABLETS ================= */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .faq-tabs-wrapper {
        margin-bottom: 45px;
    }

    .faq-tabs-scroll-container {
        overflow-x: visible;
    }

    .faq-tabs {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ================= DESKTOP STYLES ================= */
@media (min-width: 1025px) {
    .scroll-indicator {
        display: none;
    }

    .faq-tabs-wrapper {
        margin-bottom: 40px;
    }

    .faq-tabs-scroll-container {
        overflow-x: visible;
        text-align: center;
    }

    .faq-tabs {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .faq-tabs .nav-item {
        flex-shrink: 1;
    }
}

.faq-tabs-wrapper+.tab-content {
    margin-top: 20px;
}

/* On tablets, add more spacing */
@media (min-width: 768px) and (max-width: 1024px) {
    .faq-tabs-wrapper+.tab-content {
        margin-top: 30px;
    }
}


.cta-section {
    padding: 100px 60px;
}

.cta-section .cta-text {
    text-align: center;
}

.cta-section .cta-btn {
    display: inline-block;
    margin: 0 auto;
}

.cta-box {
    width: 1450px;
    height: 500px;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    box-shadow: 0px 2px 25px 0px #0000001A;
    flex-direction: row;
}

.cta-text {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-text h3 {
    color: #667085;
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 40px;
    font-family: 'Gilroy-Bold' !important;
}

.cta-btn {
    background: #0168D9;
    color: #fff;
    padding: 0 30px;
    border-radius: 10px;
    font-family: 'Gilroy-Bold' !important;
    transition: 0.3s ease;
    font-size: 24px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    display: inline-block;
}


.cta-btn:hover {
    background: #014f9a;
    color: #fff;
}

.cta-image {
    flex: 1;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Enquire / CTA video ===== */
.cta-video {
    position: relative;
    width: 1000px;
    max-width: 80%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0px 2px 25px 0px #0000001A;
    line-height: 0;
    font-size: 0;
}

/* Mobile/default: let the video define the height (its natural aspect ratio)
   so the box wraps it exactly with no black bars and no cropping. */
.cta-video__el {
    width: 100%;
    height: auto;
    display: block;
}

/* Show the full video at its natural aspect ratio (no cropping). The box
   height follows the video so the whole frame is visible with no black bars.
   .cta-video__el already uses width: 100%; height: auto in the base rule. */

.cta-video__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 88px;
    height: 88px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(1, 104, 217, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cta-video__play:hover {
    background: #0168D9;
    transform: scale(1.06);
}

.cta-video__play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #fff;
    margin-left: 6px;
}

.cta-video.is-playing .cta-video__play {
    display: none;
}

@media (max-width: 1200px) {
    .cta-video {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .cta-video__play {
        width: 66px;
        height: 66px;
    }

    .cta-video__play-icon {
        border-width: 11px 0 11px 19px;
        margin-left: 5px;
    }
}

@media (max-width: 1700px) {
    .cta-box {
        width: 90%;
        height: 460px;
    }

    .cta-section {
        padding: 80px 40px;
    }

    .cta-text h3 {
        color: #667085;
        font-size: 30px;
        line-height: 1.3;
        margin-bottom: 40px;
        font-weight: bold;
    }

    .cta-image {
        height: auto;
    }
}

@media (max-width: 1200px) {
    .cta-box {
        width: 95%;
        height: 420px;
    }

    .cta-section {
        padding: 60px 24px;
    }

    .cta-text {
        padding: 30px 20px;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 992px) {
    .cta-section {
        padding: 48px 20px;
    }

    .cta-box {
        flex-direction: column;
        height: auto;
    }

    .cta-image {
        order: 1;
        height: auto;
        width: 100%;
        margin: 0;
    }

    .cta-text {
        order: 2;
        padding: 24px 20px 28px;
        text-align: center;
        align-items: center;
    }

    .cta-text h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 8px 16px;
        height: 40px;
        background: #0168D9;
        color: #fff;
        border-radius: 8px;
        font-family: 'Gilroy-Bold' !important;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: 0.3s ease;
        line-height: 20px;
    }

    .cta-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 16px;
    }

    .cta-text {
        order: 2;
        padding: 20px 16px 24px;
    }

    .cta-text h3 {
        font-size: 24px;
        margin: 26px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 8px 16px;
        height: 40px;
        background: #0168D9;
        color: #fff;
        border-radius: 8px;
        font-family: 'Gilroy-Bold' !important;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: 0.3s ease;
    }


    .cta-image img {
        height: auto;
        width: 100%;
    }
}

/* ================= PROFILE SECTION ================= */
.sidebar {
    width: 265px;
    background-color: #0168D9;
    color: white;
    padding-top: 20px;
    min-height: 100vh;
    flex-shrink: 0;
}

.main-content {
    flex-grow: 1;
    padding: 50px 60px;
}

.profile-page h2 {
    color: #0C55A5;
    font-size: clamp(24px, 2vw, 30px);
    font-family: 'Gilroy-Bold' !important;
}

.profile-box {
    background: #fff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    margin: 40px auto;
}

.profile-text .form-label {
    font-family: 'Gilroy-Medium' !important;
    font-size: clamp(16px, 1.8vw, 18px);
    color: #000;
}

.country-code-wrapper {
    position: relative;
    display: inline-block;
    width: 120px;
}

.country-code-wrapper select {
    appearance: none;
    background-color: #fff;
    padding-right: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 38px;
}

.country-code-wrapper .custom-dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 36px;
    color: #0168D9;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.sidebar .nav-link.fw-bold {
    color: #FFFFFF;
}

.change-password-btn {
    width: 200px;
    height: 50px;
    background-color: #0168D9;
    color: #fff;
    font-family: 'Gilroy-Bold' !important;
    font-size: clamp(16px, 1.8vw, 18px);
    border-radius: 10px;
    border: none;
    opacity: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.change-password-btn:hover {
    background-color: #0153b0;
    color: #fff;
}

.cancel-btn,
.update-btn {
    width: 150px;
    height: 50px;
    border-radius: 10px;
    font-family: 'Gilroy-Bold' !important;
    font-size: clamp(16px, 1.8vw, 18px);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cancel-btn {
    background-color: #A0A0A0;
    color: #fff;
}

.update-btn {
    background-color: #0168D9;
    color: #fff;
}

.cancel-btn:hover {
    background-color: #888888;
    color: #fff;
}

.update-btn:hover {
    background-color: #0153b0;
    color: #fff;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .main-content {
        padding: 20px 15px;
    }

    h2 {
        font-size: 24px;
    }

    .profile-box {
        padding: 20px 15px;
        margin: 20px auto;
        width: 100%;
    }

    .profile-text .form-label {
        font-size: 16px;
    }

    .profile-text input.form-control,
    .profile-text select.form-control {
        width: 100%;
        height: 45px;
        font-size: 14px;
    }

    .cancel-btn,
    .update-btn {
        width: 40% !important;
        height: 50px !important;
        font-size: 18px !important;
        padding: 0 10px !important;
    }

    .change-password-btn {
        width: 100% !important;
        height: 50px !important;
        font-size: 18px !important;
        padding: 0 10px !important;
    }
}

/* ================= COVERAGE SUBMISSION SEARCH HISTORY SECTION ================= */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.main-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.main-content {
    flex-grow: 1;
    padding: 50px 60px !important;
}

.search-box {
    background: #fff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    margin: 40px auto;
}

table thead th {
    vertical-align: top;
    font-family: 'Gilroy-SemiBold';
    font-size: clamp(16px, 1.8vw, 18px);
}

.custom-table td {
    font-family: 'Gilroy-Regular' !important;
    font-size: clamp(16px, 1.8vw, 18px);
}

.custom-table thead th {
    border-bottom: 2px solid #000 !important;
    padding: 20px 20px;
    font-size: clamp(16px, 1.8vw, 18px);
}

.custom-table td,
.custom-table th,
.custom-table tbody tr {
    border: none !important;
    vertical-align: top !important;
}

.search-page h2 {
    color: #0C55A5;
    font-size: clamp(24px, 2vw, 30px);
    font-family: 'Gilroy-Bold' !important;
}

.search-page #filterForm {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.search-page #filterForm .filter-field-date {
    flex: 0 0 auto;
    width: max-content;
}

.search-page #filterForm .filter-field-date .date-range {
    width: max-content;
    max-width: max-content;
    gap: 0;
    align-items: stretch;
}

.search-page #filterForm .filter-field-date .date-range input {
    flex: 0 0 auto !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 100% !important;
    padding: 0 6px !important;
    align-self: stretch;
}

.search-page #filterForm .filter-field-date .date-range .date-separator {
    flex: 0 0 auto;
    align-self: center;
    padding: 0 2px;
    font-size: 12px;
}

.search-page #filterForm .filter-field-date .date-range .clear-btn {
    flex: 0 0 auto;
    align-self: stretch;
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0 10px;
    line-height: 1;
    border-radius: 0 5px 5px 0;
}

.search-page #filterForm .filter-field-type {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 380px;
}

.search-page #filterForm .filter-field-type .select-wrapper.coverage-id-type-dropdown {
    width: 100%;
}

.search-page #filterForm .filter-field-search {
    flex: 0 0 auto;
    width: 325px;
    min-width: 280px;
    max-width: 360px;
}

.search-page #filterForm .filter-field-search .filter-input {
    width: 100%;
    min-width: 0;
    height: 40px;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    box-shadow: none;
}

.search-page #filterForm .coverage-id-type-dropdown__trigger {
    height: 40px;
    border-radius: 6px;
    padding: 0 36px 0 12px;
    font-size: 14px;
    border: 1px solid #EBEBEB;
    box-shadow: none;
}

.search-page #filterForm .coverage-id-type-dropdown__label {
    color: #235C93;
}

.search-page #filterForm .coverage-id-type-dropdown__menu {
    border-radius: 6px;
    z-index: 300;
}

.search-page .date-range input::placeholder {
    color: #235C93;
    opacity: 1;
}

.search-history-footer__pagination {
    flex-shrink: 0;
    overflow: visible;
}

.search-history-footer__pagination .custom-paginations {
    overflow: visible;
}

@media (max-width: 768px) {
    .search-history-footer {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px;
        text-align: center;
        padding: 16px !important;
    }

    .search-history-footer__count {
        font-size: 14px !important;
        line-height: 1.4;
    }

    .search-history-footer__pagination {
        width: 100%;
        display: flex;
        justify-content: center;
        overflow: visible;
    }
}

.filter-input {
    min-width: 180px;
    color: #235C93;
}

.filter-input::placeholder {
    color: #235C93;
    opacity: 1;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.history-action-btn.disabled {
    color: #A0A0A0;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}

.date-input-wrapper {
    position: relative;
}

.date-placeholder {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #235C93;
    pointer-events: none;
    font-size: 14px;
}

select.filter-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
}

.filter-icon-img {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.filter-icon-img.search-icon {
    pointer-events: auto !important;
}

.filter-icon-char {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #235C93;
    font-size: 18px;
}

.history-action-btn {
    text-decoration: none;
    color: #0089CF;
    transition: all 0.3s;
}

.history-action-btn:hover {
    text-decoration: underline;
    color: #005A99;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.sidebar .nav-link.fw-bold {
    color: #FFFFFF;
}

/* High zoom (175%+) / tighter desktop — stack filters vertically */
@media (max-width: 1200px) {
    .search-page.main-content {
        overflow-x: hidden;
        padding: 30px 24px !important;
    }

    .search-page #filterForm {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .search-page #filterForm .filter-field-date,
    .search-page #filterForm .filter-field-type,
    .search-page #filterForm .filter-field-search {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }

    .search-page #filterForm .filter-field-date .date-range {
        width: 100% !important;
        max-width: none !important;
        gap: 0 !important;
        align-items: stretch !important;
    }

    .search-page #filterForm .filter-field-date .date-range input {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 100% !important;
        padding: 0 10px !important;
        font-size: 14px !important;
    }

    .search-page #filterForm .filter-field-date .date-range .clear-btn {
        align-self: stretch !important;
        margin: 0 !important;
        min-height: 100% !important;
        padding: 0 14px !important;
        font-size: 14px !important;
        border-radius: 0 5px 5px 0 !important;
    }

    .search-page #filterForm .filter-field-search .filter-input {
        width: 100% !important;
        font-size: 14px !important;
        padding: 0 35px 0 12px !important;
    }
}

/* ==================== MOBILE VIEW (768px and below) ==================== */
@media (max-width: 768px) {
    page-wrapper {
        display: block;
        /* no flex on mobile */
        width: 100%;
    }

    .sidebar {
        display: none;
    }


    .main-content {
        padding: 20px 15px !important;
    }

    .search-page h2 {
        font-size: 24px !important;
        margin-bottom: 25px !important;
    }

    .filter-icon-img {
        width: 16px !important;
        height: 16px !important;
        right: 12px !important;
    }

    .filter-icon-char {
        font-size: 16px !important;
        right: 12px !important;
    }

    .search-page .search-box {
        padding: 20px 15px !important;
        margin: 20px auto !important;
        border-radius: 10px !important;
    }

    .search-page .search-box .table-responsive {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .search-page .search-box .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .search-page .search-box .table.custom-table {
        display: table !important;
        width: max-content !important;
        min-width: 100% !important;
        white-space: nowrap !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-collapse: collapse !important;
    }

    .search-page .search-box .table.custom-table tbody tr,
    .search-page .search-box .table.custom-table td,
    .search-page .search-box .table.custom-table th {
        background-color: #fff !important;
        color: inherit !important;
    }

    .search-page .search-box .custom-table thead th {
        font-size: 14px !important;
        padding: 12px 8px !important;
        min-width: 100px !important;
    }

    .search-page .search-box .custom-table td {
        font-size: 14px !important;
        padding: 12px 8px !important;
        min-width: 100px !important;
    }

    .history-action-btn {
        font-size: 14px !important;
        padding: 6px 12px !important;
        display: inline-block !important;
    }

    .date-range {
        display: flex !important;
        flex-wrap: nowrap !important;
        /* prevent wrapping */
        gap: 5px;
        align-items: center;
    }

    .date-range input {
        flex: 1 1 100px;
        min-width: 100px !important;
        font-size: 14px !important;
        padding: 0 10px !important;
    }

    .date-range .date-separator {
        flex: 0 0 auto;
        margin: 0 4px;
    }

    .date-range .clear-btn {
        flex: 0 0 auto;
        margin-left: 0;
        padding: 0 12px !important;
        font-size: 14px !important;
    }
}


/* ================= COVERAGE SUBMISSION STEP 1 SECTION ================= */
.container {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.coverage-box input.form-control,
.coverage-box select.form-control {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 16px;
    box-sizing: border-box;
}

.coverage-box label {
    font-family: 'Gilroy-Medium' !important;
    font-size: clamp(16px, 1.8vw, 18px);
    color: #000;
}

.coverage-box .select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Coverage check + signup: custom id-type list matches field width */
.coverage-id-type-dropdown {
    width: 100%;
}

.auth-form-wrapper .select-wrapper.coverage-id-type-dropdown {
    display: block;
    width: 100%;
}

.auth-form-wrapper .coverage-id-type-dropdown__menu {
    z-index: 300;
}

/* Signup / auth: red border on validation errors (matches coverage id-type dropdown) */
.auth-form-wrapper #signup-form .form-control.is-invalid,
.auth-form-wrapper #signup-form .coverage-id-type-dropdown__trigger.is-invalid {
    border: 1px solid #dc3545 !important;
    background-image: none !important;
    box-shadow: none;
}

.auth-form-wrapper #signup-form .form-control.is-invalid:focus,
.auth-form-wrapper #signup-form .coverage-id-type-dropdown__trigger.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.auth-form-wrapper #signup-form .custom-select-wrapper select.form-control.is-invalid {
    padding-right: 40px;
}

.auth-form-wrapper #signup-form .form-check-input.custom-checkbox.is-invalid {
    border-color: #dc3545 !important;
    outline: 1px solid #dc3545;
}

/* Signup: id-type trigger matches other form-control fields (not coverage-check 50px field) */
.auth-form-wrapper #signup-form .coverage-id-type-dropdown__trigger {
    height: auto;
    min-height: auto;
    border-radius: 0.375rem;
    padding: 10px 36px 10px 10px;
    font-size: 16px;
    line-height: 1.5;
    font-family: inherit;
}

.auth-form-wrapper #signup-form .coverage-id-type-dropdown__label {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.auth-form-wrapper #signup-form .coverage-id-type-dropdown__trigger:not(.is-empty) .coverage-id-type-dropdown__label {
    color: #212529;
}

@media (max-width: 1024px) {
    .auth-form-wrapper #signup-form .coverage-id-type-dropdown__trigger {
        font-size: 14px !important;
        padding: 8px 32px 8px 10px !important;
    }
}

.coverage-id-type-dropdown__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.coverage-id-type-dropdown__trigger {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    padding: 0 40px 0 15px;
    font-size: 16px;
    text-align: left;
    background: #fff;
    border: 1px solid #ced4da;
    color: #212529;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.coverage-id-type-dropdown__trigger:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 1;
}

.coverage-id-type-dropdown__trigger.is-invalid {
    border-color: #dc3545;
}

.coverage-id-type-dropdown__label {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

/* Match Bootstrap input ::placeholder color when no value selected */
.coverage-id-type-dropdown__trigger.is-empty .coverage-id-type-dropdown__label {
    color: #6c757d;
}

.coverage-id-type-dropdown__menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    max-height: 220px;
    overflow-y: auto;
    z-index: 200;
    box-sizing: border-box;
}

.coverage-id-type-dropdown__menu[hidden] {
    display: none !important;
}

.coverage-id-type-dropdown__option {
    padding: 10px 15px;
    font-size: 16px;
    line-height: 1.45;
    white-space: normal;
    word-wrap: break-word;
    cursor: pointer;
    color: #212529;
}

.coverage-id-type-dropdown__option:hover,
.coverage-id-type-dropdown__option.is-focused {
    background: #e9ecef;
}

.coverage-id-type-dropdown__option.is-selected {
    background: #0168D9;
    color: #fff;
}

.coverage-id-type-dropdown__option.is-placeholder {
    color: #6c757d;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 20px;
    height: 10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0168D9;
    pointer-events: none;
}

/* Custom dropdown chevron shares the same corner as Bootstrap's is-invalid icon — hide BS icon, keep red border + message */
.coverage-box .select-wrapper select.form-control.is-invalid {
    background-image: none !important;
    padding-right: 40px;
}


.blur-overlay {
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.4;
}

.locked-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 60px 60px;
    border-radius: 12px;
    font-size: 20px;
    text-align: center;
}

.coverage-box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    width: 100%;
    height: auto;
    margin: 20px auto;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    opacity: 1;
}

.coverage-box {
    width: 100%;
    max-width: 100%;
}

.btn-login {
    background-color: #0168D9;
    color: #fff;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-login:hover {
    background-color: #005bb5;
    color: #fff;
}

.my-toast.swal2-popup.swal2-toast,
.custom-toast.swal2-popup.swal2-toast {
    display: flex !important;
    align-items: center !important;
}

.my-toast .swal2-title,
.custom-toast .swal2-title,
.my-toast .swal2-icon,
.custom-toast .swal2-icon {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-toast .swal2-html-container:empty,
.custom-toast .swal2-html-container:empty,
.my-toast .swal2-actions:empty,
.custom-toast .swal2-actions:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 576px) {
    .my-toast.swal2-popup.swal2-toast,
    .custom-toast.swal2-popup.swal2-toast {
        font-size: 12px !important;
        padding: 0.65em 0.8em !important;
        max-width: calc(100vw - 24px) !important;
        width: auto !important;
    }

    .my-toast .swal2-title,
    .custom-toast .swal2-title {
        font-size: 1em !important;
        line-height: 1.35 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .my-toast .swal2-icon,
    .custom-toast .swal2-icon {
        margin: 0 0.5em 0 0 !important;
        transform: none !important;
    }
}

@media (max-width: 390px) {

    .my-toast.swal2-popup.swal2-toast,
    .custom-toast.swal2-popup.swal2-toast {
        font-size: 11px !important;
        padding: 0.55em 0.7em !important;
        max-width: calc(100vw - 16px) !important;
    }

    .my-toast .swal2-title,
    .custom-toast .swal2-title {
        line-height: 1.3 !important;
    }

    .step-label {
        font-size: 13px !important;
    }
}

.session-expired-popup {
    width: 32em;
    max-width: calc(100vw - 32px);
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 12px;
    box-sizing: border-box;
}

.session-expired-popup__title {
    font-size: 1.25rem !important;
    font-family: 'Gilroy-Bold', sans-serif !important;
    color: #0C55A5 !important;
    padding: 0 0 0.5rem !important;
    line-height: 1.35 !important;
}

.session-expired-popup__text {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #333 !important;
    padding: 0 0.25rem !important;
}

.session-expired-popup__icon {
    margin: 0.25rem auto 0.75rem !important;
    transform: none !important;
}

.session-expired-popup__confirm {
    min-width: 120px;
    padding: 0.5rem 1.75rem !important;
    font-size: 1rem !important;
    background-color: #0168D9 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

@media (max-width: 576px) {
    .swal2-container {
        padding: 16px !important;
    }

    .session-expired-popup {
        width: calc(100vw - 32px) !important;
        max-width: none;
        margin: 0 auto;
        padding: 1.25rem 1rem 1rem;
    }

    .session-expired-popup__title {
        font-size: 1.125rem !important;
    }

    .session-expired-popup__text {
        font-size: 0.9375rem !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 15px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    .coverage-box {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        margin: 20px auto !important;
        padding: 25px 20px !important;
    }

    .coverage-box input.form-control,
    .coverage-box select.form-control {
        height: 50px !important;
        font-size: 14px !important;
        padding: 0 10px !important;
    }

    .form-label {
        font-size: 16px !important;
    }

    .btn-lg {
        font-size: 18px !important;
        padding: 10px 0 !important;
    }

    .locked-message {
        padding: 30px 20px !important;
        font-size: 16px !important;
        width: 90%;
    }

    .btn-login {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

    .select-wrapper::after {
        width: 16px !important;
        height: 8px !important;
        right: 14px !important;
        border-left: 8px solid transparent !important;
        border-right: 8px solid transparent !important;
        border-top: 8px solid #0168D9 !important;
    }

    .coverage-id-type-dropdown__trigger {
        font-size: 14px !important;
        padding: 0 36px 0 10px !important;
    }

    .coverage-id-type-dropdown__option {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }

    .coverage-id-type-dropdown__menu {
        max-height: 200px;
    }

    .coverage-box .select-wrapper select.form-control.is-invalid {
        background-image: none !important;
        padding-right: 36px !important;
    }
}

/* ================= COVERAGE SUBMISSION STEP 2 SECTION ================= */
.coverage2-box {
    background: #fff;
    padding: 50px 50px;
    border-radius: 12px;
    max-width: 1550px;
    min-height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.form-label {
    font-size: clamp(16px, 1.8vw, 18px);
    color: #000;
    font-family: 'Gilroy-Medium' !important;
}

.save-btn {
    background-color: #157AE8;
    color: #fff;
    border: none;
    transition: 0.2s;
    margin-top: 20px;
    font-family: 'Gilroy-Bold' !important;
    font-size: clamp(16px, 1.8vw, 18px);
    padding: 0 30px;
    height: 50px;
    border-radius: 10px;
    white-space: nowrap;
}

.back-btn {
    background-color: #A0A0A0;
    width: 150px;
    height: 50px;
    border-radius: 10px;
    color: #fff;
    font-size: clamp(16px, 1.8vw, 18px);
    font-family: 'Gilroy-Bold' !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    margin-top: 20px;
}

.next-btn {
    background-color: #0168D9;
    color: #fff;
    width: 180px;
    height: 50px;
    font-size: clamp(16px, 1.8vw, 18px);
    border-radius: 10px;
    font-family: 'Gilroy-Bold' !important;
    border: none;
    transition: 0.2s;
    margin-top: 20px;
}

.save-btn:hover {
    background-color: #0153b0;
}

.back-btn:hover {
    background-color: #7A7A7A;
    color: #fff;
}

.next-btn:hover {
    background-color: #0153b0;
    color: #fff;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #F4F4F4;
    color: #717171;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gilroy-Medium' !important;
    font-size: clamp(16px, 1.8vw, 20px);
    transition: 0.2s ease;
}

.active-step .circle {
    background: #0168D9;
    color: #fff;
    font-family: 'Gilroy-Bold' !important;
    transform: scale(1.05);
}

.step-indicator {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.step {
    min-width: 0;
    max-width: 100%;
}

.step-label {
    font-family: 'Gilroy-Medium' !important;
    font-size: clamp(16px, 1.8vw, 20px);
    color: #0C55A5;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
    flex: 1;
}

.active-step .step-label {
    font-family: 'Gilroy-Bold' !important;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-select-wrapper::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
    color: #0168D9;
    font-size: 1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {

    .coverage2-box {
        padding: 20px 15px !important;
        margin: 10px auto !important;
        width: 100%;
    }

    .form-label {
        font-size: 16px !important;
    }

    .coverage2-box input.form-control,
    .coverage2-box select.form-control {
        font-size: 14px !important;
        height: 45px !important;
        padding: 0 10px !important;
    }

    .d-flex.justify-content-between.mt-4 {
        flex-direction: column;
        gap: 15px;
    }

    .d-flex.justify-content-between.mt-4 .d-flex.gap-3 {
        justify-content: space-between;
        flex-direction: row;
        gap: 10px;
    }

    .save-btn,
    .back-btn,
    .next-btn {
        font-size: 16px !important;
        padding: 8px 15px !important;
        width: 100%;
        height: 50px
    }

    .step-indicator {
        flex-direction: column;
        align-items: stretch;
        gap: 12px !important;
        padding: 0 4px 20px;
    }

    .step {
        gap: 10px !important;
        width: 100%;
        align-items: flex-start;
    }

    .circle {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        font-size: 16px !important;
        flex-shrink: 0;
    }

    .step-label {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .custom-select-wrapper::after {
        font-size: 0.8rem !important;
        right: 0.5rem !important;
    }

    .row {
        flex-wrap: wrap;
    }

    .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px;
    }
}

/* ================= COVERAGE SUBMISSION STEP 3 SECTION ================= */
.coverage-box3 {
    background: #fff;
    padding: 30px 50px;
    border-radius: 12px;
    max-width: 1550px;
    min-height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.file-drop-area {
    border: 2px dashed #0C55A5;
    border-radius: 8px;
    padding: 20px 20px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.file-drop-area:hover {
    background-color: #f0f8ff;
}

.file-drop-area p {
    margin: 0;
    font-weight: 500;
    color: #000;
}

#selectedFileNames {
    text-align: left;
    font-weight: 500;
    color: #0168D9;
    margin-top: 10px;
    text-decoration: underline;
}

.ocr-inline-loading {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #F5F9FF;
    color: #235C93;
    font-size: 14px;
    font-weight: 500;
}

.ocr-inline-loading .spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 2px;
}

@media (max-width: 768px) {

    .coverage-box3 {
        padding: 20px 15px !important;
        margin-bottom: 15px !important;
        width: 100%;
    }


    .coverage-box3 input.form-control,
    .coverage-box3 select.form-control {
        font-size: 14px !important;
        height: 45px !important;
        padding: 0 10px !important;
    }

    .coverage-box3 .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .coverage-box3 .d-flex.gap-3 .flex-fill {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .coverage-box3 input.form-control,
    .coverage-box3 select.form-control {
        width: 100% !important;
    }

    .button-group-mobile {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .button-group-mobile .save-btn {
        width: 100% !important;
    }

    .button-group-mobile .d-flex.gap-3,
    .d-flex.justify-content-between.mt-4 .d-flex.gap-3 {
        flex-direction: row !important;
        gap: 10px;
        width: 100%;
    }

    .button-group-mobile .d-flex.gap-3>.back-btn,
    .button-group-mobile .d-flex.gap-3>.next-btn,
    .button-group-mobile .d-flex.gap-3>.position-relative,
    .d-flex.justify-content-between.mt-4 .d-flex.gap-3>.back-btn,
    .d-flex.justify-content-between.mt-4 .d-flex.gap-3>.next-btn,
    .d-flex.justify-content-between.mt-4 .d-flex.gap-3>.position-relative {
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
    }

    .button-group-mobile .d-flex.gap-3 .back-btn,
    .button-group-mobile .d-flex.gap-3 .next-btn,
    .d-flex.justify-content-between.mt-4 .d-flex.gap-3 .back-btn,
    .d-flex.justify-content-between.mt-4 .d-flex.gap-3 .next-btn {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .d-flex.gap-3>.flex-fill {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .file-drop-area {
        padding: 25px 15px !important;
    }

    #selectedFileNames {
        font-size: 14px !important;
    }

    #dropAreaText {
        font-size: 14px !important;
    }
}

/* ================= COVERAGE SUBMISSION RESULT SECTION ================= */
.coverage-box4 {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.result-disclaimer-box {
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border: 1px solid #b8d9f5;
    border-left: 4px solid #0168D9;
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(1, 104, 217, 0.08);
}

.result-disclaimer-box__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.result-disclaimer-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0168D9;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.result-disclaimer-box__title {
    margin: 0;
    color: #0C55A5;
    font-family: 'Gilroy-Bold' !important;
    font-size: clamp(16px, 1.8vw, 18px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.result-disclaimer-box__body p {
    margin: 0 0 10px;
    padding-left: 42px;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.65;
    color: #1a3a5c;
    font-family: 'Gilroy-Regular' !important;
}

.result-disclaimer-box__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .result-disclaimer-mobile .result-disclaimer-companies {
        margin: 10px 0 0;
        padding-left: 1.4em;
        list-style: decimal outside;
        font-size: clamp(14px, 1.5vw, 16px);
        line-height: 1.65;
        color: #1a3a5c;
        font-family: 'Gilroy-Regular' !important;
    }

    .result-disclaimer-mobile .result-disclaimer-companies li {
        margin-bottom: 8px;
        padding-left: 0.25em;
    }

    .result-disclaimer-mobile .result-disclaimer-companies li:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .result-disclaimer-box {
        padding: 14px 16px;
    }

    .result-disclaimer-box__body p {
        padding-left: 0;
    }
}

.mb-3 div {
    font-size: clamp(14px, 1.2vw, 16px);
    color: #000;
    font-family: 'Gilroy-Regular' !important;
}

.mb-3 label {
    color: #000;
    font-size: clamp(16px, 1.8vw, 18px);
    font-family: 'Gilroy-Medium' !important;
}

.table {
    border: 1px solid #EBEBEB;
    border-collapse: collapse;
}

.table th,
.table td {
    vertical-align: middle;
    padding: 10px;
    text-align: center;
}

.table td {
    font-family: 'Gilroy-Medium' !important;
    font-size: clamp(16px, 1.8vw, 18px);
}

.table:not(.custom-table) tbody tr {
    background-color: #157AE8;
    color: #fff;
}

.new-search-btn:hover {
    background: #0052AC !important;
    color: #fff !important;
}

.history-btn:hover {
    background: #7A7A7A !important;
}

/* Mobile Styles */
@media (max-width: 768px) {

    .coverage-box4 {
        padding: 20px 15px;
    }

    .mb-3 div,
    .mb-3 label {
        font-size: 14px;
    }

    h4 {
        font-size: 24px !important;
    }

    .table th,
    .table td {
        padding: 6px;
        font-size: 12px;
    }

    .table thead th {
        font-size: 12px;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .mobile-button-group a {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .mobile-button-group {
        flex-direction: column !important;
        align-items: stretch;
    }

    .new-search-btn,
    .history-btn {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }
}

/* ================= FOOTER SECTION ================= */
#contact-us.main-footer {
    padding: 60px 20px;
    text-align: center;
    background-color: #f8f8f8;
    scroll-margin-top: 100px;
}

body.page-auth #contact-us.main-footer {
    margin-top: 0;
}

.main-footer h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
    font-family: 'Gilroy-Medium' !important;
}

.mainfooter-text {
    font-size: clamp(24px, 6vw, 36px) !important;
    font-family: 'Gilroy-Bold' !important;
    margin: 0;
}

.main-footer p {
    font-size: 20px;
    margin: 5px 0;
    color: #000;
}

.footer-line {
    width: 60px;
    height: 4px;
    background-color: #f4b334;
    margin: 12px auto 20px;
}

.footer-contact {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
    gap: 12px;
    transform: translateX(10px);
}

.footer-contact__icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: block;
}

.footer-contact__text {
    margin: 0;
    padding-left: 6px;
    line-height: 1.5;
    text-align: left;
}

.footer-contact__text a {
    display: block;
    font-size: 20px;
    color: #000;
    text-decoration: none;
    font-family: 'Gilroy-Regular' !important;
}

.footer-contact__text a:hover {
    color: #0168D9;
}

@media (max-width: 768px) {
    .main-footer h3 {
        font-size: 20px;
    }

    .main-footer p {
        font-size: 16px;
    }

    .footer-contact {
        gap: 10px;
        transform: translateX(8px);
    }

    .footer-contact__text {
        padding-left: 4px;
        line-height: 1.5;
    }

    .footer-contact__text a {
        font-size: 16px;
    }

    #contact-us.main-footer {
        padding: 30px 20px;
    }

}