/* ==========================================================
   Darshan Barter – Master Stylesheet (Responsive)
   ========================================================== */

/* ================= RESET + BASE ================= */
/**,*/
/**::before,*/
/**::after {*/
/*  box-sizing: border-box;*/
/*}*/

html, body {
  margin: 0;
  font-family: 'Helvetica', Arial, sans-serif;
  color: #222;
}

a {
  text-decoration: none;
}

.container {
  width: 1200px;
  max-width: 94%;
  margin: 0 auto;
}

/* ================= TOPBAR ================= */
.topbar {
  background: #f3f3f3;
  padding: 6px 0;
  font-size: 14px;
  color: #333;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}


/* ================= HEADER ================= */
.site-header {
  background: #f5ad1d;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 70px;
  width: auto;
}



/* ================= NAV ================= */
.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}

/* ================= HEADER RIGHT ================= */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ================= CTA ================= */
.cta {
  border: 2px solid #fff;
  padding: 8px 18px;
  border-radius: 25px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

/* ================= AUTH ================= */
.nav-auth {
  color: #fff;
  font-weight: 500;
}

.btn-auth {
  background: #fff;
  color: #f5ad1d;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
}

/* ================= ACCOUNT DROPDOWN ================= */
.nav-account {
  position: relative;
}

.account-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

.account-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: none;
  z-index: 999;
}

.account-dropdown.show {
  display: block;
}

.account-dropdown a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
}

.account-dropdown a:hover {
  background: #f5f5f5;
}

/* ================= MOBILE NAV TOGGLE ================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */

/* -------- Tablet -------- */
@media (max-width: 1024px) {
  .container {
    max-width: 96%;
  }

  .main-nav {
    gap: 18px;
  }
}
/* -------- Mobile -------- */
@media (max-width: 900px) {

  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  /* Hamburger */
  .nav-toggle {
    display: block;
  }

  /* Main navigation */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f5ad1d;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    display: none;
    z-index: 999;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    font-size: 16px;
    padding: 10px 0;
    width: 100%;
  }

  /* Hide CTA on mobile */
  .cta {
    display: none;
  }

  /* Account section FIX */
  .nav-account {
    width: 100%;
    margin-top: 10px;
  }

  .account-toggle {
    width: 100%;
    padding: 10px 0;
  }

  .account-dropdown {
    position: static;      /* 🔥 KEY FIX */
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    border-radius: 0;
    /* display: none; */
    background: #fff;
  }

  .account-dropdown.show {
    display: block;
  }

  .account-dropdown a {
    padding: 10px 12px;
    width: 100%;
  }
}


/* -------- Small Mobile -------- */
@media (max-width: 480px) {
  .logo {
    font-size: 18px;
  }

  .topbar {
    font-size: 12px;
  }

  .btn-auth {
    padding: 5px 12px;
    font-size: 13px;
  }
}

/* ==========================================================
   HERO SECTION — RESPONSIVE (ALL DEVICES) + ANIMATION
   ========================================================== */

.hero {
  background: #fff;
  padding: 100px 0;
  display: flex;
  align-items: center;
  overflow: hidden; /* important for animation */
}

/* Layout */
.hero-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   TEXT (ANIMATION ADDED)
========================= */
.hero-text {
  flex: 1;

  opacity: 0;
  transform: translateX(-40px);
  animation: heroTextIn 0.9s ease-out forwards;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #09214b;
}

.hero-text p {
  color: #555;
  font-size: 18px;
  margin-bottom: 25px;
}

/* Button micro interaction */
.hero-text .btn {
  transition: all 0.3s ease;
}

.hero-text .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* =========================
   IMAGE (ANIMATION ADDED)
========================= */
.hero-image {
  flex-shrink: 0;

  opacity: 0;
  transform: translateX(40px);
  animation: heroImageIn 0.9s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-image img {
  width: 520px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 520 / 360;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* =========================
   KEYFRAMES
========================= */
@keyframes heroTextIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1024px) {

  .hero {
    padding: 80px 0;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 17px;
  }
}

/* ==========================================================
   MOBILE (ANIMATION ADJUSTED)
   ========================================================== */
@media (max-width: 768px) {

  .hero {
    padding: 60px 0;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 35px;
  }

  .hero-text {
    transform: translateY(30px);
    animation: heroTextMobile 0.8s ease-out forwards;
  }

  .hero-image {
    transform: translateY(30px);
    animation: heroImageMobile 0.8s ease-out forwards;
    animation-delay: 0.2s;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-image img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  @keyframes heroTextMobile {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes heroImageMobile {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */
@media (max-width: 480px) {

  .hero {
    padding: 50px 0;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 15px;
  }
}

/* ==========================================================
   OUR LOANS SECTION — PROPER RESPONSIVE VERSION
   ========================================================== */

.loans {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 70px 0;
  align-items: start;
}

/* Left text */
.loans-left small {
  color: #f1a91a;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}

.loans-left h2 {
  font-size: 30px;
  margin: 0 0 12px;
  line-height: 1.3;
}

.loans-left p {
  color: #555;
  font-size: 16px;
}

/* Grid */
.loans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.loan-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.loan-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.loan-card p {
  padding: 14px 10px;
  font-weight: 600;
  color: #222;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1024px) {

  .loans {
    grid-template-columns: 240px 1fr;
    gap: 30px;
  }

  .loans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .loans-left h2 {
    font-size: 26px;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 768px) {

  .loans {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0;
  }

  .loans-left {
    max-width: 100%;
  }

  .loans-left h2 {
    font-size: 24px;
  }

  .loans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .loan-card img {
    height: 180px;
  }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */
@media (max-width: 480px) {

  .loans {
    padding: 50px 0;
  }

  .loans-left h2 {
    font-size: 22px;
  }

  .loan-card img {
    height: 160px;
  }
}

/* ==========================================================
   FEATURE BAND — RESPONSIVE (ABOUT STYLE)
   ========================================================== */

.feature-band {
  margin: 0;
  padding: 0;
}

.feature-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* Image */
.feature-image {
  flex: 3;
}

.feature-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Text */
.feature-text {
  flex: 2;
  background: #f6b93b;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-text h3 {
  margin-top: 0;
  font-size: 24px;
  line-height: 1.3;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.6;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1024px) {

  .feature-image img {
    height: 220px;
  }

  .feature-text {
    padding: 30px;
  }

  .feature-text h3 {
    font-size: 22px;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 768px) {

  .feature-inner {
    flex-direction: column;
  }

  .feature-image img {
    width: 100%;
    height: 220px;
  }

  .feature-text {
    width: 100%;
    padding: 28px 20px;
    text-align: center;
  }

  .feature-text h3 {
    font-size: 20px;
  }

  .feature-text p {
    font-size: 15px;
  }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */
@media (max-width: 480px) {

  .feature-image img {
    height: 200px;
  }

  .feature-text {
    padding: 24px 16px;
  }

  .feature-text h3 {
    font-size: 18px;
  }
}

/* ===== ABOUT BANNER ===== */
.about-banner {
    background: url('images/about-banner.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: left;
    color: #fff;
}
.about-banner h2 {
    font-size: 40px;
    margin: 0 0 10px;
}
.about-banner p a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

/* ===== MAIN ABOUT SECTION ===== */
.about-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

.about-content small {
    color: #f4b83a;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: 34px;
    margin: 10px 0 20px;
    color: #09214b;
}

.about-content .bold-text {
    font-weight: 600;
    margin-bottom: 18px;
    color: #000;
}

.about-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.btn-discover {
    display: inline-block;
    padding: 10px 26px;
    background: #f4b83a;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.btn-discover:hover {
    background: #e0a027;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.about-img img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* =====================================
   PROFESSIONAL REVEAL ANIMATION
   (Vertical Lift – Executive Style)
===================================== */

/* Enable JS-based animation */
.js .about-banner h2,
.js .about-banner p,
.js .about-content > *,
.js .about-img {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s ease, transform .8s ease;
}

/* ===== ABOUT BANNER ===== */
.js .about-banner.show h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .15s;
}

.js .about-banner.show p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .3s;
}

/* ===== ABOUT MAIN CONTENT ===== */
.js .about-main.show .about-content > * {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal */
.js .about-content small { transition-delay: .1s; }
.js .about-content h2 { transition-delay: .2s; }
.js .about-content .bold-text { transition-delay: .3s; }
.js .about-content p { transition-delay: .4s; }
.js .about-content .btn-discover { transition-delay: .55s; }

/* ===== IMAGE REVEAL ===== */
.js .about-main.show .about-img {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .35s;
}


/* ==============================
   CLEAN PROFESSIONAL ANIMATION
   (Soft Fade + Micro Slide)
============================== */

/* ==============================
   LEFT SLIDE-IN ANIMATION
============================== */

/* Text block – slide from LEFT */
.js .about-main:not(.show) .about-content {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .about-main.show .about-content {
    opacity: 1;
    transform: translateX(0);
}

/* Inner text stagger (clean & visible) */
.js .about-main:not(.show) .about-content > * {
    opacity: 0;
    transform: translateX(-25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .about-main.show .about-content > * {
    opacity: 1;
    transform: translateX(0);
}

.js .about-content small { transition-delay: 0.1s; }
.js .about-content h2 { transition-delay: 0.2s; }
.js .about-content .bold-text { transition-delay: 0.3s; }
.js .about-content p { transition-delay: 0.4s; }
.js .about-content .btn-discover { transition-delay: 0.5s; }

/* Image – slide from RIGHT (balanced look) */
.js .about-main:not(.show) .about-img {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .about-main.show .about-img {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}


/* ===== Responsive ===== */
@media (max-width: 900px) {
    .about-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img img {
        width: 80%;
        margin: auto;
    }
}



/* ===== ABOUT PAGE BANNER ===== */
.about-banner {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.about-banner-overlay {
    background: rgba(0, 0, 0, 0.55); /* dark overlay */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.about-banner-overlay h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-banner-overlay p {
    color: #ddd;
    font-size: 15px;
}

.about-banner p a {
    color: #fff;
    text-decoration: none;
}

.about-banner p a:hover {
    text-decoration: underline;
}

/* ===== FOUR FEATURES GRID ===== */
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0 80px;
}

.feature-box h3 {
    color: #09214b;
    margin-bottom: 10px;
}

.feature-box p {
    color: #555;
    line-height: 1.6;
}

/* ==============================
   DIFFERENT PROFESSIONAL ANIMATION
   (Side Spread Reveal)
============================== */

/* Default state — visible safe */
.js .about-features:not(.show) .feature-box {
    opacity: 0;
    transform: scale(0.94) translateX(20px);
    transition: opacity .85s ease, transform .85s ease;
}

/* Reveal */
.js .about-features.show .feature-box {
    opacity: 1;
    transform: scale(1) translateX(0);
}

/* Natural left → right rhythm */
.js .feature-box:nth-child(1) {
    transition-delay: .15s;
    transform: scale(0.94) translateX(-25px);
}

.js .feature-box:nth-child(2) {
    transition-delay: .3s;
}

.js .feature-box:nth-child(3) {
    transition-delay: .45s;
}

.js .feature-box:nth-child(4) {
    transition-delay: .6s;
    transform: scale(0.94) translateX(25px);
}

/* ===== Responsive ===== */
@media(max-width: 900px){
    .about-features {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }
}

@media(max-width: 600px){
    .about-features {
        grid-template-columns: 1fr;
    }

    .js .about-features:not(.show) .feature-box {
        transform: scale(0.96);
    }
}


/* ==========================================================
   BUSINESS HERO SECTION — RESPONSIVE (FINAL)
   ========================================================== */

.business-hero {
  display: flex;
  width: 100%;
  min-height: 580px;
}

/* ================= IMAGE ================= */
.business-hero .hero-img {
  flex: 1;
  overflow: hidden;
}

.business-hero .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================= CONTENT ================= */
.business-hero .hero-content {
  flex: 1;
  background: #f4af28;
  padding: 80px 70px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ================= STATS ================= */
.stats {
  display: flex;
  gap: 50px;
  margin: 30px 0 35px;
}

.stat-box {
  text-align: center;
}

.circle {
  width: 110px;
  height: 110px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  margin: 0 auto;
}

.stat-box p {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 1px;
}

/* ================= BUTTON ================= */
.hero-btn {
  display: inline-block;
  align-self: flex-start;
  background: #09214b;
  color: #fff;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #051d3a;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1024px) {

  .business-hero {
    min-height: auto;
  }

  .business-hero .hero-content {
    padding: 60px 50px;
  }

  .stats {
    gap: 35px;
  }

  .circle {
    width: 95px;
    height: 95px;
    font-size: 20px;
  }
}

/* ==========================================================
   MOBILE — UX FIXED
   ========================================================== */
@media (max-width: 768px) {

  .business-hero {
    flex-direction: column;
    min-height: auto;
  }

  /* Image */
  .business-hero .hero-img {
    height: 200px;
  }

  .business-hero .hero-img img {
    height: 100%;
  }

  /* Content */
  .business-hero .hero-content {
    width: 100%;
    padding: 32px 20px;
    text-align: center;
    align-items: center;
  }

  /* 🔥 Stats converted to GRID */
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
    width: 100%;
  }

  .circle {
    width: 70px;
    height: 70px;
    font-size: 15px;
    border-width: 2px;
  }

  .stat-box p {
    font-size: 11px;
    letter-spacing: 0.5px;
    margin-top: 6px;
  }

  .hero-btn {
    align-self: center;
    margin-top: 14px;
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* ==========================================================
   SMALL MOBILE — EXTRA POLISH
   ========================================================== */
@media (max-width: 480px) {

  .business-hero .hero-img {
    height: 170px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .circle {
    width: 64px;
    height: 64px;
    font-size: 14px;
  }

  .stat-box p {
    font-size: 11px;
  }

  .business-hero .hero-content {
    padding: 28px 16px;
  }
}


/* ==========================================================
   SERVICES SECTION — PROFESSIONAL DESIGN (INDEX)
   ========================================================== */

.services-area {
  padding: 80px 0;
  background: #f9fafc;
}

/* Header */
.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.services-header small {
  color: #f4af28;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.services-header h2 {
  font-size: 34px;
  color: #09214b;
  margin-bottom: 14px;
}

.services-header p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.service-card {
  background: #fff;
  padding: 34px 26px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Icon */
.service-icon {
  width: 70px;
  height: 70px;
  background: #f4af28;
  color: #09214b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
  margin: 0 auto 20px;
}

/* Text */
.service-card h4 {
  font-size: 18px;
  color: #09214b;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* CTA */
.services-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-view-services {
  display: inline-block;
  background: #09214b;
  color: #fff;
  padding: 14px 34px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-view-services:hover {
  background: #051d3a;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1024px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-header h2 {
    font-size: 30px;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 768px) {

  .services-area {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-header h2 {
    font-size: 26px;
  }

  .service-card {
    padding: 30px 22px;
  }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */
@media (max-width: 480px) {

  .services-header h2 {
    font-size: 24px;
  }

  .btn-view-services {
    padding: 12px 28px;
    font-size: 14px;
  }
}


/* ==========================================================
   SERVICES HERO (TITLE SECTION)
   ========================================================== */

.services-hero {
  position: relative;
  background: url("../images/services.jpg") center / cover no-repeat;
  min-height: 320px;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

/* =========================
   SERVICES HERO CONTENT
========================= */
.services-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;

  /* animation container */
  animation: heroFadeIn 0.8s ease-out forwards;
}

/* Initial hidden state */
.services-hero-content small,
.services-hero-content h2,
.services-hero-content p {
  opacity: 0;
  transform: translateY(20px);
}

/* Small text animation */
.services-hero-content small {
  color: #f4af28;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;

  animation: heroFadeUp 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

/* Heading animation */
.services-hero-content h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;

  animation: heroFadeUp 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

/* Paragraph animation */
.services-hero-content p {
  color: #ddd;
  font-size: 16px;
  line-height: 1.6;

  animation: heroFadeUp 0.6s ease-out forwards;
  animation-delay: 0.6s;
}

/* =========================
   KEYFRAMES
========================= */

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 576px) {
  .services-hero-content h2 {
    font-size: 30px;
  }

  .services-hero-content p {
    font-size: 14px;
  }
}


/* ==========================================================
   SERVICES LIST SECTION
   ========================================================== */

.services-list {
  background: #f9fafc;
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.service-box {
  background: #fff;
  border-radius: 10px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

/* Icon */
.service-icon {
  width: 70px;
  height: 70px;
  background: #09214b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 18px;
}

/* Text */
.service-box h4 {
  color: #09214b;
  font-size: 18px;
  margin-bottom: 10px;
}

.service-box p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* Buttons */
.service-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.service-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

/* WhatsApp */
.service-btn.whatsapp {
  border: 1px solid #25d366;
  color: #25d366;
}

.service-btn.whatsapp:hover {
  background: #25d366;
  color: #fff;
}

/* Call */
.service-btn.call {
  border: 1px solid #0d6efd;
  color: #0d6efd;
}

.service-btn.call:hover {
  background: #0d6efd;
  color: #fff;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1024px) {

  .services-hero {
    min-height: 280px;
  }

  .services-hero-content h2 {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 768px) {

  .services-hero {
    min-height: 220px;
  }

  .services-hero-content h2 {
    font-size: 28px;
  }

  .services-hero-content p {
    font-size: 14px;
    padding: 0 12px;
  }

  .services-list {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */
@media (max-width: 480px) {

  .services-hero {
    min-height: 200px;
  }

  .services-hero-content h2 {
    font-size: 24px;
  }

  .service-box {
    padding: 26px 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
}



/* ==========================================================
   CONTACT FORM
   ========================================================== */
.contact-form {
  max-width:700px;
  margin:0 auto;
}
.contact-form input,
.contact-form textarea {
  width:100%;
  padding:12px;
  margin:8px 0;
  border:1px solid #ddd;
  border-radius:4px;
}
.alert {
  background:#e9ffe9;
  border-left:4px solid #39b54a;
  padding:14px;
  margin-bottom:18px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
/* ===========================
   FOOTER STYLING
   =========================== */

.main-footer {
    background: #06224d;       /* Deep navy (Colorlib style) */
    color: #cdd6e6;            /* Light gray text */
    padding-top: 60px;
    margin-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    color: #cdd6e6;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #f4b83a;      /* Yellow highlight */
    padding-left: 4px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #041831;
    text-align: center;
    padding: 14px 0;
    color: #8ea4c6;
    font-size: 14px;
}


/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display:inline-block;
  padding:10px 22px;
  border-radius:4px;
  text-decoration:none;
}
.btn-primary { background:#09214b; color:#fff; }
.btn-outline {
  border:2px solid #f4b83a;
  color:#09214b;
  padding:10px 18px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width:980px){
  .container{width:94%}
  .hero-inner{flex-direction:column; gap:30px;}
  .hero-image img{width:100%; height:260px;}
  .hero-text h1{font-size:36px;}
  .loans{flex-direction:column}
  .feature-inner{flex-direction:column}
  .feature-image img{width:100%;height:200px}
  .feature-text{width:100%}
  .business-hero{flex-direction:column}
  .hero-img, .hero-content{width:100%}
  .main-nav{display:none}
  .nav-toggle{display:block}
  .service-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:620px){
  .service-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .stats{flex-direction:column;gap:20px;align-items:flex-start}
}



/* =====================================================
   Personal Loan Eligibility Calculator
   ===================================================== */

/* Wrapper – centers calculator */
.calculator-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 15px;
  background: #f6f8f7;
}

/* Main card */
.eligibility-calculator {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 25px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Heading */
.eligibility-calculator h2 {
  text-align: center;
  font-size: 20px;
  color: #0d5c3b;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Employment toggle */
.type-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.type-switch button {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #0d5c3b;
  background: #ffffff;
  color: #0d5c3b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.type-switch button.active {
  background: #0d5c3b;
  color: #ffffff;
}

/* Labels */
.eligibility-calculator label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
}

/* Inputs */
.eligibility-calculator input {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #cccccc;
  font-size: 14px;
  box-sizing: border-box;
}

.eligibility-calculator input:focus {
  outline: none;
  border-color: #0d5c3b;
}

/* Calculate button */
.calc-btn {
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  background: linear-gradient(135deg, #0d5c3b, #198754);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.calc-btn:hover {
  opacity: 0.9;
}

/* Result box */
.result-box {
  margin-top: 20px;
  padding: 18px;
  background: #f1f8f4;
  border-radius: 8px;
  border: 1px solid #cce3d8;
  text-align: center;
}

.result-box p {
  margin: 5px 0;
  font-size: 13px;
  color: #555555;
}

.result-box h3 {
  margin: 8px 0;
  font-size: 24px;
  color: #0d5c3b;
  font-weight: 700;
}

.result-box h4 {
  margin: 0;
  font-size: 18px;
  color: #f4b41a;
  font-weight: 700;
}

/* Mobile friendly */
@media (max-width: 480px) {
  .eligibility-calculator {
    padding: 20px 18px;
  }
}

