.rka-scope {
    --primary: #002b4a;
    --secondary: #0080c0;
    --accent: #00a3e0;
    --light: #f7fbff;
    --lighter: #eef4fc;
    --white: #ffffff;
    --gray: #6c757d;
    --shadow: rgba(0, 43, 74, 0.15);
    --shadow-lg: rgba(0, 43, 74, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Roboto", sans-serif;
    color: var(--primary);
}

.rka-scope * {
    box-sizing: border-box;
}

.rka-scope .slogan {
    flex-grow: 1;
    text-align: center;
    font-style: italic;
    font-family: "Lora", serif;
    position: relative;
    display: inline-block;
}

.rka-scope .slogan::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.9rem;
}

.rka-scope .slogan::after {
    content: "\f10e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.9rem;
}

.rka-scope h1 {
    font-family: "Lora", serif;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.rka-scope .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    z-index: 50;
    box-shadow: 0 4px 15px rgba(0, 59, 92, 0.15);
}

.rka-scope .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    gap: 16px;
}

.rka-scope .header .logo {
    transition: transform 0.5s ease;
}

.rka-scope .header .logo:hover {
    transform: rotate(360deg);
}

.rka-scope .search-bar {
    position: relative;
    width: 280px;
    display: flex;
    align-items: center;
}

.rka-scope .search-bar input {
    width: 100%;
    padding: 8px 36px 8px 12px;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.2s ease, transform 0.2s ease;
}

.rka-scope .search-bar input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px var(--shadow-lg);
    transform: scale(1.02);
}

.rka-scope .search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.rka-scope .search-bar i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.rka-scope .search-bar i:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.rka-scope .search-icon {
    display: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.rka-scope .search-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.rka-scope .mobile-search {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 50;
    box-shadow: 0 4px 16px var(--shadow-lg);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
}

.rka-scope .mobile-search.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.rka-scope .mobile-search input {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 8px 36px 8px 12px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.25)
    );
    color: var(--white);
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    box-shadow: 0 3px 10px var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease, transform 0.2s ease;
}

.rka-scope .mobile-search input:focus {
    outline: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.35)
    );
    box-shadow: 0 6px 16px var(--shadow-lg);
    transform: scale(1.02);
}

.rka-scope .mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.rka-scope .mobile-search i {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.rka-scope .mobile-search i:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.rka-scope .menu-btn {
    display: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.rka-scope .menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.rka-scope .consultation-icon {
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.rka-scope .consultation-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: scale(1.1);
}

.rka-sidebar-scope {
    --primary: #002b4a;
    --secondary: #0080c0;
    --accent: #00a3e0;
    --white: #ffffff;
    --gray: #6c757d;
    --shadow: rgba(0, 43, 74, 0.15);
    --shadow-lg: rgba(0, 43, 74, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Roboto", sans-serif;
    color: var(--primary);
}

.rka-sidebar-scope * {
    box-sizing: border-box;
}

.rka-sidebar-scope .sidebar {
    width: 80px;
    background: linear-gradient(180deg, #ffffff, #f0f6ff);
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease-in-out, width 0.2s ease-in-out;
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 0;
    z-index: 1000;
    box-shadow: 6px 0 15px rgba(0, 59, 92, 0.15);
}

.rka-sidebar-scope .sidebar.active {
    transform: translateX(0);
    width: 40%;
    max-width: 480px;
}

.rka-sidebar-scope .sidebar a {
    text-decoration: none;
    color: var(--primary);
    margin: 8px 0;
    font-size: 10px;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform: scale(1);
    cursor: pointer;
}

.rka-sidebar-scope .sidebar a:hover {
    background: linear-gradient(90deg, #b8d7f0, #80c0f0);
    color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 59, 92, 0.1);
}

.rka-sidebar-scope .sidebar.active a {
    font-size: 13px;
    padding: 8px 16px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
}

.rka-sidebar-scope .sidebar a i {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 3px;
    transition: color 0.2s ease;
}

.rka-sidebar-scope .sidebar a:hover i {
    color: var(--accent);
}

.rka-sidebar-scope .sidebar .separator-bar {
    width: 100%;
    height: 2px;
    background: rgba(0, 43, 74, 0.3);
    margin: 10px 0;
}

.rka-sidebar-scope .sidebar .text-item {
    text-decoration: none;
    color: var(--primary);
    margin: 3px 0;
    font-size: 10px;
    width: 100%;
    text-align: center;
    padding: 4px 0;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.rka-sidebar-scope .sidebar.active .text-item {
    font-size: 13px;
    padding: 4px 16px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
}

.rka-sidebar-scope .sidebar .text-item:hover {
    color: var(--accent);
    transform: scale(1.02);
}

.rka-sidebar-scope .page-preview {
    position: fixed;
    top: 92px;
    left: 92px;
    width: 380px;
    max-width: 90vw;
    height: auto; /* ponytail: JS overrides this per hover to clamp within viewport */
    max-height: calc(100vh - 104px); /* ponytail: hard cap so card never overflows viewport */
    background: var(--white);
    border: 1px solid rgba(0, 43, 74, 0.1);
    box-shadow: 0 4px 15px rgba(0, 43, 74, 0.08);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: left 0.2s ease;
}

.rka-sidebar-scope .sidebar.active ~ .page-preview {
    left: 492px; /* ponytail: active sidebar (480px) + 12px gap */
}

.rka-sidebar-scope .page-preview.active {
    opacity: 1;
    visibility: visible;
}


.rka-sidebar-scope .page-preview h3 {
    font-size: 1.5rem; /* ponytail: slightly smaller heading for the compact card */
    color: var(--primary);
    margin: 0;
    font-weight: 600;
    font-family: "Lora", serif;
}

.rka-sidebar-scope .page-preview p {
    font-size: 0.95rem; /* ponytail: adjusted for readability in compact layout */
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}

.rka-sidebar-scope .page-preview .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rka-sidebar-scope .page-preview .tag {
    display: flex;
    align-items: center;
    background: var(--lighter);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.rka-sidebar-scope .page-preview .tag:hover {
    background: var(--light);
}

.rka-sidebar-scope .page-preview .tag i {
    margin-right: 6px;
    font-size: 0.75rem;
}

.rka-sidebar-scope .page-preview .services-container {
    display: flex; /* ponytail: single-column layout for compact spacing */
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border-radius: 12px;
    padding: 4px 0;
}

.rka-sidebar-scope .page-preview .service-box {
    background: #ffffff;
    border: 1px solid rgba(0, 43, 74, 0.08);
    box-shadow: 0 4px 12px rgba(0, 43, 74, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px; /* ponytail: tighter padding for compact card */
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rka-sidebar-scope .page-preview .service-box:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
    border-color: rgba(0, 128, 192, 0.3);
    box-shadow: 0 10px 25px rgba(0, 43, 74, 0.1);
    transform: translateY(-3px) scale(1.01);
}

.rka-sidebar-scope .page-preview .service-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rka-sidebar-scope .page-preview .service-info i {
    font-size: 22px;
    color: var(--primary);
}

.rka-sidebar-scope .page-preview .service-info h4 {
    margin: 0;
    font-size: 15px;
    color: var(--primary);
    font-weight: 500;
}

.rka-sidebar-scope .page-preview .plus-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rka-sidebar-scope .page-preview .plus-icon:hover {
    background: var(--secondary);
}

.rka-sidebar-scope .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
}

.rka-sidebar-scope .overlay.active {
    opacity: 1;
    visibility: visible;
}

.rka-content-scope {
    margin-top: 80px;
    transition: margin-left 0.2s ease-in-out;
    margin-left: 80px;
}

.rka-content-scope.active {
    margin-left: 480px;
}

@media (min-width: 1200px) {
    .rka-scope .header {
        padding: 0 32px;
    }
    .rka-scope .header-content h1 {
        font-size: 20px;
        max-width: 400px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .rka-scope .slogan {
        font-size: 14px;
        max-width: 500px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rka-scope .search-bar {
        width: 280px;
    }
    .rka-scope .mobile-search {
        display: none;
    }
    .rka-sidebar-scope .sidebar {
        transform: translateX(0) !important;
        width: 80px;
    }
    .rka-sidebar-scope .sidebar.active {
        width: 40%;
        max-width: 480px;
    }
    .rka-scope .menu-btn {
        display: none;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .rka-scope .header {
        padding: 0 24px;
    }
    .rka-scope .header-content {
        gap: 12px;
    }
    .rka-scope .header-content h1 {
        font-size: 18px;
        max-width: 300px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .rka-scope .slogan {
        font-size: 11px;
        max-width: 350px;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.2;
    }
    .rka-scope .search-bar {
        display: none;
    }
    .rka-scope .search-icon {
        display: block;
    }
    .rka-scope .mobile-search {
        padding: 8px 16px;
    }
    .rka-scope .mobile-search input {
        font-size: 13px;
        padding: 8px 36px 8px 12px;
        border-radius: 16px;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.25)
        );
        box-shadow: 0 3px 10px var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .rka-scope .mobile-search i {
        right: 24px;
        font-size: 14px;
    }
    .rka-sidebar-scope .sidebar {
        transform: translateX(-100%);
        width: 40%;
        max-width: 480px;
    }
    .rka-sidebar-scope .sidebar.active {
        transform: translateX(0);
    }
    .rka-sidebar-scope .page-preview,
    .rka-sidebar-scope .overlay {
        display: none;
    }
    .rka-content-scope {
        margin-left: 0;
    }
    .rka-content-scope.active {
        margin-left: 0;
    }
    .rka-scope .menu-btn {
        display: block;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .rka-scope .header {
        padding: 0 16px;
    }
    .rka-scope .header-content {
        gap: 10px;
    }
    .rka-scope .header-content h1 {
        font-size: 16px;
        max-width: 250px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .rka-scope .slogan {
        font-size: 10px;
        max-width: 250px;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.2;
    }
    .rka-scope .search-bar {
        display: none;
    }
    .rka-scope .search-icon {
        display: block;
    }
    .rka-scope .mobile-search {
        padding: 8px 12px;
    }
    .rka-scope .mobile-search input {
        font-size: 13px;
        padding: 8px 36px 8px 12px;
        border-radius: 16px;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.25)
        );
        box-shadow: 0 3px 10px var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .rka-scope .mobile-search i {
        right: 24px;
        font-size: 14px;
    }
    .rka-sidebar-scope .sidebar {
        width: 250px;
        left: -250px;
    }
    .rka-sidebar-scope .sidebar.active {
        left: 0;
    }
    .rka-content-scope {
        margin-left: 0 !important;
        padding-top: 0;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .rka-scope .header {
        padding: 0 12px;
    }
    .rka-scope .header-content {
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .rka-scope .header-content h1 {
        font-size: 14px;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .rka-scope .slogan {
        display: none;
    }
    .rka-scope .search-bar {
        display: none;
    }
    .rka-scope .search-icon {
        display: block;
    }
    .rka-scope .menu-btn {
        display: block;
    }
    .rka-scope .mobile-search {
        padding: 8px 12px;
    }
    .rka-scope .mobile-search input {
        font-size: 13px;
        padding: 8px 36px 8px 12px;
        border-radius: 16px;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.25)
        );
        box-shadow: 0 3px 10px var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .rka-scope .mobile-search i {
        right: 24px;
        font-size: 14px;
    }
    .rka-sidebar-scope .page-preview,
    .rka-sidebar-scope .overlay {
        display: none;
    }
    .rka-content-scope {
        margin-left: 0 !important;
        padding-top: 0;
    }
    .rka-sidebar-scope .sidebar {
        width: 250px;
        left: -250px;
    }
    .rka-sidebar-scope .sidebar.active {
        left: 0;
    }
}

@media (max-width: 575px) {
    .rka-scope .header {
        padding: 0 8px;
        height: 70px;
    }
    .rka-scope .header-content {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .rka-scope .header-content h1 {
        font-size: 12px;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .rka-scope .slogan {
        display: none;
    }
    .rka-scope .search-bar {
        display: none;
    }
    .rka-scope .search-icon {
        display: block;
    }
    .rka-scope .menu-btn {
        display: block;
    }
    .rka-scope .mobile-search {
        padding: 8px 8px;
    }
    .rka-scope .mobile-search input {
        font-size: 13px;
        padding: 8px 36px 8px 12px;
        border-radius: 16px;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.25)
        );
        box-shadow: 0 3px 10px var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .rka-scope .mobile-search i {
        right: 20px;
        font-size: 14px;
    }
    .rka-sidebar-scope .sidebar {
        width: 100%;
        max-width: none;
        left: -100%;
    }
    .rka-sidebar-scope .sidebar.active {
        left: 0;
    }
    .rka-sidebar-scope .page-preview,
    .rka-sidebar-scope .overlay {
        display: none;
    }
    .rka-content-scope {
        padding: 0;
        margin-left: 0 !important;
        margin-top: 70px;
    }
    .container-fluid {
        padding: 0;
    }
    .section-container {
        padding: 0;
    }
    .stats-section,
    .services-section,
    .why-choose-us,
    .industries-section,
    .cta-section {
        padding: 1.5rem 0;
    }
    .hero-content {
        margin: 0 auto;
        width: 100%;
        padding: 1rem;
    }
    footer {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}
