/* =====================================================================
   RC Theme — Glassmorphism premium (blue gradient + Inter)
   All selectors prefixed with body.rc (CMS adds theme slug class on <body>).
   ===================================================================== */

body.rc {
    --rc-primary: #004aad;
    --rc-primary-dark: #003075;
    --rc-secondary: #00b4d8;
    --rc-accent: #ff9f1c;
    --rc-dark: #0f172a;
    --rc-gray: #64748b;
    --rc-light: #f8fafc;
    --rc-bg: #f0f4f8;
    --rc-glass-bg: rgba(255, 255, 255, 0.85);
    --rc-glass-border: rgba(255, 255, 255, 0.6);
    --rc-glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --rc-gradient-main: linear-gradient(135deg, #004aad 0%, #00b4d8 100%);
    --rc-radius: 16px;
    --rc-radius-sm: 8px;
    --rc-radius-pill: 50px;
    --rc-transition: all 0.3s ease;
    --rc-font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ====== Base ====== */
body.rc {
    font-family: var(--rc-font);
    background-color: var(--rc-bg);
    color: var(--rc-dark);
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(0, 74, 173, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 74, 173, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.rc * {
    box-sizing: border-box;
}

body.rc h1, body.rc h2, body.rc h3, body.rc h4, body.rc h5, body.rc h6 {
    font-family: var(--rc-font);
    color: var(--rc-dark);
    letter-spacing: -0.01em;
}

body.rc p {
    line-height: 1.6;
    color: var(--rc-gray);
}

body.rc a {
    color: var(--rc-primary);
    text-decoration: none;
    transition: var(--rc-transition);
}

body.rc .highlight {
    color: var(--rc-primary);
    font-weight: 700;
}

/* ====== Utility ====== */
body.rc .glass {
    background: var(--rc-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--rc-glass-border);
    box-shadow: var(--rc-glass-shadow);
    border-radius: var(--rc-radius);
}

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

/* Pin every Bootstrap .container inside the RC theme to 1200px so the
   sections (hero / history / services / why-us / contact) align with
   the fixed-top header glass card (which is also max-width: 1200px).
   Bootstrap's default xxl breakpoint expands .container to 1320px,
   which made the hero content visibly wider than the header. */
body.rc .container {
    max-width: 1200px !important;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

/* ====== Header / Navbar ====== */
body.rc .rc-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    padding: 12px 30px;
}

body.rc .rc-header.glass {
    border-radius: var(--rc-radius);
}

body.rc .rc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

body.rc .rc-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

body.rc .rc-logo-link {
    display: inline-flex;
    align-items: center;
}

body.rc .rc-logo-img,
body.rc .rc-logo img {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* IMPORTANT: only apply display:flex on desktop (>=992px) so on mobile
   Bootstrap's `.collapse:not(.show) { display:none }` wins and the
   collapsed menu starts hidden. If we use `display:flex` globally,
   our selector body.rc .rc-nav (specificity 0,0,2,1) beats Bootstrap's
   .collapse:not(.show) (0,0,2,0) and the menu shows on page load AND
   refuses to close because display:flex stays applied. */
@media (min-width: 992px) {
    body.rc .rc-nav {
        flex-grow: 1;
        display: flex;
        justify-content: center;
    }
}

body.rc .rc-nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

body.rc .rc-nav-list li a {
    text-decoration: none;
    color: var(--rc-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}

body.rc .rc-nav-list li a:hover,
body.rc .rc-nav-list li a.active {
    color: var(--rc-primary);
}

body.rc .rc-nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--rc-primary);
    transition: width 0.3s;
}

body.rc .rc-nav-list li a:hover::after,
body.rc .rc-nav-list li a.active::after {
    width: 100%;
}

body.rc .rc-header-cta {
    flex-shrink: 0;
}

body.rc .rc-btn-cta {
    padding: 12px 28px;
    background: var(--rc-gradient-main);
    color: white;
    border: none;
    border-radius: var(--rc-radius-pill);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.9rem;
}

body.rc .rc-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 74, 173, 0.3);
    color: white;
}

body.rc .rc-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(0, 74, 173, 0.15);
    border-radius: var(--rc-radius-sm);
    width: 42px;
    height: 42px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

body.rc .rc-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--rc-primary);
    border-radius: 2px;
    transition: var(--rc-transition);
}

/* ====== Generic button used by addons ====== */
body.rc .rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--rc-gradient-main);
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: var(--rc-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

body.rc .rc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 74, 173, 0.3);
    color: #ffffff;
}

body.rc .rc-btn-outline {
    background: #ffffff;
    color: var(--rc-primary);
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

body.rc .rc-btn-outline:hover {
    background: var(--rc-primary);
    color: #ffffff;
    border-color: var(--rc-primary);
}

body.rc .rc-submit-btn {
    width: 100%;
    text-align: center;
    border-radius: var(--rc-radius-sm);
    padding: 14px;
}

/* ====== Hero Section ====== */
body.rc .rc-hero {
    padding-top: 160px;
    padding-bottom: 80px;
}

body.rc .rc-hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

body.rc .rc-hero-text {
    flex: 1;
}

body.rc .rc-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #e0f2fe;
    color: var(--rc-primary-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 74, 173, 0.1);
}

body.rc .rc-hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--rc-dark);
    letter-spacing: -1px;
    font-weight: 700;
}

body.rc .rc-hero p {
    font-size: 1.15rem;
    color: var(--rc-gray);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 500px;
}

body.rc .rc-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

body.rc .rc-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

body.rc .rc-hero-stats .rc-stat h4 {
    font-size: 1.5rem;
    color: var(--rc-primary);
    font-weight: 800;
}

body.rc .rc-hero-stats .rc-stat span {
    font-size: 0.9rem;
    color: var(--rc-gray);
}

body.rc .rc-hero-visual {
    flex: 1;
}

body.rc .rc-hero-visual .glass {
    padding: 20px;
    transform: rotate(2deg);
}

body.rc .rc-hero-visual img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* ====== History / About Section ====== */
body.rc .rc-history {
    background: #ffffff;
    position: relative;
}

body.rc .rc-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #f8fafc 50%, #ffffff 50%);
    z-index: 0;
}

body.rc .rc-history .container {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 60px;
    align-items: center;
}

body.rc .rc-history-img {
    flex: 1;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.rc .rc-history-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.rc .rc-history-content {
    flex: 1;
}

body.rc .rc-section-label {
    color: var(--rc-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

body.rc .rc-history-content h2 {
    font-size: 2.5rem;
    margin: 15px 0 25px;
    color: var(--rc-dark);
    line-height: 1.2;
}

body.rc .rc-history-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--rc-gray);
}

body.rc .rc-history-content strong {
    color: var(--rc-dark);
}

body.rc .rc-quote {
    padding: 20px;
    background: #f8fafc;
    border-left: 4px solid var(--rc-primary);
    border-radius: 0 8px 8px 0;
    margin-top: 10px;
}

body.rc .rc-quote p {
    font-style: italic;
    color: var(--rc-dark);
    margin: 0;
}

/* ====== Services Section ====== */
body.rc .rc-services {
    background-color: var(--rc-bg);
}

body.rc .rc-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

body.rc .rc-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

body.rc .rc-section-header p {
    color: var(--rc-gray);
    font-size: 1.05rem;
}

body.rc .rc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

body.rc .rc-service-card {
    padding: 40px;
    background: #ffffff;
    border-radius: var(--rc-radius);
    transition: var(--rc-transition);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

body.rc .rc-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 74, 173, 0.08);
    border-color: var(--rc-primary);
}

body.rc .rc-service-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rc-primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
    overflow: hidden;
}

body.rc .rc-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

body.rc .rc-service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--rc-dark);
}

body.rc .rc-service-card p {
    color: var(--rc-gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

body.rc .rc-service-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

body.rc .rc-service-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--rc-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

body.rc .rc-service-list li i {
    color: #22c55e;
    font-size: 0.8rem;
}

body.rc .rc-service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--rc-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ====== Why Us / Diferenciais (dark) ====== */
body.rc .rc-why-us {
    background: var(--rc-dark);
    color: #ffffff;
}

body.rc .rc-why-us .rc-section-header h2 {
    color: #ffffff;
}

body.rc .rc-why-us .rc-section-header p {
    color: #94a3b8;
}

body.rc .rc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

body.rc .rc-feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--rc-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--rc-transition);
}

body.rc .rc-feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

body.rc .rc-feature-item i {
    font-size: 2rem;
    display: inline-block;
    margin-bottom: 8px;
}

body.rc .rc-feature-item h3 {
    margin: 15px 0 10px;
    font-size: 1.2rem;
    color: #ffffff;
}

body.rc .rc-feature-item p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ====== Contact Section ====== */
body.rc .rc-contact-wrapper {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

body.rc .rc-contact-details {
    flex: 1;
    background: var(--rc-gradient-main);
    color: #ffffff;
    padding: 60px;
    min-width: 300px;
}

body.rc .rc-contact-details h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

body.rc .rc-contact-details > p {
    margin-bottom: 40px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

body.rc .rc-info-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

body.rc .rc-info-row i {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

body.rc .rc-info-row strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}

body.rc .rc-info-row p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

body.rc .rc-info-row a {
    color: inherit;
    text-decoration: none;
}

body.rc .rc-contact-form {
    flex: 1.5;
    padding: 60px;
    min-width: 300px;
}

body.rc .rc-contact-form .form-group {
    margin-bottom: 20px;
}

body.rc .rc-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--rc-dark);
}

body.rc .rc-contact-form .form-control,
body.rc .rc-contact-form input,
body.rc .rc-contact-form select,
body.rc .rc-contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: var(--rc-radius-sm);
    font-size: 1rem;
    background: #f8fafc;
    transition: var(--rc-transition);
    font-family: var(--rc-font);
}

body.rc .rc-contact-form .form-control:focus,
body.rc .rc-contact-form input:focus,
body.rc .rc-contact-form select:focus,
body.rc .rc-contact-form textarea:focus {
    outline: none;
    border-color: var(--rc-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

/* ====== Breadcrumb (inner pages) ====== */
body.rc .rc-breadcrumb-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    position: relative;
}

body.rc .rc-breadcrumb-title {
    font-size: 2.5rem;
    color: var(--rc-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

body.rc .rc-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

body.rc .rc-breadcrumb .breadcrumb-item a {
    color: var(--rc-gray);
}

body.rc .rc-breadcrumb .breadcrumb-item.active {
    color: var(--rc-primary);
    font-weight: 600;
}

/* ====== Footer ====== */
body.rc .rc-footer {
    background: var(--rc-dark);
    color: #94a3b8;
    border-top: 1px solid #1e293b;
}

body.rc .rc-footer-main {
    padding: 60px 0 30px;
}

/* Stack the brand row on top of the CMS widgets row so the logo
   centers across the FULL footer width — not stuck in a left column
   when grid-template-columns: 1fr 2fr was used. */
body.rc .rc-footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

body.rc .rc-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    width: 100%;
}

body.rc .rc-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.rc .rc-footer-logo img,
body.rc .rc-footer-logo-img {
    max-height: 48px;
    width: auto;
    /* Force white rendering on dark navy footer */
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Footer widget area
   The CMS Navigation Menu widget defaults to col-xxl-2 (1/6 = 16% of
   the container), which on wide screens is too narrow — titles like
   "MENU" or "QUICK LINKS" truncate, and the column sits squeezed.
   Below we widen the column override and style the widget output
   (.footer-widget > .footer-tittle > h4.footerTittle + ul.listing). */
body.rc .rc-footer-nav-area {
    width: 100%;
    display: block;
}

body.rc .rc-footer-nav-area .row {
    justify-content: center;
    width: 100%;
    --bs-gutter-x: 2rem;
}

/* Widget column expands to fit horizontal nav items */
body.rc .rc-footer-nav-area .row > [class*="col-"] {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
}

/* Widget container — center everything */
body.rc .rc-footer-nav-area .widget,
body.rc .rc-footer-nav-area .footer-widget {
    color: #94a3b8;
    text-align: center;
    margin-bottom: 0 !important;
}

body.rc .rc-footer-nav-area .footer-tittle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Widget title (h4.footerTittle / .widget-title / h4/h5) */
body.rc .rc-footer-nav-area .widget-title,
body.rc .rc-footer-nav-area .footerTittle,
body.rc .rc-footer-nav-area h4,
body.rc .rc-footer-nav-area h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    /* Prevent any text-overflow/ellipsis truncation */
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

/* Menu items list — HORIZONTAL nav strip on desktop, wraps on mobile */
body.rc .rc-footer-nav-area ul,
body.rc .rc-footer-nav-area .listing {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.75rem;
}

body.rc .rc-footer-nav-area ul li,
body.rc .rc-footer-nav-area .listing li {
    margin: 0;
    list-style: none;
    text-align: center;
}

body.rc .rc-footer-nav-area ul li a,
body.rc .rc-footer-nav-area .listing li a {
    color: #94a3b8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 4px 0;
    position: relative;
    white-space: nowrap;
}

body.rc .rc-footer-nav-area ul li a:hover,
body.rc .rc-footer-nav-area .listing li a:hover {
    color: var(--rc-secondary);
}

/* Defensive resets — some CMS widgets ship li/a with margin-bottom or
   line-height that fights our flex gap; force them to zero. */
body.rc .rc-footer-nav-area ul li,
body.rc .rc-footer-nav-area .listing li,
body.rc .rc-footer-nav-area ul li *,
body.rc .rc-footer-nav-area .listing li * {
    margin: 0 !important;
    line-height: 1.4 !important;
}

body.rc .rc-footer-nav-area ul li a,
body.rc .rc-footer-nav-area .listing li a {
    padding: 4px 6px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* On mobile keep items horizontal but with tight gap (wrap naturally)
   instead of going column with large gap. Items pack into rows. */
@media (max-width: 768px) {
    body.rc .rc-footer-nav-area ul,
    body.rc .rc-footer-nav-area .listing {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 12px;
        justify-content: center;
    }
    body.rc .rc-footer-nav-area ul li a,
    body.rc .rc-footer-nav-area .listing li a {
        font-size: 0.8125rem !important;
        padding: 4px 6px !important;
    }
}

body.rc .rc-footer-bottom {
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid #1e293b;
}

body.rc .rc-footer-legal {
    text-align: center;
    margin-bottom: 1rem;
}

body.rc .rc-footer-legal-main {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

body.rc .rc-footer-legal-sub {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

body.rc .rc-footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

body.rc .rc-footer-copy p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

body.rc .rc-powered-by {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

body.rc .rc-powered-by:hover {
    opacity: 1;
}

body.rc .rc-powered-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.75rem;
}

body.rc .rc-powered-badge span {
    color: #94a3b8;
    font-size: 0.7rem;
}

body.rc .rc-powered-badge img {
    height: 13px !important;
    max-height: 13px !important;
    width: auto;
    object-fit: contain;
    display: block;
}

body.rc .rc-powered-pipe {
    color: #475569;
    font-weight: 300;
    margin: 0 4px;
}

/* ====== Hide CMS default cursors / progress ====== */
body.rc .mouseCursor {
    display: none;
}

body.rc .progressParent {
    display: none;
}

/* ====== Responsive ====== */
@media (max-width: 991px) {
    body.rc .rc-header {
        top: 12px;
        width: 92%;
        padding: 10px 16px;
    }
    body.rc .rc-header-inner {
        flex-wrap: wrap;
    }
    body.rc .rc-mobile-toggle {
        display: inline-flex;
    }
    /* Mobile menu — full width below header glass, slides under hamburger */
    body.rc .rc-nav,
    body.rc .rc-nav.collapse {
        flex-basis: 100% !important;
        width: 100% !important;
        order: 99 !important;
        margin-top: 12px;
    }
    /* Let Bootstrap own display:none/block via .collapse / .show toggling
       so its height animation can run. We only enforce full-width during
       open AND mid-transition (.collapsing) so the menu doesn't shrink to
       the inline width of the inner UL. */
    body.rc .rc-nav.collapse.show,
    body.rc .rc-nav.collapsing {
        width: 100% !important;
        max-width: 100% !important;
    }
    body.rc .rc-nav-list {
        flex-direction: column !important;
        gap: 4px !important;
        padding: 12px 0 4px !important;
        margin: 0 !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        width: 100%;
        list-style: none;
        align-items: stretch;
    }
    body.rc .rc-nav-list li {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }
    body.rc .rc-nav-list li a {
        display: block !important;
        width: 100% !important;
        padding: 10px 8px !important;
        font-size: 0.95rem !important;
        text-align: left;
        white-space: normal;
        line-height: 1.4;
        border-radius: var(--rc-radius-sm);
    }
    body.rc .rc-nav-list li a:hover,
    body.rc .rc-nav-list li a.active {
        background: rgba(0, 74, 173, 0.06);
    }
    body.rc .rc-nav-list li a::after {
        display: none;
    }
    body.rc .rc-header-cta {
        display: none;
    }
    body.rc .rc-hero {
        padding-top: 130px;
    }
    body.rc .rc-hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    body.rc .rc-hero p {
        margin: 0 auto 30px;
    }
    body.rc .rc-hero h1 {
        font-size: 2.4rem;
    }
    body.rc .rc-hero-stats {
        justify-content: center;
    }
    body.rc .rc-hero-buttons {
        justify-content: center;
    }
    body.rc .rc-history .container {
        flex-direction: column;
        gap: 40px;
    }
    body.rc .rc-history::before {
        background: #ffffff;
    }
    body.rc .rc-history-img {
        height: 300px;
        width: 100%;
    }
    body.rc .rc-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    body.rc .rc-footer-brand {
        align-items: center;
        text-align: center;
    }
    body.rc .rc-footer-tagline {
        max-width: 100%;
    }
    body.rc .rc-footer-nav-area {
        justify-content: center;
    }
    body.rc .rc-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 575px) {
    body.rc .rc-section-padding {
        padding: 60px 0;
    }
    body.rc .rc-hero h1 {
        font-size: 2rem;
    }
    body.rc .rc-section-header h2 {
        font-size: 2rem;
    }
    body.rc .rc-contact-details,
    body.rc .rc-contact-form {
        padding: 40px 24px;
    }
    body.rc .rc-service-card {
        padding: 24px;
    }
}
