/**
         * HRPayHub Landing Page Styles
         * Custom CSS with Bootstrap Integration
         * Colors: #2271B6 (Primary Blue), #C7A930 (Gold), #010B26 (Footer success)
         */

/* Root Variables */
:root {
    --hrp-primary: #2271b6;
    --hrp-gold: #c7a930;
    --hrp-video-section: #eee4bf;
    --hrp-gray: #f2f2f2;
    --hrp-footer: #010b26;
    --hrp-light-gray: #ededed;
    --hrp-bronze: #ffd8a8;
    --hrp-silver: #fcc2d7;
    --hrp-gold-package: #d0bfff;
    --hrp-platinum: #a5d8ff;
    --hrp-bronze-detail-bg: #ffe8cc;
    --hrp-silver-detail-bg: #ffdeeb;
    --hrp-gold-detail-bg: #f3d9fa;
    --hrp-platinum-detail-bg: #d0ebff;
    --hrp-dark-red: #b62224;
    --hrp-dark-green: #22b633;
    /* ==========================================================================
         Carousel Component Styles
         ========================================================================== */
    /* Carousel-specific variables to avoid conflicts */
    --carousel-card-border: #e6e6e6; /* Border color for testimonial cards */
    --carousel-muted: #8f8f8f; /* Muted text color for role */
    --carousel-accent: #f3f3f3; /* Accent bar color */
    --carousel-black: #000000; /* Base Black from palette */
    --carousel-primary-blue: #2271b6; /* Primary Blue from palette */
    --carousel-wrap-width: 1100px; /* Max width for carousel container */
}

/* Added for typography and spacing compliance */
body {
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    font-size: 14px; /* Bodytext1 */
    line-height: 1.5; /* 150% */
}

h1,
.hero-title {
    font-family: "Signika", sans-serif;
    font-weight: 700;
    font-size: 40px;
}

.hero-title-custom {
    font-family: "Signika", sans-serif;
    font-weight: 700;
    font-size: 48px;
}

h2,
.subheadline {
    font-family: "Acme", sans-serif;
    font-weight: 700;
    font-size: 34px;
}

.subheadline2 {
    font-family: "Acme", sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.subheadline3 {
    font-family: "Acme", sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.subheadline4 {
    font-family: "Acme", sans-serif;
    font-weight: 400;
    font-size: 24px;
}

.subheadline5 {
    font-family: "Acme", sans-serif;
    font-weight: 400;
    font-size: 34px;
}

h3,
.lead-text {
    font-family: "Yanone Kaffeesatz", sans-serif;
    font-weight: 400;
    font-size: 48px;
}

h4,
.subtitle {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.subtitle2 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 36px;
}

.subtitle3 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 16px;
}

h5,
.subheading {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.subheading2 {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 32px;
}

.bodytext1 {
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    font-size: 14px;
}

.bodytext2 {
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.intro-text-custom {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: justify;
    margin-bottom: 1rem;
}

.bodytext3 {
    font-family: "Nunito", sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.caption,
.ui-label {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 12px;
}

.overline {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

p,
.bodytext1,
.bodytext2 {
    text-align: justify;
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
.hero-section,
.hero-title,
.subheadline {
    text-align: center;
}

.accordion-button {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 16px; /* Subheading */
}

.navbar-nav .nav-link {
    font-family: "Nunito", sans-serif;
    font-weight: 700 !important;
    font-size: 14px !important; /* Bodytext1 */
}

.most-popular-badge {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 12px; /* Caption */
}

.display-1-5 {
    font-size: 26px; /* Mapped to H1 */
}
/* End of added typography and spacing compliance */

.ms-6 {
    margin-left: 2rem !important;
}

/* Override Bootstrap Primary Color */
.btn-primary {
    background-color: var(--hrp-primary);
    border-color: var(--hrp-primary);
}

    .btn-primary:hover {
        background-color: #1a5a94;
        border-color: #1a5a94;
    }

.btn-outline-primary {
    color: var(--hrp-primary);
    border-color: var(--hrp-primary);
}

    .btn-outline-primary:hover {
        background-color: var(--hrp-primary);
        border-color: var(--hrp-primary);
        color: white;
    }

.border-primary {
    border-color: var(--hrp-primary) !important;
}

.text-primary {
    color: var(--hrp-primary) !important;
}

.text-warning {
    color: var(--hrp-gold) !important;
}

.text-danger-dark {
    color: var(--hrp-dark-red);
}

.text-success-dark {
    color: var(--hrp-dark-green);
}

.bg-primary {
    background-color: var(--hrp-primary) !important;
}

.g-6,
.gy-6 {
    --bs-gutter-y: 4rem;
}

.g-6,
.gx-6 {
    --bs-gutter-x: 4rem;
}

.g-7,
.gy-7 {
    --bs-gutter-y: 5rem;
}

.g-7,
.gx-7 {
    --bs-gutter-x: 5rem;
}

.g-8,
.gy-8 {
    --bs-gutter-y: 6rem;
}

.g-8,
.gx-8 {
    --bs-gutter-x: 6rem;
}

.g-9,
.gy-9 {
    --bs-gutter-y: 7rem;
}

.g-10,
.gx-10 {
    --bs-gutter-x: 8rem;
}

/* start free trail button */
.start-free-trial-button {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

/* Navigation Bar */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1.2rem;
    margin-right: 0.5rem;
    color: #212529 !important;
    position: relative;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

    .navbar-nav .nav-link:hover {
        border-bottom: 2px solid #212529;
        color: #212529 !important;
    }

.navbar-nav .dropdown-toggle::after {
    display: none;
}

.navbar-nav .dropdown-toggle .bi-chevron-down {
    vertical-align: middle;
    font-size: 0.8em;
}

.navbar-collapse {
    justify-content: space-between;
}

.navbar-nav {
    flex-grow: 1;
    justify-content: center;
}

/* Dropdown and Submenu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 16px rgba(18, 17, 17, 0.1);
    padding: 0.25rem 0;
    min-width: 220px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
    visibility: hidden;
}

    .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

.dropdown-item {
    padding: 0.4rem 1.2rem;
    color: #212529;
    background-color: transparent;
    transition: background 0.2s ease;
    position: relative;
}

    .dropdown-item:hover {
        background-color: var(--hrp-gray);
        color: #000;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        display: block;
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -1px;
        min-width: 220px;
        padding: 0.25rem 0;
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

        .dropdown-submenu > .dropdown-menu.show,
        .dropdown-submenu:hover > .dropdown-menu {
            opacity: 1;
            transform: translateX(0);
            visibility: visible;
        }

    .dropdown-submenu > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .dropdown-submenu > a i {
            font-size: 0.8rem;
            margin-left: auto;
            color: #6c757d;
        }

a:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Mobile-specific adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-width: 100%;
        overflow-x: hidden;
        max-height: none; /* Changed to prevent layout shifts */
        overflow-y: auto;
        padding: 0.25rem 0;
        background: #fff;
    }

    .navbar-nav {
        text-align: left;
        margin: 0;
    }

        .navbar-nav .nav-item {
            margin-bottom: 0.1rem;
        }

        .navbar-nav .nav-link {
            padding: 0.4rem 1rem;
            border-bottom: none !important; /* Ensure no border */
        }

            .navbar-nav .nav-link:hover {
                border-bottom: none !important; /* Ensure no border on hover */
            }

        .navbar-nav .dropdown-menu {
            text-align: left;
            border: none;
            box-shadow: none;
            min-width: 100%;
            margin: 0;
            border-radius: 0;
            display: none; /* Changed to simplify transitions */
            opacity: 1; /* Remove opacity transition */
            visibility: visible; /* Always visible when shown */
        }

            .navbar-nav .dropdown-menu.show {
                display: block; /* Show with display instead of max-height */
            }

        .navbar-nav .dropdown-item {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

    .dropdown-submenu > a i {
        margin-left: 0.5rem;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        left: 0;
        margin: 0;
        padding-left: 1rem;
        min-width: 100%;
        display: none; /* Changed to simplify transitions */
        opacity: 1; /* Remove opacity transition */
        visibility: visible; /* Always visible when shown */
    }

        .dropdown-submenu > .dropdown-menu.show {
            display: block; /* Show with display instead of max-height */
        }

    .dropdown-submenu:hover > .dropdown-menu {
        display: none; /* Disable hover on mobile */
    }

    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .navbar-collapse .d-flex {
        justify-content: center;
        margin: 0.5rem 0;
        padding-bottom: 0.5rem;
    }
}

/* Navigation Enhancements */
.navbar-brand {
    margin-right: 1rem;
}

.navbar-nav {
    flex-grow: 0;
    justify-content: flex-start;
    gap: 0.5rem;
}

.navbar-collapse {
    justify-content: space-between;
    align-items: center;
}

    .navbar-collapse .d-fle x {
        margin-left: 1rem;
    }

/* Remove thick border on mobile navbar toggler */
.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Hero Section */

.hero-divider {
    height: 4px;
    background: var(--hrp-gold);
    margin: 0 auto;
}

.hero-info-card {
    background: #000000;
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-bottom: 1.5rem;
    width: 400px;
}

    .hero-info-card .hero-info-divider {
        height: 2px;
        background: var(--hrp-gold);
        margin: 1rem 0;
    }

/* Golden Divider */
.golden-divider {
    height: 30px;
    background: var(--hrp-gold);
    width: 100%;
}

/* Logo Slider */
.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logo-track {
    display: inline-flex;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.logo-track-right {
    animation-name: scrollRight;
}

.logo-track-left {
    animation-name: scrollLeft;
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

    .logo-item img {
        max-height: 60px;
        max-width: 120px;
    }

        .logo-item img:hover {
            opacity: 1;
            filter: grayscale(0%);
        }

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Who We Are Section - ISO Card */
/* .iso-card {
        background: linear-gradient(
          135deg,
          var(--hrp-primary) 0%,
          #1a5a94 100%
        );
        border: 2px solid var(--hrp-gold);
        padding: 2rem;
      } */

/* .delon-logo-container {
        background: var(--hrp-gold);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-bottom: 1rem;
      } */

/* Why HRPayHub Section - Feature Cards */
.feature-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon {
    width: 80px;
    height: 80px;
}

/* Background Colors */
.bg-light-gray {
    background-color: var(--hrp-light-gray);
}

.bronze-card {
    background-color: #ffd89c;
}

.short-divider {
    border-top: 1px solid #000;
    width: 220px;
    margin: 1rem auto 1.5rem auto;
}

.card > .short-divider {
    border-top: 1px solid #000;
    opacity: 0.5;
    width: 85%;
    margin: 1rem auto 1.5rem auto;
}

/* font weight for check icon */
i {
    -webkit-text-stroke: 1px;
}

/* Package Cards (Pricing Section) */
.package-bronze {
    background: var(--hrp-bronze);
}

.package-silver {
    background: var(--hrp-silver);
}

.package-gold {
    background: var(--hrp-gold-package);
    border: 2px solid var(--hrp-primary) !important;
}

.package-platinum {
    background: var(--hrp-platinum);
}

.most-popular-badge {
    position: absolute;
    right: -64px;
    transform: translateX(-50%);
    background: var(--hrp-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-bottom-left-radius: 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
}

/* Package Detail Sections */
.package-detail-card {
    background-color: #f8f9fa;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-detail-bronze {
    border-radius: 0.75rem;
    padding: 2rem;
    background-color: var(--hrp-bronze-detail-bg);
}

.package-detail-silver {
    border-radius: 0.75rem;
    padding: 2rem;
    background-color: var(--hrp-silver-detail-bg);
}

.package-detail-gold {
    border-radius: 0.75rem;
    padding: 2rem;
    background-color: var(--hrp-gold-detail-bg);
}

.package-detail-platinum {
    border-radius: 0.75rem;
    padding: 2rem;
    background-color: var(--hrp-platinum-detail-bg);
}

.package-detail-bronze .package-detail-card {
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    background-color: var(--hrp-bronze-detail-bg);
}

/* scrollbar flexible-plans-content */

/* scrollbar flexible-plans-content */
.flexible-plans-content {
    max-height: 400px; /* Adjust if content is too short */
    overflow-y: scroll; /* Always show scrollbar */
    overflow-x: hidden;
    padding-right: 1rem;
    padding-bottom: 1rem; /* For button spacing */
    /* scrollbar-width: thin; Firefox: Thin scrollbar */
    -ms-overflow-style: auto; /* IE and Edge: Enable scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

    .flexible-plans-content::-webkit-scrollbar {
        width: 8px; /* Ensure visible */
        display: block; /* Force scrollbar visibility in WebKit */
    }

    .flexible-plans-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .flexible-plans-content::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .flexible-plans-content::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
/* scrollbar flexible-plans-content */
/* scrollbar flexible-plans-content */

/* scrollbar package-detail-content */

.package-detail-content {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;
    /* scrollbar-width: thin; Firefox: Make scrollbar visible and thin */
    -ms-overflow-style: auto; /* IE and Edge: Enable default scrollbar */
}

    .package-detail-content::-webkit-scrollbar {
        width: 8px;
    }

    .package-detail-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .package-detail-content::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .package-detail-content::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* scrollbar package-detail-content */

.package-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

    .package-detail-image img {
        max-width: 100%;
        height: auto;
        border-radius: 0.75rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: 0.85rem;
    overflow: hidden;
    border: none; /* Reinforce table-borderless to remove default borders */
}

    .comparison-table th {
        background: transparent;
        padding: 1rem;
        font-weight: 600;
        border-bottom: 1px solid #e5e7eb; /* Match td border */
        border-top: none; /* Prevent default top border */
    }

    .comparison-table td {
        padding: 1rem 1rem;
        border-bottom: 1px solid #e5e7eb;
    }

/* compare packages */
.compare-packages-title {
    position: relative;
    padding-left: 14px;
    display: inline-block;
}

    .compare-packages-title::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 44px;
        background: var(--hrp-gold);
    }
/* Built for Industry Section */
.built-for-industry {
    background: var(--hrp-primary);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    border: 2px solid #e5e7eb;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

    .testimonial-card .quote-icon {
        position: absolute;
        font-size: 5rem;
        color: #f0f0f0;
        z-index: 0;
        line-height: 1;
    }

        .testimonial-card .quote-icon.top-right {
            top: -1rem;
            right: -1rem;
        }

        .testimonial-card .quote-icon.bottom-left {
            bottom: -1rem;
            left: -1rem;
            transform: rotate(180deg);
        }

    .testimonial-card p,
    .testimonial-card h6,
    .testimonial-card small {
        position: relative;
        z-index: 1;
    }

/* Testimonial Carousel Controls */
.carousel-indicators [data-bs-target] {
    background-color: #ccc;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    border: none;
}

.carousel-indicators .active {
    background-color: var(--hrp-primary);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    font-size: 2rem;
    color: #333;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon::before {
    content: "\f2d5"; /* bi-chevron-left */
    font-family: "bootstrap-icons";
}

.carousel-control-next-icon::before {
    content: "\f2d6"; /* bi-chevron-right */
    font-family: "bootstrap-icons";
}

/* FAQ Section */
.accordion-button {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 2rem 0;
    color: #212529; /* Text always black */
}

    /* Active state: keep text black, no border or background */
    .accordion-button:not(.collapsed) {
        background: transparent;
        color: #212529; /* Text stays black */
    }

    /* Focus state: no border, no outline, text black */
    .accordion-button:focus {
        outline: none; /* Remove default outline */
        box-shadow: none; /* No shadow */
        background: transparent; /* No background */
        color: #212529; /* Text stays black */
    }

    /* Hover state: no border, no background, text black */
    .accordion-button:hover {
        background: transparent;
        color: #212529; /* Text stays black */
    }

    /* Caret icon styles */
    .accordion-button::after {
        display: none;
    }

    .accordion-button .bi-caret-down-fill {
        transition: transform 0.3s ease;
        color: var(--hrp-primary); /* Caret always blue (#2271b6) */
    }

    .accordion-button.collapsed .bi-caret-down-fill {
        transform: rotate(180deg); /* Rotate when collapsed */
        color: var(--hrp-primary); /* Caret still blue (#2271b6) */
    }

/* Remove Bootstrap's default focus styles */
.accordion {
    --bs-accordion-btn-focus-box-shadow: none !important;
    --bs-accordion-btn-focus-border-color: none !important;
}

/* Keep hr styles */
.accordion-item hr {
    border-top: 1px solid #e5e7eb;
}

/* Video Section */
.video-section {
    background: var(--hrp-video-section);
}

.video-card {
    transition: transform 0.3s ease;
}

    .video-card:hover {
        transform: translateY(-5px);
    }

.video-thumbnail {
    border-radius: 0.5rem;
    overflow: hidden;
}

.play-button {
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .play-button:hover {
        transform: translate(-50%, -50%) scale(1.1);
    }

/* WHat Our Clients Say */
/* ==========================================================================
         Carousel Container
         ========================================================================== */
.carousel-wrap {
    max-width: var(--carousel-wrap-width);
    margin: 0 auto;
    position: relative;
    padding-bottom: 120px; /* Space for navigation */
}

/* Allow side peeks for non-centered items */
.owl-stage-outer {
    overflow: visible;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-item {
    display: flex;
    align-items: stretch;
}

/* ==========================================================================
         Carousel Testimonial Card
         ========================================================================== */
.carousel-testimonial-item {
    width: 100%;
    background: transparent;
    border: 1.5px solid var(--carousel-card-border);
    border-bottom-left-radius: 36px;
    border-top-right-radius: 36px;
    padding: 28px 36px;
    box-sizing: border-box;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.35s ease;
}

/* Author and role container */
.carousel-author-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Quote to extreme right */
    gap: 16px;
    margin-top: auto;
}

/* Author name (Subheading, Nunito Bold, 16px) */
.carousel-author {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 16px; /* Subheading (H5) */
    line-height: 1.5;
    margin: 0;
    color: var(--carousel-black);
}

/* Role (Caption/UI Label, Nunito Bold, 12px) */
.carousel-role {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 12px; /* Caption/UI Label */
    line-height: 1.5;
    color: var(--carousel-muted);
}

/* Decorative quote icon */
.carousel-quote-deco {
    font-size: 64px;
    color: var(--carousel-muted); /* Primary Blue from palette */
    transform: rotate(180deg); /* Face upward */
    line-height: 1;
    margin: 0;
    pointer-events: none;
}

/* Center card emphasis */
.owl-item.center .carousel-testimonial-item {
    transform: scale(1);
    opacity: 1;
    z-index: 6;
}

.owl-item:not(.center) .carousel-testimonial-item {
    transform: scale(0.96);
    opacity: 0.55;
    z-index: 2;
}

/* ==========================================================================
         Carousel Navigation (Arrows + Dots)
         ========================================================================== */
.carousel-custom-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 60;
}

.carousel-nav-btn {
    width: 60px;
    height: 60px;
    /* border-radius: 50%; */
    background: #ffffff; /* Base White */
    display: inline-flex;
    align-items: center;
    outline: none;
    justify-content: center;
    border: none;
    /* box-shadow: 0 8px 20px rgba(10, 10, 10, 0.04); */
    cursor: pointer;
    transition: transform 0.12s ease;
}

    .carousel-nav-btn:hover {
        transform: translateY(-3px);
    }

    .carousel-nav-btn svg {
        width: 24px;
        height: 24px;
    }

.carousel-dots-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.carousel-dot-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #eee;
    border: none;
    cursor: pointer;
    box-shadow: inset 0 0 0 3px #ffffff; /* Base White */
    transition: all 0.12s ease;
}

    .carousel-dot-btn.active {
        background: var(--carousel-black);
        width: 18px;
        height: 18px;
        box-shadow: 0 0 0 6px #f5f5f5;
    }

/* ==========================================================================
         Responsive Styles
         ========================================================================== */
@media (max-width: 1000px) {
    :root {
        --carousel-wrap-width: 920px;
    }

    .carousel-testimonial-item {
        padding: 24px;
        min-height: 200px;
    }

    .carousel-quote-deco {
        font-size: 48px;
    }

    .carousel-nav-btn {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 600px) {
    :root {
        --carousel-wrap-width: 540px;
    }

    .carousel-testimonial-item {
        padding: 18px;
        min-height: 180px;
        border-bottom-left-radius: 18px;
        border-top-right-radius: 18px;
    }

    .carousel-author-wrapper {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
    }

    .carousel-quote-deco {
        font-size: 36px;
    }

    .carousel-nav-btn {
        width: 46px;
        height: 46px;
    }
}
/* WHat Our Clients Say */

/* CTA Section */
.cta-section {
    background-image: url("../../images/home-page-images/get_hrpayhub_today.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 8 14 / 90%);
    z-index: -1;
}

.cta-section h2,
.cta-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form */
.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-input {
    width: 100%;
    padding: 1.2rem 1rem 0.4rem;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #e5e7eb; /* Matches .form-input’s default border */
    box-shadow: none !important; /* Removes Bootstrap’s blue glow */
    outline: none; /* Removes browser outline */
}

.form-input::placeholder {
    color: transparent; /* Keep invisible when not focused or empty */
    transition: color 0.2s ease;
}

.form-input:focus::placeholder,
.form-input:not(:placeholder-shown)::placeholder {
    color: #000000; /* Black placeholder when focused or not empty */
}

.form-label {
    position: absolute;
    top: 0.9rem;
    left: 1rem;
    padding: 0 0.3rem;
    font-size: 0.95rem;
    color: #6b7280;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    background-color: white;
    z-index: 1;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: #374151;
}

/* Footer */
.footer-section {
    background: var(--hrp-footer);
}

.footer-title {
    position: relative;
    padding-left: 18px;
    display: inline-block;
}

    .footer-title::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: var(--hrp-gold);
    }

/* Footer Enhancements for Two-Column Mobile Layout */
.footer-section {
    background: var(--hrp-footer);
    padding: 2rem 0; /* Reduced padding for mobile */
}

    .footer-section .subtitle {
        font-family: "Ubuntu", sans-serif; /* Matches existing subtitle */
        font-weight: 700;
        font-size: 1.1rem; /* Slightly smaller for mobile */
        position: relative;
        padding-left: 18px;
        display: inline-block;
    }

    .footer-section .bodytext2 {
        font-family: "Nunito", sans-serif; /* Matches existing bodytext2 */
        font-weight: 400;
        font-size: 0.9rem; /* Optimized for mobile */
        line-height: 1.6; /* Improved readability */
    }

    .footer-section address {
        margin-bottom: 1.5rem; /* Consistent spacing */
    }

    .footer-section a {
        display: inline-block;
        /* padding: 0.5rem;  */
        transition: color 0.2s ease; /* Smooth hover effect */
    }

        .footer-section a:hover {
            color: var(--hrp-gold); /* Gold hover effect from palette */
        }

    .footer-section .list-unstyled li {
        margin-bottom: 0.75rem; /* Spacing for Quick Links */
    }

    .footer-section .bi {
        font-size: 1.5rem; /* Larger social icons for touch */
        padding: 0.5rem; /* Touch-friendly */
    }

    .footer-section hr {
        opacity: 0.5; /* Softer divider */
        border-color: var(--hrp-light-gray); /* Matches palette */
    }

    .footer-section .full-width-hr {
        width: 100vw; /* Full viewport width */
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .footer-section .row.g-3 > .col-6 {
        flex: 0 0 50%; /* Two columns on mobile */
        max-width: 50%;
    }

.footer-social-icons {
    margin-left: 11rem;
}

/* Desktop layout (4 columns) */
@media (min-width: 992px) {
    .footer-section .row.g-3 > .col-6 {
        flex: 0 0 25%; /* 4 columns on larger screens */
        max-width: 25%;
    }
}

/* Small mobile adjustments */
@media (max-width: 575.98px) {
    .footer-section {
        padding: 1.5rem 0; /* Further reduced padding */
    }

        .footer-section .subtitle {
            font-size: 1rem; /* Slightly smaller for small screens */
        }

        .footer-section .bodytext2 {
            font-size: 0.85rem; /* Slightly smaller for small screens */
        }

        .footer-section .bi {
            font-size: 1.25rem; /* Adjusted icon size */
        }

    .footer-social-icons {
        margin-left: 0rem;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

        .navbar-nav .nav-item {
            margin-bottom: 0.5rem;
        }

        .navbar-nav .dropdown-menu {
            text-align: center;
            border: none;
            box-shadow: none;
        }

        .navbar-nav .dropdown-item {
            padding: 0.5rem 1rem;
        }

    .navbar-collapse .d-flex {
        justify-content: center;
        margin-top: 1rem;
    }

    .package-detail-image {
        margin-top: 2rem;
    }

    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-info-card {
        margin-top: 2rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .logo-item {
        margin: 0 1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .video-card {
        margin-bottom: 1rem;
    }

    .hero-info-card {
        width: 370px;
    }
}

@media (max-width: 575.98px) {
    .logo-item {
        margin: 0 0.5rem;
    }

    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .hero-divider {
        width: 80px;
        height: 3px;
    }

    .most-popular-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.75rem;
        right: -54px;
    }

    .hero-info-card {
        width: 370px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
    }

    .feature-card:hover {
        transform: none;
    }

    .video-card:hover {
        transform: none;
    }
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 2px solid var(--hrp-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .footer-section,
    .btn {
        display: none;
    }

    .hero-section,
    section {
        page-break-inside: avoid;
    }
}
/* Home Page styling Ends Here */

/* About Page styling */

.our-vision {
    padding-left: 2rem;
}

.our-mission {
    padding-left: 2rem;
}

    .our-mission ul li {
        font-weight: 500;
        margin-bottom: 0.5rem; /* space between items */
    }

.our-core-values {
    padding-left: 2rem;
}

    .our-core-values ul li {
        font-weight: 500;
        margin-bottom: 0.5rem; /* space between items */
    }

    .our-core-values ul span {
        display: block; /* ensures description goes below title */
        margin-bottom: 1rem; /* extra space between each section */
        line-height: 1.6; /* improves readability */
    }

.package-detail-content-about {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;
    /* scrollbar-width: thin; Firefox */
    -ms-overflow-style: auto; /* IE and Edge */
}

    .package-detail-content-about::-webkit-scrollbar {
        width: 8px;
    }

    .package-detail-content-about::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .package-detail-content-about::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .package-detail-content-about::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* About Page styling */

/* contact us page styling */
.border-form-gray {
    border-color: #ced4da !important;
}

.btn-table {
    --bs-btn-padding-x: 0.5rem !important;
    --bs-btn-padding-y: 0.375rem !important;
    --bs-btn-font-size: 0.8rem !important;
    --bs-btn-font-weight: 100 !important;
    --bs-btn-line-height: 1.5 !important;
}

.btn-outline-secondary-table:hover {
    background-color: transparent !important;
    color: inherit !important;
}

/* contact us page table styling */

.contact-us-table {
    table-layout: fixed;
    width: 100%;
    background: white;
    border-radius: 0.85rem;
    overflow: hidden;
}

    .contact-us-table td,
    .contact-us-table th {
        padding: 1rem 1rem;
        border-bottom: 1px solid #000000;
    }

.btn-table {
    width: 120px;
    display: inline-block;
    text-align: center;
}

.contact-us-table {
    background: white;
    border-radius: 0.85rem;
    overflow: hidden;
}

    .contact-us-table th {
        background: transparent;
        padding: 1rem;
        font-weight: 600;
    }

    .contact-us-table td,
    thead,
    th {
        padding: 1rem 1rem;
        border-bottom: 1px solid #000000;
    }

.get-started-btn:hover {
    background-color: transparent !important;
    color: inherit !important;
}

.contact-us-inquiry-td {
    padding-top: 1.5rem !important;
}

/* contact us page styling */

/* free trial page styling */

.accordion-button {
    padding: 1rem 0;
}

/* Free trial card - responsive */
.free-trial-card {
    width: 100%;
    max-width: 600px; /* keeps it from getting too wide on large screens */
    height: 348px; /* let content dictate height */
}

/* Detailed breakdown image - responsive */
.detailed-breakdown-img {
    width: 100%;
    max-width: 654px; /* keeps it from getting too wide on large screens */
    height: 348px; /* let content dictate height */
    margin-left: 0; /* default no offset on small screens */
}

/* For medium screens and up */
@media (min-width: 768px) {
    .detailed-breakdown-img {
        margin-left: -12px;
    }
}

/* For large screens and up */
@media (min-width: 992px) {
    .detailed-breakdown-img {
        margin-left: -24px;
    }
}

/* free trial page styling */

/* remote work styling */

.remote-work-content {
    max-height: 460px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;
    /* scrollbar-width: thin; Firefox */
    -ms-overflow-style: auto; /* IE and Edge */
}

    .remote-work-content::-webkit-scrollbar {
        width: 8px;
    }

    .remote-work-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .remote-work-content::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .remote-work-content::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* Free trial card - responsive */
.remote-work-card-above {
    width: 100%;
    max-width: 360px; /* keeps it from getting too wide on large screens */
    max-height: 170px; /* let content dictate height */
}

.remote-work-card-below {
    width: 100%;
    max-width: 400px; /* keeps it from getting too wide on large screens */
    max-height: 170px; /* let content dictate height */
}

.second-card {
    background-color: var(--hrp-footer) !important;
}

.integration-card {
    height: 85%;
}

/* Scoped to pricing-section to avoid affecting other cards */
.pricing-section .card-body ul.list-unstyled {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the entire list */
    min-height: 200px; /* Ensure consistent height across cards */
}

    /* Ensure consistent alignment for list items */
    .pricing-section .card-body ul.list-unstyled li {
        display: flex;
        align-items: center;
        justify-content: center; /* Center the li content */
        width: 100%; /* Full width for centering */
        max-width: 300px; /* Limit width for better centering */
    }

        /* Consistent width for checkmark icons */
        .pricing-section .card-body ul.list-unstyled li i {
            flex: 0 0 24px; /* Fixed width for icons */
            text-align: center; /* Center icon within its space */
        }

        /* Ensure text aligns consistently */
        .pricing-section .card-body ul.list-unstyled li span {
            flex: 1; /* Text takes remaining space */
            text-align: left; /* Align text left within its container */
        }

/* Match border-primary to --hrp-primary */
.pricing-section .border-primary,
.pricing-section .btn.border-primary {
    border-color: #2271b6 !important; /* Matches --hrp-primary */
}

/* Ensure equal height for cards */
.pricing-section .card {
    display: flex;
    flex-direction: column;
}

/* Ensure card-body stretches to balance content */
.pricing-section .card-body {
    flex-grow: 1; /* Stretch to equalize height */
}

.subscription-packages-lists {
    padding-left: 3.5rem !important;
}

/* remote work styling */

/* save more stay complaint styling */
.text-scroll-content {
    max-height: 460px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;
    /* scrollbar-width: thin; Firefox */
    -ms-overflow-style: auto; /* IE and Edge */
}

    .text-scroll-content::-webkit-scrollbar {
        width: 8px;
    }

    .text-scroll-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .text-scroll-content::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .text-scroll-content::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
/* save more stay complaint styling */

/* For Nigerian Businesses */
.for-nigeria-businesses {
    max-height: 460px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;
    /* scrollbar-width: thin; Firefox */
    -ms-overflow-style: auto; /* IE and Edge */
}

    .for-nigeria-businesses::-webkit-scrollbar {
        width: 8px;
    }

    .for-nigeria-businesses::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .for-nigeria-businesses::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .for-nigeria-businesses::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
/* For Nigerian Businesses */

/* all in on styling */

/* Free trial card - responsive */
.all-in-one-card {
    width: 80%;
    max-width: 600px; /* keeps it from getting too wide on large screens */
}

.accounting-card {
    height: 220px;
    width: 360px;
}
/* all in on styling */

/* become-a-seller-card */
.become-a-seller-card {
    width: 410px;
    height: 320px;
}

@media (max-width: 600px) {
    .become-a-seller-card {
        width: 100%;
        height: auto;
    }
}

/* cookie card styling */

.cookie-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% ); /* centers both horizontally and vertically */
    background: white;
    padding: 26px;
    /* border-radius: 10px; */
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 600px;
    width: calc(100% - 40px); /* responsive on small screens */
}

.cookie-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.cookie-title {
    color: #10182f;
    font-size: 1.25rem;
    font-weight: 700;
}

.cookie-text {
    font-size: 0.9rem;
    color: #212529;
    margin-bottom: 1rem;
}

.cookie-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
}

.cookie-btn-primary {
    background-color: #2271b6;
    border-color: #2271b6;
    color: white;
}

    .cookie-btn-primary:hover {
        background-color: #2271b6;
        border-color: #2271b6;
        color: #fff;
    }

.cookie-btn-outline-secondary {
    border-color: #2271b6;
    color: #2271b6;
}

    .cookie-btn-outline-secondary:hover {
        background-color: transparent !important;
        color: #2271b6;
        border-color: #2271b6;
    }

.cookie-preferences {
    font-size: 0.75rem;
    color: #10182f;
}

.close-icon {
    cursor: pointer;
}

.text-decoration {
    color: #10182f;
    text-decoration-color: black;
}

@media (max-width: 767.98px) {
    .cookie-btn {
        width: 100%;
    }
}
/* cookie card styling */
