/* =====================================
Taj Dental Care - Contact Page Styles
===================================== */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/dental-pattern.png');
    opacity: 0.1;
    pointer-events: none;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease;
}

.contact-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: #ffd700;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    transform: scaleX(0.8);
    transform-origin: center;
}

.hero-contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.contact-method i {
    font-size: 1.5rem;
    color: #ffd700;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.4s ease;
}

.btn-primary {
    background: #ffd700;
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffd700;
}

.btn-primary:hover {
    background: transparent;
    color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Methods Section */
.contact-methods {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 15px;
}

.underline {
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    position: relative;
}

.underline::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: #ffd700;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.method-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.method-card.whatsapp::before { background: #25D366; }
.method-card.phone::before { background: var(--primary-color); }
.method-card.visit::before { background: #FF6B6B; }
.method-card.email::before { background: #4ECDC4; }

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.method-card.whatsapp .method-icon { color: #25D366; }
.method-card.phone .method-icon { color: var(--primary-color); }
.method-card.visit .method-icon { color: #FF6B6B; }
.method-card.email .method-icon { color: #4ECDC4; }

.method-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.method-details {
    text-align: left;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.95rem;
}

.method-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.method-btn.outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.method-btn.outline:hover {
    background: var(--primary-color);
    color: white;
}

.method-qr, .call-timing, .walkin-info, .email-attachments {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
    font-size: 0.9rem;
    color: #666;
}

/* Appointment Form Section */
.appointment-form-section {
    padding: 100px 0;
    background: white;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.appointment-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.time-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.time-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-option:hover {
    background: #e9ecef;
}

.time-option input[type="radio"] {
    display: none;
}

.time-option input[type="radio"]:checked + .time-label {
    color: var(--primary-color);
    font-weight: 600;
}

.time-option input[type="radio"]:checked + .time-label::before {
    content: '✓';
    margin-right: 8px;
    color: var(--primary-color);
}

.time-label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: #e9ecef;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    min-height: 20px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.form-disclaimer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.form-disclaimer p {
    margin: 5px 0;
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.location-details {
    display: grid;
    gap: 30px;
}

.detail-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.timing-grid {
    display: grid;
    gap: 10px;
}

.timing-day {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.timing-day:last-child {
    border-bottom: none;
}

.facility-list {
    list-style: none;
    padding: 0;
}

.facility-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.facility-list i {
    color: #2ecc71;
}

.languages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-tag {
    background: var(--bg-light);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #333;
}

.emergency-contact {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A52 100%);
    border-radius: 15px;
    color: white;
}

.emergency-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.emergency-header i {
    font-size: 2rem;
}

.emergency-buttons {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.emergency-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: white;
    color: #FF6B6B;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.emergency-btn.whatsapp {
    background: #25D366;
    color: white;
}

.emergency-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.emergency-instructions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.emergency-instructions ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.emergency-instructions li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.emergency-instructions li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: white;
}

.location-map {
    position: relative;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-actions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.map-btn {
    flex: 1;
    padding: 12px;
    background: white;
    color: #333;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-btn.outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dental-marker {
    background: var(--primary-color);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.map-popup {
    padding: 10px;
    min-width: 200px;
}

.map-popup h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.map-popup p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-small {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* FAQ Section */
.contact-faq {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 25px;
    opacity: 1;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question {
    padding: 25px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background: #f8f9fa;
    transition: all 0.5s ease;
    opacity: 0;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.faq-answer li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 15px;
}

.faq-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.faq-cta a:hover {
    text-decoration: underline;
}

/* Testimonials Section */
.contact-testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content {
    position: relative;
    margin-bottom: 25px;
}

.testimonial-content .fa-quote-left {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content .fa-quote-right {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    padding: 20px 0;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.testimonial-author h4 {
    margin: 0;
    color: #333;
}

.rating {
    color: #FFD700;
    font-size: 1rem;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.9;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.stat {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.stat h3 {
    font-size: 2.5rem;
    margin: 10px 0;
    color: white;
}

.stat p {
    margin: 0;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}

.whatsapp-btn:hover {
    background: transparent;
    color: #25D366;
    transform: translateY(-3px);
}

.call-btn {
    background: #FFD700;
    color: #333;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #FFD700;
}

.call-btn:hover {
    background: transparent;
    color: #FFD700;
    transform: translateY(-3px);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-whatsapp,
.floating-phone,
.floating-calendar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp {
    background: #25D366;
    animation: pulse 2s infinite;
}

.floating-phone {
    background: var(--primary-color);
}

.floating-calendar {
    background: #FF6B6B;
}

.floating-whatsapp:hover,
.floating-phone:hover,
.floating-calendar:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-whatsapp:hover .floating-tooltip,
.floating-phone:hover .floating-tooltip,
.floating-calendar:hover .floating-tooltip {
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        height: 400px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-contact-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .contact-method {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .time-options,
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .cta-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-whatsapp,
    .floating-phone,
    .floating-calendar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .form-header {
        padding: 30px 20px;
    }
    
    .appointment-form {
        padding: 30px 20px;
    }
    
    .emergency-buttons {
        grid-template-columns: 1fr;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
    }
}