/*
-----------------------------------
        FAQ SECTION
-----------------------------------
*/

 .home-faq {
     padding: 3rem 0;
     background-color: #f8f9fa;
 }

.home-faq .faq-wrapper {
    max-width: 768px;
}

.home-faq .accordion-item {
    background: #fff;
    border: 1px solid #e7e7ef;
    border-radius: 0.65rem;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.home-faq .accordion-button {
    background: #ffffff !important;
    box-shadow: none !important;
    border: none;
    padding: 1rem;
    font-weight: 500;
    color: #111827;
}

.home-faq .accordion-button:not(.collapsed) {
    background: #ffffff !important;
    color: #111827;
    box-shadow: none;
}

.home-faq .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.home-faq .accordion-body {
    background: #f7f8fb;
    border-bottom-left-radius: 0.65rem;
    border-bottom-right-radius: 0.65rem;
    padding: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb; /* border color */
    color: #6b7280; /* gray-600 equivalent */
}

.home-faq .accordion-button::after {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3e%3c/svg%3e");
}

.home-faq .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.home-faq .faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.home-faq .faq-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Utility classes for this section only */
.home-faq .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.home-faq .text-center {
    text-align: center;
}

.home-faq .mb-4 {
    margin-bottom: 1.5rem;
}

.home-faq .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.home-faq .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.home-faq .collapse {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.home-faq .collapse.show {
    visibility: visible;
    height: auto;
}

.home-faq .accordion-collapse {
    transition: height 0.35s ease;
}

/*
-----------------------------------
        FEATURES SECTION
-----------------------------------
*/

.features-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.features-section .feature-card {
    border: 1px solid #e5e5ef;
    border-top: 0;
    border-radius: .75rem;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
}

.features-section .feature-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.features-section .feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: .75rem .75rem 0 0;
    background: linear-gradient(90deg,#ec4899 0%,#f97316 100%);
}

.features-section .icon-circle {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg,#ec4899 0%,#f97316 100%);
    color: #fff;
    margin: 0 auto 1rem;
}

.features-section .icon-circle svg,
.features-section .icon-circle img {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.features-section .features-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.features-section .features-subtitle {
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.features-section .feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.features-section .feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Utility classes for this section only */
.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.features-section .text-center {
    text-align: center;
}

.features-section .mb-5 {
    margin-bottom: 3rem;
}

.features-section .mb-0 {
    margin-bottom: 0;
}

.features-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: -0.5rem;
}

.features-section .g-4 > * {
    padding: 0.5rem;
}

.features-section .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.features-section .d-flex {
    display: flex;
}

.features-section .flex-column {
    flex-direction: column;
}

.features-section .w-100 {
    width: 100%;
}

.features-section .card {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.375rem;
    background: #fff;
}

.features-section .card-body {
    padding: 1.25rem;
    flex: 1 1 auto;
}

.features-section .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (min-width: 768px) {
    .features-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .features-section .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/*
-----------------------------------
        HOW IT WORKS SECTION
-----------------------------------
*/

.how-it-works-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.how-it-works-section .section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    text-align: center;
}

/* Step Cards */
.how-it-works-section .step-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.how-it-works-section .step-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

/* Step Number Badge */
.how-it-works-section .step-number {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Step Icon Container */
.how-it-works-section .step-icon-container {
    width: 4rem;
    height: 4rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1rem;
}

.how-it-works-section .step-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #ec4899;
}

/* Step Content */
.how-it-works-section .step-content {
    text-align: center;
}

.how-it-works-section .step-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.5;
    margin-bottom: 0;
}

/* CTA Button */
.how-it-works-section .cta-container {
    text-align: center;
    margin-top: 3rem;
}

.how-it-works-section .cta-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 33%, #f97316 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.how-it-works-section .cta-button:hover {
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 2rem 0;
    }

    .how-it-works-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .how-it-works-section .step-card {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }

    .how-it-works-section .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        top: -0.75rem;
        left: -0.75rem;
    }

    .how-it-works-section .step-icon-container {
        width: 3.5rem;
        height: 3.5rem;
    }

    .how-it-works-section .step-icon {
        width: 2rem;
        height: 2rem;
    }

    .how-it-works-section .step-title {
        font-size: 1rem;
    }

    .how-it-works-section .cta-container {
        margin-top: 2rem;
    }

    .how-it-works-section .cta-button {
        padding: 0.625rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive Design - Tablet */
@media (min-width: 992px) and (max-width: 1199px) {
    .how-it-works-section .step-title {
        font-size: 1rem;
    }
}

/* Light Blue Theme Variant */
.how-it-works-section.blue-theme .step-number {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.how-it-works-section.blue-theme .step-icon {
    color: #3b82f6;
}

.how-it-works-section.blue-theme .cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

/* Green Theme Variant */
.how-it-works-section.green-theme .step-number {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.how-it-works-section.green-theme .step-icon {
    color: #10b981;
}

.how-it-works-section.green-theme .cta-button {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

/*
-----------------------------------
    REVIEWS SECTION BASE STYLING
-----------------------------------
*/

.reviews-section {
    padding: 4rem 0;
    background: #fafafa;
}

.reviews-section .reviews-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
}

.reviews-section .section-subtitle {
    color: #6b7280;
    margin-bottom: 3rem;
    text-align: center;
    font-size: 1.1rem;
}

/* Review Card Styling */
.reviews-section .review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    height: auto;
    min-height: 300px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: block;
    width: 100%;
    margin: 0 10px;
}

.reviews-section .review-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* Avatar and User Info */
.reviews-section .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reviews-section .review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid #f3f4f6;
}

.reviews-section .review-user-info h3 {
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.reviews-section .review-date {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

/* Star Rating System */
.reviews-section .star-rating {
    display: flex;
    margin-bottom: 1.5rem;
}

.reviews-section .star {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.25rem;
}

.reviews-section .star-filled {
    color: #fbbf24;
}

.reviews-section .star-empty {
    color: #e5e7eb;
}

.reviews-section .review-comment {
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Owl Carousel Base Structure */
.reviews-section .owl-carousel {
    display: block;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
}

.reviews-section .owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
}

.reviews-section .owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.reviews-section .owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.reviews-section .owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.reviews-section .owl-carousel .owl-item img {
    display: block;
    width: 60px;
}

/* Owl Carousel Navigation */
.reviews-section .owl-carousel .owl-nav {
    margin-top: 3rem;
    text-align: center;
}

.reviews-section .owl-carousel .owl-nav button.owl-prev,
.reviews-section .owl-carousel .owl-nav button.owl-next {
    background: #fff !important;
    color: #6b7280 !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 20px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

.reviews-section .owl-carousel .owl-nav button.owl-prev {
    left: -30px !important;
}

.reviews-section .owl-carousel .owl-nav button.owl-next {
    right: -30px !important;
}

.reviews-section .owl-carousel .owl-nav button.owl-prev:hover,
.reviews-section .owl-carousel .owl-nav button.owl-next:hover {
    background: #f9fafb !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    color: #374151 !important;
    border-color: #d1d5db !important;
}

/* Owl Carousel Dots */
.reviews-section .owl-carousel .owl-dots {
    text-align: center;
    margin-top: 2rem;
}

.reviews-section .owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 0.5rem;
}

.reviews-section .owl-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: #e5e7eb;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.reviews-section .owl-carousel .owl-dots .owl-dot.active span {
    background: #ec4899;
    width: 32px;
    border-radius: 6px;
}

.reviews-section .owl-carousel .owl-dots .owl-dot:hover span {
    background: #d1d5db;
}

/* Carousel Item Override */
.reviews-section .reviews-carousel .owl-item .review-card {
    margin: 0;
    width: 100%;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .reviews-section {
        padding: 2rem 0;
    }

    .reviews-section .section-title {
        font-size: 2rem;
    }

    .reviews-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .reviews-section .review-card {
        min-height: 250px;
        padding: 1.5rem;
    }

    .reviews-section .review-avatar {
        width: 50px;
        height: 50px;
    }

    .reviews-section .owl-carousel .owl-nav button.owl-prev {
        left: -15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 16px !important;
    }

    .reviews-section .owl-carousel .owl-nav button.owl-next {
        right: -15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 16px !important;
    }
}


/* Blue Theme Variant */
.reviews-section.blue-theme .star-filled {
    color: #3b82f6;
}

.reviews-section.blue-theme .owl-carousel .owl-dots .owl-dot.active span {
    background: #3b82f6;
}

/* Green Theme Variant */
.reviews-section.green-theme .star-filled {
    color: #10b981;
}

.reviews-section.green-theme .owl-carousel .owl-dots .owl-dot.active span {
    background: #10b981;
}

/* Minimal Theme Variant */
.reviews-section.minimal-theme {
    background: #ffffff;
}

.reviews-section.minimal-theme .review-card {
    box-shadow: none;
    border: 1px solid #f3f4f6;
}

.reviews-section.minimal-theme .review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/*
--------------------------------
SCOPED TO SEARCH-USERNAME SECTION
-----------------------------------
*/

.search-username {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 33%, #f97316 100%);
    padding: 2.5rem 0;
}

/* Header Styling - Scoped */
.search-username .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.search-username .hero-subtitle {
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

/* Search Form Styling - Scoped */
.search-username .search-container {
    max-width: 28rem;
    margin: 0 auto 2rem;
}

.search-username .search-form {
    position: relative;
}

.search-username .search-input {
    width: 100%;
    padding: 0.75rem 4rem 0.75rem 1rem;
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    color: #374151;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-username .search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.search-username .search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: #3b82f6;
    border: none;
    color: #ffffff;
    padding: 0 1.5rem;
    border-radius: 0 9999px 9999px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-username .search-button:hover {
    background: #2563eb;
}

.search-username .search-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Loading Spinner - Scoped */
.search-username .loading-spinner {
    animation: search-username-spin 1s linear infinite;
}

@keyframes search-username-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error Message - Scoped */
.search-username .error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Example Links - Scoped */
.search-username .example-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-username .example-link {
    background: #ec4899;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-username .example-link:hover {
    background: #be185d;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive Design - Scoped */
@media (max-width: 768px) {
    .search-username .hero-title {
        font-size: 2rem;
    }

    .search-username .hero-subtitle {
        font-size: 1rem;
    }

    .search-username .search-container {
        max-width: 90%;
    }

    .search-username .example-links {
        gap: 0.5rem;
    }

    .search-username .example-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Utility classes for this section only */
.search-username .d-none {
    display: none !important;
}

.search-username .text-center {
    text-align: center;
}

.search-username .text-white {
    color: #ffffff;
}

.search-username .mb-4 {
    margin-bottom: 1.5rem;
}

.search-username .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}