/* Responsive Design */
@media (max-width: 991px) {
    .hero__caption h1 {
        font-size: 36px;
        text-align: center;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar-brand {
        margin-right: 0;
        padding: 0;
    }

    .navbar-toggler {
        margin: 0;
        padding: 0;
        border: none;
    }

    .navbar-toggler-icon {
        width: 1.5em;
        height: 1.5em;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-light .navbar-nav {
        display: block;
        text-align: center;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    .navbar-light .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -5px;
        width: 0;
        height: 2px;
        background-color: #8f1bdc;
        transition: width 0.3s ease, left 0.3s ease;
        opacity: 0;
        transform: translateX(-50%);
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link:focus::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 60%;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link.active {
        color: #8f1bdc;
    }

    .navbar-light .navbar-nav .dropdown-item::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -5px;
        width: 0;
        height: 2px;
        background-color: #8f1bdc;
        transition: width 0.3s ease, left 0.3s ease;
        opacity: 0;
        transform: translateX(-50%);
    }

    .navbar-light .navbar-nav .dropdown-item:hover::after,
    .navbar-light .navbar-nav .dropdown-item:focus::after,
    .navbar-light .navbar-nav .dropdown-item.active::after {
        width: 60%;
        opacity: 1;
    }

    .navbar-light .navbar-nav .dropdown-item::after {
        content: none;
    }

    .navbar-light .navbar-nav .dropdown-item.active {
        color: #8f1bdc;
    }

    .slider-area {
        padding: 20px 0;
    }

    .hero__caption {
        text-align: center;
        margin-bottom: 20px;
    }

    .hero__caption h1 {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero__caption p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .slider-btns {
        justify-content: center;
        margin-top: 20px;
    }

    .hero__img {
        text-align: center;
        margin-top: 20px;
        display: block;
    }

    .hero__img img {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        margin-bottom: 20px;
    }
    .hero__caption {
        text-align: center;
    }

    .navbar-nav {
        text-align: center;
        display: block;
    }

    .navbar-nav .nav-item {
        margin-bottom: 1rem;
    }

    .hero__img {
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    .hero__img img {
        width: 70%;
        margin: 0 auto;
        display: block;
    }
}

/* Small Screens Adjustments for Features Section */
@media (max-width: 767px) {
    .best-features-area .single-features {
        margin-bottom: 30px;
        flex-direction: row;
        text-align: left;
    }

    .features-caption {
        padding-left: 10px;
        padding-right: 10px;
    }

    .features-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .features-icon {
        margin-bottom: 0;
        margin-right: 15px;
    }

    .section-tittle h2 {
        font-size: 30px;
        line-height: 1.3;
        margin-bottom: 30px;
        text-align: center;
    }
}

/* Responsive Styling for the Services Section */
@media (max-width: 991px) {
    .service-area {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .services-caption {
        padding: 50px 30px;
    }

    .section-tittle h2 {
        font-size: 30px;
    }

    .services-caption .service-icon span {
        font-size: 35px;
        height: 80px;
        width: 80px;
        line-height: 80px;
    }
}

@media (max-width: 767px) {
    .service-area {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .services-caption {
        padding: 40px 20px;
        margin: 0 15px 30px 15px;
    }

    .services-caption .service-icon span {
        font-size: 35px;
        height: 80px;
        width: 80px;
        line-height: 80px;
    }

    .section-tittle h2 {
        font-size: 30px;
    }
}

/* Responsive adjustments for the Pricing Section */
@media (max-width: 767px) {
    .pricing-card-area {
        margin-top: -100px;
    }

    .single-card {
        margin-bottom: 30px;
        max-width: 100%;
        padding: 40px 20px;
    }

    .best-pricing {
        padding: 50px 0;
    }

    .section-tittle2 h2 {
        font-size: 30px;
    }

    .row.d-flex.justify-content-center .col-xl-3 {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* Responsive Adjustments for Testimonials Section */
@media (max-width: 1024px) {
    .section__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .section__card {
        padding: 64px 24px 24px;
    }
}

@media (max-width: 768px) {
    .section__grid {
        grid-template-columns: 1fr;
    }

    .section__card {
        padding: 56px 16px 16px;
    }

    .section__container h2 {
        font-size: 20px;
    }

    .section__container h1 {
        font-size: 32px;
        margin-bottom: 48px;
    }

    .section__container h1::after {
        bottom: -20px;
    }

    .section__grid {
        margin-top: 56px;
    }

    .section__card::before {
        width: 50%;
    }
}

/* Responsive Adjustments for Footer Section */
@media (max-width: 767px) {
    .footer-area {
        padding: 40px 20px;
    }

    .footer-logo img {
        width: 100px;
    }

    .footer-tittle {
        margin-bottom: 30px;
    }

    .footer-area .footer-copy-right {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-area .footer-copy-right p {
        margin-bottom: 10px;
    }

    #date-time {
        margin-top: 10px;
        margin-left: 0;
    }
}

/* Responsive Styles for the marketplace section */
@media (max-width: 767px) {
    .marketplace-section .form-inline {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .marketplace-section .form-inline .form-control {
        width: calc(100% - 50px);
        padding: 10px 15px;
        border-radius: 30px;
        border: 1px solid #8f1bdc;
    }

    .marketplace-section .form-inline .btn {
        width: 40px;
        height: 40px;
        margin-left: 10px;
        background-color: #8f1bdc;
        color: white;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .marketplace-section .form-inline .btn i {
        font-size: 16px;
    }

    .marketplace-section .form-inline .form-control::placeholder {
        font-size: 14px;
    }

    .marketplace-section h2 {
        font-size: 28px;
        text-align: center;
    }

    .marketplace-section .list-inline {
        text-align: center;
    }

    .marketplace-section .list-inline-item {
        margin: 5px 5px;
    }

    .marketplace-section .btn-outline-primary {
        font-size: 12px;
        padding: 6px 12px;
    }

    .marketplace-section .col-md-4 {
        width: 100%;
        margin-bottom: 20px;
    }
}
