/* Terabits Medical Equipment Store - Custom CSS */

:root {
    --primary-blue: #0066cc;
    --light-blue: #e6f0ff;
    --dark-text: #1a1a1a;
    --light-gray: #f5f5f5;
    --border-gray: #ddd;
    --success-color: #28a745;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
}

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

/* Header & Navigation */
.navbar {
    padding: 1rem 0;
    /*  border-bottom: 1px solid var(--border-gray); */
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: #000000 !important;
    margin: 0 10px;
    transition: var(--transition);
    font-weight: bold;
}

.nav-link:hover,
.nav-link.active {
    color: #b0141f !important;
}

.products-banner img {
    width: 100%;
    height: auto;
}

/* Hero Banner */
.hero-banner {
    height: 600px;
    /* Fixed height for desktop to prevent jumping */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-text-content img,
.hero-image-content img {
    max-height: 450px;
    width: auto;
    object-fit: contain;
}

#heroCarousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-slide-wrapper {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f0ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    animation: slideInLeft 0.8s ease-out;
}

.hero-image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 60px 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.hero-title .text-primary {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 500px;
}

.carousel-device-display {
    font-size: 200px;
    animation: slideInRight 0.8s ease-out;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.carousel-label {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.carousel-indicators {
    bottom: 30px;
    gap: 10px;
    display: flex;
    justify-content: center;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.3);
    border: 2px solid var(--primary-blue);
    transition: var(--transition);
    cursor: pointer;
}

.carousel-indicators button.active {
    background-color: var(--primary-blue);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 102, 204, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: var(--transition);
    border: none;
    z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-blue);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100%;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px 60px 100px;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Buttons */
.btn-primary {
    background-color: #b0141f !important;
    border-color: #b0141f !important;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Prime Categories Section */
.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-gray);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.category-card h5 {
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

/* Featured Section */
.featured-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.featured-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.featured-image {
    font-size: 4rem;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    flex-shrink: 0;
}

.featured-content {
    padding: 2rem;
}

.featured-content h5 {
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-content p {
    margin-bottom: 0;
}

/* Equipment Cards */
.equipment-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.equipment-image {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 0rem;
}

.equipment-card h6 {
    font-weight: 600;
    color: var(--dark-text);
}

.price {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 0.5rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    font-size: 3rem;
    background: var(--light-blue);
    padding: 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 1.5rem;
}

.product-info h6 {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.rating {
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Why Choose Us Section */
.why-card {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-weight: 700;
}

.why-card h6 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.why-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Physiotherapy Section */
.physio-image {
    font-size: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list p {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #666;
}

/* Tables */
.table {
    background: white;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 1rem;
}

.table-primary {
    background-color: var(--light-blue);
}

.table-primary th {
    color: var(--dark-text);
    font-weight: 600;
    border: none;
}

.table tbody tr {
    border-bottom: 1px solid var(--border-gray);
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: var(--light-gray);
}

/* Contact Form */
.contact-form .form-control {
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 12px 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

/* Footer */
.footer-section {
    background: #1a1a1a;
    border-top: 3px solid var(--primary-blue);
}

.footer-section a {
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-blue) !important;
}

.footer-section h6 {
    color: white;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}




/* â”€â”€ Features List â”€â”€ */
.detail-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.detail-features li {
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    font-size: 14px;
    color: #2d3748;
    line-height: 1.6;
}

.detail-features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--d-red);
    font-weight: 700;
    font-size: 15px;
}

.detail-features li em {
    display: block;
    font-style: italic;
    font-size: 12.5px;
    color: var(--d-muted);
    margin-top: 4px;
}


































/* â”€â”€ Breadcrumb â”€â”€ */
.detail-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--d-border);
    padding: 14px 0;
}

.detail-breadcrumb a {
    color: var(--d-red);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.detail-breadcrumb a:hover {
    opacity: 0.7;
}

.detail-breadcrumb a i {
    margin-right: 6px;
}

.detail-breadcrumb span {
    color: var(--d-muted);
    font-size: 13px;
    margin: 0 8px;
}

.detail-breadcrumb .current {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: var(--d-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* â”€â”€ Hero â”€â”€ */
.detail-hero {
    background: linear-gradient(160deg, #0f1923 0%, #1a2a3a 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 0, 30, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.detail-chapter {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--d-red);
    margin-bottom: 12px;
}

.detail-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.detail-hero-sub {
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
}

.detail-hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 500px;
}

.detail-hero-img {
    max-height: 300px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.3));
    opacity: 0.9;
}

/* â”€â”€ Main Content â”€â”€ */
.detail-main {
    padding: 48px 0 32px;
}

/* â”€â”€ Product Card â”€â”€ */
.detail-product-card {
    background: var(--d-card);
    border-radius: 16px;
    border: 1px solid var(--d-border);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.detail-card-header {
    background: var(--d-dark);
    color: #fff;
    padding: 20px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-card-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--d-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 800;
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
}

.detail-card-header h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.3;
}

.detail-card-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin: 4px 0 0;
}

.detail-card-body {
    padding: 28px;
}

/* â”€â”€ Features List â”€â”€ */
.detail-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.detail-features li {
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    font-size: 14px;
    color: #2d3748;
    line-height: 1.6;
}



.detail-features li em {
    display: block;
    font-style: italic;
    font-size: 12.5px;
    color: var(--d-muted);
    margin-top: 4px;
}

/* â”€â”€ Note Box â”€â”€ */
.detail-note {
    background: #f8f9fa;
    border-left: 4px solid var(--d-red);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--d-text);
    line-height: 1.7;
    border-radius: 0 8px 8px 0;
}

.detail-note strong {
    color: var(--d-dark);
}

.detail-note em {
    color: var(--d-muted);
    font-size: 12.5px;
}

/* â”€â”€ Table Label â”€â”€ */
.detail-table-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--d-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--d-red);
    display: inline-block;
    margin-top: 16px;
}

/* â”€â”€ Tables â”€â”€ */
.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 24px;
    border-radius: 8px;
    background: #fff;
}

/* Ensure responsiveness for all detail tables */
@media (max-width: 991px) {

    .detail-table,
    .table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
    }
}

.detail-table thead tr {
    background: #0f1923;
    color: #fff;
}

.detail-table thead th {
    padding: 12px 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.detail-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.detail-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.detail-table tbody tr:hover {
    background: #f0f4f8;
}

.detail-table tbody td {
    padding: 10px 14px;
    color: var(--d-text);
}

.detail-table tbody td:first-child {
    font-weight: 600;
    color: var(--d-dark);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
}

/* â”€â”€ Product Image â”€â”€ */
.detail-product-img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    border: 1px solid var(--d-border);
}

/* â”€â”€ Color Badges â”€â”€ */
.badge-cat {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.badge-gold {
    background: #c9a227;
}

.badge-lila,
.badge-purple {
    background: #8e44ad;
}

.badge-black {
    background: #333;
}

.badge-blue {
    background: #2980b9;
}

.badge-green {
    background: #27ae60;
}

.badge-white {
    background: #e8e8e8;
    color: #555;
    border: 1px solid #ccc;
}

.badge-yellow {
    background: #f1c40f;
    color: #333;
}

.badge-red {
    background: var(--d-red);
}

.badge-tan {
    background: #c9a227;
}

.badge-grey {
    background: #888;
}

/* â”€â”€ Spec Grid â”€â”€ */
.detail-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.detail-spec-box {
    background: #f8f9fa;
    border: 1px solid var(--d-border);
    padding: 20px;
    border-radius: 12px;
}

.detail-spec-box h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--d-red);
    margin-bottom: 10px;
}

.detail-spec-box p {
    font-size: 13px;
    color: var(--d-muted);
    line-height: 1.8;
    margin: 0;
}

/* â”€â”€ Related Products â”€â”€ */
.detail-related {
    padding: 48px 0 56px;
    background: #fff;
    border-top: 1px solid var(--d-border);
}

.detail-related h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--d-dark);
    margin-bottom: 24px;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--d-bg);
    border-radius: 12px;
    border: 1px solid var(--d-border);
    text-decoration: none;
    transition: all 0.3s;
}

.related-link:hover {
    border-color: rgba(200, 0, 30, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.related-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--d-dark);
    color: var(--d-red);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
}

.related-link strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--d-dark);
}

.related-link small {
    font-size: 12px;
    color: var(--d-muted);
}

.related-link i {
    margin-left: auto;
    color: var(--d-red);
    transition: transform 0.3s;
}

.related-link:hover i {
    transform: translateX(4px);
}


nav.navbar.navbar-expand-lg.navbar-light.bg-white {
    background: #F3E7E7 !important;
    -webkit-box-shadow: 0px 18px 24px -12px rgba(232, 232, 232, 1);
    -moz-box-shadow: 0px 18px 24px -12px rgba(232, 232, 232, 1);
    box-shadow: 0px 18px 24px -12px rgba(232, 232, 232, 1);

}

.navbar-toggler {
    background-color: #ffffff !important;
}

.text-h1 {
    font-size: 36px !important;
}

@media (min-width: 1536px) {
    .container {
        max-width: 1280px !important;
    }
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 992px) {
    .detail-hero {
        padding: 48px 0;
    }

    .detail-spec-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detail-hero {
        padding: 36px 0;
    }

    .detail-hero-img {
        max-height: 200px;
        margin-top: 24px;
    }

    .detail-card-header {
        padding: 16px 20px;
    }

    .detail-card-body {
        padding: 20px;
    }

    .detail-main {
        padding: 32px 0 24px;
    }

    .detail-table {
        font-size: 12px;
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .detail-table thead th {
        padding: 10px 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    .detail-table tbody td {
        padding: 10px 12px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .detail-hero h1 {
        font-size: 24px;
    }

    .detail-card-header {
        flex-direction: column;
        gap: 8px;
    }

    .detail-product-card {
        border-radius: 12px;
    }
}







/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .carousel-device-display {
        font-size: 150px;
    }

    .carousel-label {
        font-size: 1.5rem;
    }

    .hero-text-content {
        padding: 40px 30px;
        margin-left: 0px;
    }

    .hero-image-content {
        padding: 40px 30px;
    }

    .featured-image {
        width: 150px;
    }

    .equipment-image {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 600px !important;
        /* Stable height to prevent jumping */
        min-height: auto;
        padding: 20px 0;
    }

    #heroCarousel {
        height: 100% !important;
    }

    .carousel-item {
        height: 100% !important;
    }

    .carousel-slide-wrapper {
        flex-direction: column;
        height: 100% !important;
        justify-content: center;
        padding: 0;
    }

    .hero-text-content,
    .hero-image-content {
        width: 100%;
        padding: 20px 15px;
        max-width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-text-content {
        padding-top: 15px;
        padding-left: 15px;
    }

    .hero-image-content {
        min-height: auto;
    }

    .hero-text-content img,
    .hero-image-content img {
        max-height: 220px;
        width: auto;
        object-fit: contain;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 0.8rem !important;
    }

    .carousel-device-display {
        font-size: 100px;
        margin-top: 1rem;
    }

    .carousel-label {
        font-size: 1rem;
        margin-top: 0.8rem;
    }

    .btn-primary {
        padding: 8px 16px !important;
        font-size: 0.85rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .category-image,
    .equipment-image {
        font-size: 2.5rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.9rem;
    }

    .featured-card {
        flex-direction: column;
    }

    .featured-image {
        width: 100%;
        height: 150px;
    }

    .why-card {
        flex-direction: column;
        text-align: center;
    }

    .why-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 550px !important;
        min-height: auto;
    }

    #heroCarousel {
        height: 100% !important;
        min-height: auto;
    }

    .carousel-slide-wrapper {
        flex-direction: column;
        justify-content: center;
        padding: 10px;
        height: 100% !important;
    }

    .hero-text-content {
        padding: 10px 5px;
    }

    .hero-image-content {
        padding: 10px;
        min-height: auto;
    }

    .hero-text-content img,
    .hero-image-content img {
        max-height: 180px;
    }


    .hero-title {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.6rem !important;
        line-height: 1.4;
    }

    .carousel-device-display {
        font-size: 80px;
        margin-top: 0.5rem;
    }

    .carousel-label {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    .btn-primary {
        padding: 6px 12px !important;
        font-size: 0.8rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .btn {
        width: 100%;
        margin: 10px 0;
    }

    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .col-md-3,
    .col-md-4,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .physio-image {
        font-size: 100px;
        margin-bottom: 2rem;
    }
}


.carousel-slide-wrapper {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

p.ftm {
    color: rgba(255, 255, 255, .5) !important;
}














.page {
    width: 1190px;
    min-height: 400px;
    background: #fff;
    margin: 30px auto;
    display: flex;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    page-break-after: always;
}

.half {
    width: 50%;
    padding: 28px 22px 20px 22px;
    border-right: 1px solid #ddd;
    position: relative;
}

.half:last-child {
    border-right: none;
}

/* ── Header ── */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid #bbb;
    padding-bottom: 6px;
}

.brand {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 700;
    color: #2a6ea6;
    font-size: 15px;
    letter-spacing: 1px;
}

.brand sup {
    font-size: 8px;
    top: -6px;
    position: relative;
}

.catalog-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #555;
    letter-spacing: 3px;
}

/* ── Section Block ── */
.section {
    margin-bottom: 22px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #3a6b7a;
    color: #fff;
    padding: 6px 12px;
    margin-bottom: 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.series-name {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 13px;
    color: #cde9f5;
    white-space: nowrap;
}

/* ── Tables ── */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
    font-size: 10.5px;
}

@media (max-width: 768px) {
    table:not(.navbar-nav table) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

thead tr {
    background: #8aabbf;
    color: #fff;
}

thead th {
    padding: 5px 7px;
    font-weight: 600;
    text-align: left;
    border: 1px solid #aac;
}

tbody tr {
    background: #f0f6f9;
}

tbody tr:nth-child(even) {
    background: #e4eff5;
}

tbody td {
    padding: 4px 7px;
    border: 1px solid #cde;
    color: #333;
}

/* Color Badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.badge-grey {
    background: #888;
}

.badge-white {
    background: #ccc;
    color: #444;
    border: 1px solid #aaa;
}

.badge-blue {
    background: #2a6bb5;
}

.badge-golden {
    background: #c8960a;
}

.badge-green {
    background: #3a8a3a;
}

.badge-black {
    background: #222;
}

.badge-tan {
    background: #c8a870;
    color: #444;
}

.badge-purple {
    background: #7a3a9a;
}

.badge-orange {
    background: #e07000;
}

/* ── Divider between sub-tables ── */
.sub-divider {
    margin: 5px 0;
    border: none;
    border-top: 1px dashed #bcd;
}

/* ── Triangle corner mark ── */
.corner-mark {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-bottom: 22px solid #3a6b7a;
}

/* ── Back cover ── */
.back-cover {
    background: linear-gradient(160deg, #2a7a99 0%, #1a4d66 55%, #0d3040 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.back-cover::before {
    content: 'CATALOG';
    position: absolute;
    bottom: 120px;
    left: -10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.07);
    letter-spacing: 8px;
    pointer-events: none;
    user-select: none;
}

.back-brand {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.back-brand sup {
    font-size: 11px;
}

.cert-icons {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
    align-items: center;
}

.cert-icon {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 3px 8px;
    border-radius: 3px;
}

.cert-icon.cfda {
    font-size: 15px;
    color: #ffdc80;
    border-color: #ffdc80;
}

.company-section {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 16px;
}

.company-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

.contact-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 9px;
    margin-top: 1px;
}

.contact-item a {
    color: #90d0f0;
    text-decoration: none;
}


div#navbarNav {
    visibility: visible;
}