/* ============================================
   UI Enhancements - ReportMines
   Carefully scoped to avoid conflicts with
   existing Bootstrap 5 + custom SCSS theme
   ============================================ */

/* --- Smooth scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Selection Color --- */
::selection {
    background: rgba(88, 196, 167, 0.2);
    color: #1e3953;
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #b7b7b7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9b9b9b;
}

/* =====================
   HOME PAGE
   ===================== */

/* Hero search bar */
.swiper-variant-1 .rd-search .form-input {
    border-radius: 8px !important;
    padding: 14px 20px;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e8ef !important;
}

.swiper-variant-1 .rd-search .form-input:focus {
    border-color: #58c4a7 !important;
    box-shadow: 0 4px 24px rgba(88, 196, 167, 0.15);
}

/* "Why buy from us" icons - only inside the dark section */
.bg-image .icon-box-vertical {
    padding: 25px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.bg-image .icon-box-vertical:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Category thumbnail cards on home page */
.thumbnail-variant-1 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-variant-1:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.thumbnail-variant-1 .thumbnail-image img {
    transition: transform 0.4s ease;
}

.thumbnail-variant-1:hover .thumbnail-image img {
    transform: scale(1.05);
}

.thumbnail-variant-1 .thumbnail-caption {
    padding: 15px 12px;
}

/* Client logo slider - grayscale to color */
.slick-slider-1 .link-image img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.slick-slider-1 .link-image:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonial quote cards on home page */
.section-lg-bottom-120 .quote-vertical {
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.section-lg-bottom-120 .quote-vertical:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* News & Blog post blocks on home page */
.post-block {
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.post-block:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border-color: #58c4a7;
}

.post-block .post-header a:hover {
    color: #58c4a7;
}

/* Blog listing cards */
.post-classic {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    background: #fff;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post-classic:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.post-classic .post-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* =====================
   BUTTONS (scoped)
   ===================== */

/* Only style .btn-primary inside main content, not navbar */
.page .btn-primary {
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(88, 196, 167, 0.3);
}

/* =====================
   FORMS (scoped to signup-form only)
   ===================== */

.signup-form .form-input {
    border-radius: 6px !important;
    border: 1px solid #dcdde0 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-form .form-input:focus {
    border-color: #58c4a7 !important;
    box-shadow: 0 0 0 3px rgba(88, 196, 167, 0.12);
    outline: none;
}

.signup-form textarea.form-input {
    min-height: 120px;
}

/* Country select dropdown */
select#country {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdde0;
    border-radius: 6px;
    font-size: 14px;
    color: #555;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select#country:focus {
    border-color: #58c4a7;
    box-shadow: 0 0 0 3px rgba(88, 196, 167, 0.12);
    outline: none;
}

/* Submit button */
.signup-form .btn-primary.btn-block {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

/* Captcha styling */
.captcha.catch-input {
    font-family: 'Courier New', monospace !important;
    letter-spacing: 8px;
    font-weight: 900 !important;
}

/* Captcha error */
.captch_error_message {
    border-radius: 8px;
    font-size: 13px;
    padding: 8px 12px;
    margin-top: 6px;
}

/* Loading spinner */
.rm-spinner {
    color: #58c4a7 !important;
}

/* =====================
   PAGE TITLE BANNERS
   ===================== */

/* =====================
   SEARCH RESULTS PAGE
   ===================== */

.search-result-card {
    transition: all 0.3s ease;
}

.search-result-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1) !important;
    border-color: #58c4a7 !important;
    transform: translateY(-2px);
}

.search-result-card h5 a:hover {
    color: #58c4a7 !important;
}

/* =====================
   SINGLE REPORT PAGE
   ===================== */

.reportstop h1 {
    color: #1e3953;
    line-height: 1.4;
    font-weight: 700;
}

/* Report details info bar */
main.reportstop .report_details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 16px;
    border-left: 4px solid #58c4a7;
}

/* Price Box */
.pricebox1 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    background: #fff;
}

.pricebox1 .pricetop {
    padding: 20px;
}

.pricebox1 .pricetop h3 {
    color: #1e3953;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.pricebox1 .price {
    border: 2px solid #58c4a7 !important;
    border-radius: 6px;
    color: #1e3953;
    font-size: 15px;
    padding: 4px 14px;
}

.pricebox1 label {
    cursor: pointer;
    font-weight: 500;
}

.pricebox1 input[type="radio"] {
    accent-color: #58c4a7;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.cartbtn {
    background: linear-gradient(135deg, #1e3953 0%, #2a4d6e 100%) !important;
    padding: 14px 0 !important;
    border-radius: 0 0 12px 12px;
    font-size: 16px !important;
}

.cartbtn a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.cartbtn a img {
    width: 22px;
    filter: brightness(0) invert(1);
}

/* Breadcrumbs */
main.reportstop .toplinks {
    border-left: 4px solid #58c4a7 !important;
    border-radius: 0 4px 4px 0;
    background: #f8f9fa;
    padding: 10px 15px !important;
    margin: 12px 0 20px !important;
}

main.reportstop .toplinks a {
    color: #3e9cf6 !important;
}

main.reportstop .toplinks a:hover {
    color: #58c4a7 !important;
}

/* FAQ Accordion - scoped to faq-container only */
.faq-container {
    border-top: 2px solid #eee !important;
    margin-top: 40px;
    padding-top: 30px;
}

.faq-container h3 {
    color: #1e3953;
    margin-bottom: 20px;
}

.faq-container .card {
    border: 1px solid #eee;
    border-radius: 8px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-container .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 16px 20px;
}

.faq-container .faq-btn {
    font-weight: 600;
    color: #1e3953;
    text-align: left;
    width: 100%;
}

.faq-container .faq-btn:hover {
    color: #58c4a7;
}

.faq-container .card-body {
    padding: 16px 20px;
    color: #555;
    line-height: 1.7;
}

/* About Industry section */
.about-industry {
    margin-top: 30px;
    padding: 20px;
    background: #f8fdfb;
    border-radius: 10px;
    border: 1px solid #e0f0ea;
}

.about-industry h3 {
    color: #1e3953;
}

.about-industry #readMoreBtn {
    color: #58c4a7;
    font-weight: 600;
    text-decoration: underline;
}

.about-industry #readMoreBtn:hover {
    color: #42b294;
}

/* Related Reports */
.related-links {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.related-links h3 {
    color: #1e3953;
    margin-bottom: 15px;
}

.related-links ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.related-links ul li:last-child {
    border-bottom: none;
}

.related-links ul li a {
    color: #3e9cf6;
    font-weight: 500;
}

.related-links ul li a:hover {
    color: #58c4a7;
}

/* Summary content readability */
.summary-content {
    line-height: 1.8;
    color: #444;
    font-size: 14.5px;
}

/* Testimonials on report page */
.testimonials.sectionpadd {
    padding: 50px 0;
    background: #f8f9fa;
}

.testimonials .testomonialtxt {
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    text-align: center;
    line-height: 1.7;
    font-size: 14px;
    color: #555;
}

.testimonials .testomonialtxt strong {
    color: #1e3953;
    display: block;
    margin-top: 8px;
}

/* Client logos on report page */
.logos .customer-logos .slide img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
    max-height: 60px;
    padding: 8px;
}

.logos .customer-logos .slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile sticky bar */
div.sticky {
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Banner search on single report */
.banner .form-control {
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    border: 2px solid #eee;
    font-size: 15px;
}

.banner .form-control:focus {
    border-color: #58c4a7;
    box-shadow: none;
}

.banner .get-discount-btn {
    border-radius: 0 8px 8px 0 !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 12px 20px;
}

/* =====================
   CONTACT US PAGE
   ===================== */

.request-discount-card .card {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    border: none !important;
}

.request-discount-card .card-header {
    background: linear-gradient(135deg, #1e3953, #2a4d6e) !important;
    border: none;
    padding: 18px 24px !important;
}

.request-discount-card .list-group-item {
    border-color: #f0f0f0;
    padding: 12px 8px;
}

/* =====================
   ENQUIRY PAGE
   ===================== */

/* Enquiry sidebar pricing card */
.bg-whisper aside .card {
    border-radius: 16px !important;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #eee !important;
    overflow: hidden;
}

.bg-whisper aside .card .radio-custom {
    accent-color: #58c4a7;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Enquiry benefits list */
.bg-whisper .col-lg-7 > ul {
    padding-left: 18px;
}

/* Blue/green banner card */
.blue-banner-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blue-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(88, 196, 167, 0.35) !important;
}

/* =====================
   CATEGORIES PAGE
   ===================== */

.categories-page .card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.categories-page .card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.categories-page .card-header.bg-gray-dark {
    background: linear-gradient(135deg, #1e3953, #2a4d6e) !important;
    padding: 14px 20px;
}

.categories-page .card-header.bg-gray-dark h6 {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.categories-page .list-group-item {
    border-color: #f0f0f0;
    padding: 10px 16px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.categories-page .list-group-item:hover {
    background: #f8fdfb;
}

.categories-page .list-group-item:hover a,
.categories-page .list-group-item:hover span {
    color: #58c4a7;
}

/* =====================
   FOOTER
   ===================== */

.page-foot {
    border-top: 4px solid #58c4a7;
}

.page-foot .list-marked-variant-2 a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-foot .list-marked-variant-2 a:hover {
    color: #58c4a7 !important;
    padding-left: 4px;
}

.page-foot .footer-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.page-foot .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #58c4a7;
    border-radius: 2px;
}

.page-foot .contact-info a:hover {
    color: #58c4a7 !important;
}

.page-foot .rights {
    font-size: 13px;
    line-height: 1.6;
}

.page-foot hr.hr {
    opacity: 0.15;
}

/* Footer social icons */
.page-foot .icon-round {
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-foot .icon-round:hover {
    background: #58c4a7 !important;
    transform: scale(1.1);
}

/* Stripe payment image */
.page-foot img[src*="stripe"] {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    max-width: 200px;
    margin-top: 12px;
}

.page-foot img[src*="stripe"]:hover {
    opacity: 1;
}

/* =====================
   404 PAGE
   ===================== */

.text-extra-large-bordered p {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, #58c4a7, #3e9cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* =====================
   PAGINATION
   ===================== */

.pagination-custom-wrap .page-link,
.pagination-custom-wrap a {
    border-radius: 6px !important;
    margin: 0 3px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

/* =====================
   NAVBAR SUBTLE ENHANCEMENTS
   ===================== */

.rd-navbar-corporate-dark .rd-navbar-btn-wrap .btn {
    border-radius: 20px;
    font-weight: 700;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 767px) {
    .thumbnail-variant-1 {
        margin-bottom: 20px;
    }

    .pricebox1 {
        margin-bottom: 20px;
    }

    .post-block {
        padding: 15px;
    }
}

@media (max-width: 991px) {
    .bg-whisper aside {
        margin-top: 30px;
    }

    .bg-whisper aside .card {
        height: auto !important;
    }
}
