/* RESET */
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }  


/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
}

/* ================= CONTAINER ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
/* TOP BAR */
.top-bar {
  background: linear-gradient(90deg,#00415a,#00b8ff);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px;
}

/* HEADER */
.header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* LOGO */
.logo h2 {
  font-size: 26px;
  color: #00415a;
  font-weight: 700;
}

.logo span {
  color: #00b8ff;
}

.logo p {
  font-size: 12px;
  color: #888;
}

/* NAV MENU */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
}

/* UNDERLINE */
.nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #00b8ff;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* LOGIN */
.login-btn {
  border: 1px solid #00415a,#00b8ff;
  padding: 8px 18px;
  border-radius: 20px;
  color: #00415a;
  text-decoration: none;
}

/* REGISTER */
.register-btn {
  background: linear-gradient(135deg,#00415a,#00b8ff);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 4px 0;
}

/* MOBILE MENU FIX */
@media (max-width: 768px) {

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transition: 0.4s ease;
    z-index: 9999;
  }

  .nav-menu.active {
    right: 0;
  }

  /* LINKS */
  .nav-link {
    font-size: 22px;
    margin: 15px 0;
    color: #00415a;
  }

  /* HIDE DESKTOP BUTTONS */
  .login-btn,
  .register-btn {
    display: none;
  }

  /* HAMBURGER */
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 10000;
  }

  .hamburger span {
    width: 28px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.4s;
  }

  /* CROSS ANIMATION */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px,6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px,-6px);
  }
}

/* Hero section*/
/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #f6fbff;
  padding: 120px 0 60px;
}

/* BACKGROUND GRADIENT */
.bg-gradient {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00b8ff40, transparent 70%);
  top: 10%;
  right: 5%;
  filter: blur(60px);
  z-index: 0;
  animation: floatMove 8s ease-in-out infinite alternate;
}

@keyframes floatMove {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(-40px) translateX(30px);
  }
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  padding-right: 20px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  color: #00415a;
  line-height: 1.2;
}

.hero-content h1 span {
  color: #00b8ff;
}

.hero-content p {
  margin: 20px 0;
  color: #555;
  font-size: 17px;
  max-width: 450px;
}

/* BUTTONS */
.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.btn-main {
  background: linear-gradient(135deg,#00415a,#00b8ff);
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,184,255,0.3);
}

.btn-secondary {
  border: 2px solid #00415a;
  color: #00415a;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
}

/* TRUST */
.trust {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #00415a;
}

/* CARD */
.hero-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;

  opacity: 0;
  transform: translateY(60px) scale(0.95);
}

.hero-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* FIELDS */
.field {
  margin: 15px 0;
}

.field label {
  font-weight: 500;
  color: #00415a;
}

.field input {
  width: 100%;
  margin-top: 5px;
}

/* RESULT */
.result {
  margin-top: 25px;
  font-size: 28px;
  font-weight: 700;
  color: #00b8ff;
}

.result p {
  font-size: 14px;
  color: #555;
}

/* ANIMATION BASE */
.hero-content h1,
.hero-content p,
.hero-buttons,
.trust {
  opacity: 0;
  transform: translateY(40px);
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {

  .hero {
    padding: 100px 15px 40px;
    text-align: center;
  }

  .hero-content {
    padding: 0;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
    margin: 15px auto;
  }

  /* BUTTON FIX */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-main,
  .btn-secondary {
    width: 85%;
    text-align: center;
  }

  /* TRUST FIX */
  .trust {
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
  }

  /* CARD FIX */
  .hero-card {
    margin-top: 30px;
  }

  /* BACKGROUND FIX */
  .bg-gradient {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 50%;
    transform: translateX(50%);
  }
}
/* Hero section */

/* LOAN CATEGORIES section  */
/* ================= LOAN SECTION ================= */
.loan-section {
  padding: 100px 0;
  background: #ffffff;
}

/* HEADER */
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #00415a;
}

.section-header p {
  color: #666;
  margin-top: 10px;
}

/* CARD */
.loan-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;

  transition: 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

/* ICON */
.loan-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* TEXT */
.loan-card h4 {
  color: #00415a;
  margin-bottom: 10px;
}

.loan-card p {
  color: #555;
  font-size: 14px;
}

/* HOVER EFFECT */
.loan-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,184,255,0.15);
}

/* GLOW EFFECT */
.loan-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #00b8ff20, transparent 70%);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: 0.5s;
}

.loan-card:hover::before {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 28px;
  }
}
/* ICON WRAP */
.icon-wrap {
  perspective: 1000px;
  display: inline-block;
}

/* ICON */
.loan-card .icon {
  font-size: 40px;
  display: inline-block;
  animation: flipIcon 3s linear infinite;
  transform-style: preserve-3d;
}

/* FLIP ANIMATION */
@keyframes flipIcon {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* STOP ON HOVER */
.loan-card:hover .icon {
  animation-play-state: paused;
}

/* BORDER ANIMATION */
.loan-card {
  position: relative;
  overflow: hidden;
}

/* RUNNING DOT BORDER */
.loan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(90deg, transparent, #00b8ff, transparent);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  animation: borderRun 3s linear infinite;
}

/* BORDER ANIMATION */
@keyframes borderRun {
  0% { background-position: 0% }
  100% { background-position: 200% }
}
/* GLOW DOT */
.loan-card::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00b8ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00b8ff;

  top: 0;
  left: 0;

  animation: moveDot 4s linear infinite;
}

/* DOT PATH */
@keyframes moveDot {
  0% { top: 0; left: 0; }
  25% { top: 0; left: 100%; transform: translateX(-100%); }
  50% { top: 100%; left: 100%; transform: translate(-100%, -100%); }
  75% { top: 100%; left: 0; transform: translateY(-100%); }
  100% { top: 0; left: 0; }
}
/* 3D PERSPECTIVE */
.loan-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
  overflow: hidden;
}

/* GLOW LAYER */
.loan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(0,184,255,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.loan-card:hover::before {
  opacity: 1;
}

/* DEPTH EFFECT */
.loan-card:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* INNER ELEMENT DEPTH */
.loan-card .icon,
.loan-card h4,
.loan-card p {
  transform: translateZ(30px);
}
.loan-card {
  transition: transform 0.25s cubic-bezier(.22,.61,.36,1);
}
/* LOAN CATEGORIES section  */

/* Why Choose LoanMtra section  */
/* ================= WHY SECTION ================= */
.why-section {
  padding: 100px 0;
  background: linear-gradient(135deg,#f6fbff,#ffffff);
}

/* HEADER */
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #00415a;
}

.section-header p {
  color: #666;
  margin-top: 10px;
}

/* CARD */
.why-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;

  transition: 0.4s ease;
  position: relative;
}

/* ICON */
.why-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* COUNTER */
.why-card h3 {
  font-size: 32px;
  color: #00b8ff;
  margin-bottom: 5px;
}

/* TEXT */
.why-card p {
  color: #555;
  font-size: 14px;
}

/* HOVER */
.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,184,255,0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 28px;
  }
}
/* INITIAL STATE (for animation) */
.why-card {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}

/* ICON FLOAT */
.why-card .icon {
  animation: floatIcon 3s ease-in-out infinite alternate;
}

/* FLOAT ANIMATION */
@keyframes floatIcon {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}

/* HOVER ICON BOUNCE */
.why-card:hover .icon {
  animation: bounceIcon 0.6s;
}

@keyframes bounceIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* COUNTER SCALE EFFECT */
.why-card h3 {
  transform: scale(0.8);
  opacity: 0;
  transition: 0.3s;
}

/* HOVER GLOW */
.why-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 70px rgba(0,184,255,0.2);
}

/* SUBTLE BACKGROUND MOTION */
.why-section {
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #00b8ff20, transparent 70%);
  top: -50px;
  left: -50px;
  filter: blur(60px);
  animation: bgMove 10s infinite alternate;
}

@keyframes bgMove {
  from { transform: translate(0,0); }
  to { transform: translate(50px, 50px); }
}
/* Why Choose LoanMtra section */

/* How It Works section  */
/* ================= HOW SECTION ================= */
.how-section {
  padding: 100px 0;
  background: linear-gradient(135deg,#f6fbff,#ffffff);
  position: relative;
  overflow: hidden;
}

/* GRID */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
  margin-top: 50px;
}

/* CARD */
.how-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  transition: 0.4s ease;

  border: 1px solid rgba(0,0,0,0.05);
}

/* STEP NUMBER */
.step-number {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 14px;
  font-weight: bold;
  color: #00b8ff;
}

/* ICON */
.how-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* TEXT */
.how-card h4 {
  color: #00415a;
  margin-bottom: 10px;
}

.how-card p {
  font-size: 14px;
  color: #555;
}

/* HOVER */
.how-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,184,255,0.15);
}

/* GLOW EFFECT */
.how-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #00b8ff20, transparent 70%);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: 0.5s;
}

.how-card:hover::before {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .how-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 576px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}
/* How It Works  section  */

/* Eligibility + Documents section  */
/* ================= SECTION ================= */
.eligibility-docs {
  padding: 100px 0;
  background: linear-gradient(135deg,#ffffff,#f6fbff);
}

/* CARD */
.info-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  height: 100%;

  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* HOVER */
.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(0,184,255,0.2);
}

/* GLOW */
.info-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #00b8ff20, transparent 70%);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: 0.5s;
}

.info-card:hover::before {
  opacity: 1;
}

/* TITLE */
.info-card h3 {
  color: #00415a;
  margin-bottom: 20px;
}

/* LIST */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  margin: 12px 0;
  font-size: 14px;
  color: #555;
  position: relative;
  padding-left: 25px;
}

/* ICON STYLE */
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00b8ff;
  font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .info-card {
    padding: 25px;
  }
}
/* Eligibility + Documents section  */

/* testimony section  */
/* ================= TESTIMONIAL ================= */
.testimonial-section {
  padding: 100px 0;
  background: #f8fcff;
}

/* WRAPPER */
.testimonial-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* CARD */
.testimonial-card {
  max-width: 350px;
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s ease;

  opacity: 0.6;
  transform: scale(0.95);
}

/* ACTIVE */
.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 20px 50px rgba(0,184,255,0.15);
}

/* TEXT */
.testimonial-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* USER */
.user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.user img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.user h4 {
  margin: 0;
  font-size: 16px;
  color: #00415a;
}

.user span {
  font-size: 12px;
  color: #888;
}

/* HOVER */
.testimonial-card:hover {
  transform: translateY(-5px);
}

/* MOBILE */
@media (max-width: 768px) {
  .testimonial-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
/* testimony section  */

/* CASE STUDIES section  */
/* ================= CASE STUDIES ================= */
.case-section {
  padding: 100px 0;
  background: linear-gradient(135deg,#ffffff,#f6fbff);
}

/* GRID */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  margin-top: 50px;
}

/* CARD */
.case-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 25px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  position: relative;
}

/* TAG */
.tag {
  display: inline-block;
  font-size: 12px;
  background: #e6f7ff;
  color: #00b8ff;
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* TITLE */
.case-card h4 {
  color: #00415a;
  margin-bottom: 10px;
}

/* TEXT */
.case-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* RESULT */
.result {
  margin-top: 15px;
  font-size: 13px;
  color: #00415a;
}

/* HOVER */
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,184,255,0.15);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .case-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 576px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}
/* CASE STUDIES section  */

/* FAQ section */
/* ================= FAQ ================= */
.faq-section {
  padding: 100px 0;
  background: #f8fcff;
}

/* CONTAINER */
.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

/* ITEM */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: 0.3s;
}

/* QUESTION */
.faq-question {
  padding: 18px 20px;
  font-weight: 500;
  color: #00415a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 14px;
  color: #555;
  transition: 0.4s ease;
}

/* ACTIVE */
.faq-item.active .faq-answer {
  max-height: 150px;
  padding: 10px 20px 20px;
}

/* ICON */
.faq-question span {
  font-size: 20px;
  transition: 0.3s;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}
/* FAQ section */

/* CTA section */
/* ================= CTA ================= */
.cta-section {
  padding: 100px 0;
  background: #f6fbff;
}

/* BOX */
.cta-box {
  background: linear-gradient(135deg,#00415a,#00b8ff);
  color: #fff;
  text-align: center;
  padding: 60px 30px;
  border-radius: 20px;

  box-shadow: 0 25px 60px rgba(0,184,255,0.25);
  position: relative;
  overflow: hidden;
}

/* TEXT */
.cta-box h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-box p {
  font-size: 15px;
  opacity: 0.9;
}

/* BUTTONS */
.cta-buttons {
  margin-top: 25px;
}

.cta-primary {
  background: #fff;
  color: #00415a;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  margin-right: 10px;
  font-weight: 600;
}

.cta-secondary {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
}

/* TRUST */
.cta-trust {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
}

/* HOVER */
.cta-primary:hover {
  transform: translateY(-2px);
}

.cta-secondary:hover {
  background: #fff;
  color: #00415a;
}

/* MOBILE */
@media (max-width: 768px) {
  .cta-trust {
    flex-direction: column;
    gap: 10px;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}
/* CTA section */

/* Footer with contact section */
/* ================= CONTACT ================= */
.contact-section {
  padding: 120px 0;
  background: linear-gradient(135deg,#f6fbff,#ffffff);
}

/* BOX */
.contact-box {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* LEFT */
.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CONTACT CARD */
.contact-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(15px);
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,184,255,0.15);
}

/* RIGHT */
.contact-right {
  flex: 1;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
}

/* INPUT GROUP */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: transparent;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 13px;
  color: #777;
  transition: 0.3s;
  pointer-events: none;
}

/* FLOAT LABEL */
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:valid + label {
  top: -8px;
  background: #fff;
  padding: 0 5px;
  font-size: 11px;
}

/* BUTTON */
.contact-right button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg,#00415a,#00b8ff);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

/* ================= FOOTER ================= */
.footer {
  background: #001f2b;
  color: #fff;
  padding: 80px 0 20px;
}

/* TOP */
.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* BRAND */
.footer-brand h3 span {
  color: #00b8ff;
}

/* NEWSLETTER */
.newsletter-box {
  display: flex;
  margin-top: 10px;
}

.newsletter-box input {
  padding: 10px;
  border: none;
  width: 200px;
}

.newsletter-box button {
  background: #00b8ff;
  border: none;
  padding: 10px 15px;
  color: #fff;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
}

.footer-grid a {
  display: block;
  color: #ccc;
  margin: 6px 0;
  text-decoration: none;
}


/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #aaa;
}

/* MOBILE */
@media (max-width: 768px) {

  .contact-box {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}

/* HOVER COLORS */
.social.fb:hover {
  color: #1877f2;
}

.social.insta:hover {
  color: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);
}

.social.yt:hover {
  color: #ff0000;
}

.social:hover {
  transform: translateY(-px);
}
/* Footer with contact section */

/* Loans page start */
.card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  margin-top: 50px;
}

input {
  width: 80%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  background: #0ea5e9;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

button:hover {
  background: #0284c7;
}

.loan-title {
  margin-top: 30px;
}

.loan-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.loan-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}