/* GENERAL */
body {
  margin: 0;
  
  font-family: Poppins, sans-serif;
}

/*================ HEADER ==================*/
.main-header {
  position: fixed;
  width: 100%;
  padding: 18px 0;
  top: 0;        /* <<< REQUIRED */
  left: 0; 
  z-index: 9999;
  transition: 0.4s;
  background: transparent;
}

.main-header.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.main-header.scrolled .nav-menu ul li a {
  color: #000 !important;
}

.header-btn {
  background: #0d47a1;
  padding: 10px 22px;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}
.main-header.scrolled .logo-text h2,
.main-header.scrolled .logo-text p {
  color: #000 !important;
}

/*================ HERO SECTION ==================*/

.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* BG SLIDES */
.hero-bg-slider {
  position: absolute;
  inset: 0;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: bgFade 18s infinite;
  opacity: 0;
}

.bg-slide:nth-child(1) { animation-delay: 0s; }
.bg-slide:nth-child(2) { animation-delay: 6s; }
.bg-slide:nth-child(3) { animation-delay: 12s; }

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
}

@keyframes bgFade {
  0%,100% { opacity: 0; }
  10%,40% { opacity: 1; }
}

/* HERO CONTENT */
.hero-container {
  position: relative;
  z-index: 20;
  max-width: 1200px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  color: white;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-title span {
  color: #ffcc00;
}

.hero-subtitle {
  max-width: 460px;
  font-size: 18px;
  line-height: 1.6;
}

.hero-btn {
  background: #ffcc00;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #000;
  margin-top: 15px;
  display: inline-block;
}

/*================ RIGHT IMAGE SLIDER ==================*/
.right-slider {
  width: 100%;
  max-width: 420px;
  height: 380px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* All images */
.right-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}

.right-slider img.active {
  opacity: 1;
}

/* mobile responsive */
@media (max-width:480px) {
  .right-slider {
    height: 220px;
  }
  .right-slider img {
    object-fit: contain;
  }
}


/* ============================== */
/* RESPONSIVE FIX FOR SMALL SCREENS */
/* ============================== */
@media (max-width: 768px) {
  .right-slider {
    width: 100%;
    height: 280px;         /* adjusts for tablet/mobile */
  }
}

@media (max-width: 480px) {
  .right-slider {
    width: 100%;
    height: 220px;         /* smaller height for phones */
  }

  .right-slider img {
    object-fit: contain;   /* prevents cropping */
  }
}

/*================= LOGO SIZE UPDATE =================*/
.logo img {
  width: 55px;       /* Bigger logo */
}

.logo span {
  font-size: 26px;   /* Bigger name */
  font-weight: 800;
  color: #0d47a1;
}

/*================= SINGLE BACKGROUND =================*/
.hero-bg-single {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay (kept same) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 2;
}
/* Typing animation text */
.typing-text {
  color: #ffcc00;
  font-weight: 800;
  border-right: 3px solid #ffcc00;
  padding-right: 5px;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blinkCursor 0.7s infinite;

  /* Desktop default size */
  font-size: 42px;
  line-height: 1.3;
}

/* Cursor blink animation */
@keyframes blinkCursor {
  0% { border-color: transparent; }
  50% { border-color: #ffcc00; }
  100% { border-color: transparent; }
}

/* ============================= */
/* RESPONSIVE — Small Mobiles    */
/* ============================= */
@media (max-width: 480px) {
  .typing-text {
    font-size: 26px !important;
    line-height: 1.25 !important;
    min-height: 32px !important; /* prevents cropping of g, y, p, etc */
  }
}

/* ============================= */
/* Responsive — Medium Mobiles   */
/* ============================= */
@media (max-width: 360px) {
  .typing-text {
    font-size: 22px !important;
    line-height: 1.2 !important;
    min-height: 28px !important;
  }
}

/* ==== LOGO WRAPPER ==== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px; /* space between logo and text */
}

/* ==== LOGO IMAGE ==== */
.logo img {
  width: 55px;         /* adjust as needed */
  height: 55px;
  object-fit: cover;
  border-radius: 8px;   /* optional, remove if not needed */
}

/* ==== LOGO TEXT ==== */
.logo-text h2 {
  margin: 0;
  font-size: 26px;      /* BIG title */
  font-weight: 800;
  line-height: 1.1;
  color: #fff;       /* blue like Chaitanya Investment */
}

.logo-text p {
  margin: 0;
  font-size: 14px;       /* SMALL subtitle */
  font-weight: 500;
  color: #ece2e2;
  margin-top: 3px;
  letter-spacing: 0.5px;
}
/* ================= ABOUT SECTION ================= */

.about-section {
  padding: 100px 0;
  background: #f7f9fc;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* LEFT IMAGE */
.about-left img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* RIGHT SIDE CONTENT */
.about-right {
  flex: 1;
}

.about-title {
  font-size: 38px;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 15px;
}

.about-text {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* BULLET POINTS */
.about-points {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.about-points li {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-points li::before {

  color: #0d47a1;
  font-weight: 700;
}

/* BUTTON */
.about-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #0d47a1;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.about-btn:hover {
  background: #08306b;
}
/* ================= WHY CHOOSE US ================= */

/* ================= WHY CHOOSE US ================= */
.why-section {
  padding: 70px 0;
  background: #f5f7fa;
  text-align: center;
}

.why-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1d1d1d;
}

.why-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.why-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 0 20px;
}

/* CARD STYLING */
.why-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.why-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* BADGE */
.why-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(45deg, #ffb800, #ff8c00);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(255,166,0,0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

.why-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: #222;
}

.why-card p {
  font-size: 14px;
  color: #555;
  line-height: 22px;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 1024px) {
  .why-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .why-row {
    grid-template-columns: 1fr;
  }
  .why-title {
    font-size: 30px;
  }
}

/* ================= TESTIMONIALS ================= */

.testimonials-section {
  padding: 90px 0;
  background: #f7f9fc;
}

.testimonials-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 25px;
  text-align: center;
}

.testimonials-title {
  font-size: 38px;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 10px;
}

.testimonials-subtitle {
  font-size: 17px;
  color: #444;
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ROW */
.testimonials-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

/* CARD */
.testimonial-card {
  flex: 1;
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* USER IMAGE */
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #0d47a1;
}

.testimonial-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 3px;
}

.t-role {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.t-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}
/* ================= LOAN CTA SECTION ================= */

.loan-cta-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('assets/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

.loan-cta-container h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}

.loan-cta-container p {
  font-size: 18px;
  margin-bottom: 25px;
}

.loan-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #ffcc00;
  color: #000;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  transition: 0.3s ease;
}

.loan-cta-btn:hover {
  background: #e0b300;
}
/* ================= CONTACT SECTION ================= */

.contact-section {
  padding: 100px 0;
  background: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 25px;
  text-align: center;
}

.contact-title {
  font-size: 38px;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 17px;
  color: #444;
  max-width: 600px;
  margin: 0 auto 50px;
}

/* CONTACT ROW */
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

/* LEFT SIDE DETAILS */
.contact-details {
  flex: 1;
  text-align: left;
}

.contact-details h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0d47a1;
}

.contact-details p {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
}

.contact-note {
  margin-top: 15px;
  font-size: 14px;
  color: #777;
}

/* RIGHT SIDE FORM */
.contact-form {
  flex: 1;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0d47a1;
}

.contact-form textarea {
  height: 130px;
  resize: none;
}

.contact-btn {
  background: #0d47a1;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #08306b;
}
/* ================= FOOTER SECTION ================= */

.footer-section {
  background: #0d47a1;
  color: #fff;
  padding: 70px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* FOOTER LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
}

.footer-logo-text h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.footer-logo-text p {
  margin: 0;
  font-size: 13px;
  color: #ffeb3b;
}

/* ABOUT TEXT */
.footer-about {
  margin-top: 12px;
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.6;
}

/* FOOTER TITLES */
.footer-col h4 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffcc00;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 15px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ffcc00;
}

/* CONTACT */
.footer-col p {
  font-size: 15px;
  margin-bottom: 10px;
}

/* SOCIAL ICONS */
.footer-social a img {
  width: 35px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.footer-social a img:hover {
  transform: scale(1.1);
  filter: brightness(1);
}

/* COPYRIGHT BAR */
.footer-bottom {
  text-align: center;
  padding: 15px 0;
  margin-top: 35px;
  background: #08306b;
  font-size: 14px;
}
/* ===========================================
   RESPONSIVE DESIGN (MOBILE + TABLET)
=========================================== */

/* ---------- BELOW 1024px (TABLETS) ---------- */
@media (max-width: 1024px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 30px;
  }

  .right-slider {
    width: 420px;
    height: 280px;
  }

  .why-row,
  .services-row,
  .testimonials-row {
    gap: 15px;
  }

  .about-container {
    flex-direction: column;
  }
}

/* ---------- BELOW 768px (BIG MOBILE) ---------- */
@media (max-width: 768px) {

  /* HEADER */
  .nav-menu {
    display: none;
  }

  .header-btn {
    display: none;
  }

  .main-header {
    padding: 12px 0;
  }

  .logo-text h2 {
    font-size: 22px;
  }

  /* HERO */
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
    max-width: 95%;
  }

  .right-slider {
    width: 90%;
    height: 250px;
  }

  /* ABOUT SECTION */
  .about-title {
    font-size: 30px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-right {
    text-align: center;
  }

  .about-points {
    align-items: center;
  }

  /* WHY CHOOSE US */
  .why-row {
    flex-direction: column;
  }

  .why-card {
    margin-bottom: 20px;
  }

  /* TESTIMONIALS */
  .testimonials-row {
    flex-direction: column;
  }

  /* CONTACT SECTION */
  .contact-row {
    flex-direction: column;
    text-align: center;
  }

  .contact-details {
    text-align: center;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 25px;
  }
}

/* ---------- BELOW 480px (SMALL MOBILE) ---------- */
@media (max-width: 480px) {

  /* HERO */
  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-container {
    padding-top: 120px;
  }

  .right-slider {
    height: 200px;
  }

  /* ABOUT */
  .about-title {
    font-size: 26px;
  }

  .about-text {
    font-size: 14px;
  }

  /* WHY */
  .why-title {
    font-size: 28px;
  }

  .why-card h3 {
    font-size: 18px;
  }

  .why-card p {
    font-size: 14px;
  }

  /* TESTIMONIALS */
  .testimonials-title {
    font-size: 28px;
  }

  .t-text {
    font-size: 14px;
  }

  /* CONTACT */
  .contact-title {
    font-size: 30px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  /* FOOTER */
  .footer-logo-text h3 {
    font-size: 20px;
  }

  .footer-about {
    font-size: 14px;
  }
}
/* ================= HAMBURGER MENU ================= */
.hamburger {
  width: 32px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10000;
}

.hamburger span {
  height: 4px;
  width: 100%;
  background: white;
  border-radius: 5px;
  transition: 0.3s;
}

/* When header scrolls (white background), change colors */
.main-header.scrolled .hamburger span {
  background: #000;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 75px;
  right: 0;
  width: 100%;
  background: #fff;
  padding: 25px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 9998;
  text-align: center;
}

.mobile-menu a {
  padding: 12px 0;
  display: block;
  font-size: 18px;
  color: #0d47a1;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu a:hover {
  background: #f0f0f0;
}

/* Show hamburger & hide menu on mobile */
@media (max-width: 768px) {
  
  .hamburger {
    display: flex;
  }

  .nav-menu,
  .header-btn {
    display: none !important;
  }

  /* show menu when active */
  .mobile-menu.show {
    display: flex;
  }
}

/* HAMBURGER ANIMATION */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}
/* ================= SECTION ================= */
.fin-services-section {
  padding: 70px 0;
  background: #f7f9fc;
}

.fin-title {
  text-align: center;
  font-size: 36px;
  color: #111;
  font-weight: 700;
}

.fin-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  font-size: 16px;
}

/* ================= GRID ================= */
.fin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 0 20px;
}

/* ================= CARD ================= */
.fin-card {
  background: #fff;
  border-radius: 14px;
  padding: 0; /* removed padding since flip-front/back already have */
  text-align: center;
  position: relative;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  height: 330px;
}

/* ================= FLIP EFFECT ================= */

.flip-card {
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .7s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* FRONT & BACK */
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 18px;
  backface-visibility: hidden;
  border-radius: 14px;
  box-sizing: border-box;
}

.flip-front img {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
}

/* TEXT FRONT */
.flip-front h3 {
  margin: 15px 0 5px;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.flip-front p {
  font-size: 14px;
  color: #555;
}

/* BACK SIDE */
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #0c1e36, #13315c);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.flip-back h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.flip-back p {
  font-size: 15px;
  line-height: 1.6;
}

/* BADGE */
.fin-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff3e3e;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 50px;
  font-weight: 600;
}

.fin-badge.green {
  background: #05a35a;
}

/* ============ RESPONSIVE ============ */
@media(max-width: 1024px) {
  .fin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 768px) {
  .fin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 480px) {
  .fin-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= RESPONSIVE CARD-BASED LOAN COMPARISON ================= */

.loan-compare-cards {
  padding: 80px 20px;
  background: #f2f6ff;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.loan-title {
  font-size: 38px;
  font-weight: 700;
  color: #002147;
  margin-bottom: 10px;
}

.loan-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

/* GRID WRAPPER */
.loan-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* CARD STYLE */
.loan-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Animation */
.loan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* BADGE */
.loan-badge {
  position: absolute;
  top: 15px;
  right: -20px;
  background: #ff4757;
  color: #fff;
  padding: 6px 25px;
  font-size: 13px;
  font-weight: 600;
  transform: rotate(15deg);
  border-radius: 4px;
}

.loan-badge.green { background: #2ecc71; }
.loan-badge.blue { background: #1e90ff; }
.loan-badge.purple { background: #6c5ce7; }
.loan-badge.gold { background: #f1c40f; }

/* TEXT */
.loan-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #002147;
}

.loan-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
}

/* DETAILS LIST */
.loan-details {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.loan-details li {
  font-size: 15px;
  padding: 8px 0;
  color: #333;
  border-bottom: 1px solid #eee;
}

.loan-details li:last-child {
  border-bottom: none;
}

/* MOBILE RESPONSIVE FIX */
@media (max-width: 480px) {
  .loan-title {
    font-size: 28px;
  }

  .loan-card {
    padding: 20px;
  }

  .loan-card h3 {
    font-size: 20px;
  }
}
/* ================= ACHIEVEMENT / COMPANY STATS ================= */

.stats-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #002147, #004aad);
  color: white;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.stats-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stats-subtitle {
  font-size: 16px;
  color: #dce6ff;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

/* Stat Box */
.stat-box {
  background: rgba(255, 255, 255, 0.12);
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.2);
}

/* Icons */
.stat-icon {
  font-size: 45px;
  margin-bottom: 15px;
}

/* Number */
.stat-number {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 5px;
}

/* Label */
.stat-label {
  font-size: 16px;
  color: #e3ecff;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .stats-title {
    font-size: 28px;
  }
  .stat-number {
    font-size: 32px;
  }
}



/* Email Section Styles */
.email-section {
  background: #f9fafb;
  padding: 60px 20px;
}

.email-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.email-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.email-subtitle {
  color: #666;
  margin-bottom: 30px;
}

.email-form {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.email-form input[readonly] {
  background-color: #f1f5f9;
  cursor: not-allowed;
  width: 200px;
  color: #555;
}

.email-form input {
  padding: 14px;
  width: 200px;          /* ⬅️ INCREASED WIDTH */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}

.email-form button {
  padding: 12px 24px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.email-form button:hover {
  background: #1e40af;
}

.form-status {
  margin-top: 15px;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 480px) {

  .email-section {
    padding: 40px 15px;
  }

  .email-title {
    font-size: 24px;
  }

  .email-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .email-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .email-form input,
  .email-form input[readonly],
  .email-form button {
    width: 100%;
    max-width: 100%;
  }

  .email-form input {
    font-size: 16px;
    padding: 14px;
  }

  .email-form button {
    font-size: 16px;
    padding: 14px;
  }

  .form-status {
    font-size: 14px;
  }
}

/* ====== FIX EXTRA SPACE BETWEEN SECTIONS ====== */
/* ===== Add top spacing to all sections EXCEPT the hero section ===== */


