/* ===== BCA-Style CSS for Bank Daerah Karanganyar ===== */

/* CSS Variables */
:root {
    /* BCA Blue Color Palette */
    --primary: #004B87;
    --primary-dark: #003A6B;
    --primary-light: #0066AE;
    --secondary: #0077B6;
    --accent: #00A8E8;

    --success: #00A651;
    --warning: #FDB515;
    --danger: #E31B23;

    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-light: #ffffff;

    --bg-primary: #ffffff;
    --bg-secondary: #F5F7FA;
    --bg-tertiary: #E8F4FC;
    --bg-dark: #004B87;

    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--bg-secondary);
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid var(--border-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-link {
    color: var(--text-secondary);
    font-weight: 500;
}

.top-link:hover,
.top-link.active {
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-icon {
    color: var(--text-secondary);
    padding: 4px;
    display: flex;
    align-items: center;
}

.top-icon:hover {
    color: var(--primary);
}

.lang-separator {
    color: var(--border-color);
}

.lang-link {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 2px 6px;
}

.lang-link.active {
    color: var(--primary);
    background: var(--bg-tertiary);
    border-radius: 4px;
}

/* ===== Main Header ===== */
.main-header {
    background: var(--bg-primary);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img svg {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown .nav-link svg {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-link svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
    padding-left: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.btn-login:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    overflow: visible;
}

.slider-container {
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    min-height: 520px;
    display: none;
    padding-bottom: 60px;
}

.slide.active {
    display: block;
}

.slide-bg {
    position: absolute;
    inset: 0;
}

.slide-content {
    position: relative;
    z-index: 10;
    padding: 80px 0;
}

.slide-content .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.slide-text {
    flex: 1;
    color: white;
    max-width: 550px;
}

.slide-text h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.slide-text h1 span {
    color: var(--accent);
}

.slide-text p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-slide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
}

.btn-slide:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-illustration {
    position: relative;
    width: 350px;
    height: 350px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.floating-card .fc-icon {
    font-size: 32px;
}

.floating-card .fc-text {
    font-weight: 600;
    color: var(--primary);
}

.fc-1 {
    top: 20px;
    left: 0;
    animation-delay: 0s;
}

.fc-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

.fc-3 {
    bottom: 20px;
    left: 50px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ===== Quick Menu ===== */
.quick-menu {
    background: var(--bg-primary);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-top: -40px;
    position: relative;
    z-index: 30;
}

.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    transition: var(--transition);
}

.quick-item:hover {
    background: var(--bg-tertiary);
    transform: translateY(-4px);
}

.quick-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
}

.quick-icon svg {
    width: 100%;
    height: 100%;
}

.quick-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Section Styles ===== */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.section-header p {
    color: var(--text-secondary);
    margin-top: 8px;
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.view-all-link:hover {
    color: var(--accent);
}

.view-all-link.small {
    font-size: 12px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 75, 135, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===== Products Section ===== */
.products-section {
    background: var(--bg-secondary);
}

.products-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 28px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.4s ease both;
}

.product-card:nth-child(1) {
    animation-delay: 0s;
}

.product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 24px;
    color: white;
}

.product-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.product-card-icon.custom-icon {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
}

.product-card-icon img.product-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.product-card-image {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card.has-image .product-card-header {
    background: linear-gradient(135deg, rgba(0, 75, 135, 0.95) 0%, rgba(0, 119, 182, 0.9) 100%);
}

.product-card-header h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-card-header p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
}

.product-card-body {
    padding: 24px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-feature {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.product-link:hover {
    gap: 10px;
    color: var(--accent);
}

/* ===== Promo Section ===== */
.promo-section {
    background: var(--bg-primary);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.promo-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.promo-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
    position: relative;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-card:hover .promo-image img {
    transform: scale(1.05);
}

/* Promo Card Link Wrapper */
.promo-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.promo-card-link:hover .promo-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.promo-card-link:hover .promo-image img {
    transform: scale(1.05);
}

.promo-content {
    padding: 20px;
}

.promo-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-tertiary);
    color: var(--primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.promo-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.promo-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.promo-date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== Info Section ===== */
.info-section {
    background: var(--bg-secondary);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.info-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-card-header {
    background: var(--primary);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.info-card-header .view-all-link {
    color: rgba(255, 255, 255, 0.8);
}

.info-card-header .view-all-link:hover {
    color: white;
}

.info-card-body {
    padding: 20px 24px;
}

.info-card-footer {
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.info-card-footer small {
    color: var(--text-muted);
    font-size: 11px;
}

/* Interest Rate Card */
.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.rate-item:last-child {
    border-bottom: none;
}

.rate-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.rate-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.rate-value.highlight {
    color: var(--success);
    font-size: 18px;
}

.rate-value small {
    font-size: 12px;
    font-weight: 400;
}

/* News Card */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-thumb {
    width: 80px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.news-info {
    flex: 1;
}

.news-category {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-tertiary);
    color: var(--primary);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 6px;
}

.news-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 4px;
}

.news-info h4:hover {
    color: var(--primary);
}

.news-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== Branch Section ===== */
.branch-section {
    background: var(--bg-primary);
}

.branch-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.branch-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.branch-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.branch-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.branch-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.branch-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.branch-type {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-tertiary);
    color: var(--primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* ===== About Section ===== */
.about-section {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-features .feature-icon {
    width: 28px;
    height: 28px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.about-features span {
    font-size: 14px;
    color: var(--text-primary);
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
}

.image-placeholder svg {
    width: 100%;
    height: auto;
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Contact Banner ===== */
.contact-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 50px 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 8px;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.banner-actions {
    display: flex;
    gap: 16px;
}

.btn-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
}

.btn-banner:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-banner-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-banner-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ===== Footer ===== */
.main-footer {
    background: var(--bg-dark);
    color: white;
}

.footer-top {
    padding: 40px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 30px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo svg,
.footer-logo img {
    height: 36px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 14px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
    padding-left: 3px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact .contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    width: 14px;
    height: 14px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 14px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-badges {
    display: flex;
    gap: 8px;
}

.footer-badges .badge {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Skeleton Loading ===== */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .quick-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid,
    .promo-grid,
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1100;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease, visibility 0.3s ease;
        visibility: hidden;
        pointer-events: none;
    }

    .main-nav.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .main-nav .nav-dropdown {
        width: 100%;
    }

    .main-nav .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
        background: #f8f9fa;
        border-radius: 8px;
        margin-top: 10px;
    }

    .main-nav .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1200;
        position: relative;
        pointer-events: auto;
    }

    .mobile-menu-toggle span {
        background: var(--primary);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
    }

    .slide-text h1 {
        font-size: 28px;
    }

    .slide-image {
        display: none;
    }

    .quick-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .products-grid,
    .promo-grid,
    .branch-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .branch-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .quick-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .quick-icon {
        width: 48px;
        height: 48px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .products-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* ===== Floating Sidebar Menu (BCA Style) ===== */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
}

.sidebar-items {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-sidebar.active .sidebar-items {
    transform: translateX(0);
}

.sidebar-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item:hover {
    background: var(--bg-tertiary);
}

.sidebar-item.chat-item {
    background: var(--primary);
    color: white;
}

.sidebar-item.chat-item:hover {
    background: var(--primary-dark);
}

.sidebar-item.chat-item .sidebar-icon svg {
    stroke: white;
}

.sidebar-item.chat-item .sidebar-label {
    color: white;
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.sidebar-icon svg {
    stroke: var(--primary);
}

.sidebar-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Submenu */
.sidebar-submenu {
    position: absolute;
    right: 100%;
    top: 0;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 8px;
    overflow: hidden;
}

.sidebar-item:hover .sidebar-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-header {
    padding: 16px 20px;
    background: var(--primary);
    color: white;
}

.submenu-header span {
    font-size: 14px;
    font-weight: 700;
}

.submenu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    background: var(--bg-tertiary);
    padding-left: 24px;
}

.submenu-item.highlight {
    background: var(--bg-tertiary);
}

.submenu-item.highlight:hover {
    background: var(--primary);
    color: white;
}

.submenu-icon {
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.submenu-item span:last-child {
    font-size: 13px;
    font-weight: 500;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border: none;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-toggle:hover {
    background: var(--primary-dark);
    width: 52px;
}

.sidebar-toggle svg {
    stroke: white;
    transition: all 0.3s ease;
}

.sidebar-toggle .icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

.floating-sidebar.active .sidebar-toggle .icon-open {
    opacity: 0;
    transform: rotate(90deg);
}

.floating-sidebar.active .sidebar-toggle .icon-close {
    opacity: 1;
    transform: rotate(0);
}

/* Pulse Animation for Chat */
.chat-item .sidebar-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Mobile Styles for Sidebar */
@media (max-width: 768px) {
    .floating-sidebar {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
    }

    .sidebar-items {
        position: absolute;
        bottom: 60px;
        right: 0;
        border-radius: 12px;
        max-height: 70vh;
        overflow-y: auto;
    }

    .sidebar-submenu {
        position: fixed;
        right: auto;
        left: 20px;
        top: auto;
        bottom: 100px;
        margin-right: 0;
        width: calc(100vw - 40px);
        max-width: 300px;
    }

    .sidebar-toggle {
        border-radius: 50%;
        width: 56px;
        height: 56px;
    }

    .sidebar-toggle:hover {
        width: 56px;
    }
}

/* ===== News Modal ===== */
.news-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.news-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.news-modal {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.news-modal-overlay.active .news-modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-close svg {
    stroke: currentColor;
}

.modal-header {
    padding: 30px 30px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-date {
    font-size: 13px;
    color: var(--text-muted);
}

.modal-title {
    padding: 16px 30px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.modal-content {
    padding: 20px 30px 30px;
}

.modal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

/* Modal Image */
.modal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: none;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Author */
.modal-author {
    font-size: 13px;
    color: var(--text-muted);
}

.modal-author-separator {
    font-size: 13px;
    color: var(--text-muted);
}

/* News item styling */
.news-item {
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
}

.news-item:hover {
    background: var(--bg-tertiary);
}

.news-item h4 a {
    pointer-events: none;
}

/* News thumbnail with image support */
.news-thumb {
    width: 80px;
    height: 60px;
    min-width: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
}

.news-thumb.has-image {
    background: none;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News info */
.news-info {
    flex: 1;
    min-width: 0;
}

.news-category {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.news-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info h4 a {
    color: inherit;
    text-decoration: none;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.news-date {
    font-size: 11px;
    color: var(--text-muted);
}

.news-author {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .news-modal {
        max-height: 90vh;
        border-radius: 16px;
    }

    .modal-image {
        height: 180px;
    }

    .modal-header {
        padding: 24px 20px 0;
        flex-wrap: wrap;
        gap: 8px;
    }

    .modal-title {
        padding: 12px 20px 0;
        font-size: 20px;
    }

    .modal-content {
        padding: 16px 20px 24px;
    }

    .modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .news-thumb {
        width: 70px;
        height: 50px;
        min-width: 70px;
    }

    .news-item {
        gap: 12px;
        padding: 10px;
    }
}

/* ===== News Modal ===== */
.news-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.news-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.news-modal {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.news-modal-overlay.active .news-modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 0;
    flex-wrap: wrap;
}

.modal-category {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.modal-date,
.modal-author {
    font-size: 13px;
    color: var(--text-secondary);
}

.modal-author-separator {
    color: var(--text-muted);
}

.modal-title {
    font-size: 24px;
    color: var(--text-primary);
    padding: 16px 24px 0;
    line-height: 1.4;
}

.modal-content {
    padding: 16px 24px 24px;
}

.modal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .news-modal {
        max-height: 80vh;
        margin: 10px;
    }

    .modal-image {
        height: 180px;
    }

    .modal-title {
        font-size: 20px;
    }
}

/* ===== Rates Info Section ===== */
.rates-info-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.rates-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.rates-info-text h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.rates-info-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.rates-info-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 75, 135, 0.15);
    overflow: hidden;
}

.info-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.update-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.info-card-body {
    padding: 20px 24px;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rate-item:last-child {
    border-bottom: none;
}

.rate-label {
    font-weight: 500;
    color: var(--text-primary);
}

.rate-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

.rate-value.highlight {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
}

.rate-value small {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .rates-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rates-info-text {
        text-align: center;
    }

    .rates-info-text h2 {
        font-size: 1.5rem;
    }

    .info-card-header h3 {
        font-size: 16px;
    }
}

/* LPS Rates Table */
.lps-rates-card {
    min-width: 380px;
}

.lps-rates-table-wrapper {
    padding: 20px;
}

.lps-rates-table {
    width: 100%;
    border-collapse: collapse;
}

.lps-rates-table thead th {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: center;
}

.lps-rates-table thead th:first-child {
    text-align: left;
    border-radius: 8px 0 0 8px;
}

.lps-rates-table thead th:last-child {
    border-radius: 0 8px 8px 0;
}

.lps-rates-table tbody td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.lps-rates-table tbody td:first-child {
    text-align: left;
}

.lps-rates-table tbody tr:last-child td {
    border-bottom: none;
}

.bank-type {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-icon {
    font-size: 20px;
}

.bank-type span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.rate-highlight {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 75, 135, 0.1);
    padding: 6px 14px;
    border-radius: 8px;
}

.rate-highlight.primary {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.rate-na {
    color: var(--text-muted);
    font-size: 14px;
}

.lps-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #92400e;
}

.lps-note svg {
    flex-shrink: 0;
    color: #d97706;
}

@media (max-width: 768px) {
    .lps-rates-card {
        min-width: auto;
    }

    .rate-highlight {
        font-size: 14px;
        padding: 4px 10px;
    }

    .lps-rates-table thead th,
    .lps-rates-table tbody td {
        padding: 12px 8px;
    }

    .bank-icon {
        font-size: 16px;
    }

    .lps-note {
        font-size: 12px;
    }
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    padding-right: 40px;
}

.footer-brand img {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* ===== Floating Sidebar ===== */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.sidebar-content {
    background: white;
    border-radius: 16px 0 0 16px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    width: 220px;
}

.floating-sidebar.active .sidebar-content {
    transform: translateX(0);
}

.sidebar-menu-group {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-menu-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.sidebar-menu-item:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.submenu-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.sidebar-toggle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 12px 0 0 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.sidebar-toggle .icon-close {
    display: none;
}

.floating-sidebar.active .sidebar-toggle .icon-open {
    display: none;
}

.floating-sidebar.active .sidebar-toggle .icon-close {
    display: block;
}

@media (max-width: 768px) {
    .floating-sidebar {
        bottom: 20px;
        top: auto;
        right: 20px;
        transform: none;
    }

    .sidebar-toggle {
        border-radius: 50%;
        width: 56px;
        height: 56px;
    }

    .sidebar-content {
        position: absolute;
        bottom: 70px;
        right: 0;
        border-radius: 16px;
        transform: translateY(20px);
        opacity: 0;
        visibility: hidden;
    }

    .floating-sidebar.active .sidebar-content {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* ===== Floating Side Navigation ===== */
.floating-side-nav {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
}

@media (min-width: 992px) {
    .floating-side-nav {
        display: flex;
    }
}

.side-nav-bar {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.side-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: white;
    transition: var(--transition);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav-item:last-child {
    border-bottom: none;
}

.side-nav-item:hover {
    background: white;
    color: var(--primary);
}

.side-nav-item svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.side-nav-item:hover svg {
    transform: scale(1.1);
}

/* Tooltip */
.side-nav-item .nav-tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.side-nav-item .nav-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary-dark);
}

.side-nav-item:hover .nav-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-top: 1px solid var(--border-color);
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 500;
    transition: var(--transition);
    padding: 2px 4px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 20%;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mobile-nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

/* Removed special nav-icon styling - all items look the same now */