:root{
  --blue-900:#0f3daa;
  --blue-700:#1e4db7;
  --white:#ffffff;
  --muted:#6b7280;
  --glass-bg: rgba(255,255,255,0.14);
}

*{box-sizing:border-box}
body{margin:0;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;color:#08263b;background:#f5f7fb}
.container{max-width:1150px;margin:0 auto;padding:0 20px}

/* Header */
.site-header{background:var(--white);box-shadow:0 6px 18px rgba(7,15,30,0.06);position:sticky;top:0;z-index:40}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.logo-img{height:64px;width:auto;border-radius:6px;object-fit:cover}
.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 14px;
    font-weight: 600;
    color: #1e4db7;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* NAV LINKS – PILL STYLE */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    margin-left: 14px;
    padding: 8px 18px;
    border-radius: 999px; /* pill */
    text-decoration: none;
    font-weight: 700;
    color: #0f3daa;
    transition: all 0.3s ease;
}

/* Hover */
.main-nav a:hover {
    background: #eaf1ff;
}

/* CTA – Dark Blue */
.nav-cta {
    background: #0f3daa;
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(15, 61, 170, 0.35);
}

.nav-cta:hover {
    background: #0b2f80;
}

/* ACTIVE PAGE */
.main-nav a.active {
    background: #0f3daa;
    color: #ffffff !important;
}



/* HERO */
/*.hero {
    background-image: url("Photos/banner.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding: 64px 0;
} */
.hero-grid{display:grid;grid-template-columns:1fr 420px;gap:24px;align-items:center}
.hero-title,
.hero-sub {
    color: #ffffff;
}

.hero-sub {
    opacity: 0.9;
}

.hero-actions{display:flex;gap:12px}
.btn{display:inline-block;padding:10px 16px;border-radius:8px;text-decoration:none}
.btn-primary{background:white;color:var(--blue-900);font-weight:700}
.btn-outline{background:transparent;border:2px solid rgba(255,255,255,0.2);color:white}

/* Apply box */
.apply-box{background:var(--glass-bg);backdrop-filter:blur(8px);padding:20px;border-radius:14px;box-shadow:0 10px 30px rgba(3,9,25,0.12);position:relative;transform:translateY(0);transition:all .36s ease;opacity:0;visibility:hidden}
.apply-box h3{margin:0 0 10px}
.apply-box .field{margin-bottom:10px}
.apply-box input,.apply-box select{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(0,0,0,0.08)}
.btn-gradient{background:linear-gradient(90deg,var(--blue-900),var(--blue-700));color:white;border:none;padding:10px 14px;border-radius:8px}

.apply-box.show{opacity:1;visibility:visible;transform:translateY(-6px)}

/* hero-card */ 
.hero-card{background:white;color:#052237;padding:18px;border-radius:12px;box-shadow:0 12px 30px rgba(7,15,30,0.08)}
.hero-card h4{margin:0 0 8px;color:var(--blue-900)}
.muted{color:var(--muted);font-size:14px}

/* Partners */
.partners {
  background: #f8f9fb;
  padding: 60px 0;
  overflow: hidden;
}

.logo-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.logo-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 35s linear infinite;
}

.logo-track img {
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Infinite scroll animation */
@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .logo-track {
    gap: 40px;
    animation-duration: 25s;
  }

  .logo-track img {
    height: 45px;
  }
}


/* loans */
.loan-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #0a2540;
}

.loan-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loan-icon svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

@media (max-width: 768px) {
    .loan-title {
        font-size: 18px;
    }

    .loan-icon {
        width: 32px;
        height: 32px;
    }

    .loan-icon svg {
        width: 16px;
        height: 16px;
    }
}
.service-card:hover .loan-icon {
    transform: scale(1.08);
    transition: 0.3s ease;
}


.loans{padding:54px 0}
.loan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.loan-card{background:white;padding:22px;border-radius:12px;box-shadow:0 8px 24px rgba(7,15,30,0.06);transition:transform .28s ease,box-shadow .28s ease}
.loan-card:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(7,15,30,0.09)}
.loan-card h3{margin-top:0}
.btn.small{padding:8px 12px}

/* banner */
.banner{background:linear-gradient(90deg,#eef6ff,#f5fbff);padding:18px 0}
.banner-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.banner-text{font-weight:600;color:var(--blue-900)}

/* Full Width Image Banner */
.image-offer-banner {
    width: 100%;
    margin: 20px 0;
}

.image-offer-banner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* about preview */
/* Base styles */
.about-preview {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.about-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.about-grid > div {
  flex: 1 1 45%; /* Grow, shrink, basis */
  min-width: 280px; /* Prevents shrinking too small */
}

.about-grid h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.about-grid p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* Stats styling */
.stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.stat {
  text-align: center;
  flex: 1 1 30%;
  min-width: 100px;
}

.num {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.label {
  font-size: 14px;
  color: #555;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
  }

  .about-grid > div {
    flex: 1 1 100%;
  }

  .stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat {
    flex: 1 1 100%;
    margin-bottom: 15px;
  }
}


/* content & footer */
.page-content{padding:40px 0}
.contact-grid{display:grid;grid-template-columns:1fr 380px;gap:24px}
.contact-form input, .contact-form textarea, .contact-form select{width:100%;padding:12px;margin-bottom:12px;border-radius:8px;border:1px solid rgb(255, 255, 255)}
.site-footer{background:var(--blue-900);color:white;padding:28px 0;margin-top:32px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}
.footer-nav a{display:block;color:rgba(255,255,255,0.92);text-decoration:none;margin-bottom:6px}
.copyright{text-align:center;padding:14px;color:rgba(255,255,255,0.9)}
.design{text-align:center;padding:5px;color:rgba(255,255,255,0.9)}

/* responsive */
@media(max-width:1000px){
  .hero-grid{grid-template-columns:1fr 360px}
}
@media(max-width:820px){
  .hero-grid{grid-template-columns:1fr}
  .hero-right{order:2}
  .hero-left{order:1}
  .hero-card{margin-top:18px}
  .contact-grid{grid-template-columns:1fr}
  .apply-box{position:relative;margin-top:12px}
}
@media(max-width:420px){
  .hero-title{font-size:26px}
  .logo-img{height:52px}
}

/* small utility animations */
.fade-in{animation:fadeIn .6s ease both}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}


/* EMI Calculator */

.emi-section {
    padding: 50px 20px;
    text-align: center;
}

.emi-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-900, #003566);
    margin-bottom: 25px;
}

/* CARD DESIGN */
.emi-card {
    max-width: 450px;
    margin: auto;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #eef7ff);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
    border: 1px solid #dceaff;
}

.emi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22);
}

/* INPUT FIELDS */
.emi-field {
    margin-bottom: 18px;
    text-align: left;
}

.emi-field label {
    font-size: 14px;
    font-weight: 600;
    color: #003566;
}

.emi-field input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1.5px solid #bcd4ff;
    background: #f8fbff;
    font-size: 15px;
    transition: 0.3s;
}

.emi-field input:focus {
    border-color: #0077ff;
    box-shadow: 0 0 6px rgba(0, 119, 255, 0.3);
    background: white;
}

/* BUTTON */
.emi-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0057d8, #003c99);
    color: white;
    font-size: 17px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.emi-btn:hover {
    background: linear-gradient(135deg, #003c99, #002b73);
    transform: scale(1.02);
}

/* RESULT BOX */
.emi-result {
    margin-top: 25px;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #d7e7ff;
    box-shadow: inset 0 0 8px rgba(0, 68, 255, 0.08);
}

.emi-result h3 {
    margin: 0;
    font-size: 18px;
    color: #003566;
    font-weight: 700;
}

.emi-result p {
    font-size: 28px;
    color: #0077ff;
    font-weight: 800;
    margin-top: 8px;
}

/* Why Choose Us */
.why-choose-us {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.why-choose-us h2 {
    color: var(--blue-900);
    font-size: 32px;
    margin-bottom: 18px;
}

.why-text {
    max-width: 820px;
    margin: 0 auto 30px;
    color: #334155;
    font-size: 17px;
    line-height: 1.7;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: auto;
}

.why-points div {
    background: #f1f6ff;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    color: #0f3daa;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

/* Social Media Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 18px;
    transition: 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #ffffff;
    color: var(--blue-900);
    transform: translateY(-3px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 58px;
    height: 58px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}

/* EMI CALCULATOR */
.emi-advanced {
    padding: 50px 0;
    background: #f5f9ff;
}

.emi-advanced h2 {
    text-align: center;
    font-size: 34px;
    color: var(--blue-900);
    margin-bottom: 35px;
}

.emi-box {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.emi-field {
    margin-bottom: 28px;
}

.emi-field label {
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: #003566;
}

.emi-field input[type="range"] {
    width: 100%;
    accent-color: #0057d8;
    margin-bottom: 12px;
}

.emi-field input[type="number"] {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1.5px solid #cbdcff;
    font-size: 16px;
}

/* APPLY BUTTON */
.emi-apply-btn {
    display: block;
    margin-top: 10px;
    text-align: center;
    background: linear-gradient(135deg, #0057d8, #003c99);
    color: #fff;
    padding: 16px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

.emi-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* RIGHT BLUE BOX */
.emi-result-box {
    background: linear-gradient(135deg, #0057d8, #003c99);
    color: #fff;
    border-radius: 22px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.emi-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    display: block;
}

.emi-result-item {
    margin-bottom: 22px;
}

.emi-result-item span {
    font-size: 15px;
    opacity: 0.9;
}

.emi-result-item strong {
    font-size: 30px;
    font-weight: 800;
}

/* MOBILE */
@media(max-width: 900px) {
    .emi-box {
        grid-template-columns: 1fr;
    }
    .emi-img {
        max-width: 180px;
    }
}
.emi-field select {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1.5px solid #cbdcff;
    font-size: 16px;
}

/* OFFERS SLIDER */
.offers-slider {
    padding: 60px 0;
    background: #f5f9ff;
}

.offers-slider h2 {
    text-align: center;
    font-size: 34px;
    color: var(--blue-900);
    margin-bottom: 25px;
}

.slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.slides {
    position: relative;
}

.slide {
    width: 100%;
    display: none;
    border-radius: 18px;
}

.slide.active {
    display: block;
}

/* Arrows */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 28px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.nav.prev { left: 15px; }
.nav.next { right: 15px; }

.nav:hover {
    background: rgba(0,0,0,0.7);
}

/* Dots */
.dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #ffffff;
}

/* Mobile */
@media(max-width: 600px) {
    .nav {
        font-size: 22px;
        padding: 8px 10px;
    }
}
/* HAMBURGER */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #0f3daa;
    border-radius: 4px;
    transition: 0.3s;
}

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

    .main-nav {
        position: absolute;
        top: 100%;
        right: 20px;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
        border-radius: 14px;
        box-shadow: 0 14px 40px rgba(0,0,0,0.15);
        display: none;
        animation: slideDown 0.3s ease;
    }

    .main-nav a {
        margin: 6px 0;
        width: 100%;
    }

    .main-nav.show {
        display: flex;
    }
}

/* ANIMATION */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SHRINK HEADER */
.site-header {
    transition: all 0.3s ease;
}

.site-header.shrink {
    padding: 6px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.site-header.shrink .logo-img {
    height: 48px;
}

.site-header.shrink .brand-text {
    font-size: 36px;
}

.about-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Mobile */
@media(max-width: 900px) {
    .about-section {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

.hero-image-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        background: none;
    }

    .hero-image-mobile {
        display: block;
        width: 100%;
        margin-top: 30px;
    }

    .hero-image-mobile img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


/* REMOVE ALL EXISTING HERO BACKGROUNDS */
.hero {
    position: relative;
    height: 70vh;          
    min-height: 520px;     
    overflow: hidden;
}


/* VANTA background */
#hero-vanta {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Hero content above animation */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
}

@media (max-width: 768px) {
    .hero {
        height: 55vh;
        min-height: 420px;
    }
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: #0a2540;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a2540;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .main-nav.active {
    transform: translateY(0);
  }

  .main-nav a {
    display: block;
    padding: 15px;
    color: #fff;
  }
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #021d4a; /* fallback dark blue */
}

#hero-vanta {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #138cef;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .hero {
    height: 100svh;
  }
}
