/* =====================================================
   RBL Bank – Design System Stylesheet
   File: styles.css
   ===================================================== */

/* ================== CSS VARIABLES ================== */
:root {
    --primary-color: #1a0909;      /* Dark Blue */
    --secondary-color: #810000;    /* Orange Accent */
    --accent-color: #2c3e50;       /* Dark Gray Blue */

    --light-bg: #f8f9fa;
    --medium-bg: #e9ecef;

    --dark-text: #333333;
    --light-text: #ffffff;

    --border-color: #dee2e6;

    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;

    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ================== BASE STYLES ================== */
body.rbl-styles {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
}

/* ================== HEADER ================== */
/* =========== HEADER =========== */
#header-section {
  background: var(--light-text);
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo row */
.logo-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.logoo {
    width:20%;
}

/* Buttons */
.login-btn {
  background: var(--secondary-color);
  color: var(--light-text);
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #c93c1a;
  transform: translateY(-2px);
}

/* =========== NAVIGATION =========== */
.header-nav {
  display: flex;
  justify-content: center;
  background: var(--light-text);
}

.header-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.header-nav ul li {
  padding: 14px 18px;
}

.header-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.header-nav ul li a:hover {
  color: var(--secondary-color);
}

/* =========== HAMBURGER =========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
}

/* =========== ACTION BUTTONS =========== */
.header-actions {
  display: flex;
  gap: 10px;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* =========== MOBILE RESPONSIVE =========== */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  .header-nav {
    display: none;
    flex-direction: column;
    border-top: 1px solid #eee;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav ul {
    flex-direction: column;
  }

  .header-nav ul li {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }

  .mobile-only {
    display: flex;
    padding: 15px 20px;
    gap: 10px;
  }
}
/* ===== DEFAULT (DESKTOP) ===== */
.logo-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

/* Desktop buttons visible */
.desktop-only {
  display: flex;
  gap: 10px;
}

/* Hide mobile buttons by default */
.mobile-only {
  display: none;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

  /* Logo left, buttons right */
  .logo-area {
    flex-direction: row;
  }

  .logo {
    width: 160px;
  }
  .logoo {
    width: 40%;
  }

  /* Show buttons on right */
  .desktop-only {
    display: flex;
  }

  .desktop-only .login-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Navigation moves below */
  .header-nav {
    width: 100%;
    border-top: 1px solid #eee;
    margin-top: 8px;
  }

  .header-nav ul {
    flex-direction: column;
  }

  .header-nav ul li {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }

  /* Hide mobile buttons inside nav */
  .mobile-only {
    display: none;
  }
}


/* Dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--light-text);
    box-shadow: var(--shadow-medium);
    z-index: 100;
}

.header-nav ul li:hover .dropdown {
    display: block;
}

.dropdown li {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown li:last-child {
    border-bottom: none;
}

/* ================== HERO / BANNER ================== */
.banner-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    max-width: 500px;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Buttons */
.cta-btn,
.info-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
}

.cta-btn:hover {
    background-color: #c93c1a;
    transform: translateY(-2px);
}

.info-btn {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.info-btn:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* ================== QUICK ACCESS ================== */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background-color: var(--light-text);
    margin: 30px 0;
}

.access-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.access-icon:hover {
    background-color: var(--medium-bg);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.access-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.access-icon span {
    font-weight: 600;
    color: var(--primary-color);
}

/* ================== PRODUCT CARDS ================== */
.product-card-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.product-card {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 15px 5px;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 15px 15px;
    color: #666;
}

.product-tag {
    display: inline-block;
    padding: 3px 10px;
    margin: 0 15px 15px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    font-size: 0.8rem;
    border-radius: 12px;
}

/* ================== PROMO BANNERS ================== */
#promo-banners {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.small-banner {
    position: relative;
    width: 300px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.small-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-banner h4 {
    position: absolute;
    bottom: 40px;
    left: 15px;
    color: var(--light-text);
}

.small-banner button {
    position: absolute;
    bottom: 10px;
    left: 15px;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ================== FOOTER ================== */
.footer-multi-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 50px 20px;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.footer-col h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col a {
    color: var(--light-text);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    .header-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .banner-text {
        left: 20px;
        right: 20px;
        text-align: center;
    }

    .banner-text h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo-area {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn,
    .info-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}


/*LOGIN CSS*/


/* Top Bar */
.top-bar {
  background: #810000;
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.login-section {
  min-height: 100vh;
  background: #f6f7f9;
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
}

.login-box {
  background: #fff;
  padding: 35px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.logo {
  max-width: 40%;
}

.auth-status {
  background: #f1f4ff;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
}

.security-img {
  max-width: 120px;
}


/* Form */
.form-control {
  height: 44px;
  border-radius: 4px;
}

.btn-primary {
  background: #810000;
  border: none;
  height: 44px;
}

.btn-primary:hover {
  background: #08172f;
}

/* Links */
.links {
  font-size: 13px;
}

.links a {
  color: #810000;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* Footer */
.loginfooter {
  background: #f1f1f1;
  padding: 15px 0;
  font-size: 12px;
}

.loginfooter a {
  color: #810000;
  text-decoration: none;
}

.loginfooter a:hover {
  text-decoration: underline;
}

.thankyou-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  max-width: 420px;
  margin: auto;
}

.thankyou-logo {
  width: 120px;
}

.success-gif {
  width: 90px;
}

.thankyou-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}

.processing-box {
  background: #f1f7ff;
  color: #0b2c5d;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
}


