/* ========= Global Reset ========= */
body {
  font-family: 'Noto Nastaliq Urdu', serif;
} 

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

/* ========= Container with Image Badge ========= */
.container {
  position: relative;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.container img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* ========= Badge ========= */
.badge {
  position: absolute;
  background: rgba(0, 64, 128, 0.85);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

.badge span {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.top-left { top: 20px; left: 20px; }
.bottom-right { bottom: 20px; right: 20px; }

@media (max-width: 600px) {
  .badge {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  .badge span {
    font-size: 1.1rem;
  }
}

/* ========= Testimonials ========= */
.testimonial-section {
  background-color: #fac61a;
  padding: 50px 20px;
  text-align: center;
  border-radius: 30px;
}

.testimonial-slider {
  max-width: 700px;
  margin: auto;
}

.testimonial-card {
  display: none;
  padding: 25px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.4s ease;
}

.testimonial-card.active {
  display: block;
}

.testimonial-card img.client-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fac61a;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 12px;
}

.stars {
  color: #f7c94b;
  font-size: 1.3rem;
}

.controls {
  margin-top: 20px;
}

.controls button {
  padding: 10px 20px;
  font-size: 1rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.controls button:hover {
  background: #0056b3;
}

/* ========= How It Works ========= */
.how-it-works {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.2rem;
  color: #2e6da4;
  margin-bottom: 40px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.step {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-8px);
}

.step-number {
  background-color: #2e6da4;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  margin: auto auto 15px;
  border-radius: 50%;
}

.step h4 {
  font-size: 18px;
  color: #2e6da4;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: #555;
}

/* ========= Eligibility Section ========= */
.eligibility-loan-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 20px;
  background: #f5f9ff;
}

.eligibility,
.loan-categories {
  flex: 1 1 45%;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.eligibility h2,
.loan-categories h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2e6da4;
}

.eligibility li,
.loan-categories li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: #333;
}

.eligibility li::before,
.loan-categories li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e6da4;
  font-weight: bold;
}

/* ========= CTA Section ========= */
.cta-transform {
  background: linear-gradient(135deg, #d2e3fc, #f3f9ff);
  padding: 60px 20px;
  text-align: center;
  border-radius: 14px;
  margin: 50px 20px;
}

.cta-transform h2 {
  font-size: 2rem;
  color: #2e6da4;
  margin-bottom: 20px;
}

.cta-transform p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
  max-width: 700px;
  margin-inline: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.cta-buttons .btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s ease;
  text-decoration: none;
}

.btn.apply {
  background: #70ef08;
  color: #000;
}

.btn.info {
  background: transparent;
  color: #70ef08;
  border: 2px solid #ff910a;
}

.btn:hover {
  transform: scale(1.05);
}

/* ========= Footer ========= */
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 60px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer h4 {
  color: #38bdf8;
  margin-bottom: 20px;
}

.footer a {
  color: #94a3b8;
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  background: #0e121b;
  color: #cbd5e1;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ========= Newsletter ========= */
.newsletter-section {
  background-color: #004080;
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: auto;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  padding: 15px;
  width: 60%;
  max-width: 350px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 15px 25px;
  background-color: #f9c842;
  color: #004080;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: #e0b634;
}

/* ========= Responsive ========= */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* .footer-grid {
    grid-template-columns: 1fr;
  } */
  /* ========== FOOTER DESIGN ========== */
:root {
--primary: #0070f3;
--primary-foreground: #ffffff;
--secondary: #f5f5f5;
--secondary-foreground: #111;
--background: #ffffff;
--foreground: #111;
--muted: #f5f5f5;
--muted-foreground: #666;
--border: #e5e5e5;
--radius: 0.5rem;
}

.footer-section {
background-color: #1a1a1a;
position: relative;
overflow: hidden;
}

.footer-logo {
max-width: 150px;
height: auto;
}

.quick-links li {
margin-bottom: 10px;
}

.quick-links a {
color: var(--muted-foreground);
text-decoration: none;
transition: color 0.3s ease;
}

.quick-links a:hover {
color: var(--primary);
text-decoration: none;
}

.social-icons a {
color: var(--muted-foreground);
font-size: 20px;
transition: color 0.3s ease;
}

.social-icons a:hover {
color: var(--primary);
}

.contact-info li {
color: var(--muted-foreground);
margin-bottom: 15px;
}

.contact-info i {
margin-right: 10px;
color: var(--primary);
}

.newsletter-form .form-control {
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid var(--border);
color: var(--muted-foreground);
}

.newsletter-form .form-control:focus {
background-color: rgba(255, 255, 255, 0.15);
box-shadow: none;
border-color: var(--primary);
}

.copyright-bar {
background-color: rgba(0, 0, 0, 0.2);
padding: 20px 0;
}

@media (max-width: 768px) {
.footer-section {
text-align: center;
}

.social-icons {
justify-content: center;
}

.quick-links, .contact-info {
margin-bottom: 30px;
}

  .eligibility-loan-section {
    flex-direction: column;
  }

.custom-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 20px 30px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.newsletter h2 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.newsletter p {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.newsletter-form input[type="email"] {
  padding: 12px 16px;
  width: 280px;
  border: 1px solid #334155;
  border-radius: 8px;
  background-color: #1e293b;
  color: #e2e8f0;
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form button {
  background-color: #10b981;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #059669;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom p {
  font-size: 13px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}
/*https://github.com/Adil-Ahmed-1
/* Responsive */
@media (max-width: 500px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
}
}