/* Dark Theme Styles for Forms */

/* Page Header Styles - Update to match dark blue theme */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="7" height="7" stroke="rgba(255,255,255,0.05)" stroke-width="1" x="25" y="25"></rect></svg>') repeat;
    opacity: 0.4;
    pointer-events: none;
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: var(--text);
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.quote-info h2 {
    background: linear-gradient(90deg, #60a5fa, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.quote-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #1E40AF);
    border-radius: 2px;
}

.quote-info > p {
    font-size: 1.1rem;
    color: #e5e7eb;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Quote Features */
.quote-features {
    margin-bottom: 40px;
}

.quote-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.quote-feature:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.quote-feature i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quote-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.quote-feature p {
    color: #e5e7eb;
    font-size: 0.95rem;
}

/* Contact Info */
.contact-info {
    background: rgba(30, 41, 59, 0.8);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    padding: 15px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-item:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent);
    width: 35px;
    height: 35px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.contact-item p {
    color: #e5e7eb;
    font-size: 0.9rem;
}

/* Quote Form Container */
.quote-form-container {
    background: rgba(30, 41, 59, 0.8);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    background: linear-gradient(90deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.form-header h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #1E40AF);
    border-radius: 2px;
}

.form-header p {
    color: #e5e7eb;
    font-size: 1rem;
}

/* Form Styles */
.quote-form {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
    font-size: 0.95rem;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #334155;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) inset;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1) inset;
    transform: translateY(-2px);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Checkbox and Radio Styles */
.checkbox-item,
.radio-item {
    color: #e5e7eb;
}

.checkmark,
.radio-mark {
    border-color: #334155;
    background: #0f172a;
}

.checkbox-item:hover .checkmark,
.radio-item:hover .radio-mark {
    border-color: var(--accent);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark,
.radio-item input[type="radio"]:checked + .radio-mark {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    animation: pulse 0.3s ease-out;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="7" height="7" stroke="rgba(255,255,255,0.03)" stroke-width="1" x="25" y="25"></rect></svg>') repeat;
    opacity: 0.4;
    pointer-events: none;
}

.why-choose-item {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
}

.why-choose-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
    transform: translateY(-30px);
    margin-bottom: -15px;
}

.why-choose-item h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.why-choose-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.why-choose-item p {
    color: #e5e7eb;
    opacity: 0.9;
}

/* Button styling */
.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
    font-weight: 600;
    border-radius: 12px;
    padding: 15px 30px;
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: skewX(-25deg);
    transition: all 0.75s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Links within form */
.form-group a {
    color: var(--accent);
    text-decoration: none;
}

.form-group a:hover {
    text-decoration: underline;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .quote-content {
        grid-template-columns: 1fr;
    }
}
