/* Base Body */
body {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f7f0 100%);
  color: #000000;
  margin: 0;
  font-family: 'Calibri', Arial, sans-serif;
}

/* Ensure header is perfectly sticky at the top */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 64px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12); /* Prominent shadow */
}

/* Logo left-aligned */
.logo {
  display: flex;
  align-items: center;
  padding-left: 25px;
  margin-left: 0;
  height: 60px;
  background: none;
  border: none;
  text-decoration: none;
}

/* For footer logo, ensure same left padding */
.footer-brand .logo {
  padding-left: 0;
  margin-left: 0;
  height: 60px;
}

/* Center the menu */
.desktop-nav {
  justify-self: center;
  display: flex;
  gap: 32px;
  align-items: center;
}

/* Sign In button right-aligned */
.signin {
  justify-self: end;
  margin-right: 25px;
}

/* Center desktop navigation menu, keep Sign In button at right */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  background-color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
}

/* Center only the main menu items, exclude Sign In */
.desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
  padding-left: 90px;
  padding-right: 80px;
  font-family: 'Calibri', Arial, sans-serif;
}

/* Move Sign In button outside desktop-nav for right alignment */
.signin {
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 25px;
}

/* Add top margin to main content so it doesn't go under the header */
main {
  margin-top: 64px;
}

/* Remove any top margin from body and main containers */
body {
  margin-top: 0;
}

/* Consistent horizontal padding for header and containers */
header,
.hero-container,
.products-container {
  padding-left: 0px;
  padding-right: 0px;
}

/* Remove extra padding from products-grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
  /* Remove padding-left/right here! */
}

/* Tablet view */
@media (max-width: 900px) {
  header,
  .hero-container,
  .products-container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Mobile view */
@media (max-width: 600px) {
  header,
  .hero-container,
  .products-container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  padding-left: 25px;
  padding-right: 0;
  height: 60px;
  margin: 0;
  border: none;
  background: none;
  text-decoration: none;
}

.logo img {
  height: 60px;
  margin: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Responsive logo alignment for mobile/tab */
@media (max-width: 900px) {
  .logo {
    padding-left: 15px;
    height: 60px;
  }
  .logo img {
    height: 60px;
  }
}
@media (max-width: 600px) {
  .logo {
    padding-left: 10px;
    height: 48px;
  }
  .logo img {
    height: 44px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .logo {
    font-size: 15px; /* smaller on mobile */
    letter-spacing: 1px;
    padding-left: 10px;
    height: 50px  ;
  }
  .logo .accent {
    font-size: 22px; /* smaller accent on mobile */
  }
}


/* Desktop nav */
.desktop-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.desktop-nav a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
  transition: color 0.3s;
  font-size: 0.95rem; /* Reduced font size for desktop menu */
  letter-spacing: 1px;
}

/* Desktop nav: only show underline on hover, not on active/click */
.desktop-nav a,
.desktop-nav a:active,
.desktop-nav a:focus {
  border-bottom: none;
  text-decoration: none;
}

/* Keep underline only on hover */
.desktop-nav a:hover {
  color: #0d6efd;
  border-bottom: 2px solid #fff;
  background: transparent;
}

/* Sign In Button */
.signin,
.mobile-nav .signin {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #16a34a !important;
  font-size: 1rem;
  font-family: 'Calibri', Arial, sans-serif !important;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 8px;
  box-shadow: none;
  padding: 9px 28px;
  margin-right: 20px;
  cursor: pointer;
  transition: none;
  display: block;
  text-align: center;
}

/* Remove hover/active/focus effect for Sign In */
.signin:hover,
.signin:active,
.signin:focus,
.mobile-nav .signin:hover,
.mobile-nav .signin:active,
.mobile-nav .signin:focus {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #16a34a !important;
  box-shadow: none;
  transform: none;
  border-bottom: none;
}

/* Hamburger menu only on mobile/tablet */
.menu-icon {
  display: none;
}
@media (max-width: 900px) {
  .menu-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    background: #fff;
    margin-right: 20px;
  }
  .menu-icon span {
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #111;
    border-radius: 2px;
    left: 0;
    transition: all 0.4s ease;
  }
  .menu-icon span:nth-child(1) { top: 0; }
  .menu-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .menu-icon span:nth-child(3) { bottom: 0; }
  .menu-icon.open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .menu-icon.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  .menu-icon.open span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
}

/* Mobile nav hidden by default, slides in when .show is added */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 64px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  z-index: 2000;
  padding: 24px 0 24px 0;
  text-align: left;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.show {
  display: flex !important;
  transform: translateX(0);
}
.mobile-nav a {
  display: block;
  color: #fff;
  background: transparent;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s, color 0.2s;
}

/* Mobile nav: only show underline on hover, not on active/click */
.mobile-nav a,
.mobile-nav a:active,
.mobile-nav a:focus {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
}

/* Keep underline only on hover */
.mobile-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #0d6efd;
  border-bottom: 2px solid #fff;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #0d6efd;
  border-bottom: 2px solid #fff; /* White underline */
}

/* Mobile submenu styles */
.mobile-nav .has-submenu {
  position: relative;
}

.mobile-submenu-toggle {
  font-size: 1.2em;
  margin-left: 8px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  transition: color 0.2s;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.85);
  padding-left: 24px;
}

.mobile-submenu a {
  color: #fff;
  padding: 10px 24px;
  font-size: 0.95rem; /* Smaller font size for mobile submenu items */
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.mobile-submenu.show {
  display: flex;
}

/* Desktop nav only on desktop */
@media (min-width: 901px) {
  .desktop-nav { display: flex; }
  .mobile-nav, .menu-icon { display: none !important; }
}

/* First Container: add top padding for spacing below header */
.hero-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  margin-top: 0;
  padding-top: 24px;    /* Top padding between header and container 1 */
  padding-left: 20px;   /* Match header/container horizontal padding */
  padding-right: 20px;
}

/* Both Boxes */
.box {
  flex: 1;
  min-height: 200px; /* Reduced height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* Box 1: remove shadow and border for plain look */
.box1 {
  color: #000;
  padding: 24px 20px 16px 24px;
  text-align: left;
  background: #fff;
  border: none;
  box-shadow: none;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Hide Box1 on mobile */
@media (max-width: 768px) {
  .box1 {
    display: none;
  }
  .box2 {
    flex: 1 1 100%; /* full width on mobile */
  }
}

/* Box 2: Add border-radius and shadow effect */
.box2 {
  background: #fff;
  border: none;
  box-shadow: 0 8px 32px rgba(13,110,253,0.12), 0 2px 8px rgba(22, 163, 74, 0.10);
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  border-radius: 16px; /* Rounded corners */
  overflow: hidden;    /* Ensures image corners are rounded */
}

/* Prevent image drag and download in box2 */
.box2 img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Optionally, hide context menu on right-click for the image */
.box2 img {
  -webkit-touch-callout: none;
}

.box2 {
  /* Prevent context menu for the whole box */
  -webkit-user-select: none;
  user-select: none;
}

.box2 {
  /* Prevent context menu on right-click */
  /* This disables right-click for the box */
} 
.box2 {
  /* ...existing styles... */
}
.box2 img {
  /* ...existing styles... */
}

.hero-heading {
  margin: 0 0 12px 0;
  font-size: 2.3rem;
  font-family: sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

.heading-gray {
  color: #888;
  font-weight: 700;
}

.heading-black {
  color: #111;
  font-weight: 700;
}

/* Features Section */
.features-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  color: #222;
}

.feature-icon {
  font-size: 1.15rem;    /* Reduced font size */
  width: 24px;
  text-align: center;
  color: #16a34a;        /* Green color */
}

/* Apply Button */
.apply-btn {
  margin-top: 28px;
  padding: 12px 38px;
  background: linear-gradient(90deg, #16a34a 0%, #0d6efd 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.15rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.08), 0 1.5px 6px rgba(22,163,74,0.08);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.apply-btn:hover {
  background: linear-gradient(90deg, #0d6efd 0%, #16a34a 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.12), 0 3px 12px rgba(22, 163, 74, 0.12);
}

/* Loader styles */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.spinner {
  width: 70px;
  height: 70px;
  border: 6px solid #e0e0e0;
  border-top: 6px solid #16a34a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.rupee-symbol {
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-size: 38px;
  color: #16a34a;
  font-weight: 800;
  letter-spacing: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

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

/* Prevent text and font selection on the entire site */
body, header, main, .box, .box1, .box2, .hero-heading, .features-list, .feature-item, .apply-btn, .logo, .desktop-nav, .mobile-nav {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
}

/* Products Section */
.products-container {
  margin: 48px auto 0 auto;
  max-width: 1100px;
  padding-left: 20px;   /* Match header/container horizontal padding */
  padding-right: 20px;
  padding-bottom: 40px;
}

/* Add extra bottom padding for mobile screens to allow scrolling */
@media (max-width: 600px) {
  .products-container {
    padding-bottom: 60px; /* Increased bottom padding for scroll space */
  }
}

/* Products heading: h3  with previous fonts, Our in grey, Products in dark black */
.products-heading {
  margin: 0 0 32px 0;
  font-size: 2.3rem;
  font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  letter-spacing: 1px;
}

.products-heading .heading-gray {
  color: #888888;
  font-weight: 600;
}

.products-heading .heading-black {
  color: #111111;
  font-weight: 700;
}

/* Products grid: 6 columns desktop, 3 columns mobile/tablet, with good spacing */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
  /* Remove padding-left/right here! */
}

.product-item {
  background: #fff; /* Plain white background */
  border-radius: 16px;
  border: 1px solid #d9dbe6; /* 1px border */
  box-shadow: none; /* Remove shadow */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 18px 10px;
  min-height: 110px;
  user-select: none;
  transition: box-shadow 0.2s, transform 0.2s;
  width: 100%;
  cursor: pointer;
}

.product-item:hover {
  box-shadow: 0 4px 16px rgba(13,110,253,0.10), 0 1px 4px rgba(22,163,74,0.08);
  transform: translateY(-8px);
}

.product-icon {
  font-size: 2.1rem;
  color: #111; /* Icon color to black */
  margin-bottom: 10px;
}

.product-name {
  font-size: 1rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #111; /* Heading color to black */
  text-align: center;
  margin: 0;
  margin-top: 6px;
  position: relative;
  transition: color 0.2s;
}

/* Line below icon heading when active/clicked */
.product-item:active .product-name,
.product-item.selected .product-name {
  border-bottom: 2px solid #fff;
}

/* Responsive: 3 columns on mobile/tablet, adjust box size and icon, add left/right padding */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .product-item {
    min-height: 80px;
    padding: 14px 8px 12px 8px;
  }
  .product-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }
  .product-name {
    font-size: 0.95rem;
    margin-top: 4px;
  }
}

/* Extra small screens: 1 column, all products visible */
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .product-item {
    min-height: 60px;
    padding: 8px 4px 8px 4px;
  }
  .product-icon {
    font-size: 1.2rem;
  }
  .product-name {
    font-size: 0.85rem;
  }
}

/* EMI Calculator Container - classic horizontal layout, no visible boxes */
.emi-container {
  margin: 0;
  max-width: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding-top: 24px;
  padding-left: 20px;   /* Match header/container horizontal padding */
  padding-right: 20px;
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

/* Left and right sections, no box styling */
.emi-calc-left, .emi-calc-right {
  flex: 1 1 400px;
  min-width: 320px;
  padding: 36px 32px 32px 32px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
}

/* Remove background and border from right section */
.emi-calc-right {
  background: transparent;
  border-radius: 0;
  border-left: none;
}

/* Heading with underline */
.emi-calc-heading {
  font-size: 2rem;
  font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
  font-weight: 700; 
  color: #0d2c8b;
  margin-bottom: 32px;
  position: relative;
  letter-spacing: 1px;
}
.emi-calc-heading:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e03c6a;
  margin-top: 8px;
  border-radius: 2px;
}

/* Form fields */
.emi-calc-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.emi-calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emi-calc-label {
  font-size: 1.08rem;
  font-weight: 600;
  color: #4a5a6a;
  margin-bottom: 2px;
}

.emi-calc-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emi-calc-input {
  flex: 1;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0d2c8b;
  border: none;
  border-bottom: 1.5px solid #e3eaf3;
  background: transparent;
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s;
}
.emi-calc-input:focus {
  border-bottom: 1.5px solid #0d6efd;
}

.emi-calc-unit {
  font-size: 1.08rem;
  color: #4a5a6a;
  margin-left: 4px;
  font-weight: 600;
}

.emi-calc-tenure-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.emi-calc-select {
  font-size: 1.08rem;
  font-weight: 600;
  color: #4a5a6a;
  border: none;
  border-bottom: 1.5px solid #e3eaf3;
  background: transparent;
  padding: 8px 0;
  outline: none;
  min-width: 80px;
  transition: border-color 0.2s;
}
.emi-calc-select:focus {
  border-bottom: 1.5px solid #0d6efd;
}

/* Calculate Button */
.emi-calc-btn {
  margin-top: 32px;
  padding: 18px 0;
  background: #1a2fa0;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.35rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13,110,253,0.10);
  transition: background 0.2s, transform 0.2s;
}

.emi-calc-btn:hover {
  background: #e03c6a;
  transform: translateY(-2px) scale(1.03);
}

/* Results Section */
.emi-calc-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}

.emi-calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0;
}

.emi-calc-result-label {
  font-size: 1.08rem;
  color: #4a5a6a;
  font-weight: 600;
}

.emi-calc-result-value {
  font-size: 1.45rem;
  color: #1a2fa0;
  font-weight: 700;
  letter-spacing: 1px;
}

.emi-calc-result-value.big {
  font-size: 2rem;
  color: #1a2fa0;
  font-weight: 700;
  letter-spacing: 1px;
}

.emi-calc-result-note {
  font-size: 1rem;
  color: #4a5a6a;
  margin-top: 2px;
  font-weight: 400;
}

/* Action Buttons */
.emi-calc-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  justify-content: flex-start;
}

.emi-calc-action-btn {
  padding: 12px 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, #16a34a 0%, #0d6efd 100%);
  color: #fff;
  border: none;
  font-size: 1.08rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13,110,253,0.10);
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.5px;
}
.emi-calc-action-btn:hover {
  background: linear-gradient(90deg, #0d6efd 0%, #16a34a 100%);
  transform: translateY(-2px) scale(1.04);
}

/* Ensure both buttons have same size and style */
.calc-actions .apply-btn {
  background: #0b5fff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  width: auto;
  min-width: 180px;
  transition: background 0.2s, transform 0.2s;
}
.calc-actions .apply-btn:hover {
  background: #e03c6a;
  transform: translateY(-2px) scale(1.04);
}

/* Responsive for mobile/tablet */
@media (max-width: 900px) {
  .emi-container {
    flex-direction: column;
    max-width: 100%;
    border-radius: 18px;
    margin: 24px 0 0 0;
  }
  .emi-calc-left, .emi-calc-right {
    border-radius: 0;
    min-width: 0;
    padding: 24px 8px 18px 8px;
    margin: 0;
  }
  .emi-calc-right {
    margin-top: 0;
  }
  .emi-calc-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }
  .emi-calc-action-btn {
    width: 100%;
    padding: 12px 0;
  }
}

/* Classic Calculator Styles */
.classic-calculator {
  display: flex;
  gap: 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(20,20,40,.06);
  padding: 32px 20px;
  margin: 32px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #d9dbe6; /* Added border */
}
.calc-left, .calc-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-field {
  margin-bottom: 24px;
}
.calc-field label {
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
  display: block;
}
.calc-field input[type="range"] {
  width: 100%;
  margin: 8px 0;
}
.calc-field input[type="number"] {
  padding: 8px;
  border: 1px solid #d9dbe6;
  border-radius: 6px;
  font-size: 15px;
  width: 120px;
}
.calc-field span {
  font-size: 16px;
  color: #0b5fff;
  font-weight: 600;
}
.calc-btn {
  background: #0b5fff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  margin-top: 16px;
}
.calc-output {
  background: #f6f7fb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  font-size: 17px;
}
.calc-output div {
  margin-bottom: 12px;
}
.calc-actions {
  display: flex;
  gap: 16px;
}
.action-btn {
  background: #e6e9f8;
  color: #0b5fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
.apply-btn {
  background: #0b5fff;
  color: #fff;
}
@media (max-width: 800px) {
  .classic-calculator {
    flex-direction: column;
    padding: 16px 6px;
  }
  .calc-output {
    padding: 16px;
  }
}

/* New Section Heading Style */
.section-heading {
  font-size: 2.3rem;
  font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 1px;
  line-height: 1.15;
  margin-left: 20px; /* Align left like previous containers */
}

/* Make all main headings h2 size */
.products-heading,
.section-heading,
.why-heading,
.process-heading,
.education-heading {
  font-size: 2rem !important; /* h2 size */
  font-family: 'Inter', 'Poppins', Arial, sans-serif !important;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 1px;
  line-height: 1.15;
}

/* Show hamburger only on mobile/tablet */
@media (max-width: 900px) {
  .menu-icon {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100vw;
    background: rgba(0,0,0,0.85);
    color: #fff;
    z-index: 2000;
    padding: 24px 0 24px 0;
    text-align: left;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  }
  .mobile-nav.show {
    display: block;
    transform: translateX(0); /* <-- This brings the menu into view */
  }
}

/* Desktop nav visible only on desktop */
@media (min-width: 901px) {
  .desktop-nav {
    display: flex;
  }
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .mobile-nav .signin {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #16a34a !important;
    font-size: 1rem;
    font-family: 'Calibri', Arial, sans-serif !important;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: none;
    padding: 9px 28px;
    margin: 16px 32px 0 32px;
    display: block;
    text-align: center;
    transition: none;
  }
  .mobile-nav .signin:hover,
  .mobile-nav .signin:active,
  .mobile-nav .signin:focus {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #16a34a !important;
    box-shadow: none;
    transform: none;
    border-bottom: none;
  }
}

/* Classic Calculator Section */
.classic-calculator-section {
  padding-left: 32px;
  padding-right: 32px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .classic-calculator-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 600px) {
  .classic-calculator-section {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 900px) {
  #downloadAmortBtn {
    display: none !important;
  }
}

/* Footer Styles - update for vertical links and social icons */
.site-footer {
  background: #fff;
  border-top: 1px solid #e3e6ee;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  padding: 32px 0 20px 0;
  font-family: 'Inter', 'Orbitron', Arial, sans-serif;
  color: #222;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand {
  flex: 1 1 220px;
}
.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2fa0;
  letter-spacing: 2px;
}
.footer-logo .accent {
  color: #28a745;
  font-weight: 800;
  font-size: 1.7rem;
}
.footer-tagline {
  font-size: 1rem;
  color: #888;
  margin-top: 8px;
}
.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 16px;
}
.social-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6e9f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-size: 1.2rem;
}
.social-icon.linkedin::before {
  content: "\f0e1";
  font-family: "Font Awesome 5 Brands";
  color: #0a66c2;
  font-weight: 900;
  font-size: 1.3rem;
}
.social-icon.instagram::before {
  content: "\f16d";
  font-family: "Font Awesome 5 Brands";
  color: #e4405f;
  font-weight: 900;
  font-size: 1.3rem;
}
.social-icon.facebook::before {
  content: "\f09a";
  font-family: "Font Awesome 5 Brands";
  color: #1877f3;
  font-weight: 900;
  font-size: 1.3rem;
}
.social-icon.youtube::before {
  content: "\f167";
  font-family: "Font Awesome 5 Brands";
  color: #ff0000;
  font-weight: 900;
  font-size: 1.3rem;
}
.social-icon:hover {
  background: #d9dbe6;
}

.footer-links {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 12px;
}
.footer-links a {
  color: #1a2fa0;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.92rem; /* Reduced font size */
  transition: color 0.2s;
  padding: 2px 0;
}
.footer-links a:hover {
  color: #e03c6a;
  text-decoration: underline;
}
.footer-contact {
  flex: 1 1 220px;
  font-size: 0.92rem;
  color: #444;
  margin-top: 12px;
}
.footer-contact a {
  color: #0d6efd;
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 18px;
    padding: 0 16px;
    align-items: flex-start;
  }
  .footer-brand, .footer-links, .footer-contact {
    flex: 1 1 100%;
    margin-top: 0;
  }
  .footer-social {
    margin-bottom: 12px;
  }
}

/* Add to style.css */
.product-usp {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  font-size: 0.98rem;
  color: #444;
  text-align: left;
}
.product-usp li {
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}
.product-usp li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a2fa0;
  font-size: 1.1em;
  top: 0;
}

/* Add to style.css */
.why-choose-container {
  max-width: 1100px;
  margin: 48px auto 25px auto; /* Added 25px bottom margin */
  padding: 25px 32px 25px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(20,20,40,.06);
}
@media (max-width: 900px) {
  .why-choose-container {
    padding: 25px 16px 25px 16px;
    margin: 48px auto 25px auto; /* Maintain bottom margin on tablet */
  }
}
@media (max-width: 600px) {
  .why-choose-container {
    padding: 25px 8px 25px 8px;
    margin: 48px auto 25px auto; /* Maintain bottom margin on mobile */
  }
}

.why-heading {
  font-size: 2.3rem;
  font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 1px;
  line-height: 1.15;
  position: relative;
  padding-bottom: 12px;
}

.why-heading .heading-gray {
  color: #888;
  font-weight: 700;
}

.why-heading .heading-black {
  color: #111;
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 12px;
}

.why-item {
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(13,110,253,0.06);
  padding: 24px 18px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.why-item:hover {
  box-shadow: 0 6px 18px rgba(13,110,253,0.12);
  transform: translateY(-4px) scale(1.03);
}

.why-icon {
  font-size: 2.2rem;
  color: #16a34a;
  margin-bottom: 12px;
  display: block;
}

.why-title {
  font-size: 1.15rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.why-desc {
  font-size: 1rem;
  color: #444;
  margin: 0;
}

/* Responsive grid for tablet/mobile */
@media (max-width: 900px) {
  .why-choose-container {
    padding: 25px 16px 25px 16px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .why-choose-container {
    padding: 25px 8px 25px 8px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Loan Process Section */
.loan-process-container {
  max-width: 1100px;
  margin: 32px auto 0 auto;
  padding: 25px 32px 25px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(20,20,40,.06);
}

.process-heading {
  font-size: 2.3rem;
  font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 1px;
  line-height: 1.15;
  position: relative;
  padding-bottom: 12px;
}

.process-heading .heading-gray {
  color: #888;
  font-weight: 700;
}

.process-heading .heading-black {
  color: #111;
  font-weight: 700;
}

.process-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
}

.process-step {
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(13,110,253,0.06);
  padding: 24px 18px;
  text-align: center;
  flex: 1 1 180px;
  min-width: 160px;
  margin: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.process-step:hover {
  box-shadow: 0 6px 18px rgba(13,110,253,0.12);
  transform: translateY(-4px) scale(1.03);
}

.process-step-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(90deg, #16a34a 0%, #0d6efd 100%);
  color: #fff;
  font-size: 1.7rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(13,110,253,0.10);
}

.process-step-title {
  font-size: 1.08rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #1a2fa0;
  margin-bottom: 6px;
}

.process-step-desc {
  font-size: 0.98rem;
  color: #444;
  margin: 0;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #16a34a;
  font-weight: 700;
  margin: 0 0px;
  user-select: none;
}

@media (max-width: 1100px) {
  .loan-process-container {
    padding: 25px 16px 25px 16px;
  }
  .process-steps {
    gap: 0;
  }
  .process-step {
    min-width: 140px;
    padding: 18px 8px;
    margin: 0 4px;
  }
}

@media (max-width: 900px) {
  .loan-process-container {
    padding: 25px 8px 25px 8px;
  }
  .process-steps {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0;
  }
  .process-step {
    min-width: 120px;
    padding: 14px 4px;
    margin: 0 2px 12px 2px;
  }
  .process-arrow {
    font-size: 1.5rem;
    margin: 0 0px;
  }
}

@media (max-width: 700px) {
  .process-steps {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .process-step {
    margin: 0 0 12px 0;
    min-width: 0;
    width: 100%;
  }
  .process-arrow {
    display: none;
  }
}

/* Add to style.css for attractive eligibility button */
.eligibility-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 24px;
  background: linear-gradient(90deg, #16a34a 0%, #0d6efd 100%);
  color: #fff;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(13,110,253,0.08), 0 1.5px 6px rgba(22,163,74,0.08);
  text-decoration: none;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.eligibility-btn:hover {
  background: linear-gradient(90deg, #0d6efd 0%, #16a34a 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.12), 0 3px 12px rgba(22, 163, 74, 0.12);
}

/* Credit Education Hub Section */
.credit-education-container {
  max-width: 1100px;
  margin: 48px auto 32px auto;
  padding: 25px 32px 25px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(20,20,40,.06);
}

.education-heading {
  font-size: 2.3rem;
  font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 1px;
  line-height: 1.15;
  position: relative;
  padding-bottom: 12px;
}

.education-heading .heading-gray {
  color: #888;
  font-weight: 700;
}

.education-heading .heading-black {
  color: #111;
  font-weight: 700;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 12px;
}

.education-card {
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(13,110,253,0.06);
  padding: 24px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 220px;
  position: relative;
}

.education-card:hover {
  box-shadow: 0 6px 18px rgba(13,110,253,0.12);
  transform: translateY(-4px) scale(1.03);
}

.education-icon {
  font-size: 2.1rem;
  color: #0d6efd;
  margin-bottom: 12px;
  display: block;
}

.education-title {
  font-size: 1.15rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.education-desc {
  font-size: 1rem;
  color: #444;
  margin-bottom: 18px;
}

.education-link {
  margin-top: auto;
  color: #16a34a;
  font-weight: 700;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.education-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* Responsive grid for tablet/mobile */
@media (max-width: 900px) {
  .credit-education-container {
    padding: 25px 16px 25px 16px;
  }
  .education-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .credit-education-container {
    padding: 25px 8px 25px 8px;
  }
  .education-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}
.modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(13,110,253,0.18);
  padding: 32px 28px 24px 28px;
  max-width: 400px;
  width: 100%;
  position: relative;
}
.modal-title {
  font-size: 1.5rem;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #1a2fa0;
  margin-bottom: 18px;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.8rem;
  color: #e03c6a;
  cursor: pointer;
  font-weight: 700;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-form label {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
}
.modal-form input {
  padding: 8px 10px;
  border: 1px solid #d9dbe6;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Inter', Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.modal-form input:focus {
  border-color: #0d6efd;
}
.modal-submit-btn {
  margin-top: 10px;
  padding: 10px 0;
  background: linear-gradient(90deg, #16a34a 0%, #0d6efd 100%);
  color: #fff;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

/* Add to style.css for dropdown styling */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-arrow {
  font-size: 1.1em;
  margin-left: 6px;
  font-weight: bold;
  color: #111;
  vertical-align: middle;
  transition: color 0.2s;
}

.nav-dropdown:hover .dropdown-arrow {
  color: #0d6efd;
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(20,20,40,.10);
  border: 1px solid #e3e6ee;
  z-index: 100;
  flex-direction: column;
  padding: 8px 0;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  color: #111;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem; /* Smaller font size for submenu items */
  font-weight: 600;
  text-decoration: none;
  padding: 8px 20px;  /* Slightly reduced padding */
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid #f0f4ff;
}

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

.dropdown-menu a:hover {
  background: #e6e9f8;
  color: #0d6efd;
}

/* Hamburger menu toggle (already present)
document.getElementById('menu-icon')?.addEventListener('click', function() {
  document.getElementById('mobile-nav')?.classList.toggle('show');
  this.classList.toggle('open');
});

// Products submenu toggle for mobile
document.getElementById('mobile-products-toggle')?.addEventListener('click', function(e) {
  e.preventDefault();
  document.getElementById('mobile-products-submenu')?.classList.toggle('show');
});

/* Remove white underline from "Products" in mobile/tab view when clicked/active */
.mobile-nav .has-submenu > a,
.mobile-nav .has-submenu > a:active,
.mobile-nav .has-submenu > a:focus {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
}

/* Remove underline from "Products" in mobile/tab view on hover, active, and focus */
.mobile-nav .has-submenu > a,
.mobile-nav .has-submenu > a:active,
.mobile-nav .has-submenu > a:focus,
.mobile-nav .has-submenu > a:hover {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  background: transparent;
  color: #fff;
}

/* Remove underline from social icons in footer */
.footer-social a,
.footer-social a:active,
.footer-social a:focus,
.footer-social a:hover {
  text-decoration: none;
  border-bottom: none;
  outline: none;
}

.personal-loan-header {
  max-width: 1100px;
  margin-top: 10px !important;
  padding-top: 10px !important;
  padding-bottom: 0 !important;
}
.section-heading {
  margin-top: 10px !important;
  padding-top: 10px !important;
}

/* Change all fonts to Calibri across the website */
body,
header,
main,
footer,
.logo,
.desktop-nav a,
.mobile-nav a,
.products-heading,
.section-heading,
.why-heading,
.process-heading,
.education-heading,
.product-name,
.product-usp,
.why-title,
.why-desc,
.features-heading,
.features-list,
.feature-item,
.apply-btn,
.eligibility-btn,
.calc-btn,
.calc-actions .apply-btn,
.action-btn,
.loan-description,
.modal-title,
.modal-form label,
.modal-form input,
.modal-submit-btn,
.footer-logo,
.footer-links a,
.footer-contact,
.footer-tagline {
  font-family: 'Calibri', Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight */
}
