/* Navbar background + shadow */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background 0.3s ease-in-out;
  position: fixed;
}
/* Nav Links */
.nav-link {
  position: relative;
  color: #374151; /* Tailwind Gray-700 */
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
.nav-link:hover {
  color: #2563eb; /* Tailwind Blue-600 */
}
/* Hover underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  display: block;
  margin-top: 4px;
  right: 0;
  background: #2563eb;
  transition: width 0.3s ease, right 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
  right: 0;
}
/* Active link highlight */
.nav-link.active {
  color: #2563eb;
  font-weight: 600;
}
.nav-link.active::after {
  width: 100%;
}
/* Hamburger Menu Animation */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}
.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #374151;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}
/* Animate to "X" when active */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================
   Hero Section Custom Styles
============================ */

/* Hero full height */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
/* Buttons */
.btn-primary {
  background: #2563eb; /* Tailwind Blue-600 */
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}
.btn-secondary {
  background: white;
  color: #2563eb;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 2px solid #2563eb;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  text-align: center;
}
.btn-secondary:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}
/* Simple fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }


/* ============================
   About MSME Section Styles
============================ */

/* Stats Card Styling */
.stat-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
/* Button */
.btn-primary {
  background: #2563eb; /* Tailwind Blue-600 */
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}
/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }


/* ============================
   Loan Schemes Section Styles
============================ */

/* Loan Card */
.loan-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.loan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
/* Title */
.loan-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}
/* Description */
.loan-desc {
  color: #4b5563; /* Gray-600 */
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
/* Facts */
.loan-facts {
  list-style: none;
  margin-bottom: 1.5rem;
}
.loan-facts li {
  margin-bottom: 0.5rem;
  color: #374151; /* Gray-700 */
  font-size: 0.9rem;
}
/* Actions */
.loan-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
/* Buttons */
.btn-primary {
  background: #2563eb;
  color: white;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}
.btn-secondary {
  background: white;
  color: #2563eb;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 2px solid #2563eb;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}
.btn-secondary:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}
/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}
.delay-200 { animation-delay: 0.2s; }


/* ============================
   How It Works Section Styles
============================ */

/* Step Card */
.step-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease-in-out forwards;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
/* Icon */
.step-icon {
  font-size: 2rem;
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
/* Title */
.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}
/* Text */
.step-text {
  color: #4b5563; /* Gray-600 */
  font-size: 0.95rem;
}
/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}
.delay-200 { animation-delay: 0.2s; }


/* ============================
   Eligibility Section Styles
============================ */

/* Check Icon */
.check-icon {
  color: #16a34a; /* Tailwind Green-600 */
  font-size: 1.2rem;
  flex-shrink: 0;
}
/* CTA Button */
.btn-primary {
  background: #2563eb;
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}
/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}
.delay-200 { animation-delay: 0.2s; }


/* ============================
   Success Stories Section Styles
============================ */

/* Story Card */
.story-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
/* Image */
.story-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
/* Content */
.story-content {
  padding: 1.5rem;
  flex-grow: 1;
}
.story-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}
.story-desc {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1rem;
}
/* Testimonial */
.testimonial {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f9fafb;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}
.testimonial-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2563eb;
}
.testimonial-text {
  font-size: 0.9rem;
  color: #374151;
  font-style: italic;
}
/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}
.delay-200 { animation-delay: 0.2s; }


/* ============================
   Government Links Section Styles
============================ */

/* Link Cards */
.link-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.link-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}
.link-desc {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Accordion */
.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  background: white;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafb;
  border: none;
  outline: none;
}
.accordion-header::after {
  content: "+";
  font-size: 1.25rem;
  color: #2563eb;
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header::after {
  content: "−";
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}
.accordion-item.active .accordion-content {
  max-height: 300px;
  padding: 1rem 1.25rem;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}
.delay-200 { animation-delay: 0.2s; }


/* ============================
   Final CTA Section Styles
============================ */

/* Primary Button */
.btn-primary {
  background: #facc15; /* Yellow */
  color: #1f2937; /* Gray-800 */
  padding: 0.85rem 2rem;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.3s ease-in-out;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover {
  background: #eab308; /* Darker yellow */
  transform: translateY(-3px) scale(1.05);
}
/* Secondary Button */
.btn-secondary {
  background: white;
  color: #2563eb;
  padding: 0.85rem 2rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 2px solid #2563eb;
  transition: all 0.3s ease-in-out;
  text-align: center;
  display: inline-block;
}
.btn-secondary:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px) scale(1.05);
}
/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-in-out forwards;
}

/* ============================
   WhatsApp Floating Button Styles
============================ */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 9999;
}
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
/* Responsive adjustment */
@media (max-width: 640px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}


/* ============================
   Footer Custom Styles
============================ */

/* Footer Hover Glow on Links */
footer a {
  position: relative;
}
footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #facc15; /* yellow */
  transition: width 0.3s ease;
}
footer a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  footer h1 {
    font-size: 1.5rem;
  }
}
