/* ============================================
   HOME PAGE - BANNER & PRICING
   ============================================ */

/* ============================================
   BANNER SECTION - Clean & No Conflicts
   ============================================ */

.banner-section {
    padding: 1.5rem 0;
    margin-top: 0;
    position: relative;
    z-index: 1; /* Normal flow, below header */
    display: block;
    visibility: visible;
    opacity: 1;
}

.banner-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    display: block;
    width: 100%;
}

.banner-wrapper .owl-carousel {
    display: block;
    width: 100%;
}

.banner-wrapper .owl-stage-outer {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.banner-wrapper .owl-stage {
    display: flex;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.banner-wrapper .owl-item {
    width: 100%;
    float: none;
    display: block;
    min-height: 200px;
    flex-shrink: 0;
}

.banner-wrapper .owl-carousel .item {
    width: 100%;
    display: block;
    position: relative;
    min-height: 200px;
    margin: 0;
    padding: 0;
}

.banner-wrapper .owl-carousel .item img,
.banner-wrapper .owl-item img,
.banner-wrapper img,
.banner-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 500px;
    display: block;
    visibility: visible;
    opacity: 1;
    object-fit: cover;
    object-position: center;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Owl Carousel Navigation */
.banner-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.banner-wrapper .owl-nav button {
    pointer-events: all;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.95) !important;
    color: #1561ac !important;
    font-size: 1.2rem !important;
    transition: all 0.3s !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border: none !important;
    line-height: 45px !important;
}

.banner-wrapper .owl-nav button:hover {
    background: #fff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25) !important;
}

.banner-wrapper .owl-dots {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    margin: 0;
}

.banner-wrapper .owl-dot {
    display: inline-block;
    margin: 0 0.3rem;
}

.banner-wrapper .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    display: block;
    border-radius: 50%;
    transition: all 0.3s;
    margin: 0;
}

.banner-wrapper .owl-dot.active span {
    width: 30px;
    border-radius: 5px;
    background: #fff;
}

/* Pricing Section */
.pricing-section {
    padding: 1rem 0 2rem;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
}

.pricing-header {
    background: linear-gradient(135deg, #1561ac 0%, #0d47a1 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pricing-header i {
    font-size: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.pricing-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 1;
}

.pricing-header p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.pricing-body {
    padding: 0;
}

.pricing-table-responsive {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(21, 97, 172, 0.35) rgba(21, 97, 172, 0.08);
}

.pricing-table-responsive::-webkit-scrollbar {
    height: 8px;
}

.pricing-table-responsive::-webkit-scrollbar-track {
    background: rgba(21, 97, 172, 0.08);
}

.pricing-table-responsive::-webkit-scrollbar-thumb {
    background: rgba(21, 97, 172, 0.35);
    border-radius: 999px;
}

.pricing-scroll-hint {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem 0;
    color: #64748b;
    font-size: 0.8125rem;
}

.pricing-table {
    width: 100%;
    min-width: 720px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.pricing-table thead {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-bottom: 3px solid #1561ac;
}

.pricing-table thead th {
    padding: 1rem 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1561ac;
    text-align: center;
    border-bottom: none;
}

.pricing-table thead th.card-type {
    text-align: left;
    padding-left: 1.5rem;
    min-width: 180px;
    position: sticky;
    left: 0;
    z-index: 3;
    background: #d6eafb;
}

.pricing-table tbody tr {
    transition: all 0.2s;
}

.pricing-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.pricing-table tbody tr:nth-child(odd) {
    background: #fff;
}

.pricing-table tbody tr:hover {
    background: linear-gradient(to right, #e3f2fd 0%, #f5f5f5 100%);
    box-shadow: 0 2px 8px rgba(21, 97, 172, 0.15);
}

.pricing-table tbody td {
    padding: 0.85rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.pricing-table tbody td.card-name {
    text-align: left;
    padding-left: 1.5rem;
    font-weight: 500;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: sticky;
    left: 0;
    z-index: 2;
    background: inherit;
    min-width: 180px;
    box-shadow: 1px 0 0 #e9ecef;
}

.card-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.rate-badge {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, #1561ac 0%, #0d47a1 100%);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(21, 97, 172, 0.3);
    transition: all 0.3s;
}

.rate-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(21, 97, 172, 0.4);
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

/* Quick actions */
.home-actions-section {
    padding: 0 0 1rem;
}

.home-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-action-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 88px;
    padding: 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    color: #1f2937;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 97, 172, 0.24);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    color: #0d47a1;
}

.home-action-card.primary {
    border-color: rgba(21, 97, 172, 0.28);
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.home-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: linear-gradient(135deg, #1561ac 0%, #0d47a1 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(21, 97, 172, 0.24);
}

.home-action-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-action-content strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

.home-action-content small {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
}

.home-action-arrow {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.85rem;
    flex: 0 0 auto;
}

.pricing-empty {
    padding: 2rem 1rem !important;
    color: #64748b;
    text-align: center !important;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .banner-image {
        height: 320px !important;
    }

    .home-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .pricing-header {
        padding: 1rem 1.25rem;
    }
    
    .pricing-header h2 {
        font-size: 1.2rem;
    }
    
    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .card-icon {
        width: 28px;
        height: 28px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .banner-section {
        padding: 1.5rem 1rem;
        margin: 0;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .banner-section .container.banner-container,
    .banner-section .banner-container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    .banner-wrapper {
        border-radius: 12px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-carousel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-stage-outer {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-stage {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-carousel .item,
    .banner-wrapper .owl-item {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 220px;
        box-sizing: border-box;
    }
    
    .banner-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 220px;
        max-height: none !important;
        object-fit: cover;
        display: block;
        border-radius: 12px;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-nav button {
        width: 38px;
        height: 38px;
        font-size: 1rem !important;
    }
    
    .banner-wrapper .owl-nav button.owl-prev {
        left: 0.5rem;
    }
    
    .banner-wrapper .owl-nav button.owl-next {
        right: 0.5rem;
    }
    
    .pricing-section {
        padding: 0.5rem 0 1.5rem;
    }

    .home-actions-section {
        padding: 0 0 0.75rem;
    }
    
    .pricing-card {
        border-radius: 10px;
    }
    
    .pricing-header {
        padding: 0.85rem 1rem;
    }
    
    .pricing-header i {
        font-size: 1.25rem;
    }
    
    .pricing-header h2 {
        font-size: 1.1rem;
    }

    .pricing-header p {
        font-size: 0.8rem;
    }

    .pricing-scroll-hint {
        display: flex;
    }
    
    .pricing-table thead th {
        padding: 0.65rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .pricing-table thead th.card-type {
        padding-left: 1rem;
        min-width: 140px;
    }
    
    .pricing-table tbody td {
        padding: 0.65rem 0.4rem;
    }
    
    .pricing-table tbody td.card-name {
        padding-left: 1rem;
        font-size: 0.85rem;
        min-width: 140px;
    }
    
    .card-icon {
        width: 24px;
        height: 24px;
    }
    
    .rate-badge {
        padding: 0.3rem 0.55rem;
        font-size: 0.8rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .banner-section {
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .banner-wrapper {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-carousel .item,
    .banner-wrapper .owl-item {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 200px;
        box-sizing: border-box;
    }
    
    .banner-image {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 200px;
        border-radius: 12px;
        box-sizing: border-box;
    }
    
    .pricing-card {
        border-radius: 8px;
    }

    .home-actions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .home-action-card {
        min-height: 76px;
        padding: 0.85rem;
        border-radius: 10px;
    }

    .home-action-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
    
    .pricing-table thead th {
        font-size: 0.75rem;
        padding: 0.6rem 0.3rem;
    }
    
    .pricing-table thead th.card-type {
        min-width: 120px;
        padding-left: 0.75rem;
    }
    
    .pricing-table tbody td {
        padding: 0.6rem 0.3rem;
    }
    
    .pricing-table tbody td.card-name {
        padding-left: 0.75rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }
}
