/* Modern Location Pages Styling */

/* Hero Section with Gradient */
.location-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 15px;
    color: white;
    text-align: center;
}

.location-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.location-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Tabs */
.service-tabs-container {
    margin: 40px 0;
}

.service-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.service-tab {
    padding: 15px 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
    position: relative;
    bottom: -2px;
}

.service-tab:hover {
    background: #f8f9fa;
    color: #667eea;
}

.service-tab.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.service-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.service-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.service-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-card-link {
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Feature Boxes */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.feature-box-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-box p {
    opacity: 0.95;
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-container {
    margin: 40px 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    background: white;
}

.faq-question:hover {
    background: #f8f9fa;
    color: #667eea;
}

.faq-question.active {
    background: #667eea;
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.location-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    color: white;
    margin: 40px 0;
}

.location-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.location-cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.location-cta .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: white;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: #667eea;
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .location-hero h2 {
        font-size: 1.8rem;
    }
    
    .location-hero p {
        font-size: 1rem;
    }
    
    .service-tabs {
        flex-direction: column;
    }
    
    .service-tab {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .location-cta {
        padding: 30px 20px;
    }
    
    .location-cta h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
.location-section {
    margin: 50px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}