/* Multi-City Landing Shortcodes Styles */

/* Container */
.city-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #111827 !important;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #2563eb !important;
    color: white !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
    background: #1d4ed8 !important;
    color: white !important;
    transform: scale(1.05);
    text-decoration: none;
}

.btn-secondary {
    border: 2px solid #2563eb !important;
    color: #2563eb !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:visited {
    background: #2563eb !important;
    color: white !important;
    text-decoration: none;
}

/* CRITICAL FIX: Ensure button icon stays inline */
.btn-secondary .icon {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.btn-secondary:hover .icon,
.btn-secondary:active .icon,
.btn-secondary:focus .icon {
    color: white !important;
    opacity: 1 !important;
}

.btn-cta {
    background: white !important;
    color: #2563eb !important;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.btn-cta:hover,
.btn-cta:focus,
.btn-cta:active,
.btn-cta:visited {
    background: #f3f4f6 !important;
    color: #2563eb !important;
    transform: scale(1.05);
    text-decoration: none;
}

/* Hero Section */
.city-hero {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff, #f3e8ff);
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #111827 !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.city-blue {
    color: #2563eb !important;
}

.city-white {
    color: white !important;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: #6b7280 !important;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.city-stats {
    padding: 4rem 0;
    background: white;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb !important;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: #374151 !important;
    font-weight: 500;
    line-height: 1.5;
}

.stats-insight {
    margin-top: 3rem;
    padding: 1.5rem;
    background: linear-gradient(90deg, #fef3c7, #fed7aa);
    border-radius: 0.75rem;
    border-left: 4px solid #f59e0b;
}

.stats-insight p {
    color: #92400e !important;
    margin: 0;
}

/* Challenges Section */
.city-challenges {
    padding: 4rem 0;
    background: white;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.challenge-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.challenge-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.challenge-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.challenge-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.challenge-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
}

.challenge-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827 !important;
}

.challenge-problem {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 0.5rem;
    border-left: 4px solid #ef4444;
    color: #991b1b !important;
    font-size: 0.875rem;
}

.challenge-solution {
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 0.5rem;
    border-left: 4px solid #22c55e;
    color: #166534 !important;
    font-size: 0.875rem;
}

/* Neighborhoods Section */
.city-neighborhoods {
    padding: 4rem 0;
    background: #f9fafb;
}

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

.neighborhood-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.neighborhood-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.neighborhood-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.neighborhood-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.neighborhood-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.location-icon {
    margin-right: 0.5rem;
}

.neighborhood-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827 !important;
}

.neighborhood-focus {
    color: #6b7280 !important;
    line-height: 1.5;
}

/* Portfolio Section */
.city-portfolio {
    padding: 4rem 0;
    background: #f9fafb;
}

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

.portfolio-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.portfolio-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

.portfolio-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white !important;
    padding: 1rem;
    font-size: 0.875rem;
    z-index: 2;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827 !important;
    margin-bottom: 0.5rem;
}

.portfolio-description {
    color: #6b7280 !important;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: #1e40af !important;
    font-size: 0.875rem;
    border-radius: 9999px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials Section */
.city-testimonials {
    padding: 4rem 0;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

.testimonial-rating {
    display: flex;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: #374151 !important;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-weight: 600;
    margin-right: 1rem;
}

.author-name {
    font-weight: 600;
    color: #111827 !important;
}

.author-role {
    color: #6b7280 !important;
    font-size: 0.875rem;
}

/* Services Section */
.city-services {
    padding: 4rem 0;
    background: white;
}

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

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.service-card:hover .service-indicator {
    opacity: 1;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827 !important;
}

.service-indicator {
    width: 100%;
    height: 0.25rem;
    background: linear-gradient(90deg, #60a5fa, #a855f7);
    border-radius: 9999px;
    opacity: 0;
    transition: opacity 0.2s;
}

/* FAQ Section */
.city-faq {
    padding: 4rem 0;
    background: #f9fafb;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: background-color 0.2s;
    outline: none;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question:focus {
    background: #f3f4f6;
    outline: 2px solid #2563eb;
    outline-offset: -2px;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827 !important;
    margin: 0;
    padding-right: 1rem;
    flex: 1;
    text-align: left;
}

.faq-icon {
    color: #6b7280 !important;
    transition: transform 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

.faq-answer p {
    color: #6b7280 !important;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.city-cta {
    padding: 5rem 0;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    text-align: center;
    color: white;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white !important;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #bfdbfe !important;
    margin-bottom: 2.5rem;
}

.cta-button-wrapper {
    margin-bottom: 2rem;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    color: white !important;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #bfdbfe !important;
}

.contact-icon {
    margin-right: 0.5rem;
}

/* Contact Modal */
.city-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 28rem;
    width: 100%;
    padding: 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #374151;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827 !important;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #6b7280 !important;
    margin-bottom: 1.5rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.contact-option.whatsapp {
    background: #10b981;
    color: white !important;
}

.contact-option.whatsapp:hover {
    background: #059669;
    color: white !important;
}

.contact-option.phone {
    background: #2563eb;
    color: white !important;
}

.contact-option.phone:hover {
    background: #1d4ed8;
    color: white !important;
}

.contact-option.email {
    background: #6b7280;
    color: white !important;
}

.contact-option.email:hover {
    background: #4b5563;
    color: white !important;
}

.consultation-benefits {
    padding: 1rem;
    background: #dbeafe;
    border-radius: 0.5rem;
}

.benefits-header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.check-icon {
    color: #2563eb;
    margin-top: 0.125rem;
}

.consultation-benefits strong {
    color: #1e40af !important;
}

.consultation-benefits ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
    color: #1e40af !important;
}

.consultation-benefits li {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #1e40af !important;
}

/* CRITICAL FIX: Override theme styles with maximum specificity */
body .city-hero .hero-title,
body .section-title,
body .city-hero h1,
body .city-stats h2,
body .city-portfolio h2,
body .city-testimonials h2,
body .city-services h2,
body .city-faq h2,
body .city-cta h2,
body .city-challenges h2,
body .city-neighborhoods h2 {
    color: #111827 !important;
    font-weight: 700 !important;
}

/* Force blue color for specific "Kolkata" text */
body .hero-title .city-blue,
body .section-title .city-blue {
    color: #2563eb !important;
}

body .hero-title .city-white,
body .section-title .city-white,
body .cta-title .city-white {
    color: white !important;
}

/* CRITICAL: Fix button text visibility issues */
body .btn,
body .btn:link,
body .btn:visited,
body .btn:hover,
body .btn:active,
body .btn:focus {
    text-decoration: none !important;
}

body .btn-secondary,
body .btn-secondary:link,
body .btn-secondary:visited {
    color: #2563eb !important;
    background: transparent !important;
    border: 2px solid #2563eb !important;
}

body .btn-secondary:hover,
body .btn-secondary:active,
body .btn-secondary:focus {
    color: white !important;
    background: #2563eb !important;
    border: 2px solid #2563eb !important;
}

/* Ensure all button content remains visible and properly aligned */
body .btn * {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .city-container {
        padding: 0 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid,
    .portfolio-grid,
    .testimonials-grid,
    .services-grid,
    .challenges-grid,
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-contact {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-height: 85vh;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (min-width: 640px) {
    .cta-contact {
        flex-direction: row;
        justify-content: center;
    }
}

body.modal-open {
    overflow: hidden;
}