/* Inquiry Form Styles - Liquid Glass Effect */
.inquiry-form {
    background: rgba(30, 30, 30, 0.7);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Disable slider animations */
.slider-section .swiper-slide,
.slider-section .slider-img,
.slider-section .slider-content,
.slider-section .slider-caption,
.slider-section .inquiry-form {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

.slider-section .kenburns {
    animation: none !important;
}

.slider-section .inner-layer > div {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

.slider-section .default-btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

.slider-section .slider-btn,
.slider-section .slider-btn .default-btn {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.inquiry-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    pointer-events: none;
}

.inquiry-form h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
}

.inquiry-form .form-group {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.inquiry-form .estimate-results {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
}

.inquiry-form .estimate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #ffffff;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.inquiry-form .estimate-row:last-of-type {
    border-bottom: none;
}

.inquiry-form .estimate-row strong {
    color: #ffffff;
    font-weight: 700;
    margin-left: 10px;
}

.inquiry-form .estimate-note {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.inquiry-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333333;
    font-weight: 500;
}

.inquiry-form .form-control::placeholder {
    color: rgba(100, 100, 100, 0.8);
    font-weight: 400;
}

.inquiry-form .form-control:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
    background: rgba(255, 255, 255, 1);
}

.inquiry-form select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23333333' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
    padding-right: 45px;
}

.inquiry-form select.form-control:focus {
    background-color: rgba(255, 255, 255, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ff6600' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
}

.inquiry-form select.form-control option {
    background: #ffffff;
    color: #333333;
    padding: 10px;
}

.inquiry-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.inquiry-form .default-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.8) 0%, rgba(255, 140, 0, 0.8) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.inquiry-form .default-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.inquiry-form .default-btn:hover::before {
    width: 300px;
    height: 300px;
}

.inquiry-form .default-btn:hover {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.9) 0%, rgba(255, 102, 0, 0.9) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .inquiry-form {
        margin-top: 30px;
        background: rgba(30, 30, 30, 0.8);
    }
}

@media (max-width: 767px) {
    .inquiry-form {
        padding: 20px;
        border-radius: 16px;
        background: rgba(30, 30, 30, 0.85);
    }
    
    .inquiry-form h3 {
        font-size: 22px;
    }
    
    .inquiry-form .default-btn {
        padding: 12px 18px;
        font-size: 15px;
    }
}

/* Enhanced glass effect for dark backgrounds */
.slider-section .inquiry-form {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset,
                0 4px 16px 0 rgba(255, 102, 0, 0.1);
}

.estimate-section .inquiry-form {
    background: rgba(30, 30, 30, 0.92);
    max-width: 520px;
    margin-left: auto;
    padding: 18px;
    border-radius: 14px;
    overflow: visible;
}

.estimate-section .inquiry-form h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.estimate-section .inquiry-form .form-group {
    margin-bottom: 10px;
}

.estimate-section .inquiry-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.estimate-section .inquiry-form .form-control {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 1);
    color: #111111;
}

.estimate-section .inquiry-form .form-control.input-error {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

.estimate-section .inquiry-form .native-select {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.estimate-section .inquiry-form .native-select + .nice-select {
    display: none !important;
}

.estimate-section .inquiry-form .estimate-results {
    padding: 10px;
    margin-bottom: 12px;
}

.estimate-section .inquiry-form .estimate-row {
    font-size: 12px;
    padding: 4px 0;
}

.estimate-section .inquiry-form .default-btn {
    padding: 11px 14px;
    font-size: 14px;
}

/* Smooth animations */
@keyframes slideInGlass {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
   Construction Cost Per Square Feet Calculator Section
   ============================================================ */
.cost-calc-section {
    background: #f8f9fa;
}

.cost-calc-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    height: 100%;
}

.cost-calc-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #222429;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cost-calc-header p {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
}

.cost-calc-field {
    margin-bottom: 18px;
}

.cost-calc-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.calc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    color: #222;
    background: #fafafa;
    transition: border-color 0.25s, box-shadow 0.25s;
    appearance: none;
    -webkit-appearance: none;
}

.calc-input:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
    background: #fff;
}

.calc-input-wrap .calc-input {
    padding-right: 56px;
}

.calc-input-unit {
    position: absolute;
    right: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    pointer-events: none;
}

select.calc-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23666' d='M7 9.5L2 4.5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 44px;
    cursor: pointer;
}

.calc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 20px;
    border-radius: 10px;
    background: #f5f5f5;
    border: 1.5px dashed #ddd;
    color: #aaa;
    font-size: 14px;
    text-align: center;
    margin-bottom: 18px;
}

.calc-placeholder i {
    font-size: 32px;
    color: #ff6600;
    opacity: 0.5;
}

.calc-results {
    border-radius: 12px;
    border: 1.5px solid #ffe0cc;
    background: #fff8f5;
    overflow: hidden;
    margin-bottom: 18px;
}

.calc-results-title {
    background: #ff6600;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    letter-spacing: 0.3px;
}

.calc-results-title strong {
    color: #ffe0b2;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255, 102, 0, 0.1);
    font-size: 14px;
}

.calc-result-row:last-of-type {
    border-bottom: none;
}

.calc-result-row--featured {
    background: rgba(255, 102, 0, 0.06);
}

.calc-result-label {
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-result-value {
    font-weight: 700;
    color: #222;
    font-size: 14px;
    white-space: nowrap;
}

.calc-result-row--featured .calc-result-value {
    color: #e55a00;
}

.calc-popular-badge {
    display: inline-block;
    background: #ff6600;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.calc-disclaimer {
    font-size: 11.5px;
    color: #888;
    padding: 10px 16px;
    margin: 0;
    border-top: 1px solid rgba(255, 102, 0, 0.1);
    line-height: 1.5;
}

.calc-disclaimer a {
    color: #ff6600;
    text-decoration: none;
}

.calc-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
}

/* Right column: info article */
.cost-info-block {
    padding: 0;
}

.cost-info-block h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222429;
    margin-bottom: 12px;
    line-height: 1.35;
}

.cost-info-block > p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.cost-rate-table-wrap {
    overflow-x: auto;
    margin-bottom: 28px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cost-rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.cost-rate-table caption {
    caption-side: bottom;
    font-size: 11px;
    color: #aaa;
    padding: 8px 0 0;
    text-align: left;
}

.cost-rate-table thead tr {
    background: #222429;
    color: #fff;
}

.cost-rate-table th {
    padding: 12px 16px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.cost-rate-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.cost-rate-table tbody tr:hover td {
    background: #fff8f5;
}

.cost-rate-table .row-featured td {
    background: #fff3ec;
    font-weight: 600;
    color: #e55a00;
}

/* GEO Q&A block */
.cost-qa-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cost-qa-item {
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    border-left: 3px solid #ff6600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cost-qa-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #222429;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cost-qa-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.cost-qa-item a {
    color: #ff6600;
    text-decoration: none;
}

.cost-qa-item a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .cost-calc-card {
        padding: 28px 20px;
    }

    .cost-calc-header h2 {
        font-size: 21px;
    }
}
