/**
 * Section Styles
 * Styles for specific page sections (pricing, savings calculator, etc.)
 */

/* ============================================
   Savings Calculator Section
============================================ */
.savings-calculator-area {
    position: relative;
    overflow: hidden;
}

.savings-calculator-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.calculator-question {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.slider-container {
    margin: 20px 0;
    padding: 20px 25px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.slider-labels-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    padding: 0 2px;
}

/* Modern slider styling with proper progress bar */
.slider-track {
    position: relative;
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}

.slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    border-radius: 4px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 123, 255, 0.3);
}

.pentahub-savings-slider {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100% !important;
    height: 8px !important;
    background: transparent !important;
    outline: none !important;
    cursor: pointer !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
}

.pentahub-savings-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    cursor: pointer !important;
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.4), 0 0 0 3px rgba(255, 255, 255, 1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    transform: scale(var(--thumb-scale, 1)) !important;
    position: relative !important;
}

.pentahub-savings-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.5), 0 0 0 4px rgba(255, 255, 255, 1) !important;
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%) !important;
}

.pentahub-savings-slider::-webkit-slider-thumb:active {
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.6), 0 0 0 3px rgba(255, 255, 255, 1) !important;
}

.pentahub-savings-slider::-webkit-slider-track {
    background: transparent !important;
}

.pentahub-savings-slider::-moz-range-thumb {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    cursor: pointer !important;
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.4), 0 0 0 3px rgba(255, 255, 255, 1) !important;
    border: none !important;
}

.pentahub-savings-slider::-moz-range-track {
    background: transparent !important;
}

.slider-range-indicators {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    margin-top: 8px;
}

.range-indicator {
    font-size: 11px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.range-indicator:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.08);
}

.range-indicator.active {
    color: #007bff;
    font-weight: 600;
}

.savings-card-compact {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease;
}

.savings-display {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    border-radius: 15px;
    margin-top: 20px;
}

.savings-amount {
    font-size: 48px;
    font-weight: 700;
    color: #3366FF;
    line-height: 1;
}

.savings-label {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

/* Responsive savings calculator */
@media (max-width: 768px) {
    .savings-calculator-area {
        padding: 40px 0;
    }
    
    .slider-container {
        padding: 15px 20px 20px;
    }
    
    .savings-amount {
        font-size: 36px;
    }
}

/* ============================================
   Pricing Section
============================================ */
.pricing-style-three {
    padding: 100px 0;
}

.pricing-item {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pricing-item.active {
    border: 2px solid #3366FF;
}

.pricing-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3366FF, #5B8DEF);
}

.pricing-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.pricing-header h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #3366FF;
}

.price sup {
    font-size: 24px;
    vertical-align: super;
}

.price sub {
    font-size: 16px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
}

.pricing-features li i {
    color: #28a745;
    font-size: 14px;
}

.pricing-features li.disabled {
    color: #999;
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: #999;
}

/* ============================================
   Workflow Hero Sections
============================================ */
.workflow-hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.workflow-hero:nth-child(even) {
    background: #f8f9ff;
}

.workflow-hero .content {
    position: relative;
    z-index: 2;
}

.workflow-hero h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.workflow-hero p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.workflow-hero .image-wrapper {
    position: relative;
}

.workflow-hero .image-wrapper img {
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Partners/Brands Section
============================================ */
.brand-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.brand-item {
    text-align: center;
    padding: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.brand-item:hover {
    opacity: 1;
}

.brand-item img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* ============================================
   Contact Section
============================================ */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: #3366FF;
    box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.1);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button */
.submit-btn {
    background: #3366FF;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #2554d4;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(51, 102, 255, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Feedback */
.form-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-message.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.character-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.contact-info {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 24px;
    color: #3366FF;
    width: 30px;
}

.contact-info-item h5 {
    margin: 0 0 5px 0;
    color: white;
}

.contact-info-item p {
    margin: 0;
    opacity: 0.8;
}

/* ============================================
   Banner Section
============================================ */
.banner-software {
    padding: 180px 0 0px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.banner-software::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.85)); */
}

.banner-software .container {
    position: relative;
    z-index: 2;
}

.banner-software h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.banner-software p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .banner-software {
        padding: 140px 0 80px;
    }

    .banner-software h2 {
        font-size: 36px;
    }

    .banner-software p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .banner-software {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }

    .banner-software h2 {
        font-size: 28px;
    }

    .banner-software p {
        font-size: 16px;
    }
}
