/* General styles */
body {
    font-family: Arial, sans-serif;
    color: #000;
    margin: 0;
    padding: 0;
    padding-top: 85px; /* Account for fixed navbar */
}

/* Navbar styles */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #113841;
    height: 85px;
    padding: 0 15px;
    border-bottom: 1px solid #ffffff;
}

.navbar-brand {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-brand img {
    width: 170px;
    height: auto;
}

.navbar-toggler {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-link {
    color: white;
    margin-right: 20px;
    font-weight: bold;
    font-size: 24px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #8b9409;
}

.btn1 {
    position: absolute;
    right: 15px;
    top: 20%;
    /* transform: translateY(-50%); */
    font-size: 18px;
    font-weight: bold;
    background-color: #4ed8ae;
    color: #113841;
    border-radius: 30px;
    padding: 10px 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn1:hover {
    background-color: #2aae63;
    color: white;
    transform: scale(1.05);
}

/* Hero Section */
#hero {
    background-color: #113841;
    height: 880px;
}

.hero-title {
    font-size: 60px;
    font-weight: 100;
    color: #ffffff;
    margin-bottom: 1px;
    margin-left: 150px;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 60px;
    font-style: 100;
    margin-left: 150px;
    margin-bottom: 2px;
}

.hero-text {
    font-size: 25px;
    margin-bottom: 30px;
    color: #c2bfbf;
    margin-left: 150px;
}

.herotext {
    padding-left: 20px;
}

.btn-primary {
    background-color: #4ed8ae;
    border: none;
    color: rgb(0, 0, 0);
    font-size: 28px;
    border-radius: 30px;
    font-weight: 100;
    padding: 12px 25px;
    margin-left: 150px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2aae63;
    color: white;
    transform: scale(1.05);
}

#hero .hero-image {
    max-width: 90%;
    height: 880px;
    max-height: 1000px;
    object-fit: fill;
}

/* Debt Consolidation Section */
#debt-consolidation {
    background-color: #ffffff;
    padding: 80px 0;
}

#debt-consolidation h2 {
    font-size: 33px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

#debt-consolidation .lead {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.btn-outline-primary {
    border: 1px solid #007bff;
    color: #007bff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

/* How It Works Section */
#how-it-works {
    background-color: #f5f5f5;
    padding: 80px 0;
}

#how-it-works h2 {
    font-size: 33px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000;
    text-align: center;
}

#how-it-works .lead {
    color: black;
    font-size: 17px;
    text-align: center;
    margin-bottom: 50px;
}

#how-it-works .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

#how-it-works .card:hover {
    transform: translateY(-5px);
}

#how-it-works .card-title {
    font-size: 20px;
    font-weight: bold;
    color: #023430;
}

#how-it-works .card-text {
    color: #555;
}

#how-it-works .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Tailored Plans Section */
#tailored-plans {
    background-color: #ffffff;
    padding: 80px 0;
}

#tailored-plans h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #000;
    text-align: center;
}

#tailored-plans .feature {
    margin-bottom: 30px;
    text-align: center;
}

#tailored-plans .bi {
    font-size: 40px;
    color: #023430;
    margin-bottom: 20px;
}

#tailored-plans h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    color: #023430;
}

#tailored-plans p {
    color: #555;
    margin-bottom: 20px;
}

#tailored-plans .btn-link {
    color: #023430;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

#tailored-plans .btn-link:hover {
    color: #8b9409;
}

/* Testimonial Section */
#testimonial {
    background-color: #115684;
    padding: 80px 0;
}

.testimonial-rating {
    font-size: 1.5rem;
    color: #070707;
    margin-bottom: 20px;
}

.blockquote p {
    font-size: 1.2rem;
    color: #000;
    font-style: normal;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blockquote-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    background-color: transparent;
}

.blockquote-footer cite {
    font-size: 1rem;
    font-weight: bold;
    color: #161616;
    font-style: normal;
    text-align: start;
}

.blockquote-footer span {
    font-size: 0.9rem;
    color: #020202;
    display: block;
    font-style: normal;
    font-weight: 100;
}

.blockquote-footer img {
    vertical-align: middle;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

/* CTA Section */
.debtcontainer {
    width: 100%;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border: 2px solid #000000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.debtcontainer h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.debtcontainer p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.debtcontainer .btn {
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.debtcontainer .btn-light {
    background-color: #007bff;
    color: white;
    border: none;
}

.debtcontainer .btn-light:hover {
    background-color: #0056b3;
}

.debtcontainer .btn-outline-light {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.debtcontainer .btn-outline-light:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Footer */
footer {
    background-color: #ffffff;
    color: #000;
    padding: 80px 0 20px;
}

footer h5 {
    font-size: 16.5px;
    font-weight: bold;
    margin-bottom: 20px;
}

footer ul {
    padding-left: 0;
    list-style-type: none;
    font-size: small;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: small;
}

footer a:hover {
    color: #8b9409;
}

footer .border-top {
    border-color: rgba(0,0,0,0.1) !important;
}

footer .ct {
    font-size: small;
}

footer p {
    font-size: 14.5px;
    color: #2c2929;
    margin: 0;
}

footer .logo {
    display: block;
    margin-bottom: 15px;
    width: 150px;
}

/* General responsive adjustments */
@media (max-width: 1199px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Tablet and smaller desktop screens */
@media (max-width: 991px) {
    .custom-navbar {
        padding: 10px 15px;
    }

    .navbar-brand img {
        width: 140px;
    }

    /* Hide only the "Apply for Financing" button */
    .btn1 {
        display: none;
    }
    
      /* Show the navbar-toggler (hamburger menu) */
    .navbar-toggler {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        padding: 0;
        z-index: 1031;
    }

    .navbar-toggler:focus {
        outline: none;
    }

    /* Dropdown menu adjustments */
    .navbar-collapse {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #113841;
        padding: 10px;
        z-index: 1030;
    }

    .navbar-collapse.show {
        display: block;
    }

    .navbar-nav {
        margin: 0;
        padding: 0;
    }

    .navbar-nav .nav-item {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 18px;
    }

      /* Hero section adjustments */
    #hero {
        height: auto;
        padding: 60px 0 0;
    }

    #hero .container {
        display: flex;
        flex-direction: column;
    }

    .herotext {
        order: 1;
        text-align: center;
        padding: 0 15px;
    }

    .hero-title, .hero-subtitle {
        font-size: 40px;
        margin-left: 0;
        margin-bottom: 10px;
    }

    .hero-text {
        font-size: 20px;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .btn-primary {
        margin-left: 0;
        font-size: 20px;
        padding: 10px 20px;
    }

    #hero .hero-image {
        order: 2;
        width: 100%;
        height: auto;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .row.align-items-center {
        flex-direction: column-reverse;
    }

    .col-lg-6.col-md-12.text-center {
        padding: 0;
    }
    /* Debt Consolidation Section */
     #debt-consolidation {
        padding: 60px 15px;
        text-align: center;
    }

    #debt-consolidation h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    #debt-consolidation .lead {
        font-size: 18px;
        margin-bottom: 30px;
    }

    #debt-consolidation .btn-outline-primary {
        margin-bottom: 10px;
    }

    .feature-item {
        margin-bottom: 30px;
    }

    /* How It Works Section */
    #how-it-works {
        padding: 50px 0;
    }

    #how-it-works h2 {
        font-size: 28px;
    }

    #how-it-works .lead {
        font-size: 16px;
    }

    .card {
        margin-bottom: 30px;
    }

    /* Tailored Plans Section */
    #tailored-plans {
        padding: 50px 0;
    }

    #tailored-plans h2 {
        font-size: 28px;
    }

    .feature {
        margin-bottom: 30px;
    }

    /* Testimonial Section */
    #testimonial {
        padding: 50px 0;
    }

    .blockquote p {
        font-size: 18px;
    }

    /* CTA Section */
    .debtcontainer {
        padding: 30px 15px;
    }

    .debtcontainer h2 {
        font-size: 24px;
    }

    .debtcontainer p {
        font-size: 16px;
    }

    .debtcontainer .btn {
        font-size: 16px;
        padding: 10px 20px;
        margin-bottom: 10px;
    }
}

/* Additional media query for larger screens */
@media (min-width: 1400px) {
    #hero .container {
        max-width: 1600px;
    }
}

/* Additional media query for extra large screens */
@media (min-width: 1600px) {
    #hero .container {
        max-width: 1800px;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    /* Navbar */
    .custom-navbar {
        padding: 10px;
    }

    .navbar-brand {
        margin-left: 0;
    }
    

    .navbar-toggler {
        margin-right: 0;
    }

     .btn1 {
        display: none;
    }

    /* Hero Section */
   .hero-title, .hero-subtitle {
        font-size: 32px;
    }

    .hero-text {
        font-size: 18px;
    }

    .btn-primary {
        font-size: 18px;
        padding: 8px 16px;
    }

    #debt-consolidation h2 {
        font-size: 24px;
    }

    #debt-consolidation .lead {
        font-size: 16px;
    }
    /* Sections
    #debt-consolidation h2,
    #how-it-works h2,
    #tailored-plans h2,
    .debtcontainer h2 {
        font-size: 22px;
    }

    .lead {
        font-size: 14px;
    } */

    /* Footer */
    footer {
        text-align: center;
    }

    footer .logo {
        margin: 0 auto 15px;
    }

    footer h5 {
        margin-top: 20px;
    }
}

/* Very small mobile devices */
@media (max-width: 575px) {
    .custom-navbar {
        padding: 5px 10px;
    }
     .btn1 {
        display: none;
    }

    .navbar-brand img {
        width: 120px;
    }

    .navbar-toggler {
        right: 10px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .btn1 {
        font-size: 14px;
    }
     .hero-title, .hero-subtitle {
        font-size: 28px;
    }

    .hero-text {
        font-size: 16px;
    }

    .btn-primary {
        font-size: 16px;
        padding: 8px 16px;
    }
    #debt-consolidation h2,
    #how-it-works h2,
    #tailored-plans h2,
    .debtcontainer h2 {
        font-size: 20px;
    }

    .lead {
        font-size: 12px;
    }
}