/*
 * =====================================================
 *  style-themes.css
 *  Smart Office Role-Based Theme System
 *  -- Company Owner Theme  (cyan accent  #33b5e5)
 *  -- User / Admin Theme   (coral accent #ff4444)
 * =====================================================
 */

/* -------------------------------------------------------
   GOOGLE FONTS IMPORT
------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* -------------------------------------------------------
   SHARED VARIABLES — applied on both themes
------------------------------------------------------- */
:root {
    --sidebar-width: 200px;
    --header-height: 60px;
    --transition-fast: 0.18s ease;
    --transition-std: 0.28s ease;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .10);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .22);
}

/* =====================================================
   COMPANY OWNER THEME
   Body class: .theme-company-owner
   Palette: deep navy ↔ cyan (#33b5e5)
===================================================== */
body.theme-company-owner {
    --theme-primary: #33b5e5;
    --theme-primary-dark: #0f8fc7;
    --theme-primary-glow: rgba(51, 181, 229, .22);
    --sidebar-bg: #0b1a38;
    --sidebar-bg-hover: rgba(51, 181, 229, .12);
    --sidebar-bg-active: rgba(51, 181, 229, .20);
    --sidebar-text: #b8cee4;
    --sidebar-text-active: #ffffff;
    --sidebar-icon: #5b8db5;
    --sidebar-border: rgba(51, 181, 229, .08);
    --sidebar-divider: rgba(255, 255, 255, .06);
    --header-bg: #ffffff;
    --header-text: #0b1a38;
    --header-shadow: 0 2px 16px rgba(11, 26, 56, .10);
    --logo-bg: #0b1a38;
    --logo-text: #33b5e5;
    --role-badge-bg: linear-gradient(135deg, #33b5e5, #0f8fc7);
    --role-badge-text: #ffffff;
    --active-indicator: #33b5e5;
    --child-active: #33b5e5;
    --hover-text: #33b5e5;
    --body-bg: #f0f4f8;
    --card-bg: #ffffff;
    --footer-bg: #f7f9fc;
    --footer-text: #5a6880;
    --breadcrumb-active: #33b5e5;
}

/* =====================================================
   USER / ADMIN THEME
   Body class: .theme-user
   Palette: dark purple ↔ coral-red (#ff4444)
===================================================== */
body.theme-user {
    --theme-primary: #ff4444;
    --theme-primary-dark: #d42f2f;
    --theme-primary-glow: rgba(255, 68, 68, .22);
    --sidebar-bg: #1a0a0a;
    --sidebar-bg-hover: rgba(255, 68, 68, .12);
    --sidebar-bg-active: rgba(255, 68, 68, .20);
    --sidebar-text: #c9a5a5;
    --sidebar-text-active: #ffffff;
    --sidebar-icon: #9e5555;
    --sidebar-border: rgba(255, 68, 68, .08);
    --sidebar-divider: rgba(255, 255, 255, .06);
    --header-bg: #ffffff;
    --header-text: #1a0a0a;
    --header-shadow: 0 2px 16px rgba(26, 10, 10, .10);
    --logo-bg: #1a0a0a;
    --logo-text: #ff4444;
    --role-badge-bg: linear-gradient(135deg, #ff4444, #d42f2f);
    --role-badge-text: #ffffff;
    --active-indicator: #ff4444;
    --child-active: #ff4444;
    --hover-text: #ff4444;
    --body-bg: #faf5f5;
    --card-bg: #ffffff;
    --footer-bg: #fdf7f7;
    --footer-text: #7a5555;
    --breadcrumb-active: #ff4444;
}

/* =====================================================
   FONT — upgrade body to Inter for both themes
===================================================== */
body.theme-company-owner,
body.theme-user {
    font-family: 'Inter', 'Roboto-Regular', sans-serif !important;
    background: var(--body-bg);
}

/* -------------------------------------------------------
   SIDEBAR
------------------------------------------------------- */
body.theme-company-owner .sidebar-left,
body.theme-user .sidebar-left {
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    box-shadow: 4px 0 24px rgba(0, 0, 0, .18);
}

/* Sidebar scrollbar */
body.theme-company-owner .sidebar-left::-webkit-scrollbar,
body.theme-user .sidebar-left::-webkit-scrollbar {
    width: 4px;
}

body.theme-company-owner .sidebar-left::-webkit-scrollbar-thumb,
body.theme-user .sidebar-left::-webkit-scrollbar-thumb {
    background: var(--theme-primary);
    border-radius: 8px;
    opacity: .5;
}

body.theme-company-owner .sidebar-left::-webkit-scrollbar-track,
body.theme-user .sidebar-left::-webkit-scrollbar-track {
    background: transparent;
}

/* -------------------------------------------------------
   LOGO AREA
------------------------------------------------------- */
body.theme-company-owner .logo,
body.theme-user .logo {
    background: var(--logo-bg) !important;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.theme-company-owner .logo a,
body.theme-user .logo a {
    color: var(--logo-text) !important;
    font-family: 'Outfit', 'Oswald-Regular', sans-serif !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 19px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity var(--transition-fast);
}

body.theme-company-owner .logo a span,
body.theme-user .logo a span {
    color: var(--theme-primary);
}

body.theme-company-owner .logo a:hover,
body.theme-user .logo a:hover {
    opacity: 0.85;
}

/* -------------------------------------------------------
   NAVIGATION ITEMS
------------------------------------------------------- */
body.theme-company-owner .side-navigation>li>a,
body.theme-user .side-navigation>li>a {
    color: var(--sidebar-text);
    padding: 9px 16px !important;
    border-radius: 0;
    margin: 1px 8px;
    border-radius: var(--radius-sm) !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.1px;
    transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
    position: relative;
    border-left: 3px solid transparent;
}

body.theme-company-owner .side-navigation>li>a:hover,
body.theme-user .side-navigation>li>a:hover {
    background: var(--sidebar-bg-hover) !important;
    color: var(--sidebar-text-active) !important;
    border-left-color: var(--theme-primary);
    padding-left: 20px !important;
}

body.theme-company-owner .side-navigation>li.active>a,
body.theme-user .side-navigation>li.active>a {
    background: var(--sidebar-bg-active) !important;
    color: var(--sidebar-text-active) !important;
    border-left-color: var(--theme-primary);
}

/* Nav icons */
body.theme-company-owner .side-navigation li .fa,
body.theme-company-owner .side-navigation li .ico,
body.theme-user .side-navigation li .fa,
body.theme-user .side-navigation li .ico {
    color: var(--sidebar-icon);
    font-size: 14px !important;
    width: 18px;
    text-align: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
    flex-shrink: 0;
}

body.theme-company-owner .side-navigation>li>a:hover .fa,
body.theme-company-owner .side-navigation>li>a:hover .ico,
body.theme-company-owner .side-navigation>li.active>a .fa,
body.theme-company-owner .side-navigation>li.active>a .ico,
body.theme-user .side-navigation>li>a:hover .fa,
body.theme-user .side-navigation>li>a:hover .ico,
body.theme-user .side-navigation>li.active>a .fa,
body.theme-user .side-navigation>li.active>a .ico {
    color: var(--theme-primary) !important;
    transform: scale(1.1);
}

/* -------------------------------------------------------
   CHILD LIST (submenu)
------------------------------------------------------- */
body.theme-company-owner .side-navigation .child-list,
body.theme-user .side-navigation .child-list {
    background: rgba(0, 0, 0, .15);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin: 0 8px;
    overflow: hidden;
}

body.theme-company-owner .side-navigation .child-list>li>a,
body.theme-user .side-navigation .child-list>li>a {
    color: var(--sidebar-text);
    font-size: 11.5px;
    padding: 7px 8px 7px 42px;
    display: block;
    transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
    border-left: 2px solid transparent;
}

body.theme-company-owner .side-navigation .child-list>li>a:hover,
body.theme-user .side-navigation .child-list>li>a:hover {
    background: var(--sidebar-bg-hover);
    color: var(--sidebar-text-active);
    padding-left: 48px;
    border-left-color: var(--theme-primary);
}

body.theme-company-owner .side-navigation .child-list>li.active>a,
body.theme-user .side-navigation .child-list>li.active>a {
    color: var(--child-active) !important;
    background: var(--sidebar-bg-hover);
    border-left-color: var(--theme-primary);
}

/* -------------------------------------------------------
   SIDEBAR DIVIDER
------------------------------------------------------- */
body.theme-company-owner .sidebar-divider,
body.theme-user .sidebar-divider {
    height: 1px;
    background: var(--sidebar-divider);
    margin: 6px 16px;
}

/* -------------------------------------------------------
   HEADER SECTION
------------------------------------------------------- */
body.theme-company-owner .header-section,
body.theme-user .header-section {
    background: var(--header-bg) !important;
    box-shadow: var(--header-shadow) !important;
    border-bottom: 2px solid var(--theme-primary);
}

/* Logo in header area (XL view) */
body.theme-company-owner .header-section .logo,
body.theme-user .header-section .logo {
    background: var(--logo-bg) !important;
    border-bottom: none;
    height: var(--header-height);
}

/* Toggle button */
body.theme-company-owner .toggle-btn,
body.theme-user .toggle-btn {
    color: var(--theme-primary) !important;
    background: transparent;
    transition: background var(--transition-fast), color var(--transition-fast);
}

body.theme-company-owner .toggle-btn:hover,
body.theme-user .toggle-btn:hover {
    background: var(--theme-primary-glow);
    color: var(--theme-primary-dark) !important;
}

/* -------------------------------------------------------
   RIGHT NOTIFICATION / HEADER LINKS
------------------------------------------------------- */
body.theme-company-owner .right-notification .notification-menu li a,
body.theme-user .right-notification .notification-menu li a {
    color: var(--header-text) !important;
    font-size: 13px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

body.theme-company-owner .right-notification .notification-menu li a:hover,
body.theme-user .right-notification .notification-menu li a:hover {
    color: var(--theme-primary) !important;
}

body.theme-company-owner .right-notification .notification-menu li a .main-icon,
body.theme-user .right-notification .notification-menu li a .main-icon {
    color: var(--theme-primary);
    font-size: 18px !important;
}

/* -------------------------------------------------------
   USER DROPDOWN
------------------------------------------------------- */
body.theme-company-owner .dropdown-usermenu.purple,
body.theme-user .dropdown-usermenu.purple {
    border: none !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    overflow: hidden;
    padding: 6px 0 !important;
    min-width: 220px;
}

body.theme-company-owner .dropdown-usermenu.purple::after,
body.theme-user .dropdown-usermenu.purple::after {
    border-bottom-color: #fff !important;
}

body.theme-company-owner .notification-menu .dropdown-menu li,
body.theme-user .notification-menu .dropdown-menu li {
    padding: 0 !important;
}

body.theme-company-owner .notification-menu .dropdown-menu li a,
body.theme-user .notification-menu .dropdown-menu li a {
    color: #333 !important;
    font-size: 12.5px !important;
    padding: 9px 16px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

body.theme-company-owner .notification-menu .dropdown-menu li a:hover,
body.theme-user .notification-menu .dropdown-menu li a:hover {
    background: var(--theme-primary-glow) !important;
    color: var(--theme-primary) !important;
    border-left-color: var(--theme-primary);
}

body.theme-company-owner .notification-menu .dropdown-menu li a .fa,
body.theme-user .notification-menu .dropdown-menu li a .fa {
    color: var(--theme-primary) !important;
    font-size: 13px;
}

/* -------------------------------------------------------
   ROLE BADGE (chip in header)
------------------------------------------------------- */
.xs-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: var(--role-badge-bg);
    color: var(--role-badge-text);
    margin-left: 6px;
    vertical-align: middle;
    white-space: nowrap;
    box-shadow: 0 2px 8px var(--theme-primary-glow);
}

.xs-role-badge i {
    font-size: 10px;
}

/* -------------------------------------------------------
   USER AVATAR INITIALS
------------------------------------------------------- */
.xs-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--role-badge-bg);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--theme-primary-glow);
    transition: transform var(--transition-fast);
}

.xs-user-avatar:hover {
    transform: scale(1.08);
}

/* -------------------------------------------------------
   BODY BACKGROUND
------------------------------------------------------- */
body.theme-company-owner .body-content,
body.theme-user .body-content {
    background: var(--body-bg) !important;
}

body.theme-company-owner .body-content>.main_wrapper,
body.theme-user .body-content>.main_wrapper {
    background: var(--card-bg) !important;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .04);
    margin: 12px 12px 0;
    min-height: calc(100vh - 100px) !important;
}

/* -------------------------------------------------------
   BREADCRUMB
------------------------------------------------------- */
body.theme-company-owner .breadcrumb,
body.theme-user .breadcrumb {
    background: transparent !important;
    padding: 10px 15px 5px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    margin: 0;
}

body.theme-company-owner .breadcrumb>li>a,
body.theme-user .breadcrumb>li>a {
    color: var(--breadcrumb-active) !important;
    font-weight: 500;
}

body.theme-company-owner .breadcrumb-item.active,
body.theme-user .breadcrumb-item.active {
    color: #666;
}

body.theme-company-owner .breadcrumb-item+.breadcrumb-item::before,
body.theme-user .breadcrumb-item+.breadcrumb-item::before {
    color: var(--theme-primary);
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
body.theme-company-owner footer,
body.theme-user footer {
    background: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    border-top: 1px solid rgba(0, 0, 0, .06);
    font-size: 11.5px;
    padding: 12px 20px;
}

body.theme-company-owner footer a,
body.theme-user footer a {
    color: var(--theme-primary) !important;
}

/* -------------------------------------------------------
   SEARCH FORM IN HEADER
------------------------------------------------------- */
body.theme-company-owner .search-form input[type="text"],
body.theme-user .search-form input[type="text"] {
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    background: #f5f7fa;
    transition: all var(--transition-std);
    color: #333;
    height: 32px;
}

body.theme-company-owner .search-form input[type="text"]:focus,
body.theme-user .search-form input[type="text"]:focus {
    background: #fff;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px var(--theme-primary-glow);
    outline: none;
}

/* -------------------------------------------------------
   GREEN HEADER / .green class override for both themes
------------------------------------------------------- */
body.theme-company-owner .header-section.green,
body.theme-user .header-section.green {
    background: var(--header-bg) !important;
    color: var(--header-text) !important;
}

/* -------------------------------------------------------
   PAGINATION
------------------------------------------------------- */
body.theme-company-owner .pagination>.active>a,
body.theme-company-owner .pagination>.active>span,
body.theme-user .pagination>.active>a,
body.theme-user .pagination>.active>span {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
}

body.theme-company-owner .pagination>li>a,
body.theme-user .pagination>li>a {
    color: var(--theme-primary);
}

/* -------------------------------------------------------
   CARD HEADER
------------------------------------------------------- */
body.theme-company-owner .card-header,
body.theme-user .card-header {
    background: var(--theme-primary) !important;
}

/* -------------------------------------------------------
   BTN PRIMARY
------------------------------------------------------- */
body.theme-company-owner .btn-primary,
body.theme-user .btn-primary {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
}

body.theme-company-owner .btn-primary:hover,
body.theme-user .btn-primary:hover {
    background-color: var(--theme-primary-dark) !important;
    border-color: var(--theme-primary-dark) !important;
}

/* -------------------------------------------------------
   NAV TABS — accent override
------------------------------------------------------- */
body.theme-company-owner .ui-tabs .ui-tabs-nav .ui-tabs-anchor,
body.theme-company-owner .nav-tabs li a,
body.theme-user .ui-tabs .ui-tabs-nav .ui-tabs-anchor,
body.theme-user .nav-tabs li a {
    background: var(--theme-primary) !important;
    color: #fff !important;
}

body.theme-company-owner .ui-state-active,
body.theme-company-owner .nav-tabs>li.active,
body.theme-user .ui-state-active,
body.theme-user .nav-tabs>li.active {
    border-color: var(--theme-primary) !important;
    border-top-color: var(--theme-primary) !important;
    background: var(--theme-primary) !important;
}

/* -------------------------------------------------------
   RIGHT NOTIFICATION HOVER BORDER
------------------------------------------------------- */
body.theme-company-owner .right-notification .notification-menu li li a:hover,
body.theme-user .right-notification .notification-menu li li a:hover {
    border-left-color: var(--theme-primary) !important;
    color: var(--theme-primary) !important;
}

/* -------------------------------------------------------
   SIDEBAR COLLAPSED STATE
------------------------------------------------------- */
body.theme-company-owner.sticky-header .logo,
body.theme-user.sticky-header .logo {
    background: var(--logo-bg) !important;
}

/* -------------------------------------------------------
   COMPANY SELECT WIDGET AREA
------------------------------------------------------- */
body.theme-company-owner .comp_search,
body.theme-user .comp_search {
    border-left: 1px solid rgba(0, 0, 0, .07);
    border-right: 1px solid rgba(0, 0, 0, .07);
}

/* -------------------------------------------------------
   SMOOTH PAGE TRANSITION
------------------------------------------------------- */
body.theme-company-owner .body-content>.main_wrapper,
body.theme-user .body-content>.main_wrapper {
    animation: xs-fadein 0.3s ease;
}

@keyframes xs-fadein {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

/* -------------------------------------------------------
   RESPONSIVE — mobile sidebar override
------------------------------------------------------- */
@media screen and (max-width: 1024px) {

    body.theme-company-owner .sidebar-left,
    body.theme-user .sidebar-left {
        z-index: 9999;
        box-shadow: 4px 0 32px rgba(0, 0, 0, .30);
    }

    body.theme-company-owner .body-content>.main_wrapper,
    body.theme-user .body-content>.main_wrapper {
        margin: 8px 8px 0;
    }
}

@media screen and (max-width: 767px) {

    body.theme-company-owner .body-content>.main_wrapper,
    body.theme-user .body-content>.main_wrapper {
        margin: 0;
        border-radius: 0;
    }

    .xs-role-badge {
        display: none;
    }
}

/* Hide default Yii2 GridView loading overlay */
.grid-view-loading,
.grid-view.grid-view-loading {
    opacity: 1 !important;
}

.grid-view-loading::after,
.grid-view-loading::before {
    display: none !important;
}

/* =====================================================
   APPS LANDING PAGE (/apps) — EXACT JISECURE STYLES
   Matched to: https://app.jisecure.com/apps
   ===================================================== */

.apps-page {
    font-family: 'Poppins', sans-serif !important;
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

.apps-page h1,
.apps-page h2,
.apps-page h3,
.apps-page h4,
.apps-page h5,
.apps-page h6 {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: -0.5px;
}

.apps-page .text-blue {
    color: #00aae9 !important;
}

.apps-page .section-pd {
    padding: 80px 0;
}

.apps-page .alice-blue {
    background-color: #f4f9fd;
}

/* =======================
   1. HERO BANNER SECTION (Dark Navy #05335b)
   ======================= */
.apps-page .banner_section {
    padding: 80px 0;
    background: #05335b;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.apps-page .banner_section .bnr-cont h1 {
    font-size: 52px;
    color: #ffffff;
    letter-spacing: -1.5px;
    font-weight: 700;
    line-height: 64px;
    margin-bottom: 24px;
}

.apps-page .banner_section .bnr-cont h1 .text-blue {
    color: #00aae9 !important;
}

.apps-page .banner_section .bnr-cont p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 580px;
}

.apps-page .banner_section .app-desc a img {
    height: 48px;
    width: auto;
    transition: transform 0.25s ease;
}

.apps-page .banner_section .app-desc a:hover img {
    transform: translateY(-3px);
}

.apps-page .banner-app {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apps-page .banner-app::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 170, 233, 0.35) 0%, rgba(2, 46, 90, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(25px);
    pointer-events: none;
}

.apps-page .banner-app img {
    position: relative;
    z-index: 1;
    max-height: 520px;
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 170, 233, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.apps-page .banner-app img:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 75px -10px rgba(0, 0, 0, 0.6), 0 0 45px rgba(0, 170, 233, 0.35);
}

@media (max-width: 991.98px) {
    .apps-page .banner_section {
        padding: 60px 0;
        text-align: center;
    }

    .apps-page .banner_section .bnr-cont h1 {
        font-size: 38px;
        line-height: 48px;
    }

    .apps-page .banner_section .app-desc {
        justify-content: center;
        margin-bottom: 40px;
    }
}

/* =======================
   2. WHY CHOOSE SECTION
   ======================= */
.apps-page .why-choose-app {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    background: #ffffff;
}

.apps-page .why-choose-app h2 {
    font-size: 38px;
    font-weight: 700;
    color: #05335b;
}

.apps-page .why-app-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    padding: 30px 24px;
}

.apps-page .why-app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 170, 233, 0.08);
    border-color: rgba(0, 170, 233, 0.2);
}

.apps-page .why-app-card .icon-box {
    width: 72px;
    height: 72px;
    background: rgba(0, 170, 233, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.apps-page .why-app-card:hover .icon-box {
    background: #00aae9;
}

.apps-page .why-app-card .icon-box i {
    font-size: 28px;
    color: #00aae9;
    transition: all 0.3s ease;
}

.apps-page .why-app-card:hover .icon-box i {
    color: #ffffff;
    transform: scale(1.1);
}

.apps-page .why-app-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #05335b;
    margin-bottom: 12px;
}

.apps-page .why-app-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* =======================
   3. CTA APP BANNER
   ======================= */
.apps-page .cta-app-banner {
    background: #0088cc;
    padding: 70px 0;
    color: #ffffff;
}

.apps-page .cta-app-banner h2 {
    font-size: 32px;
    font-weight: 700;
}

.apps-page .cta-app-banner p {
    font-size: 16px;
    opacity: 0.95;
}

.apps-page .cta-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apps-page .cta-app-banner .store-btn-link img {
    height: 48px;
    width: auto;
}

.apps-page .cta-app-banner .store-btn-link:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

/* =======================
   4. APP SCREENS (Tabs & Swiper)
   ======================= */
.apps-page .app-screens {
    background-color: #f7f7f7;
    padding: 80px 0;
    text-align: center;
}

.apps-page .app-screens h2 {
    font-size: 38px;
    font-weight: 700;
    color: #05335b;
}

.apps-page .app-screens .custom-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
}

.apps-page .app-screens .custom-tabs.nav-pills .nav-link {
    padding: 8px 24px;
    color: #333333;
    border: 1px solid #dddddd;
    background: #f8fafc;
    cursor: pointer;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 500;
    transition: all 0.25s ease;
}

.apps-page .app-screens .custom-tabs.nav-pills .nav-link.active {
    background: #00aae9;
    color: #ffffff;
    border-color: #00aae9;
}

.apps-page .app-screens .tab-pane {
    display: none;
}

.apps-page .app-screens .tab-pane.active {
    display: block;
}

.apps-page .app-screens .swiper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 10px 60px;
}

.apps-page .app-screens .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.apps-page .app-screens .swiper-slide img {
    margin: 0 auto;
    display: block;
    max-height: 520px;
    width: auto;
    max-width: 100%;
    border-radius: 26px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.apps-page .app-screens .swiper-slide img:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 170, 233, 0.16);
}

.apps-page .app-screens .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.apps-page .app-screens .swiper-pagination-bullet-active {
    background: #00aae9 !important;
    width: 28px;
    border-radius: 6px;
}

/* =======================
   5. DOWNLOAD & QR CODE SECTION
   ======================= */
.apps-page .app-section {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
}

.apps-page .app-img {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apps-page .app-img img {
    position: relative;
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 28px;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 50px rgba(1, 37, 66, 0.16);
    z-index: 1;
    transition: transform 0.3s ease;
}

.apps-page .app-img:hover img {
    transform: translateY(-5px);
}

.apps-page .app-img::before {
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    height: 420px;
    width: 420px;
    transform: translate(-50%, -50%);
    background: #67d2fb;
    border-radius: 50%;
    z-index: 0;
}

@media (max-width: 991.98px) {
    .apps-page .app-img::before {
        height: 320px;
        width: 320px;
    }
}

.apps-page .app-desc {
    text-align: center;
}

.apps-page .app_section_title h1,
.apps-page .app_section_title h2 {
    font-size: 40px;
    font-weight: 700;
    color: #012542;
    margin-bottom: 16px;
}

.apps-page .app_section_title p {
    max-width: 520px;
    font-size: 16px;
    color: #334155;
    line-height: 1.65;
    margin: 0 auto;
}

.apps-page .qr-img {
    margin: 30px 0 20px;
}

.apps-page .qrcode-container {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.apps-page .qrcode-container-box {
    background: #ffffff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease;
}

.apps-page .qrcode-container-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 170, 233, 0.12);
}

.apps-page .qrcode-container-box img {
    border-radius: 8px;
}

.apps-page .qrcode-container-box a img {
    width: 170px !important;
    height: auto !important;
    margin-top: 14px !important;
    display: block;
}

/* =======================
   6. FEATURES SECTION
   ======================= */
.apps-page .features_section {
    padding: 100px 0;
    background-color: #f4f9fd;
}

.apps-page .features_section .app_section_title {
    text-align: center;
    margin-bottom: 50px;
}

.apps-page .features_section .app_section_title h1,
.apps-page .features_section .app_section_title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #012542;
    letter-spacing: -1px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.apps-page .features_section .app_section_title h1 span,
.apps-page .features_section .app_section_title h2 span {
    color: #00aae9;
}

.apps-page .features_section .app_section_title p {
    font-size: 15px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* features section wraper */
.apps-page .features_section .feature_detail {
    background-color: #ffffff;
    border-radius: 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 120px;
    padding-top: 60px;
    padding-bottom: 20px;
    box-shadow: 0px 4px 25px rgba(15, 6, 53, 0.14);
}

/* features section image */
.apps-page .features_section .feature_detail .feature_img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -75px;
    width: 310px;
    z-index: 2;
    pointer-events: none;
}

.apps-page .features_section .feature_detail .feature_img img {
    max-width: 100%;
    max-height: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 28px;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 45px rgba(15, 6, 53, 0.16);
}

/* features section box */
.apps-page .features_section .feature_detail .feature_box {
    max-width: 410px;
    width: 100%;
}

.apps-page .features_section .feature_detail .feature_box .data_block {
    margin-bottom: 50px;
}

.apps-page .features_section .feature_detail .feature_box .data_block h4 {
    font-size: 20px;
    color: #012542;
    font-weight: 700;
    margin-bottom: 8px;
}

.apps-page .features_section .feature_detail .feature_box .data_block p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* desktop alignment & paddings */
@media (min-width: 992px) {
    .apps-page .features_section .feature_detail .left_data {
        text-align: right;
        padding-left: 130px;
        padding-right: 0;
    }

    .apps-page .features_section .feature_detail .right_data {
        text-align: left;
        padding-right: 130px;
        padding-left: 0;
    }

    .apps-page .features_section .feature_detail .left_data .data_block .icon {
        margin-right: -15px;
        margin-left: auto;
    }

    .apps-page .features_section .feature_detail .right_data .data_block .icon {
        margin-left: -15px;
        margin-right: auto;
    }
}

/* 100px concentric circular icons */
.apps-page .features_section .feature_detail .data_block .icon {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 50%;
    margin-bottom: 15px;
    background: #00aae9;
    transition: transform 0.3s ease;
}

.apps-page .features_section .feature_detail .data_block .icon:hover {
    transform: scale(1.05);
}

.apps-page .features_section .feature_detail .data_block .icon::before {
    position: absolute;
    content: "";
    background: #05335bf7;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    left: 10px;
    top: 10px;
}

.apps-page .features_section .feature_detail .data_block .icon svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
    color: #ffffff;
    position: relative;
    z-index: 9;
}

/* responsive queries */
@media (min-width: 992px) and (max-width: 1200px) {
    .apps-page .features_section .feature_detail .left_data {
        padding-left: 30px;
    }

    .apps-page .features_section .feature_detail .right_data {
        padding-right: 30px;
    }
}

@media (max-width: 991.98px) {
    .apps-page .features_section .feature_detail {
        flex-direction: column;
        margin-top: 40px;
        padding: 40px 20px 20px;
        border-radius: 20px;
    }

    .apps-page .features_section .feature_detail .feature_img {
        position: static;
        transform: none;
        margin: 20px auto 40px;
        width: 260px;
    }

    .apps-page .features_section .feature_detail .feature_box {
        max-width: 100%;
        width: 100%;
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .apps-page .features_section .feature_detail .data_block .icon {
        margin: 0 auto 15px !important;
    }
}

/* =======================
   7. HOW IT WORKS (Dark Navy Box #05335b)
   ======================= */
.apps-page .how_it_section {
    position: relative;
    padding: 40px 0 80px;
}

.apps-page .how_it_inner {
    max-width: 1320px;
    margin: 0 auto;
    background-color: #05335b;
    padding: 80px 40px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.apps-page .how_it_inner h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.apps-page .how_it_inner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
}

.apps-page .how_it_inner .steps_block {
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.apps-page .how_it_inner .steps_block .icon {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-color: #ffffff;
    margin: 0 auto;
}

.apps-page .how_it_inner .steps_block .icon img {
    max-width: 44px;
}

.apps-page .how_it_inner .steps_block .text {
    margin-top: 40px;
    color: #ffffff;
}

.apps-page .how_it_inner .steps_block .text h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.apps-page .how_it_inner .steps_block .text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.apps-page .how_it_inner .steps_block .text .social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0 20px 0;
    list-style: none;
    padding: 0;
}

.apps-page .how_it_inner .steps_block .text .social li a {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff;
    border-radius: 100px;
    text-align: center;
    line-height: 38px;
    color: #ffffff;
    transition: 0.4s all;
    text-decoration: none;
}

.apps-page .how_it_inner .steps_block .text .social li a:hover {
    background-color: #00aae9;
    border-color: #00aae9;
}

.apps-page .how_it_inner .steps_block .text .tag_text {
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 20px 0;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 600;
}

.apps-page .how_it_inner .steps_block .step {
    width: 40px;
    height: 40px;
    border: 1px dashed #9599ab;
    color: #9599ab;
    text-align: center;
    line-height: 38px;
    display: block;
    margin: 30px auto 0;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.apps-page .how_it_inner .steps_block.step_border::after {
    content: "";
    position: absolute;
    left: calc(50% + 45px);
    bottom: 20px;
    width: calc(100% - 60px);
    height: 1px;
    border-bottom: 1px dashed #9599ab;
}

@media (max-width: 767.98px) {
    .apps-page .how_it_inner .steps_block.step_border::after {
        display: none;
    }

    .apps-page .how_it_inner {
        padding: 50px 20px;
        border-radius: 20px;
    }
}

.apps-page .main-blue-btn {
    font-size: 16px;
    padding: 0 35px;
    font-weight: 500;
    height: 50px;
    line-height: 47px;
    background: #00aae9;
    border: 1px solid #00aae9;
    color: #ffffff;
    display: inline-block;
    transition: all 0.5s ease-in-out;
    text-decoration: none;
}

.apps-page .main-blue-btn:hover {
    background: transparent;
    color: #00aae9;
}
