/* ================================
   PaytonHealth - Central Stylesheet
   ================================ */

/* CSS Variables */
:root {
    --primary-color: #1193d4;
    --bs-primary-rgb: 17, 147, 212;
    --bs-dark-rgb: 23, 27, 42;
    --bs-border-radius: .5rem;
    --bs-border-radius-lg: .75rem;
}

/* ================================
   Preloader Animation
   ================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 9999;
    -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
    -o-transition: opacity 0.5s ease, visibility 0.5s ease;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    /* Support for both text and image */
    display: block;
    margin-bottom: 2rem;
    -webkit-animation: preloaderPulse 2s ease-in-out infinite;
    animation: preloaderPulse 2s ease-in-out infinite;
}

/* For text-based logo (fallback) */
.preloader-logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* For image-based logo */
.preloader-logo img {
    width: 220px;
    height: auto;
    max-width: 80vw;
    display: block;
    margin: 0 auto;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.preloader-percentage {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
}

.preloader-bar-container {
    width: 250px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-border-radius: 2px;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar {
    height: 100%;
    background-color: #ffffff;
    width: 0%;
    -webkit-transition: width 0.1s ease;
    -o-transition: width 0.1s ease;
    transition: width 0.1s ease;
    -webkit-box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@-webkit-keyframes preloaderPulse {

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

    50% {
        opacity: 0.8;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }
}

@keyframes preloaderPulse {

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

    50% {
        opacity: 0.8;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 800;
}

/* "Medium" font size - midpoint between small and large */
p,
.blockquote-footer,
.form-label.small,
.text-muted.small,
.footer-contact-info span.text-white-50,
footer .small a,
.small,
small,
.legal-content p,
.legal-content li,
.accordion-body {
    font-size: 0.8875rem;
    /* Approx 14.2px */
}

.lead {
    font-size: 1.0375rem;
    /* Approx 16.6px */
}


/* Material Icons */
.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1;
}

/* ================================
   Layout: Header (Permanent White)
   ================================ */
.top-bar {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #ffffff;
    overflow: hidden;
    max-height: 40px;
    /* Initially visible */
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    -webkit-transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Prefix */
    transition: box-shadow 0.4s ease-in-out;
    /* Only transition shadow now */
    -webkit-transition: box-shadow 0.4s ease-in-out;
}

.main-header .navbar-brand {
    margin-right: auto;
    color: #111827;
    /* Fallback text color if image fails */
}

/* --- Logo Size Adjustment --- */
.main-header .navbar-brand img {
    height: 18px;
    /* Fixed height */
    width: 233px;
    /* Fixed width */
    max-width: 100%;
    /* Ensure it doesn't overflow container */
    object-fit: contain;
    /* Adjust fit if needed */
    vertical-align: middle;
}

/* --- End Logo Size Adjustment --- */


.main-header .navbar-nav .nav-link {
    font-weight: 500;
    color: #334155;
    /* Dark text color */
}

.main-header .navbar-nav .nav-link:hover {
    color: var(--primary-color);
    /* Primary color on hover */
}

.main-header .navbar-nav .nav-link.active {
    color: var(--primary-color);
    /* Primary color when active */
    font-weight: 700;
}

.main-header .navbar-toggler {
    color: #334155;
    /* Dark toggler color */
    border-color: rgba(0, 0, 0, 0.1);
    margin-left: 1rem;
}

.main-header .btn-get-started {
    background-color: var(--primary-color);
    /* Primary button background */
    border-color: var(--primary-color);
    color: white;
}

.main-header .btn-get-started:hover {
    background-color: #0e7bb0;
    /* Darker primary on hover */
    border-color: #0e7bb0;
}

/* Scrolled Header State - Only adds shadow and hides top bar */
.main-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.main-header.scrolled .top-bar {
    max-height: 0;
    padding: 0;
}

/* ================================
   Layout: Footer
   ================================ */
footer {
    background-color: #171b2a;
    color: #ffffff;
}

footer a:hover {
    color: #ffffff !important;
}

/* Removed credit-link hover */

/* --- Footer Logo Size Adjustment --- */
footer .navbar-brand img {
    height: 18px;
    /* Fixed height */
    width: 233px;
    /* Fixed width */
    max-width: 100%;
    object-fit: contain;
}

/* --- End Footer Logo Size Adjustment --- */

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-info .material-symbols-outlined {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
    font-size: 18px;
}

footer .bi {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
}

footer a:hover .bi {
    color: white;
}

/* ================================
   Components: Navigation & Menus
   ================================ */
/* Offcanvas Mobile Menu */
.offcanvas {
    background-color: #fff;
    color: #111827;
    width: 75%;
}

.offcanvas-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.offcanvas-header .navbar-brand img {
    height: 18px;
    /* Match updated logo height */
    width: 233px;
    /* Match updated logo width */
    max-width: 100%;
    object-fit: contain;
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas .navbar-nav .nav-link {
    color: #334155;
    padding: 0.75rem 0;
    font-weight: 600;
}

.offcanvas .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.offcanvas .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.offcanvas .dropdown-menu {
    background-color: #f8fafc;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
}

.offcanvas .dropdown-item {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Dropdown Styles */
.dropdown-menu {
    border-radius: 0.75rem;
    border-color: #e5e7eb;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--primary-color);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    font-weight: 600;
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

/* ================================
   Components: Hero Section
   ================================ */
/* --- Hero Images MUST be defined below in the specific section --- */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    min-height: 480px;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 20, 40, 0.75) 0%, rgba(10, 20, 40, 0.75) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero Carousel specific (Index Page) */
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
}

.hero-slide {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 5%;
}

.hero-section .carousel-indicators {
    bottom: -50px;
}

/* ================================
   Components: Buttons & Badges
   ================================ */
.btn {
    font-weight: 600;
    /* Ensure buttons remain boldish */
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    --bs-btn-hover-bg: #0e7bb0;
    --bs-btn-hover-border-color: #0e7bb0;
}

.btn-outline-primary {
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #0e7bb0;
    --bs-btn-active-border-color: #0e7bb0;
}

.badge.bg-primary-soft {
    background-color: rgba(var(--bs-primary-rgb), 0.15);
    color: var(--primary-color);
}

.badge-iso {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-weight: 500;
    padding: 0.4em 0.65em;
    border: 1px solid rgba(59, 130, 246, 0.5);
    display: inline-flex;
    align-items: center;
}

.badge-cin {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-weight: 500;
    padding: 0.4em 0.65em;
    border: 1px solid rgba(25, 135, 84, 0.5);
    display: inline-flex;
    align-items: center;
}

.badge-iso .material-symbols-outlined,
.badge-cin .material-symbols-outlined {
    font-size: 14px;
    margin-right: 0.25rem;
}

/* ================================
   Components: Cards
   ================================ */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    -webkit-transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(30, 41, 59, 0.12);
}

.card .btn-outline-primary {
    --bs-btn-color: #64748b;
    --bs-btn-border-color: #cbd5e1;
}

.card .btn-outline-primary:hover {
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
}

/* Filled Card Variant (About Page Values) */
.card-filled {
    background-color: var(--primary-color);
    color: #ffffff;
}

.card-filled .icon-box-lg {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.card-filled .card-body h3 {
    color: #ffffff !important;
}

.card-filled .card-body p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Service Card Enhanced (For Patients) */
.service-card-enhanced {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -webkit-transition: -webkit-transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-top: 4px solid transparent;
    border-radius: .5rem !important;
}

/* Feature Card V2 (Homepage) */
.feature-card-v2 {
    border: none;
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(30, 41, 59, 0.05);
}

.feature-card-v2:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(30, 41, 59, 0.1);
}

.feature-card-v2 .card-img-top {
    height: 200px;
    object-fit: cover;
}

.feature-card-v2 .icon-box-lg {
    position: absolute;
    bottom: -32px;
    right: 1.5rem;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

/* Difference Card (Homepage) */
.difference-card {
    background-color: white;
    border-radius: var(--bs-border-radius-lg);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.difference-card .icon-box-lg {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.difference-card:hover .icon-box-lg {
    transform: scale(1.1) rotate(-10deg);
    -webkit-transform: scale(1.1) rotate(-10deg);
    background-color: var(--primary-color);
    color: white;
}

/* Service Card V2 (Homepage) */
.service-card-v2 {
    border: 1px solid transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    -webkit-transition: border-color 0.3s ease, background-color 0.3s ease;
}

.service-card-v2:hover {
    border-color: var(--primary-color);
    background-color: white;
}

.service-card-v2 .icon-box-lg {
    background-color: white;
    border: 1px solid #e5e7eb;
}

/* Team Card V3 (About Page) */
.team-card-v3 {
    border: 1px solid #e5e7eb;
    border-radius: var(--bs-border-radius-lg);
    padding: 2rem 1.5rem;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-v3:hover {
    transform: translateY(-8px);
    -webkit-transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(30, 41, 59, 0.1);
}

.team-card-img-v3 {
    margin-bottom: 1.5rem;
}

.team-card-img-v3 img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.team-card-v3 .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f9ff;
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.team-card-v3 .social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Help Card (Download Forms) */
.help-card {
    background-color: #ffffff;
    border-radius: var(--bs-border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.help-card:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.help-card .icon-box-md {
    margin-bottom: 1rem;
}

.help-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-card p {
    font-size: 0.85rem;
    /* Explicitly small */
    color: #64748b;
}

/* ================================
   Components: Forms & Modals
   ================================ */
form div {
    margin-bottom: 0.5rem;
}

.form-label {
    margin-bottom: 0.25rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- Placeholder Behavior --- */
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
    color: transparent;
    transition: color 0.1s ease-out;
}

input:focus:-moz-placeholder,
textarea:focus:-moz-placeholder {
    /* Firefox 18- */
    color: transparent;
    transition: color 0.1s ease-out;
}

input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    /* Firefox 19+ */
    color: transparent;
    transition: color 0.1s ease-out;
}

input:focus:-ms-input-placeholder,
textarea:focus:-ms-input-placeholder {
    /* IE 10+ */
    color: transparent;
    transition: color 0.1s ease-out;
}

input:focus::placeholder,
textarea:focus::placeholder {
    /* Modern Browsers */
    color: transparent;
    transition: color 0.1s ease-out;
}

/* Modal */
.modal-content {
    border-radius: var(--bs-border-radius-lg);
    border: none;
}

.modal-header {
    border-bottom: none;
    padding: 2rem 2rem 1rem;
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

.modal-backdrop.show {
    --bs-backdrop-opacity: 0.7;
}

/* ================================
   Components: Accordion & Timeline
   ================================ */
/* Accordion */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.accordion-item {
    margin-bottom: 1rem;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

/* Timeline */
.timeline-zigzag {
    position: relative;
}

.timeline-zigzag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #e5e7eb;
    transform-origin: top;
    -webkit-transform-origin: top;
    transition: transform 0.8s ease-out;
    -webkit-transition: -webkit-transform 0.8s ease-out;
}

.timeline-zigzag.is-drawing::before {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
}

@media (min-width: 1200px) {
    .timeline-zigzag::before {
        left: 50%;
    }
}

.timeline-zigzag-item {
    position: relative;
}

.timeline-zigzag-item:not(:last-child) {
    margin-bottom: 3rem;
}

@media (min-width: 1200px) {
    .timeline-zigzag-item {
        width: 50%;
        padding-right: 3rem;
        margin-left: 0;
    }

    .timeline-zigzag-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 3rem;
        padding-right: 0;
    }
}

.timeline-zigzag-content {
    border: 1px solid #e5e7eb;
    border-radius: var(--bs-border-radius-lg);
    background-color: #fff;
}

.timeline-zigzag-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 1199.98px) {
    .timeline-zigzag-item {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .timeline-zigzag-content {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .timeline-zigzag-icon {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        z-index: 10;
    }

    .timeline-zigzag-item:nth-child(odd) .timeline-zigzag-icon {
        right: -32px;
    }

    .timeline-zigzag-item:nth-child(even) .timeline-zigzag-icon {
        left: -32px;
    }
}

/* ================================
   Components: Icon Boxes
   ================================ */
.icon-box-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.icon-box-md {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
}

.icon-box-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.icon-box-lg .material-symbols-outlined {
    font-size: 2rem;
}


/* ================================
   Page Specific: Careers
   ================================ */
.status-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.job-accordion {
    max-width: 800px;
    margin: auto;
}

.job-accordion-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    -webkit-transition: box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.job-accordion-item:hover:not(.disabled) {
    box-shadow: 0 8px 25px rgba(17, 147, 212, 0.1);
    border-color: rgba(17, 147, 212, 0.5);
}

.job-accordion-item.active {
    border-color: var(--primary-color);
}

.job-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    /* Prefix */
}

.job-accordion-item.disabled .job-accordion-header {
    cursor: not-allowed;
    background-color: #f8fafc;
    opacity: 0.75;
}

.job-accordion-item.disabled:hover {
    box-shadow: none;
    border-color: #e5e7eb;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #64748b;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-meta-item .material-symbols-outlined {
    font-size: 16px;
}

.job-status-badge {
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.status-open {
    color: #16a34a;
}

.status-hold {
    color: #d97706;
}

.status-soon {
    color: #0ea5e9;
}

.job-accordion-icon {
    transition: transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
}

.job-accordion-icon .material-symbols-outlined {
    font-size: 20px;
}

.job-accordion-item.active .job-accordion-icon {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.job-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    -webkit-transition: max-height 0.4s ease-out;
}

.job-accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    margin-top: -1px;
}

/* New Career List Item Styles */
.job-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    gap: 1rem;
    /* Add gap for wrapping */
}

.job-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.job-list-item .job-info {
    flex-grow: 1;
    /* Allow job info to take available space */
    margin-right: 1rem;
    /* Space before button */
}

@media (max-width: 575.98px) {
    .job-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-list-item .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Career Card Images */
.career-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* ================================
   Page Specific: Legal/Policy
   ================================ */
.legal-tabs {
    border-bottom: 1px solid #dee2e6;
}

.legal-tabs .nav-item {
    margin-bottom: -1px;
}

.legal-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 0.25rem;
    margin: 0 1rem;
}

.legal-tabs .nav-link:first-child {
    margin-left: 0;
}

.legal-tabs .nav-link.active {
    border-bottom-color: var(--primary-color);
    color: #212529;
    font-weight: 700;
}

.legal-tabs .nav-link:hover {
    border-bottom-color: #adb5bd;
}

.legal-content strong {
    font-weight: 600;
}

.legal-content section {
    padding-top: 120px;
    margin-top: -120px;
}

.scroll-target {
    scroll-margin-top: 120px;
}

.legal-sidebar-title {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: var(--bs-border-radius);
}

#legal-sidebar-nav .nav-link {
    font-size: 0.875rem;
    color: #64748b;
    padding: 0.5rem 1rem;
    border-left: 2px solid transparent;
}

#legal-sidebar-nav .nav-link:hover {
    color: #212529;
    background-color: #f8f9fa;
}

#legal-sidebar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
    background-color: transparent;
}

/* ================================
   Page Specific: How To Claim / Download Forms
   ================================ */
.doc-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--bs-border-radius);
    background-color: #fff;
    margin-bottom: 0.5rem;
}

.doc-list-item:last-child {
    margin-bottom: 0;
}

.doc-list-item .material-symbols-outlined {
    font-size: 20px;
    margin-top: 2px;
}

/* --- Rupee + Check Composite Icon --- */
.timeline-zigzag-icon .rupee-check-icon {
    position: relative;
    /* Establishes positioning context */
    display: inline-flex;
    /* Allows alignment */
    align-items: center;
    justify-content: center;
    line-height: 1;
    /* Helps with alignment consistency */
}

/* Style for the main Rupee icon */
.timeline-zigzag-icon .rupee-check-icon .rupee {
    font-size: 1.5rem;
    /* Base size, matches other timeline icons */
    line-height: 1;
}

/* Style and position the smaller checkmark icon */
.timeline-zigzag-icon .rupee-check-icon .check {
    position: absolute;
    /* Position relative to .rupee-check-icon */
    font-size: 0.9rem;
    /* Make checkmark smaller */
    font-weight: bold;
    /* Make it slightly bolder */
    top: -4px;
    /* Adjust vertical position (move up) */
    right: -6px;
    /* Adjust horizontal position (move right) */
    line-height: 1;
}

/* --- End Composite Icon Styles --- */

/* ================================
   Page Specific: Download Forms (Enhanced Styles)
   ================================ */
.page-download-forms .job-accordion-item .job-accordion-header h3 {
    font-size: 1.1rem;
}

/* Intro text block styling */
.download-form-intro {
    background-color: #f0f9ff !important;
    /* Light blue background */
    border-left-color: var(--primary-color) !important;
}

.download-form-intro ul {
    list-style-type: disc;
}

.download-form-intro strong {
    color: #1e293b;
}

.form-list-container {
    padding-top: 0.5rem;
    /* Reduced top padding */
}

/* Enhanced Form List Item Style */
.form-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    /* Increased padding */
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    /* Allow wrapping */
    gap: 0.75rem;
    transition: background-color 0.2s ease-in-out;
    /* Add hover effect */
    margin-left: -1.5rem;
    /* Offset padding from parent */
    margin-right: -1.5rem;
    /* Offset padding from parent */
}

/* Apply padding offset only within the accordion content */
.job-accordion-content>.form-list-container>.form-list-item {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


.form-list-item:hover {
    background-color: #f8fafc;
    /* Subtle background on hover */
}

.form-list-item:first-child {
    border-top: 1px solid #e5e7eb;
    /* Add top border for first item */
}

.form-list-item:last-child {
    border-bottom: none;
    padding-bottom: 1rem;
    /* Ensure consistent padding */
}

.form-list-item .form-label-text {
    flex-grow: 1;
    margin-right: 1rem;
    font-size: 0.9rem;
    color: #1e293b;
    /* Darker text */
    font-weight: 500;
}

/* Download Link Style (replaces button) */
.form-list-item .form-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    /* Minimal padding */
    transition: color 0.2s ease;
}

.form-list-item .form-download-link:hover {
    color: #0e7bb0;
    /* Darker primary on hover */
    text-decoration: underline;
}

.form-list-item .form-download-link .material-symbols-outlined {
    font-size: 18px;
    /* Adjust icon size */
    margin-right: 0.1rem;
    /* Fine-tune icon spacing */
}

/* Enhanced Pagination Style */
.pagination-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    /* Increased top padding */
    border-top: 1px solid #e5e7eb;
}

.pagination-container .pagination {
    margin-bottom: 0;
    justify-content: center;
}

/* Override Bootstrap Pagination Colors */
.pagination .page-item .page-link {
    color: var(--primary-color);
    /* Link color */
    border-color: #dee2e6;
    transition: all 0.2s ease-in-out;
    border-radius: 0.3rem;
    /* Slightly rounded corners */
    margin: 0 0.15rem;
    /* Add small horizontal spacing */
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 0.3rem;
    /* Ensure consistent rounding */
}

.pagination .page-item .page-link:hover {
    background-color: #e0f2fe;
    /* Lighter primary background on hover */
    color: #0c6a9e;
    /* Darker primary text on hover */
    border-color: #aeddf4;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    /* Primary background for active */
    border-color: var(--primary-color);
    color: white;
    /* White text for active */
    z-index: 3;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    /* Lighter color for disabled */
    background-color: #f8fafc;
    border-color: #dee2e6;
}


/* Responsive adjustments */
@media (max-width: 575.98px) {
    .form-list-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 1rem;
        /* Adjust padding for mobile */
        padding-right: 1rem;
    }

    /* Make link take full width on mobile if desired */
    /* .form-list-item .form-download-link {
        width: 100%;
        margin-top: 0.75rem;
        justify-content: center;
        padding: 0.5rem;
    } */
    .pagination-container .pagination {
        justify-content: center;
        /* Ensure centering */
    }
}

/* --- Ensure accordion content padding is adjusted --- */
.page-download-forms .job-accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    /* Remove top padding */
}


/* ================================
   Redesigned Sections (Homepage, etc.)
   ================================ */

/* Expertise Section */
.expertise-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(17, 147, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.expertise-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.expertise-section-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    display: block;
    /* Ensure img behaves like a block element */
}

.expertise-image-wrapper:hover .expertise-section-image {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.expertise-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.expertise-list-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.expertise-list-item:hover {
    transform: translateX(10px);
    -webkit-transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(17, 147, 212, 0.15);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #0e7bb0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expertise-icon .material-symbols-outlined {
    color: white;
    font-size: 24px;
}

/* Difference Section */
.difference-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.difference-card-redesign {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.difference-card-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0e7bb0);
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform-origin: left;
    -webkit-transform-origin: left;
    transition: transform 0.4s ease;
    -webkit-transition: -webkit-transform 0.4s ease;
}

.difference-card-redesign:hover {
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(17, 147, 212, 0.2);
    border-color: var(--primary-color);
}

.difference-card-redesign:hover::before {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
}

.difference-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(17, 147, 212, 0.1), rgba(17, 147, 212, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
}

.difference-card-redesign:hover .difference-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), #0e7bb0);
    transform: rotate(-10deg) scale(1.1);
    -webkit-transform: rotate(-10deg) scale(1.1);
}

.difference-icon-wrapper .material-symbols-outlined {
    font-size: 40px;
    color: var(--primary-color);
    transition: color 0.4s ease;
    -webkit-transition: color 0.4s ease;
}

.difference-card-redesign:hover .difference-icon-wrapper .material-symbols-outlined {
    color: white;
}

.difference-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(17, 147, 212, 0.08);
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
}

.difference-card-redesign:hover .difference-number {
    color: rgba(17, 147, 212, 0.15);
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}

/* Solutions Section */
.solutions-section {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.solutions-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.solution-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
    pointer-events: auto;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 147, 212, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    -webkit-transition: opacity 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    -webkit-transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(17, 147, 212, 0.1);
}

.solution-icon-large {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), #0e7bb0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(17, 147, 212, 0.3);
}

.solution-icon-large .material-symbols-outlined {
    color: white;
    font-size: 32px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.solution-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(17, 147, 212, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    pointer-events: none;
}

.solution-feature-item * {
    pointer-events: none;
}

.solution-feature-item:hover {
    background: rgba(17, 147, 212, 0.1);
    transform: translateX(8px);
    -webkit-transform: translateX(8px);
}

.solution-feature-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.solution-feature-icon .material-symbols-outlined {
    color: var(--primary-color);
    font-size: 20px;
}

.solution-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(17, 147, 212, 0.1);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.solution-cta .btn {
    width: 100%;
    padding: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    z-index: 11;
}

.solution-cta .btn:hover {
    transform: scale(1.02);
    -webkit-transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(17, 147, 212, 0.3);
}

/* ================================
   Utilities
   ================================ */
/* Section Spacing */
.section-spacing {
    padding: 3.5rem 0;
}

.section-spacing-lg {
    padding: 5rem 0;
}

@media (max-width: 767.98px) {
    .section-spacing {
        padding: 2.5rem 0;
    }

    .section-spacing-lg {
        padding: 3.5rem 0;
    }

    .hero-section {
        padding-top: 140px;
        padding-bottom: 100px;
    }
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-white-85 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
}

/* Max Width */
.max-width-40 {
    max-width: 40rem !important;
}

.max-width-48 {
    max-width: 48rem !important;
}

.max-width-52 {
    max-width: 52rem !important;
}

.max-width-56 {
    max-width: 56rem !important;
}

.max-width-64 {
    max-width: 64rem !important;
}

/* Misc */
.hero-form-bg {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-size-20 {
    font-size: 20px !important;
}

.testimonial-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-rating {
    font-size: 1.1rem;
}

/* Row Equal Height */
.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

.row-eq-height>[class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row-eq-height>[class*='col-'] .card {
    flex-grow: 1;
}

/* Space Between */
.space-y-12>*+* {
    margin-top: 3rem;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    -webkit-transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    -webkit-transition: opacity 0.6s ease-out, -webkit-transform 0.6s ease-out;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
}

.fab-btn:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    color: white;
}

.fab-whatsapp {
    background-color: #25D366;
}

.fab-call {
    background-color: var(--primary-color);
}

.fab-btn .material-symbols-outlined {
    font-size: 28px;
}

/* Back to Top button */
.back-to-top-btn {
    width: 48px;
    height: 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn .material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
}

/* Responsive Adjustments for Redesigned Sections */
@media (max-width: 991.98px) {
    .expertise-image-wrapper .expertise-section-image {
        height: 350px;
    }

    .difference-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        padding: 2rem;
    }
}

/* Welcome Modal Title Enhancement */
.welcome-modal-title {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

@-webkit-keyframes shake-hand {

    0%,
    100% {
        -webkit-transform: rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: rotate(10deg);
    }

    20%,
    40%,
    60%,
    80% {
        -webkit-transform: rotate(-10deg);
    }
}

@keyframes shake-hand {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: rotate(10deg);
    }

    20%,
    40%,
    60%,
    80% {
        transform: rotate(-10deg);
    }
}

.welcome-hand-icon {
    font-size: 1.4em;
    color: #ffc107;
    display: inline-block;
    animation-name: shake-hand;
    -webkit-animation-name: shake-hand;
    animation-duration: 2.5s;
    -webkit-animation-duration: 2.5s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    transform-origin: bottom center;
    -webkit-transform-origin: bottom center;
}

#welcomeModal .modal-header {
    justify-content: center;
}


/* ========================================
   OPTIMIZED BACKGROUND IMAGES - HERO ONLY
   ======================================== */
/* --- HERO IMAGE BACKGROUNDS --- */
/* Default (Mobile-first) */
.page-home .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/home-small-1x.webp') 1x, url('/assets/images/hero/home-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/home-small-1x.webp') 1x, url('/assets/images/hero/home-small-2x.webp') 2x);
}

.page-about .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/about-small-1x.webp') 1x, url('/assets/images/hero/about-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/about-small-1x.webp') 1x, url('/assets/images/hero/about-small-2x.webp') 2x);
    background-position: bottom;
}

.page-careers .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/work-small-1x.webp') 1x, url('/assets/images/hero/work-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/work-small-1x.webp') 1x, url('/assets/images/hero/work-small-2x.webp') 2x);
}

.page-contact .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/contact-small-1x.webp') 1x, url('/assets/images/hero/contact-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/contact-small-1x.webp') 1x, url('/assets/images/hero/contact-small-2x.webp') 2x);
}

.page-download-forms .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/forms-small-1x.webp') 1x, url('/assets/images/hero/forms-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/forms-small-1x.webp') 1x, url('/assets/images/hero/forms-small-2x.webp') 2x);
}

.page-faqs .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/faqs-small-1x.webp') 1x, url('/assets/images/hero/faqs-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/faqs-small-1x.webp') 1x, url('/assets/images/hero/faqs-small-2x.webp') 2x);
}

.page-for-hospitals .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/hospital-small-1x.webp') 1x, url('/assets/images/hero/hospital-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/hospital-small-1x.webp') 1x, url('/assets/images/hero/hospital-small-2x.webp') 2x);
}

.page-for-patients .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/patients-small-1x.webp') 1x, url('/assets/images/hero/patients-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/patients-small-1x.webp') 1x, url('/assets/images/hero/patients-small-2x.webp') 2x);
}

.page-how-to-claim .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/claim-small-1x.webp') 1x, url('/assets/images/hero/claim-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/claim-small-1x.webp') 1x, url('/assets/images/hero/claim-small-2x.webp') 2x);
}

.page-privacy-policy .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/policy-small-1x.webp') 1x, url('/assets/images/hero/policy-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/policy-small-1x.webp') 1x, url('/assets/images/hero/policy-small-2x.webp') 2x);
}

.page-grievance .hero-section {
    background-image: -webkit-image-set(url('/assets/images/hero/grievance-small-1x.webp') 1x, url('/assets/images/hero/grievance-small-2x.webp') 2x);
    background-image: image-set(url('/assets/images/hero/grievance-small-1x.webp') 1x, url('/assets/images/hero/grievance-small-2x.webp') 2x);
}

/* Medium screens (Tablets) */
@media (min-width: 768px) {
    .page-home .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/home-medium-1x.webp') 1x, url('/assets/images/hero/home-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/home-medium-1x.webp') 1x, url('/assets/images/hero/home-medium-2x.webp') 2x);
    }

    .page-about .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/about-medium-1x.webp') 1x, url('/assets/images/hero/about-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/about-medium-1x.webp') 1x, url('/assets/images/hero/about-medium-2x.webp') 2x);
    }

    .page-careers .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/work-medium-1x.webp') 1x, url('/assets/images/hero/work-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/work-medium-1x.webp') 1x, url('/assets/images/hero/work-medium-2x.webp') 2x);
    }

    .page-contact .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/contact-medium-1x.webp') 1x, url('/assets/images/hero/contact-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/contact-medium-1x.webp') 1x, url('/assets/images/hero/contact-medium-2x.webp') 2x);
    }

    .page-download-forms .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/forms-medium-1x.webp') 1x, url('/assets/images/hero/forms-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/forms-medium-1x.webp') 1x, url('/assets/images/hero/forms-medium-2x.webp') 2x);
    }

    .page-faqs .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/faqs-medium-1x.webp') 1x, url('/assets/images/hero/faqs-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/faqs-medium-1x.webp') 1x, url('/assets/images/hero/faqs-medium-2x.webp') 2x);
    }

    .page-for-hospitals .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/hospital-medium-1x.webp') 1x, url('/assets/images/hero/hospital-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/hospital-medium-1x.webp') 1x, url('/assets/images/hero/hospital-medium-2x.webp') 2x);
    }

    .page-for-patients .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/patients-medium-1x.webp') 1x, url('/assets/images/hero/patients-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/patients-medium-1x.webp') 1x, url('/assets/images/hero/patients-medium-2x.webp') 2x);
    }

    .page-how-to-claim .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/claim-medium-1x.webp') 1x, url('/assets/images/hero/claim-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/claim-medium-1x.webp') 1x, url('/assets/images/hero/claim-medium-2x.webp') 2x);
    }

    .page-privacy-policy .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/policy-medium-1x.webp') 1x, url('/assets/images/hero/policy-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/policy-medium-1x.webp') 1x, url('/assets/images/hero/policy-medium-2x.webp') 2x);
    }

    .page-grievance .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/grievance-medium-1x.webp') 1x, url('/assets/images/hero/grievance-medium-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/grievance-medium-1x.webp') 1x, url('/assets/images/hero/grievance-medium-2x.webp') 2x);
    }
}

/* Large screens (Desktops) */
@media (min-width: 1200px) {
    .page-home .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/home-large-1x.webp') 1x, url('/assets/images/hero/home-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/home-large-1x.webp') 1x, url('/assets/images/hero/home-large-2x.webp') 2x);
    }

    .page-about .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/about-large-1x.webp') 1x, url('/assets/images/hero/about-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/about-large-1x.webp') 1x, url('/assets/images/hero/about-large-2x.webp') 2x);
    }

    .page-careers .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/work-large-1x.webp') 1x, url('/assets/images/hero/work-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/work-large-1x.webp') 1x, url('/assets/images/hero/work-large-2x.webp') 2x);
    }

    .page-contact .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/contact-large-1x.webp') 1x, url('/assets/images/hero/contact-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/contact-large-1x.webp') 1x, url('/assets/images/hero/contact-large-2x.webp') 2x);
    }

    .page-download-forms .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/forms-large-1x.webp') 1x, url('/assets/images/hero/forms-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/forms-large-1x.webp') 1x, url('/assets/images/hero/forms-large-2x.webp') 2x);
    }

    .page-faqs .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/faqs-large-1x.webp') 1x, url('/assets/images/hero/faqs-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/faqs-large-1x.webp') 1x, url('/assets/images/hero/faqs-large-2x.webp') 2x);
    }

    .page-for-hospitals .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/hospital-large-1x.webp') 1x, url('/assets/images/hero/hospital-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/hospital-large-1x.webp') 1x, url('/assets/images/hero/hospital-large-2x.webp') 2x);
    }

    .page-for-patients .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/patients-large-1x.webp') 1x, url('/assets/images/hero/patients-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/patients-large-1x.webp') 1x, url('/assets/images/hero/patients-large-2x.webp') 2x);
    }

    .page-how-to-claim .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/claim-large-1x.webp') 1x, url('/assets/images/hero/claim-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/claim-large-1x.webp') 1x, url('/assets/images/hero/claim-large-2x.webp') 2x);
    }

    .page-privacy-policy .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/policy-large-1x.webp') 1x, url('/assets/images/hero/policy-large-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/policy-large-1x.webp') 1x, url('/assets/images/hero/policy-large-2x.webp') 2x);
    }

    .page-grievance .hero-section {
        background-image: -webkit-image-set(url('/assets/images/hero/grievance-1x.webp') 1x, url('/assets/images/hero/grievance-2x.webp') 2x);
        background-image: image-set(url('/assets/images/hero/grievance-1x.webp') 1x, url('/assets/images/hero/grievance-2x.webp') 2x);
    }
}

/* ================================
   Page Specific: Download Forms (Enhanced Styles)
   ================================ */
/* Style for the introductory alert box */
.download-forms-intro {
    background-color: #e0f2fe;
    /* Light primary background */
    border-left: 5px solid var(--primary-color);
    color: #0c5464;
    /* Darker text for readability */
    margin-bottom: 2.5rem;
    /* Space below the intro */
    font-size: 0.9rem;
    padding: 1.25rem 1.5rem;
    /* Added padding */
    border-radius: var(--bs-border-radius);
    /* Added border radius */
}

.download-forms-intro strong {
    color: #0a4a58;
}

.download-forms-intro a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    /* Removed default underline */
}

.download-forms-intro a:hover {
    color: #0e7bb0;
    text-decoration: underline;
    /* Add underline on hover */
}

.download-forms-intro .material-symbols-outlined {
    font-size: 1.1em;
    vertical-align: text-bottom;
    margin-right: 0.2rem;
    color: #16a34a;
    /* Green checkmark */
}

.download-forms-intro h4 .material-symbols-outlined {
    color: #f59e0b;
    /* Amber/Yellow lightbulb */
    vertical-align: middle;
    /* Align better with heading */
}


.page-download-forms .job-accordion-item .job-accordion-header h3 {
    font-size: 1.1rem;
}

.form-list-container {
    padding-top: 0.5rem;
}

/* Updated Form List Item Style */
.form-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease-in-out;
    margin-left: -1.5rem;
    /* Offset padding from parent */
    margin-right: -1.5rem;
}

.job-accordion-content>.form-list-container>.form-list-item {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.form-list-item:hover {
    background-color: #f8fafc;
}

.form-list-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.form-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0.9rem;
}

/* Style for the form name link */
.form-list-item .form-download-link {
    flex-grow: 1;
    margin-right: 1rem;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.form-list-item .form-download-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-list-item .form-download-link .material-symbols-outlined {
    font-size: 20px;
    color: #94a3b8;
    /* Lighter color for the PDF icon */
    flex-shrink: 0;
}


/* Enhanced Pagination Style (Remains the same) */
.pagination-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.pagination-container .pagination {
    margin-bottom: 0;
    justify-content: center;
}

.pagination .page-item .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
    transition: all 0.2s ease-in-out;
}

.pagination .page-item .page-link:hover {
    background-color: #e0f2fe;
    color: #0c6a9e;
    border-color: #aeddf4;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    z-index: 3;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8fafc;
    border-color: #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .download-forms-intro {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .form-list-item {
        padding-left: 1rem;
        padding-right: 1rem;
        align-items: flex-start;
        /* Align link to start */
    }

    .form-list-item .form-download-link {
        margin-right: 0;
    }
}

.page-download-forms .job-accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* --- Rupee + Check Composite Icon --- */
/* (Keep this from previous step if still needed for how-to-claim) */
.timeline-zigzag-icon .rupee-check-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.timeline-zigzag-icon .rupee-check-icon .rupee {
    font-size: 1.5rem;
    line-height: 1;
}

.timeline-zigzag-icon .rupee-check-icon .check {
    position: absolute;
    font-size: 0.9rem;
    font-weight: bold;
    top: 10px;
    right: -6px;
    line-height: 1;
}

/* ===== PHP Email Form Feedback ===== */
.php-email-form .error-message,
.php-email-form .sent-message {
    display: none;
    padding: 15px;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--bs-border-radius);
}

.php-email-form .error-message {
    color: #fff;
    background: #dc3545;
}

.php-email-form .sent-message {
    color: #fff;
    background: #198754;
}

.hero-form-bg .php-email-form .error-message,
.hero-form-bg .php-email-form .sent-message {
    color: #fff;
}

.hero-form-bg .php-email-form .error-message {
    background: rgba(220, 53, 69, 0.85);
}

.hero-form-bg .php-email-form .sent-message {
    background: rgba(25, 135, 84, 0.85);
}

.php-email-form button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===== End Additions ===== */

/* ===== Additions for Download Forms Page Icons ===== */

.form-list-item .form-download-link .material-symbols-outlined {
    /* Apply fill and primary color by default */
    font-variation-settings: 'FILL' 1;
    color: var(--primary-color);
    transition: color 0.2s ease-in-out;
    /* Optional: smooth transition */
}

/* Ensure hover primarily affects text underline/color */
.form-list-item .form-download-link:hover .material-symbols-outlined {
    color: var(--primary-color);
    /* Keep primary color on hover */
    /* Or use a slightly darker shade if preferred: color: #0e7bb0; */
}

.form-list-item .form-download-link:hover {
    color: #0e7bb0;
    /* Darker primary text on hover */
    text-decoration: underline;
}


/* ===== End Additions ===== */

/* === ADD CSS FOR RUPEE-CHECK ICON in Icon Box === */
/* Composite Rupee Check Icon (inside icon-box-sm) */
.icon-box-sm .rupee-check-icon {
    position: relative;
    /* Context for absolute positioning of check */
    display: inline-flex;
    /* Align items nicely */
    align-items: center;
    justify-content: center;
    line-height: 1;
    /* Prevent extra space */
    color: var(--primary-color);
    /* Icon color matches box color */
    left: -1px;
}

/* Base Rupee icon style */
.icon-box-sm .rupee-check-icon .rupee {
    font-size: 1.125rem;
    /* ~18px, adjust as needed */
    line-height: 1;
}

/* Checkmark style and positioning */
.icon-box-sm .rupee-check-icon .check {
    position: absolute;
    font-size: 0.7rem;
    /* ~11px, adjust size */
    font-weight: bold;
    /* Make checkmark stand out */
    top: 5px;
    /* Adjust vertical position */
    right: -3px;
    /* Adjust horizontal position */
    line-height: 1;
    /* Match background color of the icon box for seamless overlap */
    /* background-color: rgba(var(--bs-primary-rgb), 0.1); */
    /* Assumes icon-box-sm background */
    /* border-radius: 50%; */
    /* Make its background circular */
    padding: 1px;
    /* Tiny padding if needed */
}

/* === END ADDED CSS === */