/* ========================================
   LOCATION PAGES STYLES
   ======================================== */

/* Hero Section */
.location-hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.location-hero h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.location-hero .lead {
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 30px;
}

.location-hero .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.location-hero .cta-buttons .btn {
    padding: 15px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 200px;
    text-align: center;
    line-height: 1.5;
    white-space: nowrap;
}

.location-hero .cta-buttons .btn-primary {
    background-color: #2c5aa0;
    color: white;
    border: 2px solid #2c5aa0;
}

.location-hero .cta-buttons .btn-primary:hover {
    background-color: #1a4480;
    border-color: #1a4480;
    text-decoration: none;
}

.location-hero .cta-buttons .btn-secondary {
    background-color: white;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.location-hero .cta-buttons .btn-secondary:hover {
    background-color: #2c5aa0;
    color: white;
    text-decoration: none;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 90px 0px;
    background: linear-gradient(160deg, #eef3fb 0%, #f8f9fa 100%);
}

.why-choose-us .section-header::before {
  content: '';
  position: absolute;
  width: 50px;
  top: -53px;
  height: 50px;
  z-index: -1;
  display: block;
  transition: all 0.5s ease-in-out 0s;
  background-image: url(../images/icons/project-section.svg);
  background-size: contain;
  opacity: 9;
  background-repeat: no-repeat;
}

.why-choose-us h2 {
  font-size: 2rem;
  position: relative;
  color: var(--color-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: white;
    border-top: 4px solid #2c5aa0;
    box-shadow: 0 2px 10px rgba(44,90,160,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(44,90,160,0.15);
}

.benefit i {
    font-size: 2.8em;
    color: #2c5aa0;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #eef3fb;
    border-radius: 50%;
}

.benefit h3 {
    font-size: 1.2em;
    color: #1a2e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.benefit p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 60px 20px;
    background-color: #eef3fb;
}

.services-section h2 {
    text-align: center;
    font-size: 2.2em;
    color: #1a2e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.services-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #2c5aa0;
    border-radius: 2px;
    margin: 12px auto 36px;
}


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 22px 18px;
    border-top: 4px solid #2c5aa0;
    box-shadow: 0 2px 8px rgba(44,90,160,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(44,90,160,0.15);
}

.service-card i {
    font-size: 1.6em;
    color: #2c5aa0;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #eef3fb;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 0.95em;
    font-weight: 700;
    color: #1a2e50;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.85em;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Neighborhoods Section */
.neighborhoods-section {
    padding: 60px 20px;
    background-color: white;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.neighborhoods-section h2 {
    text-align: center;
    font-size: 2.2em;
    color: #1a2e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.neighborhoods-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #2c5aa0;
    border-radius: 2px;
    margin: 12px auto 20px;
}

.neighborhoods-section p {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
}

.neighborhoods-section .neighborhoods-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 0;
}

.neighborhoods-section .neighborhoods-list li {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    color: #56a0d7;
    margin-bottom: 5px;
    display: flex;
    gap: 10px;
}

.neighborhoods-section .neighborhoods-list li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.2em;
}

/* Common Issues Section */
.common-issues {
    padding: 60px 20px;
    background: linear-gradient(160deg, #fff8f5 0%, #f8f9fa 100%);
}

.common-issues h2 {
    text-align: center;
    font-size: 2.2em;
    color: #1a2e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.common-issues h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
    margin: 12px auto 20px;
}

.common-issues > .container > p {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.issue-card {
    background: white;
    border-radius: 10px;
    padding: 28px 24px;
    border-top: 4px solid #ff6b35;
    box-shadow: 0 2px 8px rgba(255,107,53,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255,107,53,0.15);
}

.issue-card i {
    font-size: 1.8em;
    color: #ff6b35;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff3ee;
    border-radius: 50%;
}

.issue-card h3 {
    font-size: 1.05em;
    font-weight: 700;
    color: #1a2e50;
    margin-bottom: 10px;
}

.issue-card p {
    font-size: 0.92em;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2c5aa0, #1a4480);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.final-cta p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
    color: #e5ffab;
}

.contact-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-box h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.contact-box p {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.contact-box a {
    color: white;
    text-decoration: underline;
}

.contact-box a:hover {
    opacity: 0.8;
}
.contact-box .text-white {
    color: white;
}

.final-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .cta-buttons .btn {
    padding: 15px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 200px;
    text-align: center;
    line-height: 1.5;
    white-space: nowrap;
}

.final-cta .cta-buttons .btn-primary {
    background-color: #ff6b35;
    color: white;
    border: 2px solid #ff6b35;
}

.final-cta .cta-buttons .btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    text-decoration: none;
}

.final-cta .cta-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.final-cta .cta-buttons .btn-secondary:hover {
    background-color: white;
    color: #2c5aa0;
    text-decoration: none;
}

/* Centered heading with right-aligned chevron */
.section-title-wrap {
    position: relative;
    text-align: center;
    margin-bottom: 0;
}

.section-title-wrap .btn-get-started {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 576px) {
    .section-title-wrap .btn-get-started {
        display: none;
    }
}

/* Explore More / Internal Links Section */
.explore-more {
    padding: 60px 0;
    background: #f8f9fa;
}

.explore-more h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 36px;
    text-align: center;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.explore-item {
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s;
}

.explore-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.explore-item i {
    font-size: 2rem;
    color: var(--color-primary);
    display: block;
    margin-bottom: 12px;
}

.explore-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.explore-item h4 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}

.explore-item h4 a:hover {
    color: var(--color-primary);
}

.explore-item p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.explore-item p a {
    color: var(--color-primary);
    text-decoration: none;
}

.explore-item p a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .issues-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .why-choose-us .section-header::before {
        display: none !important;
    }

    .explore-grid {
        grid-template-columns: 1fr;
    }

    .issues-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .location-hero h1 {
        font-size: 2em;
    }
    
    .location-hero .lead {
        font-size: 1.05em;
    }
    
    .why-choose-us h2,
    .services-section h2,
    .neighborhoods-section h2,
    .common-issues h2,
    .final-cta h2 {
        font-size: 1.8em;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .neighborhoods-section .neighborhoods-list {
        grid-template-columns: 1fr;
    }
    
    .location-hero .cta-buttons,
    .final-cta .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .location-hero .cta-buttons .btn,
    .final-cta .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .location-hero {
        padding: 40px 15px;
    }
    
    .location-hero h1 {
        font-size: 1.7em;
    }
    
    .why-choose-us,
    .services-section,
    .neighborhoods-section,
    .common-issues,
    .final-cta {
        padding: 40px 15px;
    }
}