:root {
    --heritage-orange: #FF4500;
    --deep-navy: #0F172A;
    --slate-navy: #0F172A;
    --primary-navy: #0F172A;
    --slate-charcoal: #334155;
    --ice-white: #F8FAFC;
    --surface-container-low: #f6f3f5;
    --outline-variant: #e4e2e4;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--slate-charcoal);
    background-color: var(--ice-white);
}

/* Prevent g-5 / gx-5 rows from causing horizontal scroll on small screens.
   Bootstrap containers pad by ~0.75rem; g-5 pulls the row by -1.5rem each side. */
@media (max-width: 991.98px) {

    .g-5,
    .gx-5 {
        --bs-gutter-x: 1.5rem;
    }
}

@media (max-width: 575.98px) {

    .g-5,
    .gx-5 {
        --bs-gutter-x: 1rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 600;
}

.text-heritage-orange {
    color: var(--heritage-orange) !important;
}

.bg-heritage-orange {
    background-color: var(--heritage-orange) !important;
}

.bg-deep-navy {
    background-color: var(--deep-navy) !important;
}

.text-ice-white {
    color: var(--ice-white) !important;
}

.text-deep-navy {
    color: var(--deep-navy) !important;
}

.text-slate-charcoal {
    color: var(--slate-charcoal) !important;
}

.text-slate-navy {
    color: var(--slate-navy) !important;
}

.bg-slate-navy {
    background-color: var(--slate-navy) !important;
}

.headline-font {
    font-family: 'Hanken Grotesk', sans-serif;
}

.material-symbols-outlined {
    vertical-align: middle;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-header {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1030;
}

/* Buttons — match solutions.php CTA size (px-4 py-3, weight 700, 1rem) */
.btn:not(.btn-sm):not(.btn-link):not(.btn-close):not(.carousel-nav-btn):not(.product-filter-btn):not(.btn-filter):not(.nav-contact-btn) {
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 1.5;
    padding: 0.75rem 1rem !important;
    /* same as .px-4.py-3 on solutions */
}

.btn.btn-sm {
    font-size: 0.875rem !important;
    font-weight: 700;
    line-height: 1.5;
    padding: 0.375rem 0.75rem !important;
}

.btn-primary,
.btn-heritage,
.btn-heritage-orange,
.btn-orange {
    background-color: var(--heritage-orange);
    border-color: var(--heritage-orange);
    color: white;
}

.btn-primary:hover,
.btn-heritage:hover,
.btn-heritage-orange:hover,
.btn-orange:hover {
    background-color: #e63e00;
    border-color: #e63e00;
    color: white;
}

.btn-outline-light,
.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover,
.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-navy,
.btn-dark-navy {
    background-color: var(--deep-navy);
    color: white;
    border: none;
}

.btn-navy:hover,
.btn-dark-navy:hover {
    background-color: #1a2744;
    color: white;
}

.btn-outline-heritage {
    border: 2px solid var(--heritage-orange);
    color: var(--heritage-orange);
    background: transparent;
}

.btn-outline-heritage:hover {
    background-color: var(--heritage-orange);
    color: white;
}

.navbar {
    background: transparent;
    min-height: 72px;
}

.navbar .nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-charcoal);
    padding: 0.55rem 0.75rem !important;
}

.navbar .nav-link:hover {
    color: var(--heritage-orange);
}

.navbar .nav-link.active {
    color: var(--heritage-orange) !important;
    border-bottom: 2px solid var(--heritage-orange);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-contact-btn {
    padding: 0.55rem 1.25rem !important;
    font-size: 0.875rem !important;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .navbar .navbar-collapse {
        background: #fff;
        border: 1px solid #E2E8F0;
        border-radius: 0.75rem;
        margin-top: 0.75rem;
        padding: 0.5rem 1rem 1rem;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    }

    .navbar .nav-link {
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid #F1F5F9;
    }

    .navbar .nav-link.active {
        border-bottom-color: #F1F5F9;
        color: var(--heritage-orange) !important;
    }

    .navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .nav-contact-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        padding: 0.75rem 1.25rem !important;
    }
}

@media (min-width: 1200px) {
    .navbar {
        min-height: 80px;
    }

    .navbar .nav-link {
        padding: 0.5rem 0.65rem !important;
    }
}

.enterprise-card {
    background: white;
    border: 1px solid #E2E8F0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.125rem;
    height: 100%;
}

.enterprise-card:hover {
    box-shadow: 0px 4px 20px rgba(15, 23, 42, 0.08);
    border-top: 4px solid var(--heritage-orange);
    transform: translateY(-4px);
}

.hero-section {
    background-color: var(--deep-navy);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hero-mesh {
    background-color: var(--deep-navy);
    background-image:
        radial-gradient(at 0% 0%, rgba(255, 69, 0, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.8) 0px, transparent 50%);
    padding: 100px 0;
    color: white;
}

.hero-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 100px 0;
    color: white;
}

.hero-pattern {
    background-color: var(--slate-navy);
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 107, 24, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    padding: 100px 0;
    color: white;
}

.section-padding {
    padding: 80px 0;
}

.border-left-brand {
    border-left: 4px solid var(--heritage-orange);
}

.border-left-navy {
    border-left: 4px solid var(--deep-navy);
}

.border-left-charcoal {
    border-left: 4px solid var(--slate-charcoal);
}

.grid-icon-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: background 0.3s;
}

.grid-icon-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.placeholder-white::placeholder {
    color: white;
    opacity: 1;
}

/* Custom Carousel Styles */
.custom-carousel {
    position: relative;
    overflow: hidden;
    background-color: var(--deep-navy);
    width: 100%;
}

.carousel-track-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.custom-carousel .hero-section {
    min-height: 0;
    padding: 72px 0 96px;
    display: block;
}

.custom-carousel .hero-section .container-xl {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 69, 0, 0.25);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-nav-btn:hover,
.carousel-nav-btn:focus-visible {
    background: var(--heritage-orange);
    outline: none;
}

.carousel-nav-prev {
    left: 12px;
}

.carousel-nav-next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--heritage-orange);
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 991.98px) {
    .custom-carousel .hero-section {
        padding: 48px 0 80px;
    }

    .custom-carousel .hero-section .container-xl {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .custom-carousel .display-4 {
        font-size: clamp(1.65rem, 6vw, 2.15rem);
        margin-bottom: 1rem !important;
    }

    .custom-carousel .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-nav-prev {
        left: 8px;
    }

    .carousel-nav-next {
        right: 8px;
    }
}

@media (max-width: 575.98px) {
    .custom-carousel .hero-section {
        padding: 40px 0 72px;
        text-align: center;
    }

    .custom-carousel .hero-section .container-xl {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .custom-carousel .d-flex.flex-wrap {
        justify-content: center;
    }

    .carousel-nav-btn {
        display: none;
    }

    .carousel-dots {
        bottom: 14px;
    }
}

/* Saral Billing spotlight */
.saral-spotlight-img {
    max-height: 420px;
    object-fit: contain;
}

/* TallyCloud + Academy bento */
.bento-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bento-grid {
        grid-template-columns: 1.25fr 0.95fr 0.95fr;
        grid-template-rows: repeat(2, 1fr);
        align-items: stretch;
    }

    .bento-cell-cloud-text {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .bento-cell-img-tall {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .bento-cell-img-tall img {
        object-position: top center !important;
    }

    .bento-cell-offer {
        grid-column: 3;
        grid-row: 1;
        aspect-ratio: 1 / 1;
    }

    .bento-cell-green {
        grid-column: 3;
        grid-row: 2;
        aspect-ratio: 1 / 1;
    }
}

.bento-cell {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.bento-cell:hover {
    border-color: rgba(255, 107, 0, 0.5);
}

.bento-cell a {
    display: block;
    width: 100%;
    height: 100%;
}

.bento-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.bento-cell a:hover img {
    transform: scale(1.02);
}

.bento-cell a:hover img {
    transform: scale(1.03);
}

.bento-cell-img {
    min-height: 180px;
}

.bento-cell-img-tall {
    min-height: 320px;
}

.bento-more-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 180px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    background: var(--heritage-orange);
    text-align: center;
    transition: opacity 0.3s;
    height: 100%;
}

.bento-more-link:hover {
    opacity: 0.92;
    color: white;
}

.bento-more-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Social widgets */
.social-widget {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 0.125rem;
    padding: 1.5rem;
    height: 100%;
}

.social-widget h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.twitter-card-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.twitter-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1DA1F2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.twitter-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1DA1F2;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.125rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.75rem;
    transition: opacity 0.3s;
}

.twitter-follow-btn:hover {
    opacity: 0.9;
    color: white;
}

.fb-embed-wrap {
    border-radius: 0.125rem;
    overflow: hidden;
    min-height: 400px;
}

.fb-embed-wrap iframe {
    width: 100%;
    border: none;
}

.product-card-subtitle {
    font-size: 0.75rem;
    color: var(--heritage-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-img {
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--heritage-orange);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--deep-navy);
}

.badge-enterprise {
    background: rgba(255, 69, 0, 0.1);
    color: var(--heritage-orange);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.section-accent {
    width: 48px;
    height: 4px;
    background-color: var(--heritage-orange);
    margin-right: 16px;
}

.stat-box {
    background-color: var(--ice-white);
    padding: 1rem;
    border-radius: 0.25rem;
    text-align: center;
}

/* Products page */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.product-filter-btn {
    background: white;
    border: 1px solid #E2E8F0;
    color: var(--slate-charcoal);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.125rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-filter-btn:hover,
.product-filter-btn.active {
    background: var(--heritage-orange);
    border-color: var(--heritage-orange);
    color: white;
}

.product-catalog-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 0.125rem;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.product-catalog-card:hover {
    box-shadow: 0px 4px 20px rgba(15, 23, 42, 0.08);
    border-top: 4px solid var(--heritage-orange);
    transform: translateY(-4px);
}

.product-catalog-card-img {
    height: 200px;
    background: var(--surface-container-low);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.product-catalog-card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-catalog-card-body {
    padding: 1.25rem;
}

.product-modal .modal-content {
    border: none;
    border-radius: 0.25rem;
    overflow: hidden;
}

.product-modal .modal-header {
    background: var(--deep-navy);
    color: white;
    border: none;
    padding: 1.25rem 1.5rem;
}

.product-modal .modal-header .btn-close {
    filter: invert(1);
}

.product-modal .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.product-modal-feature-list li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
}

.product-modal-stat {
    background: var(--surface-container-low);
    padding: 1rem;
    text-align: center;
    border-radius: 0.125rem;
    height: 100%;
}

.product-modal-stat .value {
    color: var(--heritage-orange);
    font-size: 1.5rem;
    font-weight: 800;
}

.product-modal-stat .label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--slate-charcoal);
}

.product-catalog-col.is-hidden {
    display: none;
}

.product-modal .modal-dialog {
    max-width: 900px;
}

.product-modal-xl .modal-dialog {
    max-width: 1140px;
}

.product-modal-intro {
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.product-modal-intro img {
    max-width: 160px;
    float: left;
    margin: 0 1rem 0.5rem 0;
}

.product-download-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--surface-container-low);
    border-radius: 0.125rem;
    margin-top: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--deep-navy);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 0.125rem;
    text-decoration: none;
    transition: opacity 0.25s;
}

.btn-download:hover {
    color: white;
    opacity: 0.88;
}

.btn-download-outline {
    background: white;
    color: var(--deep-navy);
    border: 1px solid #E2E8F0;
}

.btn-download-outline:hover {
    color: var(--heritage-orange);
    border-color: var(--heritage-orange);
}

.product-accordion .accordion-button {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1rem;
    color: var(--deep-navy);
}

.product-accordion .accordion-button:not(.collapsed) {
    background: rgba(255, 69, 0, 0.06);
    color: var(--heritage-orange);
    box-shadow: none;
}

.product-accordion .accordion-body {
    font-size: 0.875rem;
    color: var(--slate-charcoal);
}

.product-accordion .accordion-body ul {
    margin-bottom: 0;
    padding-left: 1.1rem;
}

.product-accordion .accordion-body li {
    margin-bottom: 0.35rem;
}

.product-spec-table {
    width: 100%;
    font-size: 0.85rem;
}

.product-spec-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: top;
}

.product-spec-table td:first-child {
    font-weight: 600;
    width: 35%;
    color: var(--deep-navy);
}

.product-item-card {
    border: 1px solid #E2E8F0;
    border-radius: 0.125rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
}

.product-item-card img {
    max-width: 120px;
    float: right;
    margin-left: 1rem;
}

@media (max-width: 575.98px) {
    .product-item-card img {
        float: none;
        display: block;
        margin: 0 auto 1rem;
        max-width: 160px;
    }
}

.product-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .product-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.product-addon-item {
    border-left: 3px solid var(--heritage-orange);
    padding: 0.75rem 1rem;
    background: var(--surface-container-low);
    margin-bottom: 0.75rem;
    border-radius: 0 0.125rem 0.125rem 0;
}

.product-addon-item h6 {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.product-erp-diagram {
    max-width: 100%;
    border-radius: 0.125rem;
    margin: 1rem 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--heritage-orange);
}

.subtle-grid {
    background-image: radial-gradient(#cbd5e1 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

/* Content tabs — product modals, solutions, etc. */
.nav-tabs {
    border-bottom: 2px solid #E2E8F0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
    gap: 0.125rem;
    padding: 0.625rem 0.75rem 0;
    margin-bottom: 0;
}

.nav-tabs::-webkit-scrollbar {
    height: 5px;
}

.nav-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.nav-tabs::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 99px;
}

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

.nav-tabs .nav-link {
    color: var(--slate-charcoal) !important;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.4;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0.125rem 0.125rem 0 0;
    white-space: nowrap;
    padding: 0.75rem 1.25rem !important;
    margin-bottom: -2px;
    background: transparent !important;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-tabs .nav-link:hover {
    color: var(--heritage-orange) !important;
    background: rgba(255, 69, 0, 0.04) !important;
    border-bottom-color: rgba(255, 69, 0, 0.25) !important;
}

.nav-tabs .nav-link.active {
    color: var(--heritage-orange) !important;
    border-bottom-color: var(--heritage-orange) !important;
    background: rgba(255, 69, 0, 0.06) !important;
}

.badge-brand {
    background: rgba(255, 69, 0, 0.1);
    color: var(--heritage-orange);
    border: 1px solid rgba(255, 69, 0, 0.2);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 12px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    background: var(--surface-container);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.industry-card {
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--heritage-orange);
    transform: translateY(-5px);
}

.industry-card .material-symbols-outlined {
    font-size: 48px;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

footer {
    background-color: var(--deep-navy);
    color: var(--ice-white);
    padding-top: 80px;
}

.cta-box {
    background-color: var(--deep-navy);
    border-radius: 2rem;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.text-orange {
    color: var(--heritage-orange);
}

.text-navy {
    color: var(--deep-navy) !important;
}

.bg-navy {
    background-color: var(--deep-navy);
}

.solutions-tab-content img {
    max-width: 100%;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.solutions-service-list li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.solutions-service-list li small {
    color: var(--slate-charcoal);
    opacity: 0.85;
}

.solutions-tabs-wrap .nav-tabs {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .solutions-tabs-wrap .nav-tabs {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Solutions — customization bento grid */
.solutions-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 768px) {
    .solutions-bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.solutions-bento-grid .enterprise-card,
.solutions-bento-grid .bg-navy {
    height: auto;
}

.solutions-custom-section {
    padding-bottom: 6rem;
}

/* Solutions — Team CNC */
.solutions-team-figure {
    margin: 0 auto;
    max-width: 480px;
    padding: 1rem;
    border-radius: 1rem;
}

.solutions-team-figure img {
    display: block;
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    margin: 0 auto;
}

/* Card Styling */
.custom-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    border-top: 3px solid var(--heritage-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.erp-card {
    background: #0e172ae6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
    color: white;
}

.erp-card:hover {
    background: #0e172aa2;
    border-color: var(--heritage-orange);
}

.utility-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.3s;
    height: 100%;
}

.utility-card:hover {
    border-color: var(--heritage-orange);
}

.badge-nepal {
    background: rgba(255, 69, 0, 0.15);
    color: var(--heritage-orange);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--heritage-orange);
    margin-bottom: 24px;
}

.latest-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--heritage-orange);
    color: white;
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 700;
    border-bottom-left-radius: 12px;
}

.card-hover {
    transition: all 0.3s ease;
    border: 1px solid #e4e2e4;
}

.card-hover:hover {
    transform: translateY(-4px);
    border-top: 3px solid var(--heritage-orange) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.sidebar-card {
    background: white;
    border: 1px solid #e4e2e4;
    padding: 24px;
    border-radius: 8px;
}

.section-header {
    border-bottom: 1px solid #e4e2e4;
    margin-bottom: 32px;
    padding-bottom: 16px;
}

.footer-title {
    color: var(--heritage-orange);
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--heritage-orange);
}

.driver-item {
    border: 1px solid #e4e2e4;
    background: white;
    padding: 16px;
    border-radius: 4px;
    transition: border 0.2s;
}

.driver-item:hover {
    border-color: var(--deep-navy);
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    color: white;
}

.course-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.course-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.nav-link-custom {
    color: var(--deep-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-link-active {
    color: var(--heritage-orange) !important;
}

.letter-spacing-wide {
    letter-spacing: 0.1em;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}



/* Academy page */
.academy-accordion .accordion-button {
    font-size: 1rem;
    color: var(--deep-navy);
    background: white;
    align-items: center;
    gap: 0.75rem;
}

.academy-accordion .accordion-button .academy-acc-title {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.academy-accordion .accordion-button .academy-acc-badge {
    flex-shrink: 0;
    font-weight: 600;
    margin-left: auto;
}

.academy-accordion .accordion-button::after {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.academy-accordion .accordion-button:not(.collapsed) {
    color: var(--heritage-orange);
    background: rgba(255, 69, 0, 0.04);
    box-shadow: none;
}

.academy-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 69, 0, 0.25);
}

@media (max-width: 575.98px) {
    .academy-accordion .accordion-button {
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .academy-accordion .accordion-button .academy-acc-badge {
        font-size: 0.7rem;
    }
}

.academy-gallery .gallery-img {
    height: 220px;
}

@media (min-width: 768px) {
    .academy-gallery>.col-md-6:first-child .gallery-img {
        height: 100%;
        min-height: 460px;
    }

    .academy-gallery .col-6 .gallery-img,
    .academy-gallery .col-12 .gallery-img {
        height: 220px;
    }
}



.feature-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--ice-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s, color 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--heritage-orange);
    color: white;
}

.feature-card:hover .feature-icon .material-symbols-outlined {
    color: white;
}

.process-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.map-container {
    height: 280px;
    max-height: 50vh;
    background: #e9ecef;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .map-container {
        height: 400px;
        max-height: none;
    }
}

.map-pin {
    width: 16px;
    height: 16px;
    background: var(--heritage-orange);
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.form-container {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e4e2e4;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 576px) {
    .form-container {
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .form-container {
        padding: 3rem;
    }
}

.border-heritage-soft {
    border: 1px solid rgba(255, 69, 0, 0.25) !important;
}

.nav-link-custom {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-charcoal);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.05em;
}

.nav-link-custom:hover {
    color: var(--heritage-orange);
}

.nav-link-active {
    color: var(--heritage-orange);
    border-bottom: 2px solid var(--heritage-orange);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.2);
    color: var(--heritage-orange);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bento-card {
    background: white;
    border: 1px solid rgba(198, 198, 205, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
}

.client-plate {
    background-color: var(--ice-white);
    border: 1px solid rgba(198, 198, 205, 0.2);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    transition: all 0.3s;
    padding: 0 15px;
    text-align: center;
}

.client-plate:hover {
    filter: grayscale(0%);
}

.client-plate span {
    font-weight: 700;
    color: var(--slate-charcoal);
    font-size: 14px;
}

.tag {
    font-size: 12px;
    font-weight: 500;
    background: var(--ice-white);
    border: 1px solid rgba(198, 198, 205, 0.2);
    padding: 4px 12px;
    display: inline-block;
}

.section-gap {
    padding: 80px 0;
}

.btn-filter {
    background: white;
    border: 1px solid rgba(198, 198, 205, 0.3);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-filter:hover {
    border-color: var(--heritage-orange);
    color: var(--heritage-orange);
}

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

.client-list-item {
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
    background: var(--ice-white, #f8fafc);
    border: 1px solid rgba(198, 198, 205, 0.25);
    border-radius: 0.25rem;
    color: var(--slate-charcoal);
    height: 100%;
}

.clients-accordion .accordion-button {
    color: var(--deep-navy);
    font-size: 1rem;
    background: white;
}

.clients-accordion .accordion-button:not(.collapsed) {
    color: var(--heritage-orange);
    background: rgba(255, 69, 0, 0.04);
    box-shadow: none;
}

.clients-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 69, 0, 0.2);
}

.feature-card {
    background: white;
    padding: 2rem;
    border: 1px solid #e4e2e4;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--heritage-orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-control,
.form-select {
    background-color: var(--ice-white);
    border: 1px solid #e4e2e4;
    padding: 0.75rem 1rem;
    border-radius: 0.125rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--slate-navy);
    box-shadow: 0 0 0 0.25rem rgba(15, 23, 42, 0.1);
    background-color: #fff;
}

.sidebar-card {
    border: 1px solid #e4e2e4;
    padding: 2rem;
    margin-bottom: 2rem;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.75);
    transition: 0.5s ease;
}

.map-img:hover {
    filter: grayscale(0) brightness(1);
}

.payment-option-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e4e2e4;
    background-color: var(--ice-white);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option-label:hover {
    background-color: #fff;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--outline-variant);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    border-color: var(--heritage-orange);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--ice-white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heritage-orange);
    margin-bottom: 1.5rem;
    transition: all 0.3s;

}

.icon-box .material-symbols-outlined {
    font-size: 35px !important;
}

.contact-card:hover .icon-box {
    background-color: var(--heritage-orange);
    color: white;
}

.channel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--ice-white);
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.channel-link:hover {
    border-color: var(--heritage-orange);
}

.channel-link .icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heritage-orange);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


/* ---------- Global responsive ---------- */
img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

.contact-building-wrap {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-building-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-building-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.45rem 0.85rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

.contact-map-wrap {
    position: relative;
    height: 300px;
}

.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-map-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    max-width: 380px;
}

@media (min-width: 576px) {
    .contact-map-wrap {
        height: 360px;
    }
}

@media (min-width: 992px) {
    .contact-map-wrap {
        height: 420px;
    }
}

.client-filter-bar {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {

    .hero-section,
    .hero-mesh,
    .hero-gradient,
    .hero-pattern {
        padding: 64px 0;
        min-height: 0;
    }

    .section-padding,
    .section-gap {
        padding: 56px 0;
    }

    .cta-box {
        padding: 3rem 1.25rem;
        border-radius: 1.25rem;
    }

    .solutions-custom-section {
        padding-bottom: 3.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {

    .hero-section,
    .hero-mesh,
    .hero-gradient,
    .hero-pattern {
        padding: 48px 0;
    }

    .hero-section .display-3,
    .hero-section .display-4,
    .hero-mesh .display-3,
    .hero-mesh .display-4,
    .hero-gradient .display-3,
    .hero-gradient .display-4,
    .hero-pattern .display-3,
    .hero-pattern .display-4,
    .bg-deep-navy .display-3,
    .bg-deep-navy .display-4,
    .section-gap .display-3,
    .section-gap .display-4 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
        line-height: 1.2;
    }

    .display-5,
    .display-6 {
        font-size: clamp(1.5rem, 5.5vw, 1.85rem);
    }

    .lead {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .feature-card,
    .custom-card,
    .form-container {
        padding: 1.25rem !important;
    }

    .sidebar-card {
        padding: 1.25rem;
    }

    .bento-cell-img-tall {
        min-height: 220px;
    }

    .fb-embed-wrap {
        min-height: 320px;
        overflow: hidden;
    }

    .fb-embed-wrap iframe {
        width: 100% !important;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {

    .section-padding,
    .section-gap {
        padding: 40px 0;
    }

    .btn:not(.btn-sm):not(.btn-link):not(.btn-close):not(.carousel-nav-btn):not(.product-filter-btn):not(.btn-filter):not(.nav-contact-btn) {
        padding: 0.85rem 1.25rem !important;
        font-size: 0.95rem !important;
    }

    .client-plate {
        height: auto;
        min-height: 72px;
        padding: 0.75rem;
    }

    .client-plate span {
        font-size: 12px;
        line-height: 1.3;
        word-break: break-word;
    }
}

/* ---------- Secondary / article pages ---------- */
.article-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--slate-charcoal);
}

.article-body h2,
.article-body h3 {
    color: var(--deep-navy);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body h2:first-child,
.article-body h3:first-child {
    margin-top: 0;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body img {
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.blog-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--heritage-orange);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.blog-card-img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    background: var(--ice-white);
}

.blog-card .card-body {
    padding: 1.5rem;
}

.hero-section .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

.hero-section .breadcrumb-item.active {
    color: #fff;
}

.contact-info-cards {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

@media (max-width: 767.98px) {
    .contact-info-cards {
        margin-top: 40px;
    }
}

/* ─── Custom select (responsive options) ─── */
.c-select {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.c-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.c-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
    background-color: var(--ice-white);
    border: 1px solid #e4e2e4;
    border-radius: 0.125rem;
    color: var(--slate-navy);
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.c-select__trigger:hover {
    border-color: #cbd5e1;
    background-color: #fff;
}

.c-select__trigger:focus {
    outline: none;
    border-color: var(--slate-navy);
    box-shadow: 0 0 0 0.25rem rgba(15, 23, 42, 0.1);
    background-color: #fff;
}

.c-select.is-open .c-select__trigger {
    border-color: var(--slate-navy);
    box-shadow: 0 0 0 0.25rem rgba(15, 23, 42, 0.1);
    background-color: #fff;
}

.c-select.is-invalid .c-select__trigger {
    border-color: #dc3545;
}

.c-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.c-select__value.is-placeholder {
    color: #64748b;
}

.c-select__chevron {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--slate-charcoal);
    transition: transform 0.2s ease;
}

.c-select.is-open .c-select__chevron {
    transform: rotate(180deg);
}

.c-select__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
}

@media (max-width: 767.98px) {
    .c-select.is-open .c-select__backdrop {
        display: block;
        opacity: 1;
    }
}

.c-select__panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: min(18rem, 60vh);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #e4e2e4;
    border-radius: 0.375rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    padding: 0.35rem;
}

.c-select.is-open .c-select__panel {
    display: block;
}

.c-select__option {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 0.9rem;
    margin: 0;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--slate-navy);
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.c-select__option:hover,
.c-select__option:focus {
    outline: none;
    background-color: var(--ice-white);
    color: var(--deep-navy);
}

.c-select__option.is-selected {
    background-color: rgba(255, 69, 0, 0.08);
    color: var(--heritage-orange);
    font-weight: 600;
}

.c-select__option.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.c-select__sheet-header {
    display: none;
}

@media (max-width: 767.98px) {
    .c-select__backdrop {
        z-index: 1080;
    }

    .c-select.is-open .c-select__panel {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1090;
        max-height: min(70vh, 28rem);
        border-radius: 1rem 1rem 0 0;
        border: none;
        border-top: 1px solid #e4e2e4;
        box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.18);
        padding: 0 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        animation: c-select-sheet-up 0.22s ease;
    }

    .c-select__sheet-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        position: sticky;
        top: 0;
        z-index: 1;
        padding: 1rem 0.25rem 0.75rem;
        margin-bottom: 0.25rem;
        background: #fff;
        border-bottom: 1px solid #f1f5f9;
    }

    .c-select__sheet-title {
        font-family: 'Hanken Grotesk', sans-serif;
        font-size: 1rem;
        font-weight: 700;
        color: var(--deep-navy);
        margin: 0;
    }

    .c-select__sheet-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--ice-white);
        color: var(--slate-charcoal);
        cursor: pointer;
    }

    .c-select__sheet-close:hover,
    .c-select__sheet-close:focus {
        background: #e2e8f0;
        outline: none;
    }

    .c-select__option {
        padding: 0.9rem 0.85rem;
        font-size: 0.9375rem;
        border-bottom: 1px solid #f8fafc;
        border-radius: 0.375rem;
    }

    .c-select__option:last-child {
        border-bottom: none;
    }
}

@keyframes c-select-sheet-up {
    from {
        transform: translateY(100%);
        opacity: 0.6;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body.c-select-open {
    overflow: hidden;
}

/* Native fallback when JS not enhanced */
select.form-select {
    max-width: 100%;
}

/* Scroll to Top Button */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--heritage-orange, #FF4500);
    color: #ffffff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.2s ease,
                box-shadow 0.2s ease;
}

.btn-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    background-color: var(--deep-navy, #0B192C);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-scroll-top:active {
    transform: translateY(0);
}

.btn-scroll-top .material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-scroll-top:hover .material-symbols-outlined {
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .btn-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    .btn-scroll-top .material-symbols-outlined {
        font-size: 20px;
    }
}

/* Scroll to Top Button */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--heritage-orange, #FF4500);
    color: #ffffff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.2s ease,
                box-shadow 0.2s ease;
}

.btn-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    background-color: var(--deep-navy, #0B192C);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-scroll-top:active {
    transform: translateY(0);
}

.btn-scroll-top .material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-scroll-top:hover .material-symbols-outlined {
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .btn-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    .btn-scroll-top .material-symbols-outlined {
        font-size: 20px;
    }
}
