/* Customize Page Specific Styles */

.customize-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.customize-header {
    background: linear-gradient(135deg, #689F38 0%, #7CB342 50%, #8BC34A 100%) !important;
    padding: 4rem 0 6rem !important;
    position: relative;
    overflow: hidden;
}

/* Header Decoration */
.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Header Icons */
.header-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.header-icon-item {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.header-icon-item:nth-child(2) {
    animation-delay: 0.5s;
}

.header-icon-item:nth-child(3) {
    animation-delay: 1s;
}

.header-svg-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Title */
.header-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.title-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.title-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Subtitle */
.header-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    transition: all 0.3s ease;
}

.subtitle-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.subtitle-icon {
    width: 18px;
    height: 18px;
    fill: white;
}

.subtitle-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
}

/* Header Features */
.header-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #689F38;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.feature-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 20px;
    height: 20px;
    fill: #689F38;
}

/* Header Wave */
.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.header-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.header-wave path {
    fill: #f8fafc;
}

/* Service Category Cards */
.service-category-card {
    margin-bottom: 2rem;
}

.service-category-card .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-category-card .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.service-category-card .card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: none;
    font-weight: 600;
}

.service-category-card .card-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.service-category-card .card-body {
    padding: 1.5rem;
}

/* Service Checkbox Items */
.service-checkbox-item {
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #f8fafc;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.service-checkbox-item:hover {
    background: #ffffff;
    border-color: #e5e7eb;
    transform: translateX(4px);
}

.service-checkbox-item.selected {
    background: #eff6ff;
    border-color: #7CB342;
    box-shadow: 0 2px 8px rgba(124, 179, 66, 0.15);
}

.service-checkbox-item .form-check {
    margin: 0;
}

.service-checkbox-item .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    cursor: pointer;
}

.service-checkbox-item .form-check-label {
    cursor: pointer;
    margin-left: 0.5rem;
    flex: 1;
}

.service-checkbox-item .form-check-label strong {
    color: #1f2937;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.service-checkbox-item .form-check-label small {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Package Summary Sidebar */
.package-summary-card {
    position: sticky;
    top: 20px;
}

.package-summary-card .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.package-summary-card .card-header {
    background: linear-gradient(135deg, #7CB342, #4CAF50);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
}

.package-summary-card .card-header h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.package-summary-card .card-body {
    padding: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: #4b5563;
}

.summary-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.1rem;
}

.services-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7CB342, #4CAF50);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

/* Contact Information Section */
.contact-info-card {
    margin-top: 1.5rem;
}

.contact-info-card .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-info-card .card-header {
    background: linear-gradient(135deg, #689F38, #7CB342);
    color: white;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}

.contact-info-card .card-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #7CB342;
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* File Upload Section */
.file-upload-section {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-section:hover {
    border-color: #7CB342;
    background: #f0fdf4;
}

.file-upload-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7CB342, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.file-upload-text {
    color: #6b7280;
    font-size: 0.95rem;
}

.file-upload-text strong {
    color: #7CB342;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Consent Checkbox */
.consent-checkbox {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.consent-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
}

.consent-checkbox .form-check-label {
    margin-left: 0.75rem;
    color: #78350f;
    font-weight: 500;
}

/* Submit Button */
.btn-submit-quote {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7CB342, #4CAF50);
    color: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit-quote:hover {
    background: linear-gradient(135deg, #689F38, #388E3C);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 179, 66, 0.4);
    color: white;
}

.btn-submit-quote:active {
    transform: translateY(0);
}

/* Info Alert */
.info-alert {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border: none;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.info-alert i {
    color: #1e40af;
    margin-right: 0.75rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .package-summary-card {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .header-title {
        font-size: 2.25rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .header-icons {
        gap: 1.5rem;
    }
    
    .header-icon-item {
        width: 50px;
        height: 50px;
    }
    
    .header-svg-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) {
    .customize-header {
        padding: 3rem 0 5rem !important;
    }
    
    .header-title {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .title-icon {
        width: 40px;
        height: 40px;
    }
    
    .title-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .header-subtitle {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .subtitle-separator {
        display: none;
    }
    
    .header-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-pill {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .service-checkbox-item {
        padding: 0.75rem;
    }
    
    .service-category-card .card-body {
        padding: 1rem;
    }
    
    .btn-submit-quote {
        font-size: 1.1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Customization Modal Styles */
.customization-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.customization-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.customization-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.customization-modal-overlay.show .customization-modal {
    transform: scale(1) translateY(0);
}

.customization-modal .modal-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #689F38 0%, #7CB342 100%);
    border-radius: 20px 20px 0 0;
    color: white;
}

.package-selected-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 40px;
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.customization-modal .modal-header h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.customization-modal .modal-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.customization-modal .modal-body {
    padding: 40px 30px;
}

.customization-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.option-card:hover {
    border-color: #689F38;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(104, 159, 56, 0.15);
}

.option-card.selected {
    border-color: #689F38;
    background: linear-gradient(135deg, #f8fff4 0%, #f0f9e8 100%);
    box-shadow: 0 8px 25px rgba(104, 159, 56, 0.2);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #689F38 0%, #7CB342 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 24px;
}

.option-card h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.option-card p {
    margin: 0 0 15px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.option-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-card[data-choice="no"] .option-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.modal-question {
    text-align: center;
    margin-bottom: 20px;
}

.modal-question h4 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.customization-modal .modal-footer {
    padding: 0 30px 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-modal {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.btn-continue {
    background: linear-gradient(135deg, #689F38 0%, #7CB342 100%);
    color: white;
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(104, 159, 56, 0.3);
}

.btn-customize {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-customize:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .customization-modal {
        width: 95%;
        margin: 20px;
    }
    
    .customization-modal .modal-header,
    .customization-modal .modal-body,
    .customization-modal .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .customization-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .option-card {
        padding: 20px 15px;
    }
    
    .customization-modal .modal-footer {
        flex-direction: column;
    }
    
    .btn-modal {
        width: 100%;
    }
}