/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
    top: 0 !important;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4b0082;
    color: white;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo img {
    height: 60px;
    margin-right: 15px;
}

.header .bank-name h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

.header .bank-name p {
    font-size: 12px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 5px;
}

/* Contact & Social Icons */
.contact p { font-size: 12px; margin: 2px 0; }
.social-icons i { margin: 0 5px; cursor: pointer; font-size: 16px; }

/* Google Translate */
#google_translate_element { background: transparent !important; }
.goog-te-gadget-simple { background: transparent !important; border: none !important; color: white !important; }
.goog-te-banner-frame.skiptranslate,
.goog-tooltip, .goog-te-balloon-frame, #goog-gt-tt { display: none !important; visibility: hidden !important; }

/* Navbar Dropdown Fix */
.navbar {
  background-color: #5b1694;
  padding: 0;
}

.menu li {
  list-style: none;
  display: inline-block;
  position: relative;
}

.menu li a {
  display: block;
  color: white;
  padding: 15px 20px;
  text-decoration: none;
}

.menu li a:hover {
  background-color: #4b1280;
}

/* Dropdown Styling */

/* Positioning and default hidden state */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  background-color: white;  /* or white */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  min-width: 220px;
  z-index: 100;
  padding: 10px 0;
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  display: block;
  border-bottom: 1px solid #eee;
}
/* Dropdown item style */
.dropdown-menu li a {
  color: #000;
  padding: 10px 15px;
  background: white;
}

/* Hover effect */
.dropdown-menu li a:hover {
  background-color: rgb(200, 198, 198);  /* or light grey for light theme */
}

/* Notice Board */
.notice-board {
    background: yellow;
    color: black;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 2px solid #ddd;
}

/* Main Section: Slideshow + Inquiry Form */
.main-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 20px;
}

/* Slideshow Box */
.slideshow-box {
    width: 65%;
    height: 350px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    padding-bottom: 10px;
}
.slideshow-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    padding: 10px;
    color: white;
    font-size: 22px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}
.prev { left: 10px; }
.next { right: 10px; }
.dots { text-align: center; margin-top: 10px; }
.dot { height: 12px; width: 12px; background: #bbb; display: inline-block; border-radius: 50%; cursor: pointer; margin: 0 4px; }
.dot.active { background: #4b0082; }

.slides {
  display: none;
  position: relative;
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}


/* Inquiry Form */
.inquiry-box {
    width: 30%;
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.inquiry-box h3 { text-align: center; margin-bottom: 15px; text-decoration: underline; }
.inquiry-box form { display: flex; flex-direction: column; }
.inquiry-box input, .inquiry-box textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.inquiry-box textarea { resize: none; height: 80px; }
.inquiry-box button {
    background: #4b0082;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}
.inquiry-box button:hover { background: #6a1b9a; }

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: #4b0082;
    color: white;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .main-section { flex-direction: column; align-items: center; }
    .slideshow-box, .inquiry-box { width: 100%; }
}

/* Popup Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

/* Modal Content Box */
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 350px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: popIn 0.3s ease-in-out;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content h2 { color: green; margin-bottom: 10px; }
.modal-content p { margin-bottom: 15px; }

/* Close Button (X) */
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

/* OK Button */
#okBtn {
    background: #4b0082;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}
#okBtn:hover {
    background: #6a1b9a;
}

/* Info Section (Box + Text Side by Side) */
.info-section {
    display: flex;
    gap: 20px;
    margin: 20px;
    align-items: flex-start;
}

/* Left Box */
.info-box {
    width: 30%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    cursor: pointer;
}

.info-box ul li:hover {
    color: #4b0082;
}

/* Right Text */
.info-text {
    width: 70%;
    height: 100%;
    background: #fff;
    padding: 109.22px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.info-text h2 {
    color: #4b0082;
    margin-bottom: 15px;
}

.info-text p {
    margin-bottom: 12px;
    font-size: 15px;
    text-align: justify;
    line-height: 1.6;
}

/* Responsive Layout */
@media (max-width: 700px) {
    .info-section {
        flex-direction: column;
    }
    .info-box, .info-text {
        width: 100%;
    }
}

/* Remove underline and style links in info-box */
.info-box ul li a {
    text-decoration: none;
    color: #4b0082;  /* Purple color */
    display: inline-block;
    font-size: 16px;
}

.info-box ul li a:hover {
    color: #000; /* Change color on hover */
    text-decoration: none; /* Ensure no underline even on hover */
}

/* ============ Mobile View ============ */
/* Media query for mobile view */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #6200a8; /* purple */
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
    text-align: left;
    border-top: 1px solid #8a2be2;
    padding: 10px 15px;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    background-color: #6200a8;
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .dropdown:hover .dropdown-menu {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 24px;
    padding: 10px 20px;
    cursor: pointer;
    color: white;
  }
}
/*==========INFO Boxes=======*/
/* Section container */
.info-section-desktop {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Common box styles */
.info-box {
  flex: 1;
  background: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  min-height: 400px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Table styling */
.interest-box table {
  width: 100%;
  border-collapse: collapse;
}

.interest-box table td {
  border: 1px solid #aaa;
  padding: 8px 12px;
  font-size: 14px;
}

/* Header styles */
.info-box h3 {
  margin-bottom: 15px;
  color: #3e3e3e;
  font-size: 22px;
  border-bottom: 2px solid #660099;
  padding-bottom: 8px;
}

/* Scheme sections */
.scheme-group {
  margin-top: 15px;
}

.scheme-group h4 {
  color: #006400;
  font-size: 16px;
  margin-bottom: 5px;
}

.scheme-group ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.scheme-group ul li {
  font-size: 14px;
  margin-bottom: 5px;
}
/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .interest-box,
  .scheme-group {
    width: 100%; /* full width on mobile */
  }
  .interest-box {
    order: 1; /* appears first */
  }

  .interest-box {
    order: 2; /* appears second */
  }
}

/* ============================= */
/* 📱 Mobile Responsive */
/* ============================= */
@media (max-width: 768px) {
  /* Deposit & Scheme Boxes */
  .info-box,
  .scheme-group {
    width: 100%;
  }
  .info-box {
    order: 1;
  }
  .scheme-group {
    order: 2;
  }
}

/* Quick Links Sidebar */
.quick-links {
    position: fixed;
    top: 30%;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #4b0082;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    z-index: 1000;
}

.quick-links a {
    color: #fff;
    text-decoration: none;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    transition: background 0.3s ease;
}

.quick-links a:hover {
    background: #6a1b9a;
}

.quick-links i {
    font-size: 16px;
}

/* Responsive Quick Links */
@media (max-width: 768px) {
    .quick-links {
        display: none; /* Hide sidebar on small screens */
    }
}

/* Chatbot Button */
.chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4b0082;
    color: #fff;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: background 0.3s;
}
.chatbot-button:hover {
    background: #6a1b9a;
}

/* Chatbot Window */
.chatbot-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}
.chat-header {
    background: #4b0082;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-body {
    padding: 10px;
    height: 200px;
    overflow-y: auto;
    font-size: 14px;
}
.chat-body p {
    margin: 5px 0;
}
.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}
.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}
.chat-input button {
    background: #4b0082;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}
.chat-input button:hover {
    background: #6a1b9a;
}

/* Container spacing */
.container {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Headings */
h5 {
  font-weight: bold;
  margin-bottom: 15px;
}

.info-sections {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px;
}

.section {
  flex: 1; /* equal width */
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.counter {
  font-size: 1.5rem;
  background: black;
  color: cyan;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 10px;
}

.feedback-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.feedback-btn:hover {
  background: #0056b3;
}
