/* Popular Services Section */
.popular-services {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.popular-services h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #2d3748;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    text-decoration: none;
    color: #667eea;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

/* All Services Section */
.all-services {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.all-services h2 {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.service-category {
    margin-bottom: 2rem;
}

.service-category h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.service-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.service-links a {
    background: #f7fafc;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.service-links a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

/* Footer */
.footer {
    background: rgba(45, 55, 72, 0.95);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Service Highlights Section */
.service-highlights {
    margin-bottom: 3rem;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight-card h3 {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.highlight-card p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Detailed Service Info */
.detailed-service-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detailed-service-info h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.treatment-category {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.treatment-category h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.treatment-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-category li {
    color: #4a5568;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.treatment-category li:last-child {
    border-bottom: none;
}

.treatment-category li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: 600;
}

/* Equipment Section */
.equipment-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.equipment-section h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.equipment-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.equipment-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.equipment-item h4 {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.equipment-item p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Service Process */
.service-process {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-process h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.process-step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 auto 1rem auto;
}

.process-step h3 {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.process-step p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Related Services */
.related-services {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-services h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    text-decoration: none;
    color: #667eea;
}

.related-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.related-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.related-card p {
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
}

/* Service-specific responsive adjustments */
@media (max-width: 768px) {

    .service-highlights,
    .detailed-service-info,
    .equipment-section,
    .service-process,
    .related-services {
        padding: 1.5rem;
    }

    .highlight-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-grid,
    .equipment-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .highlight-cards,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card,
    .equipment-item,
    .process-step,
    .related-card {
        padding: 1rem;
    }

    .highlight-icon,
    .equipment-emoji {
        font-size: 2rem;
    }
}

.faq-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.faq-item h3 {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonials h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial p {
    color: #4a5568;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonial strong {
    color: #2d3748;
    font-weight: 600;
    font-style: normal;
    font-size: 0.9rem;
}

/* Responsive updates for new sections */
@media (max-width: 768px) {

    .faq-section,
    .testimonials {
        padding: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .faq-item,
    .testimonial {
        padding: 1rem;
    }
}

@media (max-width: 480px) {

    .faq-section h2,
    .testimonials h2 {
        font-size: 1.5rem;
    }
}

/* shared-styles.css - Universal styles for all service pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.info-section {
    margin-bottom: 3rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
}

.badge-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.service-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-info h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
}

.info-item h3 {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.coverage-area {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #667eea;
}

.coverage-area h3 {
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.coverage-area p {
    color: #4a5568;
    line-height: 1.6;
}

.form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.required {
    color: #e53e3e;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

select.form-control {
    cursor: pointer;
}

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

.voice-note-container {
    margin-top: 0.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e0;
}

.voice-note-btn {
    background: #48bb78;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    transition: background 0.3s;
}

.voice-note-btn:hover {
    background: #38a169;
}

.voice-note-btn.recording {
    background: #e53e3e;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.help-text {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.25rem;
}

.expert-info {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #2a69ac;
}

.success-message {
    display: none;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #22543d;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: slideIn 0.5s ease-out;
}

.error-message {
    display: none;
    background: #fed7d7;
    border: 1px solid #feb2b2;
    color: #742a2a;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced pincode dropdown for better searchability */
#pincode {
    font-family: monospace;
}

#pincode option {
    padding: 8px;
    line-height: 1.4;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .form-card {
        padding: 1.5rem;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .service-info {
        padding: 1.5rem;
    }

    .badge {
        padding: 0.75rem;
    }

    .badge-icon {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.75rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 1rem;
    }

    .service-info {
        padding: 1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-control {
        border: 3px solid #000;
    }

    .submit-btn {
        background: #000;
        border: 2px solid #fff;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .submit-btn,
    .voice-note-container {
        display: none;
    }

    .form-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}