/* Services Page Specific Styles */

/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50" cy="40" r="50"><stop offset="0" stop-color="white" stop-opacity=".1"/><stop offset="1" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="10" cy="10" r="1" fill="url(%23a)"/><circle cx="30" cy="5" r="1" fill="url(%23a)"/><circle cx="60" cy="15" r="1" fill="url(%23a)"/><circle cx="80" cy="8" r="1" fill="url(%23a)"/></svg>') repeat;
    opacity: 0.1;
}

/* Main Services Section */
.main-services {
    background: #f8fafc;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.service-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-content h4 {
    color: #1f2937;
    font-size: 1.5rem;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.service-content .list-unstyled li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.service-card .btn {
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.service-card .btn:hover::before {
    left: 100%;
}

.service-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Wholesale Process Section */
.wholesale-process {
    background: #f1f5f9;
}

.process-step {
    position: relative;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.step-icon {
    margin: 2rem 0 1rem;
    transition: transform 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step h6 {
    color: #1f2937;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Pricing Tiers Section */
.pricing-tiers {
    background: white;
}

.pricing-card {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.pricing-featured {
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
    position: relative;
}

.pricing-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 16px 16px 0 0;
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.pricing-header h4 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: #6b7280;
    font-size: 0.95rem;
}

.price {
    margin: 2rem 0;
}

.price .currency {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: 500;
}

.price .amount {
    font-size: 3rem;
    color: #1e3a8a;
    font-weight: 800;
    margin: 0 0.25rem;
}

.price .period {
    font-size: 1rem;
    color: #6b7280;
}

.pricing-card .list-unstyled li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.pricing-footer {
    margin-top: 2rem;
}

.pricing-card .btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.pricing-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-color: #1e3a8a;
    transform: translateY(-2px);
}

/* Service Areas Section */
.service-areas {
    background: #f1f5f9;
}

.area-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.area-card h5 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.area-card p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Service Inquiry Modal */
.modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
    padding: 1.5rem;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
    background: white;
}

.form-control:hover,
.form-select:hover {
    border-color: #9ca3af;
    background: white;
}

/* Modal Footer */
.modal-footer {
    border: none;
    padding: 1.5rem 2rem 2rem;
    background: #f8fafc;
}

.modal-footer .btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-footer .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}

.modal-footer .btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Process Step Connection Lines */
@media (min-width: 992px) {
    
    .process-step {
        position: relative;
        z-index: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .area-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.5rem;
    }
    
    .page-title p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h4 {
        font-size: 1.25rem;
    }
    
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .page-title {
        padding: 3rem 0;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .price .amount {
        font-size: 2rem;
    }
    
    .area-card {
        padding: 1.5rem 1rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}
