/* GharDekho Real Estate Pricing Design */
.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    position: relative;
}

.pricing-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(50, 50, 50, 0.6), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center / cover no-repeat fixed;
    opacity: 0.6;
    z-index: -2;
}



/* Hero Section */
.pricing-hero {
    text-align: center;
    /* padding: 3rem 2rem; */
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: rgb(0, 0, 0);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 400;
    line-height: 1.6;
}

/* City Selection Section */
.city-selection-section {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.city-dropdown-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    font-size: 0.9rem;
    z-index: 1;
}

.city-dropdown {
    appearance: none;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 1rem;
    color: #374151;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.city-dropdown:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.city-dropdown:hover {
    border-color: #9ca3af;
}

.city-dropdown option {
    padding: 0.5rem;
    color: #374151;
}


/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

/* Pricing Card */
.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    max-width: none;
    margin: 0 auto;
    width: 100%;
    min-width: 300px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #3b82f6;
}

.pricing-card.featured {
    border: 2px solid #3b82f6;
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Card Content */
.card-header {
    text-align: center;
    padding-top: 1rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    margin-top: 0;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    color: #1f2937;
    font-weight: 500;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.packages-feature-icon {
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.feature-text {
    color: #374151;
    font-weight: 400;
    font-size: 0.95rem;
}

/* Card Footer */
.card-footer {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-details {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-details:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f0f9ff;
}

.btn-select-plan {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.btn-select-plan:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.packages-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgb(0, 0, 0);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Add-On Services Section */
.addon-services-section {
    padding: 2rem 2rem;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.addon-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.addon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.addon-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.addon-icon {
    width: 50px;
    height: 50px;
    background: #f59e0b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.addon-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.addon-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.addon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.addon-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
}

.btn-addon {
    background: #f59e0b;
    border: none;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-addon:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 2rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.testimonial-avatar {
    margin-bottom: 1rem;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #9ca3af;
    font-size: 1.5rem;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s ease;
    background: #ffffff;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.faq-question:hover {
    background: #f9fafb;
    color: #1f2937;
}

.faq-question i {
    color: #6b7280;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question {
    background: #1f2937;
    color: #ffffff;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #ffffff;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #374151;
    line-height: 1.6;
    display: none;
    background: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
    max-height: 500px;
    padding: 1.5rem;
}

/* Modal Styles */
.modal-content {
    border-radius: 24px;
    border: none;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.25),
        0 16px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(226, 232, 240, 0.6));
    border-radius: 24px 24px 0 0;
}

.modal-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.4rem;
    margin: 0;
}

.btn-close {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.modal-body {
    padding: 1.5rem 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.plan-description {
    color: #374151;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
}

.modal-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    padding: 1.5rem 2rem;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(226, 232, 240, 0.6));
    border-radius: 0 0 24px 24px;
}

.btn-secondary {
    background: rgba(241, 245, 249, 0.8);
    border: 2px solid rgba(226, 232, 240, 0.6);
    color: #64748b;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(226, 232, 240, 0.9);
    border-color: #cbd5e1;
    transform: translateY(-1px);
    color: #475569;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

/* Payment Modal Styles */
.payment-modal {
    border-radius: 24px;
    border: none;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.25),
        0 16px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 450px;
}

.payment-modal .modal-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 1rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(226, 232, 240, 0.6));
    border-radius: 24px 24px 0 0;
    text-align: center;
    position: relative;
}

.payment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.payment-modal .modal-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.5rem;
    margin: 0;
}

.payment-modal .modal-body {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.payment-message {
    padding: 1rem 0;
}

.message-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(245, 158, 11, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    }
}

.payment-message h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.payment-message p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.payment-modal .modal-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    padding: 1.5rem 2rem;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(226, 232, 240, 0.6));
    border-radius: 0 0 24px 24px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .addon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .pricing-title {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .addon-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .amount {
        font-size: 2rem;
    }

    .packages-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-container {
        padding: 0;
    }

    .pricing-hero {
        padding: 2rem 1rem;
    }

    .addon-services-section,
    .testimonials-section,
    .faq-section {
        padding: 2rem 1rem;
    }

    .pricing-title {
        font-size: 1.8rem;
    }

    .amount {
        font-size: 1.8rem;
    }

    .packages-section-title {
        font-size: 1.3rem;
    }
}