/* General Reset */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

body,
h1,
h2,
nav,
p {
    margin: 0;
    padding: 0;
}

/* Full Height */
html,
body {
    height: 100%;
    margin: 0;
    /* Ensure no default margin */
}
header {
    width: 100%;
    height: 32vh; /* Default height */
    background-image: url("/images/reviewcongty-background.webp");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 10px 0;
}
@media (max-width: 768px) {
    header {
        height: 45vh;
    }
}

@media (max-width: 428px) {
    header {
        height: 45vh;
    }
}

@media (max-width: 414px) {
    header {
        height: 45vh;
    }
}

@media (max-width: 390px) {
    header {
        height: 45vh;
    }
}

@media (max-width: 430px) {
    header {
        height: 45vh;
    }
}

@media (max-width: 393px) {
    header {
        height: 45vh;
    }
}

main {
    flex: 1;
    /* Allow main to grow and fill the available space */
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination {
    list-style: none;
    padding: 0;
    display: flex;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    padding: 8px 12px;
    text-decoration: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #0056b3;
}

.paging-link a {
    color: #007bff;
    /* Change this to your preferred color */
    text-decoration: none;
    /* Optional: remove the underline */
}

.paging-area {
    margin-top: 20px;
}

.paging-area .pagination-container {
    margin: 0 auto;
}

:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}

*,
::after,
::before {
    box-sizing: border-box
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent
}

figure,
footer,
header,
main,
nav {
    display: block
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff
}

h1,
h2 {
    margin-top: 0;
    margin-bottom: .5rem
}

p {
    margin-top: 0;
    margin-bottom: 1rem
}

ul {
    margin-top: 0;
    margin-bottom: 1rem
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent
}

a:hover {
    color: #0056b3;
    text-decoration: underline
}

input {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

input {
    overflow: visible
}

h1,
h2 {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2
}

h1 {
    font-size: 2.5rem
}

h2 {
    font-size: 2rem
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}

.col-12,
.col-md-4,
.col-md-8 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .form-control {
        transition: none
    }
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.form-control::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1
}

.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px
}

.form-row>[class*=col-] {
    padding-right: 5px;
    padding-left: 5px
}

.fade {
    transition: opacity .15s linear
}

@media (prefers-reduced-motion:reduce) {
    .fade {
        transition: none
    }
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    margin-top: 1rem;
}

.input-group>.form-control {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0
}

.input-group>.form-control:focus {
    z-index: 3
}

.input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

.input-group-prepend {
    display: -ms-flexbox;
    display: flex
}

.input-group-prepend {
    margin-right: -1px
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem
}

.input-group-lg>.form-control:not(textarea) {
    height: calc(1.5em + 1rem + 2px)
}

.input-group-lg>.form-control,
.input-group-lg>.input-group-prepend>.input-group-text {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: .3rem
}

.input-group>.input-group-prepend>.input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem
}

.position-relative {
    position: relative !important
}

.mx-auto {
    margin-right: auto !important
}

.mx-auto {
    margin-left: auto !important
}

.text-center {
    text-align: center !important
}

@media print {

    *,
    ::after,
    ::before {
        text-shadow: none !important;
        box-shadow: none !important
    }

    a:not(.btn) {
        text-decoration: underline
    }

    img {
        page-break-inside: avoid
    }

    h2,
    p {
        orphans: 3;
        widows: 3
    }

    h2 {
        page-break-after: avoid
    }

    @page {
        size: a3
    }

    body {
        min-width: 992px !important
    }

    .container {
        min-width: 992px !important
    }

    .navbar {
        display: none
    }
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #F0F2F5 !important;
}

/*.main-nav {*/
/*    background: linear-gradient(90deg,#021048,#1e38a3);*/
/*}*/
.navbar,
.container-nav,
.logo {
    display: flex;
    padding-top: 0.3rem;
    margin-right: auto;
    margin-left: auto;
}

.main-nav .logo .logo-img {
    width: 50px;
    height: auto;
}

.company-item {
    display: block;
    padding: 10px;
}

img {
    max-width: 100%;
}

.has-text-weight-bold {
    font-weight: 700 !important;
}

.company-item:hover {
    background: #f1f2f2;
    border-left: 2px solid #3273dc;
    cursor: pointer;
}

.search-input {
    width: 60% !important;
}

.sp-mr {
    margin-right: 0.3rem;
}

.paging-area {
    margin-top: 1rem;
}

.text-content {
    white-space: pre-line;
}

.pagination {
    display: flex;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size */
    }

    .pagination>li {
        margin-bottom: 5px;
        /* Add spacing between items */
    }
}

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

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size even more */
    }
}

@media (max-width: 390px) {

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size even more */
    }
}

.pagination>li {
    display: inline;
}

.pagination>li>a {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.428571429;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
}

.pagination>li:first-child>a {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination>li:last-child>a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination>li>a:hover,
.pagination>li>a:focus {
    background-color: #eeeeee;
}

.search-results {
    display: flex;
    /* Use Flexbox for centering */
    justify-content: center;
    /* Center horizontally */
    margin-top: 10px;
    /* Optional space above results */
    width: 60%;
    /* Match the width of the search input */
    margin: 0 auto;
    position: relative;
    z-index: 1000;
    /* Set z-index to bring it to the front */
    max-height: 450px;
    /* Set a max-height for the container */
    overflow-y: auto;
    /* Enable vertical scrolling if content exceeds height */
    background-color: #f6f6f6;
    /* Background for search results */
}

#resultsList {
    list-style-type: none;
    /* Remove default list styles */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
    width: 100%;
    /* Set width to 100% to take the full width of its parent */
}

#resultsList li {
    border: 1px solid #ccc;
    /* Border for each item */
    margin-top: -1px;
    /* Prevent double borders */
    width: 100%;
    /* Full width of the parent */
}

#resultsList li a {
    background-color: transparent;
    /* Background color for links */
    text-decoration: none;
    /* Remove underline */
    font-size: 18px;
    /* Font size */
    color: black;
    /* Text color */
    display: flex;
    /* Use Flexbox for alignment */
    align-items: center;
    /* Vertically center items */
}

#resultsList li a img {
    margin-right: 10px;
    /* Space between image and text */
    border-radius: 50%;
    /* Circular image */
}

#resultsList li:hover {
    background-color: #eee;
    /* Full background hover effect */
}

#resultsList li a:hover {
    background-color: transparent;
    /* Ensure anchor doesn't have its own hover */
}

.company-info {
    display: flex;
    padding: 0.7rem;
    align-items: center;
    flex-direction: row;
    background-color: white;
}

.company-info .company-info__name {
    margin-left: 4px;
}

.company-info .company-info__rating {
    position: relative;
    top: -2px;
    font-size: 0.85rem;
    margin-left: 0.2rem;
}

.company-info .company-info__logo {
    margin-right: 0.5rem;
    display: flex;
    min-width: 64px;
    align-items: center;
}

.image.is-64x64 {
    height: 64px;
    width: 64px;
}

.image {
    display: block;
    position: relative;
}

.is-size-5 {
    font-size: 1.25rem !important;
}

.has-text-weight-semibold {
    font-weight: 600 !important;
}

.has-text-warning {
    color: #ffdd57 !important;
}

.fa-star {
    content: "\f005";
}

img {
    vertical-align: middle;
    border-style: none
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-text {
    font-size: 1.3rem;
    align-items: center;
    padding-top: 15px;
}
@media (max-width: 768px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

@media (max-width: 428px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

@media (max-width: 414px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

@media (max-width: 390px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

@media (max-width: 430px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}
@media (max-width: 393px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

.rv-content {
    margin: 0 !important;
    font-size: 1rem;
}

.is-size-4 {
    font-size: 1.5rem !important;
}

.m-t-30 {
    margin-top: 30px !important;
}
.m-t-20 {
    margin-top: 20px !important;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

::marker {
    display: none;
}

.review {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 16px 18px 12px 18px;
    margin-bottom: 16px;
    transition: box-shadow 0.18s, background 0.18s;
    border: 1px solid #f3f8fb;
}
.review:hover {
    box-shadow: 0 4px 16px rgba(68,182,120,0.13);
    background: #f8fafc;
}
.review .rv-content {
    margin-bottom: 6px !important;
    font-size: 1.05rem;
    color: #222;
}
.review .has-text-weight-bold {
    font-weight: 700 !important;
    font-size: 1.08rem;
}
.review .company-link {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s;
}
.review .company-link:hover {
    color: #44b678;
    text-decoration: underline;
}
.review .icon.is-small.has-text-warning {
    margin-right: 1px;
    font-size: 1.05em;
}
.review .text-content {
    color: #444;
    font-size: 0.98rem;
    margin-top: 4px;
}
@media (max-width: 600px) {
    .review {
        padding: 10px 7px 8px 7px;
        margin-bottom: 10px;
    }
    .review .rv-content {
        font-size: 0.98rem;
    }
    .review .has-text-weight-bold {
        font-size: 1rem;
    }
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid #007bff;
    /* Change the color as needed */
    background-color: transparent;
    /* Remove default background color */
    color: #007bff;
}

.nav-tabs .nav-link {
    border: none;
    /* Remove default border */
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #181b1e;
}

.nav-tabs {
    border-bottom: none;
    margin: 1rem 1.25rem;
    background: white;
}

.nav-link {
    padding: 0.1rem;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    background-color: #eee;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #428bca;
    border-color: #428bca;
}

.main-nav .logo .logo-text-rv {
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 500;
}

.logo-text-rv {
    margin-top: 10px;
    line-height: 1.2;
}

.order-2 {
    background-color: #f3f8fb;
}
.tags .tag {
    border: 1px solid #ccc;
    border-radius: .3rem;
    transition: color .3s, border-color .3s;
    display: inline-block;
    padding: .5rem .9rem;
    line-height: 1.35;
    text-transform: capitalize;
    color: #333;
    font-size: 0.9rem;
    margin: .1rem .2rem .1rem 0;
}
.tags .tag:hover {
    color: #44b678;
    border-color: #44b678;
}
.font-weight-bold {
    font-weight: 700 !important;
}
.mr-2 {
    margin-right: 1rem;
}
footer p {
    margin-top: 20px;
}
.search-result {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    /*background: #f8f9fa;*/
    border-radius: 8px;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    max-width: 400px;
    margin: auto;
}

.search-result-body img {
    max-width: 100%;
    height: auto;
}

.search-result-body p {
    font-size: 1rem;
    color: #333;
    margin-top: 10px;
}

.search-result-footer {
    margin-top: 15px;
}
.btn-request-company {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: #ff5a5f;
    color: #fff !important; /* Ensures text color stays white */
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-request-company:hover {
    background: #e0484d;
}
.btn-request-company,
.btn-request-company:visited,
.btn-request-company:focus,
.btn-request-company:active {
    color: #fff !important;  /* Prevents text from turning blue */
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.btn-request-company:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
@media (max-width: 576px) {
    .search-result-body img {
        width: 80%; /* Reduce image size on small screens */
        max-width: 200px;
    }

    .btn-request-company {
        font-size: 0.8rem; /* Smaller text for smaller screens */
        padding: 10px;
        max-width: 250px;
    }
}
.cat-footer-wrapper {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.cat-close-btn {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff9601;
    color: white;
    font-size: 16px;
    width: 90px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
}

.cat-a {
    max-width: 728px;
    width: 100%;
    text-align: center;
}

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

@media (max-width: 1200px) {
    .cat-a {
        max-width: 70%;
    }
}

@media (max-width: 991px) {
    .cat-footer-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .cat-a {
        max-width: 60%;
    }
}
@media (max-width: 768px) {
    .cat-a {
        max-width: 80%;
    }
    .cat-close-btn {
        font-size: 14px;
        width: 80px;
        height: 22px;
        line-height: 22px;
    }
}

@media (max-width: 576px) {
    .cat-a {
        max-width: 90%;
    }
    .cat-close-btn {
        font-size: 12px;
        width: 70px;
        height: 20px;
        line-height: 20px;
    }
    .cat-footer-wrapper {
        padding: 0 5px;
    }
}

.recently-viewed {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 18px 16px 10px 16px;
    margin-top: 1rem;
    min-height: 80px;
    transition: box-shadow 0.2s;
}
.recently-viewed .font-weight-semibold {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.recently-viewed .fa-clock {
    color: #44b678;
    font-size: 1.2rem;
}
#recently-viewed-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.recently-viewed-company {
    display: flex;
    align-items: center;
    background: #f3f8fb;
    border-radius: 8px;
    padding: 6px 12px 6px 6px;
    box-shadow: 0 1px 3px rgba(68,182,120,0.07);
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    min-width: 0;
    max-width: 220px;
    overflow: hidden;
}
.recently-viewed-company:hover {
    background: #e6f7ef;
    box-shadow: 0 2px 8px rgba(68,182,120,0.13);
}
.recently-viewed-company-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 10px;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
}
.recently-viewed-company-link {
    color: #181b1e;
    font-weight: 500;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s;
}
.recently-viewed-company-link:hover {
    color: #44b678;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .recently-viewed {
        padding: 12px 6px 6px 6px;
    }
    #recently-viewed-list {
        gap: 6px;
    }
    .recently-viewed-company {
        max-width: 100%;
        padding: 5px 8px 5px 5px;
    }
    .recently-viewed-company-img {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    .recently-viewed-company-link {
        font-size: 0.97rem;
    }
    #clear-recently-viewed {
        padding: 2px 6px;
        border-radius: 4px;
        display: inline-block;
    }
}
p.sub-heading {
    margin: 0 !important;
    font-size: 1.2rem;
}
@media (max-width: 375px) {

    /* Styles for iPhone SE */
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 428px) {
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 414px) {
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 390px) {
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 430px) {

    /* Styles for iPhone 12 Pro Max in portrait mode */
    p.sub-heading {
        font-size: 1rem;
    }
}


/* ===== Start of company_detail_style.css content ===== */

body,
h1,
h2,
nav,
p {
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    width: 100%;
    height: 30vh;
    background-image: url("/images/reviewcongty-background.webp");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 10px 0;
}
@media (max-width: 375px) {

    /* Styles for iPhone SE */
    header {
        height: 40vh;
    }
}

@media (max-width: 768px) {
    header {
        height: 40vh;
    }
}

@media (max-width: 428px) {
    header {
        height: 40vh;
    }
}

@media (max-width: 414px) {
    header {
        height: 40vh;
    }
}

@media (max-width: 390px) {
    header {
        height: 40vh;
    }
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination {
    list-style: none;
    padding: 0;
    display: flex;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    padding: 8px 12px;
    text-decoration: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #0056b3;
}

.paging-link.active a {
    background-color: #6c757d;
    pointer-events: none;
}

.paging-link a {
    color: #007bff;
    text-decoration: none;
}

.paging-area {
    margin-top: 20px;
}

.paging-area .pagination-container {
    margin: 0 auto;
}
*,
::after,
::before {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

figure,
footer,
header,
nav,
section {
    display: block;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

[tabindex="-1"]:focus {
    outline: 0 !important;
}

h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol,
ul {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol ol,
ol ul,
ul ol,
ul ul {
    margin-bottom: 0;
}

b {
    font-weight: bolder;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
    outline: 0;
}

code {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
    font-size: 1em;
}

figure {
    margin: 0 0 1rem;
}

img {
    vertical-align: middle;
    border-style: none;
}

table {
    border-collapse: collapse;
}

th {
    text-align: inherit;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

button {
    border-radius: 0;
}

button:focus {
    outline: 5px auto -webkit-focus-ring-color;
}

button,
input,
select,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

select {
    word-wrap: normal;
}

[type="button"],
[type="submit"],
button {
    -webkit-appearance: button;
}

[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

input[type="time"] {
    -webkit-appearance: listbox;
}

textarea {
    overflow: auto;
    resize: vertical;
}

progress {
    vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

[hidden] {
    display: none !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
h1,
h2,
h3,
h4,
h5 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.h1,
h1 {
    font-size: 2.5rem;
}

.h2,
h2 {
    font-size: 2rem;
}

.h3,
h3 {
    font-size: 1.75rem;
}

.h4,
h4 {
    font-size: 1.5rem;
}

.h5,
h5 {
    font-size: 1.25rem;
}

.figure {
    display: inline-block;
}

code {
    font-size: 87.5%;
    color: #e83e8c;
    word-break: break-word;
}

a>code {
    color: inherit;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-3,
.col-md-4,
.col-md-8,
.col-md-9 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

.table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

select.form-control:focus::-ms-value {
    color: #495057;
    background-color: #fff;
}

textarea.form-control {
    height: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}

.btn:hover {
    color: #212529;
    text-decoration: none;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn:disabled {
    opacity: 0.65;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

.btn-secondary:disabled {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #545b62;
    border-color: #4e555b;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

.btn-success:disabled {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:not(:disabled):not(.disabled).active,
.btn-success:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #1e7e34;
    border-color: #1c7430;
}

.btn-success:not(:disabled):not(.disabled).active:focus,
.btn-success:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

.fade {
    transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
    .fade {
        transition: none;
    }
}

.fade:not(.show) {
    opacity: 0;
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 0;
    list-style: none;
}

.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

.navbar>.container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
    border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "/";
}

.breadcrumb-item+.breadcrumb-item:hover::before {
    text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item:hover::before {
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }

    to {
        background-position: 0 0;
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }

    to {
        background-position: 0 0;
    }
}

.progress {
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
}

.close:hover {
    color: #000;
    text-decoration: none;
}

.close:not(:disabled):not(.disabled):focus,
.close:not(:disabled):not(.disabled):hover {
    opacity: 0.75;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.toast {
    max-width: 350px;
    overflow: hidden;
    font-size: 0.875rem;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-radius: 0.25rem;
}

.toast:not(:last-child) {
    margin-bottom: 0.75rem;
}

.toast.show {
    display: block;
    opacity: 1;
}

.toast-body {
    padding: 0.75rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    content: "";
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    overflow: hidden;
    max-height: 85vh;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.modal-footer> :not(:first-child) {
    margin-left: 0.25rem;
}

.modal-footer> :not(:last-child) {
    margin-right: 0.25rem;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }

    .modal-dialog-centered::before {
        height: calc(100vh - 3.5rem);
    }
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }
}

@keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }
}

.border-top {
    border-top: 1px solid #dee2e6 !important;
}

.border-right {
    border-right: 1px solid #dee2e6 !important;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.w-75 {
    width: 75% !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-primary {
    color: #007bff !important;
}

a.text-primary:focus,
a.text-primary:hover {
    color: #0056b3 !important;
}

.text-danger {
    color: #ff0721 !important;
}

a.text-danger:focus,
a.text-danger:hover {
    color: #a71d2a !important;
}

.text-muted {
    color: #6c757d !important;
}

@media print {

    *,
    ::after,
    ::before {
        text-shadow: none !important;
        box-shadow: none !important;
    }

    a:not(.btn) {
        text-decoration: underline;
    }

    img,
    tr {
        page-break-inside: avoid;
    }

    h2,
    h3,
    p {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    @page {
        size: a3;
    }

    body {
        min-width: 992px !important;
    }

    .container {
        min-width: 992px !important;
    }

    .navbar {
        display: none;
    }

    .table {
        border-collapse: collapse !important;
    }

    .table th {
        background-color: #fff !important;
    }
}

body {
    font-family: Quicksand, sans-serif;
    background-color: #f0f2f5 !important;
}

.container-nav,
.logo,
.navbar {
    display: flex;
    padding-top: 0.3rem;
    margin-right: auto;
    margin-left: auto;
}

.main-nav .logo .logo-img {
    width: 50px;
    height: auto;
}

.title {
    color: #363636;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.125;
    word-break: break-word;
}

.company-info {
    display: flex;
    padding: 0.7rem;
    align-items: center;
    flex-direction: row;
}

.company-info .company-info__logo {
    margin-right: 0.5rem;
    display: flex;
    min-width: 64px;
    align-items: center;
}

.image.is-64x64 {
    height: 64px;
    width: 64px;
}

.image {
    display: block;
    position: relative;
}

img {
    max-width: 100%;
}

.company-info .company-info__name {
    margin-left: 4px;
}

.has-text-weight-semibold {
    font-weight: 600 !important;
}

.is-size-5 {
    font-size: 1.25rem !important;
}

.company-info .company-info__rating {
    position: relative;
    top: -2px;
    font-size: 0.85rem;
    margin-left: 0.2rem;
}

.fa-star {
    content: "\f005";
}

.has-text-warning {
    color: #ffdd57 !important;
}

.has-text-weight-bold {
    font-weight: 700 !important;
}

.has-text-weight-bold {
    font-weight: 700 !important;
}

.container {
    min-height: calc(100vh - 120px);
}

.clickable:hover {
    cursor: pointer;
}

.main-text {
    font-size: 1.3rem;
    align-items: center;
    padding-top: 15px;
    /*margin-top: 1.5rem;*/
}

/* For smaller devices (mobile) */
@media (max-width: 576px) {
    .main-text {
        font-size: 1.2rem;
        padding-left: 5px;
        padding-right: 5px;
        /* Smaller font for mobile */
    }
}

/* For medium devices (tablets) */
@media (min-width: 577px) and (max-width: 768px) {
    .main-text {
        font-size: 1.3rem;
        /* Slightly larger font for tablets */
    }
}

/* For larger devices (desktops) */
@media (min-width: 769px) {
    .main-text {
        font-size: 1.3rem;
        /* Default size for larger screens */
    }
}

.sp-mr {
    margin-right: 0.3rem;
}

.paging-area {
    margin-top: 1rem;
}

.text-content {
    white-space: pre-line;
}

.pagination {
    display: flex;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size */
    }

    .pagination>li {
        margin-bottom: 5px;
        /* Add spacing between items */
    }
}

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

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size even more */
    }
}

@media (max-width: 390px) {

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size even more */
    }
}

.pagination>li {
    display: inline;
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.428571429;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    background-color: #eee;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #428bca;
    border-color: #428bca;
}

.main-nav .logo .logo-text-rv {
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 500;
}

.logo-text-rv {
    margin-top: 10px;
    line-height: 1.2;
}
.reviewer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.reviewer-link:hover {
    color: #44b678;
    text-decoration: none;
}

.copy-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    white-space: nowrap;
}
.copy-tooltip.show {
    visibility: visible;
    opacity: 1;
}

.view-more-review{
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    font-size: 1rem;
    display: inline-block;
    padding: 12px 20px;
    font-weight: 500;
}
.view-more-review:hover {
    color: #44b678;
    text-decoration: none;
}
.view-more-container {
    text-align: center;
    margin-top: 20px;
}

/* === Topic Guide Styles === */
.topic-guide {
    padding: 2rem 1.5rem;
    font-size: 1.08rem;
    color: #212529;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}
.topic-guide h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #26282b;
    margin-bottom: 1.2rem;
}
.topic-guide h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #26282b;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.topic-guide h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
}
.topic-guide p {
    margin-bottom: 1rem;
    line-height: 1.7;
}
.topic-guide ol, .topic-guide ul {
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}
.topic-guide li {
    margin-bottom: 0.5rem;
}
.topic-guide img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin: 1rem 0;
    max-width: 100%;
    height: auto;
}
.topic-guide strong {
    color: #212529;
}
.topic-guide .image-caption {
    font-size: 0.95em;
    color: #888;
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 600px) {
    .topic-guide {
        padding: 1rem 0.5rem;
        font-size: 1rem;
    }
    .topic-guide h1 {
        font-size: 1.3rem;
    }
    .topic-guide h2 {
        font-size: 1.1rem;
    }
}
.topic-guide img.topic-img-limited {
    max-height: 350px;
    width: auto;
    object-fit: contain;
}

/* Lightbox for topic images */
.img-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.img-lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.img-lightbox-close {
  position: absolute;
  top: 30px; right: 40px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}
.topic-img-fullscreen img {
  transition: box-shadow 0.2s, transform 0.2s;
}
.topic-img-fullscreen img:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transform: scale(1.03);
}
p.sub-heading {
    margin: 0 !important;
    font-size: 1.2rem;
}
@media (max-width: 375px) {

    /* Styles for iPhone SE */
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    p.sub-heading {
        font-size: 1rem;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 428px) {
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 414px) {
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 390px) {
    p.sub-heading {
        font-size: 1rem;
    }
}

@media (max-width: 430px) {

    /* Styles for iPhone 12 Pro Max in portrait mode */
    p.sub-heading {
        font-size: 1rem;
    }
}

/* === Shimmer/Skeleton loader === */
@keyframes rv-shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}
.rv-skeleton { position: relative; overflow: hidden; background-color: #e9edf2; border-radius: 8px; }
.rv-shimmer { background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 100%); background-size: 1000px 100%; animation: rv-shimmer 1.2s infinite; }
.rv-skeleton-line { height: 14px; border-radius: 7px; background-color: #e9edf2; }
.rv-skeleton-line.w-30 { width: 30%; }
.rv-skeleton-line.w-50 { width: 50%; }
.rv-skeleton-line.w-70 { width: 70%; }
.rv-skeleton-line.w-100 { width: 100%; }
.rv-skeleton-avatar { width: 48px; height: 48px; border-radius: 8px; background-color: #e9edf2; flex: 0 0 48px; }
.rv-skeleton-item { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid #f0f3f6; border-radius: 10px; margin: 8px 0; }
.rv-skeleton-text { flex: 1; display: flex; flex-direction: column; gap: 8px; }

/* Show skeletons until hydrated */
#real-company-list { display: none; }
body.hydrated #real-company-list { display: block; }
body.hydrated #skeleton-company-list { display: none; }
