/* Custom Stylesheet for Manjra Mahila Urban Co-operative Bank Replica */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --header-top-bg: #000000;
  --theme-yellow: #ffb800;
  --theme-yellow-dark: #e6a600;
  --text-dark: #000000;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #000000;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Header Top Bar */
.header-top-bar {
  background-color: #000000;
  color: #ffffff;
  font-size: 13px;
  font-family: Arial, sans-serif;
  padding: 8px 16px;
}

/* Header Main Navigation */
.header-main-nav {
  background-color: #ffb800;
  padding: 10px 0;
}

.nav-link {
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  padding: 8px 12px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: #000000;
}

/* Submenu dropdown Level 1 */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  z-index: 50;
}

.dropdown-parent:hover > .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #000000;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: #f8f8f8;
  color: #000000;
}

/* Nested Submenu Level 2 Flyout */
.dropdown-subparent {
  position: relative;
}

.sub-dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 250px;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border-radius: 4px;
  z-index: 60;
}

.dropdown-subparent:hover > .sub-dropdown-menu {
  display: block;
}

/* Fullscreen Desktop Hero Carousel */
.hero-banner-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 130px);
  min-height: 520px;
  background-color: #f5f5f5;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-banner-container {
    height: 380px;
    min-height: 300px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  width: 36px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  border: none;
  z-index: 20;
}

.slider-nav-arrow.left { left: 0; }
.slider-nav-arrow.right { right: 0; }
.slider-nav-arrow:hover { background-color: rgba(0, 0, 0, 0.7); }

/* Service Card Pill Container */
.service-pill-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 45px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 290px;
  height: 170px;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-pill-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 35px;
}

.read-more-yellow-btn {
  background-color: #ffb800;
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 32px;
  border-radius: 50px;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.read-more-yellow-btn:hover {
  background-color: #e6a600;
  color: #000000;
  transform: translateY(-1px);
}

/* Yellow Footer */
.yellow-footer {
  background-color: #ffb800;
  color: #000000;
  padding-top: 70px;
  padding-bottom: 30px;
  font-family: Arial, sans-serif;
  position: relative;
}

.yellow-footer h3 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 18px;
  color: #000000;
}

.yellow-footer p, .yellow-footer li, .yellow-footer a {
  font-size: 14px;
  color: #000000;
  line-height: 1.7;
}

/* Floating Back To Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4a4a4a;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 99;
}
