/* ============================================
   RBI Bank - Reserve Bank of India
   Professional Banking Website Styles
   Mobile-First Responsive Design
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    --rbi-blue: #000000;
    --rbi-blue-dark: #000000;
    --rbi-blue-light: #000000;
    --rbi-gold: #c9a84c;
    --rbi-gold-light: #e0c56e;
    --rbi-red: #c0392b;
    --rbi-green: #27ae60;
    --rbi-orange: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --gradient-blue: linear-gradient(135deg, #000000 0%, #151f27 100%);
    --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #e0c56e 100%);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--rbi-blue-light);
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--rbi-blue-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-display {
    font-weight: 400;
    opacity: 0.9;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch a {
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.3);
}

.lang-switch a.active,
.lang-switch a:hover {
    background: var(--rbi-gold);
    border-color: var(--rbi-gold);
    color: var(--rbi-blue-dark);
}

.govt-india {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 500;
}

/* ===== Main Header ===== */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rbi-emblem {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rbi-gold);
    font-weight: bold;
    font-size: 22px;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--rbi-blue);
    line-height: 1.2;
}

.logo-text .hindi-title {
    font-size: 16px;
    color: var(--rbi-gold);
    font-weight: 600;
}

.logo-text .tagline {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ===== Navigation ===== */
.main-nav {
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu li a {
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--rbi-blue);
    color: #fff;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--rbi-blue);
    cursor: pointer;
    padding: 8px;
}

/* ===== Hero Section ===== */
.hero-section {
    background: var(--gradient-blue);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.2);
    color: var(--rbi-gold-light);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(201,168,76,0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--rbi-gold);
    color: var(--rbi-blue-dark);
}

.btn-primary:hover {
    background: var(--rbi-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201,168,76,0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-danger {
    background: var(--rbi-red);
    color: #fff;
}

.btn-success {
    background: var(--rbi-green);
    color: #fff;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--rbi-gold);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

/* ===== Track Section ===== */
.track-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--rbi-blue);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

/* Track Form */
.track-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.track-form {
    display: flex;
    gap: 0;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.track-form:focus-within {
    border-color: var(--rbi-blue-light);
    box-shadow: 0 0 0 4px rgba(26,58,92,0.1);
}

.track-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-dark);
}

.track-form input::placeholder {
    color: #aaa;
}

.track-form button {
    padding: 18px 35px;
    background: var(--rbi-blue);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.track-form button:hover {
    background: var(--rbi-blue-dark);
}

/* ===== Services Section ===== */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rbi-blue-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--rbi-gold);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--rbi-blue);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Recent Transactions Slider ===== */
.recent-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.transactions-slider {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.transaction-slide {
    min-width: 320px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.transaction-slide:hover {
    box-shadow: var(--shadow);
    border-color: var(--rbi-gold);
}

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.slide-tid {
    font-size: 13px;
    font-weight: 600;
    color: var(--rbi-blue);
    background: rgba(26,58,92,0.1);
    padding: 4px 12px;
    border-radius: 50px;
}

.slide-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 50px;
}

.status-completed {
    background: rgba(39,174,96,0.1);
    color: var(--rbi-green);
}

.slide-body {
    margin-top: 10px;
}

.slide-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 15px;
}

.slide-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--rbi-blue);
    margin-bottom: 5px;
}

.slide-show-money {
    font-size: 14px;
    color: var(--rbi-orange);
    font-weight: 500;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--rbi-blue);
    color: var(--rbi-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--rbi-blue);
    color: #fff;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0;
    background: var(--gradient-blue);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.about-left p {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ab-stat {
    text-align: center;
}

.ab-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--rbi-gold);
}

.ab-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-box {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.feature-box:hover {
    background: rgba(255,255,255,0.12);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(201,168,76,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--rbi-gold);
    flex-shrink: 0;
}

.feature-box h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-box p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.5;
}

/* ===== Security Section ===== */
.security-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.security-item {
    text-align: center;
    padding: 30px 20px;
}

.security-icon {
    font-size: 40px;
    color: var(--rbi-blue);
    margin-bottom: 15px;
}

.security-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--rbi-blue);
    margin-bottom: 8px;
}

.security-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== Process Section ===== */
.process-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border-color);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 700;
    color: var(--rbi-gold);
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow);
}

.step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--rbi-blue);
    margin-bottom: 8px;
}

.step p {
    font-size: 13px;
    color: var(--text-light);
    max-width: 200px;
    margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
    background: var(--rbi-blue-dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--rbi-gold);
}

.footer-brand .hindi {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--rbi-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--rbi-gold);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

/* ===== Modal Base ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 98vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

.modal-content::-webkit-scrollbar {
    width: 3px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--rbi-gold);
    border-radius: 10px;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   PROFESSIONAL BANKING TRANSACTION SLIP STYLES
   OPTIMIZED FOR MOBILE - NO SCROLLING
   ============================================ */

/* Banking Slip Container */
.banking-slip {
    background: linear-gradient(135deg, #fff 0%, #fef9e6 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--rbi-gold);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: auto;
    max-height: none;
}

/* Slip Header */
.slip-header {
    background: linear-gradient(135deg, var(--rbi-blue) 0%, var(--rbi-blue-dark) 100%);
    padding: 12px 15px;
    text-align: center;
    border-bottom: 2px solid var(--rbi-gold);
    position: relative;
}

.slip-header .rbi-emblem-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin-bottom: 5px;
}

.slip-header .rbi-emblem-small i {
    font-size: 18px;
    color: var(--rbi-gold);
}

.slip-header h3 {
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.slip-header .slip-title {
    color: var(--rbi-gold);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slip-header .slip-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 8px;
    margin-top: 3px;
}

/* Watermark */
.slip-watermark {
    position: absolute;
    bottom: 5px;
    right: 8px;
    opacity: 0.1;
    font-size: 8px;
    color: #000;
    font-weight: bold;
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Transaction ID Section */
.transaction-id-section {
    background: #f8f9fa;
    padding: 8px 12px;
    border-bottom: 1px dashed #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.transaction-id-section .tid-label {
    font-size: 9px;
    color: #7f8c8d;
    font-weight: 500;
}

.transaction-id-section .tid-value {
    font-size: 10px;
    font-weight: 700;
    color: var(--rbi-blue);
    background: #e8edf2;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.copy-tid-btn {
    background: none;
    border: none;
    color: var(--rbi-blue-light);
    cursor: pointer;
    font-size: 12px;
    padding: 3px;
    transition: var(--transition);
}

.copy-tid-btn:hover {
    color: var(--rbi-gold);
    transform: scale(1.1);
}

/* Bank Stamp */
.bank-stamp {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 45px;
    height: 45px;
    border: 1.5px solid var(--rbi-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0.5;
    transform: rotate(-15deg);
    pointer-events: none;
    background: rgba(255,255,255,0.5);
}

.bank-stamp span {
    font-size: 6px;
    font-weight: bold;
    color: var(--rbi-red);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

/* Slip Body */
.slip-body {
    padding: 12px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
    border-left: 2px solid var(--rbi-gold);
}

.info-card h4 {
    font-size: 8px;
    color: #7f8c8d;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-card h4 i {
    color: var(--rbi-gold);
    font-size: 9px;
}

.info-card .info-value {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    word-break: break-word;
}

.info-card .info-sub {
    font-size: 8px;
    color: #95a5a6;
    margin-top: 3px;
}

/* Amount Breakdown */
.amount-breakdown {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
    color: #fff;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breakdown-row:last-child {
    border-bottom: none;
    border-top: 1.5px solid var(--rbi-gold);
    margin-top: 4px;
    padding-top: 6px;
}

.breakdown-label {
    font-size: 10px;
    opacity: 0.8;
}

.breakdown-amount {
    font-weight: 600;
    font-size: 10px;
}

.total-row .breakdown-label,
.total-row .breakdown-amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--rbi-gold);
}

/* Status Tracker */
.status-tracker {
    margin-bottom: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e0e0e0;
}

.status-tracker h4 {
    font-size: 10px;
    color: #7f8c8d;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tracker-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 8px 0;
}

.tracker-steps::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: #e0e0e0;
    z-index: 0;
}

.tracker-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-icon {
    width: 24px;
    height: 24px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    transition: var(--transition);
}

.step-icon i {
    font-size: 10px;
    color: #fff;
}

.step-label {
    font-size: 7px;
    color: #7f8c8d;
    font-weight: 500;
}

.tracker-step.completed .step-icon {
    background: var(--rbi-green);
}

.tracker-step.active .step-icon {
    background: var(--rbi-gold);
    animation: pulse 2s infinite;
}

.tracker-step.pending .step-icon {
    background: #bdc3c7;
}

/* Show Money Section */
.show-money-slip {
    background: rgba(230,126,34,0.08);
    border: 1px solid rgba(230,126,34,0.2);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
}

.show-money-slip .show-money-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.show-money-slip .show-money-header i {
    font-size: 14px;
    color: var(--rbi-orange);
}

.show-money-slip .show-money-header h4 {
    font-size: 10px;
    font-weight: 600;
    color: var(--rbi-orange);
    margin: 0;
}

.show-money-slip .show-money-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--rbi-orange);
    text-align: center;
    padding: 5px;
}

.show-money-slip .last-date {
    font-size: 9px;
    color: #7f8c8d;
    text-align: center;
    margin-top: 5px;
}

/* Alert Box */
.alert-box {
    padding: 8px 10px;
    border-radius: 6px;
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.alert-warning {
    background: rgba(230,126,34,0.1);
    border: 1px solid rgba(230,126,34,0.2);
}

.alert-success {
    background: rgba(39,174,96,0.1);
    border: 1px solid rgba(39,174,96,0.2);
}

.alert-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.alert-warning .alert-icon {
    color: var(--rbi-orange);
}

.alert-success .alert-icon {
    color: var(--rbi-green);
}

.alert-content p {
    font-size: 9px;
    line-height: 1.4;
}

.alert-content p strong {
    font-size: 10px;
}

/* ===== OFFICER SECTION WITH SIGNATURE IMAGE ===== */
.officer-section {
    border-top: 1px dashed #ddd;
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

/* Signature Area with Image Support */
.signature-area {
    text-align: center;
    position: relative;
}

.signature-image-container {
    margin-bottom: 5px;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signature-img {
    max-width: 120px;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: var(--transition);
}

.signature-img:hover {
    opacity: 1;
}

/* Fallback signature line (shows if image fails to load) */
.signature-line {
    width: 80px;
    border-bottom: 1px solid #333;
    margin-bottom: 3px;
    padding-top: 5px;
}

.signature-label {
    font-size: 7px;
    color: #7f8c8d;
    margin-top: 3px;
}

/* Seal Area */
.seal-area {
    text-align: center;
}

.seal-placeholder {
    width: 35px;
    height: 35px;
    border: 1.5px dashed var(--rbi-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--rbi-blue);
    opacity: 0.5;
}

/* Footer Note */
.slip-footer-note {
    background: #f8f9fa;
    padding: 6px 10px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.slip-footer-note p {
    font-size: 7px;
    color: #7f8c8d;
    margin: 0;
}

.slip-footer-note i {
    color: var(--rbi-gold);
}

/* Status Badges */
.status-badge-pending {
    background: rgba(230,126,34,0.1);
    color: var(--rbi-orange);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}

.status-badge-processing {
    background: rgba(52,152,219,0.1);
    color: #3498db;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}

.status-badge-completed {
    background: rgba(39,174,96,0.1);
    color: var(--rbi-green);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}

.status-badge-failed {
    background: rgba(192,57,43,0.1);
    color: var(--rbi-red);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}

.status-badge-hold {
    background: rgba(149,165,166,0.1);
    color: #7f8c8d;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}

/* Modal Footer */
.modal-footer {
    padding: 8px 12px;
    border-top: 1px solid var(--border-color);
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.modal-footer .btn {
    padding: 6px 15px;
    font-size: 12px;
}

/* Error Modal */
.error-modal .modal-header {
    border-bottom-color: rgba(192,57,43,0.2);
}

.error-modal .modal-header h3 {
    color: var(--rbi-red);
}

.error-content {
    text-align: center;
    padding: 20px;
}

.error-icon {
    font-size: 40px;
    color: var(--rbi-red);
    margin-bottom: 10px;
}

.error-content h4 {
    font-size: 14px;
    color: var(--rbi-red);
    margin-bottom: 8px;
}

.error-content p {
    color: var(--text-light);
    font-size: 11px;
}

/* ===== WhatsApp Chat Button ===== */
.whatsapp-chat {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9998;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.whatsapp-btn .chat-tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-btn:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn .pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37,211,102,0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 20px;
}

.mb-4 {
    margin-bottom: 20px;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.w-100 {
    width: 100%;
}

.p-3 {
    padding: 15px;
}

.p-4 {
    padding: 20px;
}

/* Loading Spinner */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.active {
    display: inline-block;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.banking-slip {
    animation: fadeInUp 0.4s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--rbi-blue-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rbi-blue);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 100000;
    animation: slideInRight 0.3s ease;
}

.toast-success {
    background: #27ae60;
    color: #fff;
}

.toast-error {
    background: #c0392b;
    color: #fff;
}

.toast-info {
    background: #e67e22;
    color: #fff;
}

/* Print Styles */
@media print {
    .top-bar,
    .main-nav,
    .menu-toggle,
    .whatsapp-chat,
    .slider-controls,
    .hero-buttons,
    .footer,
    .modal-header,
    .modal-footer,
    .copy-tid-btn,
    .modal-close {
        display: none !important;
    }
    
    .modal-overlay {
        position: absolute;
        background: white;
        padding: 0;
    }
    
    .modal-content {
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    
    .banking-slip {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .bank-stamp {
        opacity: 0.3;
    }
    
    /* Keep signature visible in print */
    .signature-img {
        opacity: 1;
        filter: grayscale(0%);
    }
    
    body {
        background: white;
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        z-index: 10000;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-menu li a {
        padding: 15px;
        border-radius: 8px;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .track-form {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .top-bar-left {
        display: none;
    }
    
    .top-bar .container {
        justify-content: center;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .rbi-emblem {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    /* Mobile Signature Adjustments */
    .signature-img {
        max-width: 90px;
        max-height: 35px;
    }
    
    .signature-line {
        width: 60px;
    }
}

/* Mobile Specific (Under 480px) - NO SCROLLING */
@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .transaction-slide {
        min-width: 280px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .modal-overlay {
        padding: 5px;
        align-items: center;
    }
    
    .modal-content {
        max-height: 99vh;
        border-radius: 12px;
    }
    
    .banking-slip {
        max-height: none;
        overflow: visible;
    }
    
    .slip-body {
        padding: 10px;
    }
    
    .info-grid {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .info-card {
        padding: 6px;
    }
    
    .info-card .info-value {
        font-size: 10px;
    }
    
    .amount-breakdown {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .breakdown-row {
        padding: 3px 0;
    }
    
    .breakdown-label,
    .breakdown-amount {
        font-size: 9px;
    }
    
    .total-row .breakdown-label,
    .total-row .breakdown-amount {
        font-size: 11px;
    }
    
    .status-tracker {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .tracker-steps {
        margin: 5px 0;
    }
    
    .step-icon {
        width: 20px;
        height: 20px;
    }
    
    .step-icon i {
        font-size: 8px;
    }
    
    .step-label {
        font-size: 6px;
    }
    
    .show-money-slip {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .show-money-slip .show-money-amount {
        font-size: 14px;
    }
    
    .officer-section {
        margin-top: 8px;
        padding-top: 8px;
    }
    
    /* Mobile Signature - Smaller */
    .signature-img {
        max-width: 70px;
        max-height: 30px;
    }
    
    .signature-line {
        width: 50px;
    }
    
    .signature-label {
        font-size: 6px;
    }
    
    .slip-footer-note p {
        font-size: 6px;
    }
    
    .bank-stamp {
        width: 35px;
        height: 35px;
        bottom: 5px;
        right: 5px;
    }
    
    .bank-stamp span {
        font-size: 5px;
    }
}

/* For very small devices (under 380px) */
@media (max-width: 380px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .transaction-id-section {
        flex-direction: column;
        text-align: center;
    }
    
    .tracker-steps {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tracker-steps::before {
        display: none;
    }
    
    .tracker-step {
        flex: auto;
        min-width: 55px;
    }
    
    .officer-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-icon {
        width: 22px;
        height: 22px;
    }
    
    /* Very small devices signature */
    .signature-img {
        max-width: 60px;
        max-height: 25px;
    }
}