/* ===============================================
   DH PRICING TABLE - PROFESSIONAL STYLES
   WITH SWIPER SLIDER INTEGRATION
   =============================================== */

/* Main Wrapper */
.dh-pricing-wrapper {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Arial', sans-serif;
}

/* Header Section */
.dh-pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.dh-pricing-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2E75B6;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.dh-pricing-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================================
   SWIPER SLIDER CONFIGURATION
   =============================================== */

/* Swiper Container */
.dh-pricing-swiper {
    width: 100%;
    padding: 20px 0 80px 0; /* Extra padding for pagination */
    position: relative;
}

/* Swiper Wrapper (replaces grid on mobile) */
.dh-pricing-container.swiper-wrapper {
    display: flex;
    align-items: stretch; /* Equal height cards */
}

/* Swiper Slide */
.swiper-slide {
    height: auto;
    display: flex;
}

/* Desktop: Ensure all 3 cards are visible */
@media (min-width: 1024px) {
    .dh-pricing-swiper {
        overflow: visible; /* Show all cards on desktop */
    }
}

/* Swiper Pagination (dots) */
.dh-pricing-pagination {
    bottom: 30px !important;
}

.dh-pricing-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #2E75B6;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.dh-pricing-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* Swiper Navigation Arrows */
.dh-pricing-prev,
.dh-pricing-next {
    width: 45px;
    height: 45px;
    background: #2E75B6;
    border-radius: 50%;
    color: #fff !important;
    transition: all 0.3s ease;
}

.dh-pricing-prev:after,
.dh-pricing-next:after {
    font-size: 20px;
    font-weight: 700;
}

.dh-pricing-prev:hover,
.dh-pricing-next:hover {
    background: #1565C0;
    transform: scale(1.1);
}

/* Hide arrows on desktop (3 cards visible, no need to slide) */
@media (min-width: 1024px) {
    .dh-pricing-prev,
    .dh-pricing-next {
        display: none;
    }
}

/* Hide pagination on desktop */
@media (min-width: 1024px) {
    .dh-pricing-pagination {
        display: none;
    }
}

/* Individual Pricing Card */
.dh-pricing-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.dh-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(46, 117, 182, 0.15);
    border-color: #2E75B6;
}

/* Popular Card (Highlighted) */
.dh-pricing-card.dh-popular {
    border: 3px solid #2E75B6;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

/* Desktop: Slightly larger popular card */
@media (min-width: 1024px) {
    .dh-pricing-card.dh-popular {
        transform: scale(1.05);
    }
    
    .dh-pricing-card.dh-popular:hover {
        transform: scale(1.05) translateY(-10px);
    }
}

/* Mobile/Tablet: Active slide highlight (optional) */
.dh-pricing-card.dh-active-slide {
    border-color: #2E75B6;
}

/* Popular Badge */
.dh-popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* Card Header */
.dh-card-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.dh-package-name {
    font-size: 28px;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.dh-package-badge {
    display: inline-block;
    background: #E8F4F8;
    color: #2E75B6;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Pricing Display */
.dh-card-pricing {
    text-align: center;
    margin-bottom: 15px;
}

.dh-currency {
    font-size: 32px;
    color: #2E75B6;
    font-weight: 700;
    vertical-align: super;
}

.dh-price {
    font-size: 56px;
    font-weight: 800;
    color: #2E75B6;
    line-height: 1;
}

.dh-period {
    display: block;
    font-size: 15px;
    color: #666;
    margin-top: 8px;
    font-weight: 500;
}

/* Maintenance Pricing */
.dh-maintenance {
    text-align: center;
    margin-bottom: 30px;
    padding: 12px;
    background: #FFF8E1;
    border-radius: 8px;
    border-left: 4px solid #FFC107;
}

.dh-maintenance-price {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #F57C00;
}

.dh-maintenance-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* Features List */
.dh-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.dh-feature {
    padding: 12px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.dh-feature:last-child {
    border-bottom: none;
}

.dh-check {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #4CAF50;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.dh-feature.dh-highlight {
    font-weight: 700;
    color: #2E75B6;
    font-size: 16px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

/* Card Footer (Button) */
.dh-card-footer {
    margin-top: auto;
    padding-top: 20px;
}

.dh-btn {
    display: block;
    width: 100%;
    padding: 16px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.dh-btn-primary {
    background: linear-gradient(135deg, #2E75B6 0%, #1565C0 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 117, 182, 0.3);
}

.dh-btn-primary:hover {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    box-shadow: 0 6px 25px rgba(46, 117, 182, 0.4);
    transform: translateY(-2px);
}

.dh-btn-popular {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.dh-btn-popular:hover {
    background: linear-gradient(135deg, #FF5252 0%, #FF7043 100%);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
    transform: translateY(-2px);
}

/* Best For Label */
.dh-best-for {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.dh-best-for strong {
    color: #2E75B6;
}

/* ===============================================
   ADDITIONAL SERVICES SECTION
   =============================================== */

.dh-additional-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.dh-additional-services h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2E75B6;
    margin-bottom: 40px;
}

.dh-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.dh-service-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dh-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 117, 182, 0.15);
}

.dh-service-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.dh-service-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.dh-service-price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #2E75B6;
}

/* ===============================================
   PAYMENT OPTIONS SECTION
   =============================================== */

.dh-payment-options {
    text-align: center;
    margin-bottom: 60px;
}

.dh-payment-options h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2E75B6;
    margin-bottom: 40px;
}

.dh-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dh-payment-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dh-payment-card:hover {
    border-color: #2E75B6;
    transform: translateY(-5px);
}

.dh-payment-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.dh-payment-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.dh-payment-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.dh-payment-card strong {
    color: #2E75B6;
}

/* ===============================================
   FAQ SECTION
   =============================================== */

.dh-pricing-faq {
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.dh-pricing-faq h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2E75B6;
    margin-bottom: 30px;
    text-align: center;
}

.dh-faq-item {
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
}

.dh-faq-item:last-child {
    border-bottom: none;
}

.dh-faq-item strong {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.dh-faq-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
    .dh-pricing-header h2 {
        font-size: 32px;
    }
    
    .dh-pricing-header p {
        font-size: 16px;
    }
    
    /* Mobile: Single card slider */
    .dh-pricing-swiper {
        padding: 10px 0 70px 0;
    }
    
    .dh-pricing-card {
        padding: 35px 25px;
    }
    
    .dh-package-name {
        font-size: 26px;
    }
    
    .dh-price {
        font-size: 48px;
    }
    
    .dh-additional-services,
    .dh-pricing-faq {
        padding: 30px 20px;
    }
    
    .dh-additional-services h3,
    .dh-payment-options h3,
    .dh-pricing-faq h3 {
        font-size: 26px;
    }
    
    .dh-services-grid,
    .dh-payment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Show navigation arrows on mobile */
    .dh-pricing-prev,
    .dh-pricing-next {
        display: flex !important;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    /* Tablet: 2 cards slider */
    .dh-pricing-prev,
    .dh-pricing-next {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .dh-pricing-wrapper {
        padding: 0 15px;
    }
    
    .dh-pricing-card {
        padding: 30px 20px;
    }
    
    .dh-package-name {
        font-size: 24px;
    }
    
    .dh-price {
        font-size: 42px;
    }
    
    .dh-feature {
        font-size: 14px;
    }
    
    /* Smaller arrows on small mobile */
    .dh-pricing-prev,
    .dh-pricing-next {
        width: 38px;
        height: 38px;
    }
    
    .dh-pricing-prev:after,
    .dh-pricing-next:after {
        font-size: 16px;
    }
}

/* ===============================================
   PRINT STYLES
   =============================================== */

@media print {
    .dh-pricing-wrapper {
        max-width: 100%;
    }
    
    .dh-pricing-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .dh-btn {
        display: none;
    }
}
