/* Contact Page Specific Styles */

.contact-hero {
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.7)), url('../images/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fafafa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: #d4af37;
    border-color: #d4af37;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 2rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #f4e37a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-icon i {
    color: #2c2c2c;
    font-size: 1.2rem;
}

.info-content h4 {
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-content small {
    color: #999;
    font-size: 0.85rem;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

.whatsapp-btn i {
    margin-right: 0.5rem;
}

.social-connect {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.social-connect h4 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.social-connect .social-links {
    display: flex;
    gap: 1rem;
}

.social-connect .social-links a {
    width: 45px;
    height: 45px;
    background: #2c2c2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-connect .social-links a:hover {
    background: #d4af37;
    transform: translateY(-2px);
}

/* Quick Quote Section */
.quick-quote {
    padding: 80px 0;
    background: #fafafa;
}

.quick-quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quick-quote-content h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.quick-quote-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.quote-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quote-steps {
    position: relative;
}

.step {
    display: none;
    animation: slideIn 0.5s ease-out;
}

.step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step h3 {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: center;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input[type="radio"] {
    display: none;
}

.card-content {
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.card-content i {
    font-size: 2rem;
    color: #666;
    margin-bottom: 1rem;
    display: block;
}

.card-content span {
    color: #2c2c2c;
    font-weight: 500;
}

.option-card input[type="radio"]:checked+.card-content {
    background: linear-gradient(135deg, #d4af37, #f4e37a);
    border-color: #d4af37;
}

.option-card input[type="radio"]:checked+.card-content i,
.option-card input[type="radio"]:checked+.card-content span {
    color: #2c2c2c;
}

.option-card:hover .card-content {
    border-color: #d4af37;
    transform: translateY(-2px);
}

/* ✅ FIX: space-inputs aur quote-inputs alag-alag */
.space-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quote-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.quote-inputs input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fafafa;
}

.quote-inputs input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: white;
}

.quote-inputs input::placeholder {
    color: #aaa;
}

/* ✅ FIX: input-group styling */
.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
    font-weight: 500;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #d4af37;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* Appointment Booking Section */
.appointment-booking {
    padding: 80px 0;
    background: white;
}

.appointment-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.appointment-content h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.appointment-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.appointment-form {
    background: #fafafa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.appointment-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
    font-weight: 500;
    font-size: 0.95rem;
}

.appointment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.appointment-form .form-group input,
.appointment-form .form-group select,
.appointment-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: white;
}

.appointment-form .form-group input:focus,
.appointment-form .form-group select:focus,
.appointment-form .form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.map-placeholder {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-info {
    padding: 2rem;
}

.location-info h3 {
    font-size: 1.8rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.location-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.location-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature i {
    color: #d4af37;
    width: 20px;
    margin-right: 1rem;
}

.feature span {
    color: #555;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #fafafa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f8f8;
}

.faq-question h4 {
    color: #2c2c2c;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #d4af37;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-hero-content p {
        font-size: 1.1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .space-inputs {
        grid-template-columns: 1fr;
    }

    .quote-inputs {
        flex-direction: column;
    }

    .step-navigation {
        flex-direction: column;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .location-info {
        padding: 1rem;
    }

    .appointment-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }

    .service-options {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 1.5rem 1rem;
    }

    .quote-form {
        padding: 2rem;
    }

    .info-item {
        padding: 1rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h4 {
        font-size: 1rem;
    }
}

/* Loading Animation */
.form-group {
    position: relative;
}

.form-group.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}