/* --------------------------
    General Body Styles
--------------------------- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; /* Light background */
    margin: 0;
    padding-top: 80px; /* Space for fixed navbar */
    color: #343a40;
}

/* --------------------------
    Navbar Styles
--------------------------- */
.navbar {
    background-color: #143d47 !important; /* Dark navbar */
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.navbar .navbar-brand span {
    color: #fff;
}

.navbar .nav-link {
    color: #fff;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffd700; /* Gold highlight */
}

    .breadcrumb {
      display: flex;
      flex-wrap: wrap;
      padding: 0.5rem 1rem;
      margin-bottom: 1rem;
      list-style: none;
      background-color: #f8f9fa;
      border-radius: 0.25rem;
    }

    .breadcrumb-item+.breadcrumb-item::before {
      content: ">";
      padding: 0 0.5rem;
      color: #6c757d;
    }

    .breadcrumb-item a {
      text-decoration: none;
      color: #0d6efd;
    }

    .breadcrumb-item a:hover {
      text-decoration: underline;
    }

    .breadcrumb-item.active {
      color: #6c757d;
      pointer-events: none;
    }

/* Dropdown Menu */
.navbar .dropdown-menu {
    background-color: #ffffff;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
    min-width: 200px;
}

.navbar .dropdown-item {
    color: #343a40;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: #143d47;
    color: #fff;
}

/* Plan Your Finance Button */
.appointment-btn {
    background-color: #ffd700;
    color: #143d47;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.appointment-btn:hover {
    background-color: #e6c200;
    color: #fff;
}

/* --------------------------
    Dropdown on Hover for Desktop
--------------------------- */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* --------------------------
    Responsive Navbar Adjustments
--------------------------- */
@media (max-width: 991px) {
    .navbar .justify-content-center {
        justify-content: flex-start !important;
    }
    .appointment-btn {
        margin-top: 10px;
        display: block;
    }
}

/* --------------------------
    Section Styles (Optional)
--------------------------- */
section {
    padding: 80px 0;
}

section h2 {
    font-weight: 700;
    color: #143d47;
    margin-bottom: 30px;
}

section p {
    line-height: 1.7;
    color: #495057;
}


/* --------------------------
    Hero Section with Background Image
--------------------------- */
.hero-section-bg {
    position: relative;
    background-image: url('images/finance-hero.webp'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-section-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 61, 71, 0.6); /* Dark overlay for readability */
    z-index: 1;
}

/* Content above background */
.hero-section-bg .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section-bg h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section-bg p.lead {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: #ffd700;
    color: #143d47;
    border: none;
}

.hero-buttons .btn-primary:hover {
    background-color: #e6c200;
    color: #fff;
}

.hero-buttons .btn-outline-primary {
    color: #fff;
    border: 2px solid #fff;
}

.hero-buttons .btn-outline-primary:hover {
    background-color: #ffd700;
    color: #143d47;
    border-color: #ffd700;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-section-bg {
        height: auto;
        padding: 80px 0;
    }
    .hero-section-bg h1 {
        font-size: 2rem;
    }
}


/* Section 1 – Modern Intro */
.about-intro {
    position: relative;
    padding: 100px 0;
    background: #f4f7fa;
}

.about-intro h2 {
    font-weight: 700;
    color: #143d47;
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.about-intro p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-intro-img img {
    border-radius: 20px;
    transition: 0.3s ease;
}

.about-intro-img img:hover {
    transform: scale(1.03);
}



/* Stats Section */
.stats-section {
    padding: 70px 0;
    background: #ffffff;
}

.stats-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #143d47;
}

.stats-section p {
    color: #555;
    font-size: 1rem;
}

/*services*/

.services-section {
    background: #f8fbfc;
    padding: 60px 0;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 14px;
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
}

.top-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

.card-body {
    padding: 20px;
}

.card-body h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #143d47;
    font-weight: 600;
}

.card-body p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.btn-read {
    display: inline-block;
    padding: 8px 16px;
    background: #143d47;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-read:hover {
    background: #0e2b33;
}

/* Hover Overlay */
.service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 61, 71, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
    border-radius: 14px;
}

.service-card:hover .overlay {
    opacity: 1;
}

.overlay h5 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.overlay a {
    padding: 8px 18px;
    background: #fff;
    color: #143d47;
    text-decoration: none;
    border-radius: 25px;
}

.overlay a:hover {
    background: #143d47;
    color: #fff;
}

/*why choose us section*/
.why-choose-section {
    background: #f1f7f9;
    padding: 80px 0;
}

/* Card Style */
.choose-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.choose-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Icon Style */
.choose-icon {
    width: 70px;
    height: 70px;
    background: #143d47;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.choose-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #143d47;
}

.choose-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Section Text */
.why-choose-section h2 {
    font-size: 2.4rem;
    color: #143d47;
}

.why-choose-section p.lead {
    font-size: 1.1rem;
}

/*testimonials*/
.testimonials-section {
    background: #f8fbfc;
    padding: 80px 0;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 25px 20px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.client-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    overflow: hidden;
    border-radius: 50%;
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-body h5 {
    font-weight: 600;
    color: #143d47;
    margin-bottom: 3px;
}

.testimonial-body span {
    font-size: 0.85rem;
    color: #888;
}


.about-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.mission-vision .card, .why-choose-us .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-vision .card:hover, .why-choose-us .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.achievements h3 {
    font-size: 2rem;
    color: #143d47;
    margin-bottom: 5px;
}

.achievements p {
    color: #555;
    font-weight: 500;
}


.plan-finance-advanced {
    background-color: #f8f9fa;
}

.benefit-card {
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.cta-btn {
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.testimonial i {
    vertical-align: top;
}

.counter {
    font-size: 2rem;
    font-weight: 700;
    color: #143d47;
}

/*blog*/
.blog-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(20, 61, 71, 0.7); /* dark semi-transparent overlay */
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
}

.blog-card:hover .overlay {
    opacity: 1;
}

.blog-card .badge {
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
}

.blog-card .btn {
    border-radius: 25px;
    font-size: 0.8rem;
}

.why-blogs-section {
    background-color: #f9f9f9;
}

.why-blogs-section h2 {
    color: #143d47;
}

.why-blogs-section p {
    color: #6c757d;
    font-size: 1rem;
}

.why-card {
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.why-card i {
    display: block;
}


/*loan services*/
.loan-services {
  background: #f9fbfd;
}

.loan-services h2 {
  color: #143d47;
}

.service-card {
  background: #ffffff;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.icon-box {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0d6efd, #143d47);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.icon-box i {
  font-size: 28px;
  color: #fff;
}

.service-btn {
  display: inline-block;
  padding: 8px 20px;
  margin-top: 10px;
  background: #143d47;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.service-btn:hover {
  background: #0d6efd;
  color: #fff;
}
