/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7fb;
    color: #2c3e50;
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #1f3c88, #2980b9);
    padding: 15px 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h3 {
    font-size: 20px;
}

header nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

header nav a:hover {
    color: #ffd166;
}
/* FORM SECTION LAYOUT */
.form-section {
    padding: 50px 20px;
}

.form-container {
    display: flex;
    max-width: 1000px;
    margin: auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* LEFT IMAGE */
.form-image {
    flex: 1;
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT FORM */
.form-box {
    flex: 1;
    padding: 30px;
}

.form-box h2 {
    margin-bottom: 15px;
}

/* FORM NOTE */
.form-note {
    font-size: 12px;
    margin-top: 10px;
    color: #777;
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
    .form-container {
        flex-direction: column;
    }
}
.checkbox {
    display: flex;
    align-items: flex-start;   /* aligns checkbox to top of text */
    gap: 10px;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px; /* small adjustment for perfect alignment */
    cursor: pointer;
}

.checkbox label {
    flex: 1;
    cursor: pointer;
}

.checkbox a {
    color: #2980b9;
    text-decoration: none;
}
.checkbox input[type="checkbox"] {
    accent-color: #2980b9; /* modern blue checkbox */
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url('images/banner1.png') no-repeat center center/cover;

    color: white;
    padding: 100px 20px;
    text-align: center;
}


.hero h1, .hero p {
    backdrop-filter: blur(2px);
}


.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}


.hero1 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url('images/banner2.png') no-repeat center center/cover;

    color: white;
    padding: 100px 20px;
    text-align: center;
}



/* BUTTON */
.btn {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 14px 25px;
    margin-top: 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #219150;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* CARD */
.card {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* BOX */
.box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.box:hover {
    transform: translateY(-5px);
}

/* FORM */
form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

form input, form select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

form button {
    width: 100%;
    padding: 14px;
    background: #2980b9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

form button:hover {
    background: #1f6391;
}

/* FOOTER */
footer {
    background: #1f2d3d;
    color: #ccc;
    text-align: center;
    padding: 25px;
    font-size: 14px;
}

footer a {
    color: #bbb;
    margin: 0 10px;
    text-decoration: none;
}

footer a:hover {
    color: white;
}


/* TOP BAR */
.top-bar {
    background: #00008b;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    padding: 6px 30px;
    font-size: 13px;
}

/* HEADER */


/* LOGO */
.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-section img {
    width: 40px;
    height: 40px;
}

.logo-section span {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* NAV */
nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 14px;
}

nav a:hover {
    color: #2980b9;
}

/* MOBILE */
@media(max-width:768px){
    .top-bar {
        flex-direction: column;
        text-align: center;
    }

    .main-header {
        flex-direction: column;
        gap: 10px;
    }
}

/* WHATSAPP BUTTON */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 14px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
}
.emi-wrapper {
  max-width: 500px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.emi-wrapper h2 {
  text-align: center;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}

input[type=range] {
  width: 100%;
}

.result-box {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 40px;
  border-radius: 12px;
}

.result-box h3 {
  font-size: 28px;
  margin: 10px 0;
}

.emi-btn {
  display: inline-block;
  margin-top: 15px;
  background: #27ae60;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}

@media(max-width: 480px){
  .emi-wrapper {
    margin: 20px;
    padding: 15px;
  }
}

.loan-table-section {
  padding: 50px 20px;
  background: #f8fbff;
  text-align: center;
}

.loan-table-section h2 {
  margin-bottom: 25px;
}

.loan-table {
  max-width: 1000px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.loan-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 15px;
  border-bottom: 1px solid #eee;
  background: #fff;
  font-size: 14px;
}

.loan-row.header {
  background: #2c3e50;
  color: #fff;
  font-weight: bold;
}

.loan-row:nth-child(even) {
  background: #f4f7fa;
}

/* MOBILE OPTIMIZATION */
@media(max-width: 768px) {
  .loan-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .loan-row div {
    padding: 5px 0;
  }

  .loan-row.header {
    display: none;
  }

  .loan-row div::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: #2c3e50;
  }
}

.loan-disclaimer {
  max-width: 900px;
  margin: 20px auto;
  padding: 15px;
  background: #f8f9fa;
  border-left: 5px solid #2c3e50;
  font-size: 14px;
  color: #333;
  border-radius: 6px;
}

.apr-banner {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 12px 15px;
  margin: 20px auto;
  max-width: 900px;
  font-size: 14px;
  color: #856404;
  border-radius: 6px;
}


i {
  margin-right: 6px;
  color: #2c3e50;
}

.btn i {
  color: #fff;
}

.box i {
  font-size: 18px;
  margin-right: 8px;
  color: #27ae60;
}

.loan-row.header i {
  color: #fff;
}


.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 24px;
  padding: 12px;
  border-radius: 50%;
  z-index: 999;
}

.cashback-card {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: #f1fff5;
  border: 2px dashed #27ae60;
  border-radius: 12px;
  text-align: center;
}

.cashback-card h3 {
  color: #27ae60;
  margin-bottom: 10px;
}

.cashback-card a {
  display: inline-block;
  margin-top: 10px;
  background: #27ae60;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}

/* MOBILE */
@media(max-width:768px){
    .hero h1 {
        font-size: 26px;
    }
}