/* Enterprise Medical Design System - RMT Global */
:root {
    --primary: #444343;
    --primary-light: #666666;
    --secondary: #F38616;
    --secondary-hover: #D6720F;
    --accent: #B3B4B4;
    --bg-body: #ffffff;
    --bg-light: #F7F9FB;
    --bg-dark: #2C2C2C;
    --text-main: #444343;
    --text-light: #666666;
    --text-white: #ffffff;
    --footer-bg: #282727;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1400px;
    --header-height: 90px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-primary {
    background-color: var(--primary);
    color: white;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--text-white);
    box-shadow: 0 10px 20px rgba(243, 134, 22, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(243, 134, 22, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--primary);
}

.btn-outline-light {
    background: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--primary);
}

.btn-text {
    padding: 0;
    color: var(--secondary);
    font-weight: 700;
    text-transform: none;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
}

/* Header & Navigation */
header {
    background: #ffffff;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo-text {
    display: inline-block;
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 10px;
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 4px solid transparent;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
    background: #f9fbfd;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(68, 67, 67, 0.9), rgba(68, 67, 67, 0.7));
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

.page-breadcrumb a {
    color: var(--secondary);
}

/* Hero Video */
.hero-section {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--primary);
    display: flex;
    align-items: center;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(68, 67, 67, 0.8) 0%, rgba(68, 67, 67, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-left: 5%;
}

.hero-content-wrapper {
    display: grid;
    grid-template-areas: "stack";
    max-width: 800px;
}

.text-slide {
    grid-area: stack;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-in-out, transform 1s ease-out;
    pointer-events: none;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 10;
}

.hero-title {
    color: #ffffff !important;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.4rem;
    max-width: 650px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eeeeee;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    background: #FAFAFA;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(243, 134, 22, 0.1);
    outline: none;
}

.w-100 {
    width: 100%;
}

/* Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card-row {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.product-card-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.product-card-row img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
    border-right: 1px solid #f0f0f0;
}

.product-card-row .p-4 {
    padding: 30px;
    flex-grow: 1;
}

.feature-card {
    background: var(--bg-body);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.product-preview {
    padding: 0;
    overflow: hidden;
    display: block;
}

.product-preview img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-preview:hover img {
    transform: scale(1.05);
}

/* MISSING SECTIONS RESTORED */
.partners-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.partner-logo-box {
    background: white;
    border: 1px solid #eee;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    transition: 0.2s;
}

.partner-logo-box:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: #fcfcfc;
    box-shadow: var(--shadow-sm);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.client-item {
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    transition: 0.3s;
}

.client-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
}

.client-item.highlight {
    background: #f0f7ff;
    color: var(--primary-light);
    border-color: #dbeafe;
}

.grid-5-special {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.excellence-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--secondary);
    transition: 0.3s;
}

.excellence-card:hover {
    transform: translateY(-10px);
}

.excellence-card .icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.event-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-img {
    height: 200px;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.event-card:hover .event-img img {
    transform: scale(1.05);
}

.event-body {
    padding: 25px;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}

.org-level {
    display: flex;
    justify-content: center;
    position: relative;
    gap: 40px;
    width: 100%;
}

.org-node {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 15px 30px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.org-node h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary);
}

.org-node p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
}

.org-node-small {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 15px;
    margin: 10px 0;
    font-size: 0.85rem;
    text-align: center;
    width: 100%;
}

.org-node-small span {
    display: block;
    font-weight: 700;
    color: #333;
    margin-top: 3px;
}

.root-node {
    background: var(--primary);
    border-color: var(--primary);
}

.root-node h4,
.root-node p {
    color: white;
}

.org-connector-vertical {
    width: 2px;
    height: 30px;
    background: #ccc;
    margin: 0 auto;
}

.org-connector-horizontal {
    width: 60%;
    height: 2px;
    background: #ccc;
    margin: 0 auto 30px auto;
    position: relative;
}

.org-connector-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 30px;
    width: 2px;
    background: #ccc;
    transform: translateX(-50%);
}

.org-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.org-branch::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 50%;
    width: 2px;
    height: 32px;
    background: #ccc;
}

.org-connector-vertical-small {
    width: 2px;
    height: 20px;
    background: #ccc;
}

.org-sub-level {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #d0d0d0;
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #b0c4de;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Menu Fix */
@media (max-width: 992px) {
    .header-container {
        position: relative;
    }

    /* Fixed Full Screen Overlay Menu */
    .nav-menu {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: #ffffff !important;
        /* Force White */
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        border-top: 2px solid var(--secondary);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-link {
        padding: 15px 0;
        display: block;
        width: 100%;
        text-align: center;
        height: auto;
        border: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    h1 {
        font-size: 3rem;
    }

    .grid-3,
    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-section {
        height: 600px;
    }

    .hero-text-box {
        padding: 40px 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-card-row {
        flex-direction: column;
        text-align: center;
    }

    .product-card-row img {
        width: 100%;
        height: 250px;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .grid-5-special {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .org-level {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .org-connector-horizontal {
        display: none;
    }

    .org-connector-vertical {
        display: none;
    }

    .org-branch::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .grid-5-special {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header {
    animation: slideDown 0.8s ease-out;
}

.section {
    animation: fadeIn 1s ease-out;
}

.stats-bar {
    background: var(--primary);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border: none;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.partners-strip {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0.6;
}

.partner-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-section {
    padding: 100px 0;
    background-color: var(--primary);
    text-align: center;
    color: white;
}

.cta-box h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* =========================================
   MISSING SIDEBAR STYLES (Restored)
   ========================================= */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-nav {
    background: #ffffff;
    padding: 0;
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-link {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.cat-link:hover,
.cat-link.active {
    color: var(--secondary);
    padding-left: 10px;
    border-color: var(--secondary);
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid #eee;
}

.sidebar-widget h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* =========================================
   ELEMENTOR COMPATIBILITY FIXES
   ========================================= */
/* 1. FORCE CONTAINER WIDTH */
.elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 1400px !important;
    /* Match Theme Container */
}

/* 2. FIX IMAGE SCALING */
.elementor img {
    max-width: 100%;
    height: auto;
}

/* 3. RESTORE GRID LAYOUTS INSIDE ELEMENTOR */
.elementor .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.elementor .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.elementor .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.elementor .partners-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.elementor .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.elementor .grid-5-special {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

/* 4. RESPONSIVE FALLBACKS */
@media (max-width: 991px) {

    .elementor .grid-2,
    .elementor .grid-3,
    .elementor .grid-4,
    .elementor .grid-5-special {
        grid-template-columns: 1fr;
    }
}

/* 5. TEXT EDITOR SPACING */

/* 6. PRODUCTS PAGE (ELEMENTOR ADAPTATION) */
:root {
    --primary-orange: #F38616;
}

.layout-2col-elementor .elementor-column:first-child .elementor-widget-wrap {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    z-index: 10;
}

/* Category Headers */
.cat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.cat-header .elementor-icon-box-icon {
    margin-bottom: 0 !important;
}

.cat-header .elementor-icon-box-icon i {
    font-size: 1.8rem;
    color: var(--primary-orange) !important;
}

.cat-header .elementor-icon-box-title {
    margin-bottom: 0 !important;
    font-size: 1.8rem;
    color: #444343 !important;
}

.cat-header .elementor-icon-box-title a {
    color: #444343 !important;
}

/* Category Content Item Switching */
.product-category {
    transition: opacity 0.4s ease;
}

.product-category.active-cat {
    display: flex !important; /* Force flex for original layout */
    opacity: 1;
}

/* Custom Hide Logic via CSS for non-active categories */
.product-category:not(.active-cat) {
    display: none !important;
}

/* Category Content Item Switching */
.product-category {
    transition: opacity 0.4s ease;
}

/* Brand Tag */
.brand-tag {
    display: inline-block;
    background: #eee;
    color: #666;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Product Row Card */
.product-card-row {
    background: white;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.product-card-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: var(--primary-orange) !important;
}

.product-card-row .p-4 {
    padding: 30px;
}

.feature-list-sm {
    list-style: disc;
    padding-left: 20px;
    color: #666;
    font-size: 0.95rem;
}

/* Sidebar Fixes */
.sidebar-title {
    margin-bottom: 20px !important;
    font-size: 1.5rem !important;
    color: #444343 !important;
}

.category-list.elementor-icon-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list .elementor-icon-list-icon {
    display: none !important;
}

.category-list .elementor-icon-list-item {
    padding: 0 !important;
    border-bottom: 1px solid #eee;
}

.category-list .elementor-icon-list-item:hover {
    border-bottom-color: var(--primary-orange);
}

.category-list .elementor-icon-list-text {
    display: block;
    width: 100%;
}

.category-list .elementor-icon-list-item a {
    display: block;
    padding: 12px 0;
    color: #666 !important;
    font-weight: 500;
    transition: 0.2s;
    width: 100%;
    text-decoration: none !important;
}

.category-list .elementor-icon-list-item a.active,
.category-list .elementor-icon-list-item a:hover {
    color: var(--primary-orange) !important;
    padding-left: 10px;
}

.category-list .elementor-icon-list-item a.active {
    border-right: 3px solid var(--primary-orange);
}

.sidebar-widget {
    background: #F7F9FB;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #eee;
}

@media (max-width: 991px) {
    .layout-2col-elementor .elementor-column:first-child .elementor-widget-wrap {
        position: static;
    }
}

/* Academy Modal Styling */
.rmt-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.rmt-modal.is-active {
    display: flex !important;
}

.rmt-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover { color: #F38616; }

.rmt-modal-content h3 { color: #333; margin-bottom: 10px; font-weight: 700; }
.rmt-modal-content p { color: #666; font-size: 0.95rem; margin-bottom: 25px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.rmt-modal-content input[type="text"],
.rmt-modal-content input[type="email"],
.rmt-modal-content input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.iti { width: 100% !important; }

.checkbox-group { margin: 20px 0; border-top: 1px solid #eee; padding-top: 15px; }
.checkbox-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.radio-options label { font-weight: 400; margin-right: 20px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }

.btn-submit { width: 100%; font-weight: 600; padding: 14px; border: none; border-radius: 6px; cursor: pointer; background: var(--primary-orange); color: #fff; transition: background 0.3s; }
.btn-submit:hover { background: #d67513; }
#form-msg { margin-top: 15px; text-align: center; font-weight: 500; font-size: 0.9rem; }

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .rmt-modal-content { padding: 30px 20px; width: 95%; max-height: 90vh; overflow-y: auto; }
}

/* Careers Page Refinement */
.career-refinement-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

.culture-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.culture-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.culture-card i {
    font-size: 24px;
    color: #F38616;
    background: rgba(243, 134, 22, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.culture-card h4 {
    margin: 0 0 5px 0;
    color: #002B49;
    font-weight: 700;
}

.culture-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.career-image-featured img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .career-refinement-grid { grid-template-columns: 1fr; gap: 40px; }
    .career-image-featured { order: -1; }
}
