/*
 * Contact Page Styles - Mahati Interior Design
 * Interactive contact form with modern design and animations
 * Author: Mahati Design Team
 * Last Updated: 2025
 */

/* ===== CONTACT HERO SECTION ===== */
.contact-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* ===== CONTACT MAIN SECTION ===== */
.contact-main {
    padding: 6rem 0;
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: #fff;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        margin: 0 1rem;
    }
    
    .contact-sidebar {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
}

/* ===== CONTACT SIDEBAR ===== */
.contact-sidebar {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: white;
    padding: 4rem 3rem;
    position: relative;
}

.contact-sidebar::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 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.sidebar-content {
    position: relative;
    z-index: 2;
}

.sidebar-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.sidebar-content p {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon i {
    font-size: 1.1rem;
    color: white;
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
}

.contact-text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

/* ===== CONTACT FORM STYLES ===== */
.contact-form-section {
    background: #fff;
    padding: 4rem 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.form-container p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 3rem;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    position: relative;
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;    
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
    color: #2c2c2c;
    box-sizing: border-box;
    padding:5px 10px;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #d0d0d0;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4aa;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 0.95rem;
}

.form-group 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='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

.character-count {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
    text-align: right;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-group.error .form-error {
    opacity: 1;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    background: #fef2f2;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    background: #f0fdf4;
}

/* Checkbox Styles */
.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #d0d0d0;
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: #fafafa;
    margin-top: 2px;
}

.checkmark:hover {
    border-color: #ff6b35;
    background: #fff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-color: #ff6b35;
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

.terms-link {
    color: #00d4aa;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e07d15);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-block;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-block;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
    padding: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.info-items {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Social Connect */
.social-connect {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 100%);
    border-radius: 15px;
}

.social-connect h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-color: #ff6b35;
    color: #fff;
    transform: translateY(-3px);
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 6rem 0 4rem;
    background: #f8f9fa;
}

.map-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.map-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.map-section .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
}

.map-placeholder iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 50px 0;
    background: #fff;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.faq-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.faq-section .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #ff6b35;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #ff6b35;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 2rem;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SUCCESS MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #fff;
    font-size: 2rem;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 3rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .map-container {
        margin: 0 1rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-main {
        padding: 6rem 0;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .map-container {
        margin: 0 0.5rem;
    }
    
    .map-placeholder iframe {
        height: 300px;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
}

/* Checkbox Styles */
.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    background: #fff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    border-color: #00d4aa;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}

.terms-link {
    color: #00d4aa;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

/* ===== CONTACT INFO STYLES ===== */
.contact-info-section {
    padding: 3rem 2rem;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-connect {
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.social-connect h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #f8f4f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ===== CONNECT SECTION ===== */
.connect-section {
    padding: 6rem 0;
    background: #f8f9fa;
    text-align: center;
    margin-bottom: 1rem;
}

.connect-section .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.connect-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.connect-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.phone-btn {
    background-color: #1a1a1a;
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.instagram-btn {
    background-color: #E4405F;  /* Instagram brand color */
}

.instagram-btn:hover {
    background-color: #D42D5C;  /* Slightly darker shade on hover */
}

/* Responsive styles */
@media (max-width: 768px) {
    .connect-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .connect-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-placeholder iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-placeholder:hover iframe {
    filter: grayscale(0%);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 50px 0;
    background: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-question:hover {
    background: #f8f4f0;
}

.faq-question h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: #ff6b35;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    background: #f8f4f0;
    padding: 0 2rem;
    
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 2rem;
    opacity: 1;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding-top: 1rem;
    opacity: 1 !important; /* Ensure text is always visible */
}

/* ===== SUCCESS MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.success-modal {
    background: #fff;
    margin: 10% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #fff;
    font-size: 2rem;
}

.success-modal h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.success-modal p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 3rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-items {
        gap: 2rem;
    }
    
    .info-item {
        gap: 1rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .success-modal {
        padding: 2rem;
        margin: 15% auto;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-main {
        padding: 2rem 0;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
        margin: 0 0.5rem;
        border-radius: 12px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .form-group {
        margin-bottom: 8px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.8rem;
        border-radius: 8px;
        min-height: 44px; /* Touch target size */
    }
    
    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    .checkbox-group {
        margin: 1rem 0;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .submit-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .info-item {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .info-item i {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .info-item h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .info-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .map-container {
        margin: 1rem 0.5rem 0;
        height: 250px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .map-container iframe {
        border-radius: 12px;
    }
    
    .faq-section {
        padding: 2rem 0.5rem;
    }
    
    .faq-item {
        margin-bottom: 0.8rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 15% auto;
        width: 90%;
        max-width: 400px;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .modal h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .modal p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .modal .close {
        font-size: 1.5rem;
        top: 0.8rem;
        right: 1rem;
    }
    
    /* Form validation styles for mobile */
    .form-group.error input,
    .form-group.error textarea,
    .form-group.error select {
        border-color: #e74c3c;
        box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
    }
    
    .error-message {
        font-size: 0.8rem;
        margin-top: 0.3rem;
        padding: 0.3rem 0.5rem;
        border-radius: 4px;
        background: rgba(231, 76, 60, 0.1);
    }
    
    .success-modal {
        padding: 1.5rem;
        margin: 20% auto;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
