/* 
  Boston ADU Builder - Main Stylesheet
  A modern, minimal design with Boston-inspired colors
*/

:root {
    /* Boston-inspired color palette */
    --primary: #0A3161;      /* Boston blue - primary color */
    --primary-light: #2855A3; /* Lighter blue for hover states */
    --secondary: #D0202E;    /* Boston red - accent color */
    --tertiary: #F3B246;     /* Gold accent for highlights */
    --dark: #212529;         /* Dark gray for text */
    --light: #F8F9FA;        /* Light gray for backgrounds */
    --gray: #6C757D;         /* Medium gray for secondary text */
    --light-gray: #E9ECEF;   /* Light gray for cards, backgrounds */
    --off-white: #F5F5F5;    /* Off-white for backgrounds */
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --element-spacing: 2rem;
}

/* Global Styles */
body {
    font-family: var(--body-font);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

.btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-lg {
    padding: 0.8rem 2rem;
}

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

.section-header h2 {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-description {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

section {
    padding: var(--section-spacing) 0;
}

/* Utility Classes */
.rounded {
    border-radius: 8px !important;
}

.rounded-pill {
    border-radius: 50px !important;
}

.bg-light {
    background-color: var(--light) !important;
}

/* Navbar Styling */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.7rem 0;
}

.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.brand-text {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 0.2rem;
    position: relative;
    padding: 0.5rem 0.8rem !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 80%;
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.9));
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://pixabay.com/get/gc9a9186f77a8236ec7e8bd8c5107d5d4e4dce7f3f58f873e193a9bd0a2465f207892115f15afcdc47c5c6ed949192afd3294fee3c066d108e92c050fd5c4c05e_1280.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--gray);
    max-width: 90%;
}

.hero-cta {
    margin-bottom: 2rem;
}

.hero-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services {
    background-color: var(--off-white);
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover:before {
    height: 100%;
}

.service-icon {
    background-color: rgba(10, 49, 97, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #fff;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    background-color: rgba(10, 49, 97, 0.1);
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1.2rem;
}

.feature-icon i {
    font-size: 1.3rem;
    color: var(--primary);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    margin-bottom: 0;
    color: var(--gray);
}

/* Zoning Section */
.zoning {
    background-color: var(--off-white);
}

.zoning-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.zoning-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.zoning-card h3 i {
    color: var(--primary);
    margin-right: 0.8rem;
}

.zoning-list {
    list-style: none;
    padding: 0;
}

.zoning-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.zoning-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.zoning-note {
    background-color: rgba(10, 49, 97, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.zoning-note h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.zoning-note i {
    margin-right: 0.5rem;
}

/* Process Section */
.process {
    background-color: #fff;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background-color: var(--light-gray);
}

.process-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2.5rem;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    z-index: 2;
}

.process-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.process-content p {
    color: var(--gray);
}

/* Neighborhoods Section */
.neighborhoods {
    background-color: var(--off-white);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.neighborhood-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.neighborhood-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

.neighborhood-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.neighborhood-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.8rem;
    position: relative;
}

.neighborhood-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--primary);
}

.neighborhood-note {
    background-color: rgba(10, 49, 97, 0.05);
    border-radius: 8px;
}

.neighborhood-note p {
    margin-bottom: 0.8rem;
}

.neighborhood-note i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Gallery Section */
.gallery {
    background-color: #fff;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.gallery-item img {
    transition: all 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 1.5rem;
    color: #fff;
    transform: translateY(60px);
    transition: all 0.3s ease;
}

.gallery-overlay h4 {
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    margin-bottom: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-overlay p {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--off-white);
}

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.testimonial-card:before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(10, 49, 97, 0.1);
    line-height: 1;
}

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

.testimonial-rating i {
    color: var(--tertiary);
    margin-right: 0.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    color: var(--gray);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: #fff;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.cta-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://pixabay.com/get/gfb76e49481c054b29678af064fcf9e31b662b73ebcb9725384ac0b8921d80b9f3fe1f0b48310a39bad48219b51a8a024e3f06c67c5df3e9276189a7026987d91_1280.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

.cta-contact {
    margin-top: 1rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cta-contact a {
    color: #fff;
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    background-color: #fff;
}

.faq-categories {
    margin-bottom: 2rem;
}

.faq-categories .nav-link {
    color: var(--gray) !important;
    background-color: transparent;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    margin: 0 0.3rem 0.5rem;
    padding: 0.5rem 1.5rem !important;
    transition: all 0.3s ease;
}

.faq-categories .nav-link:after {
    display: none;
}

.faq-categories .nav-link.active {
    background-color: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background-color: #fff;
}

.accordion-button {
    padding: 1.2rem;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--dark);
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(10, 49, 97, 0.05);
}

.accordion-button::after {
    background-size: 1.2rem;
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 1.2rem;
    color: var(--gray);
    background-color: rgba(10, 49, 97, 0.02);
}

.faq-more {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Team Section */
.team {
    background-color: var(--off-white);
}

.mission-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.mission-card:hover:before {
    height: 100%;
}

.mission-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.mission-card h3 i {
    margin-right: 0.8rem;
}

.team-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.team-position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-bio {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.team-social {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.team-social a {
    background-color: rgba(10, 49, 97, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Policy Pages Styling */
.policy-hero {
    padding: 8rem 0 3rem;
    background-color: var(--off-white);
    border-bottom: 1px solid var(--light-gray);
}

.policy-content {
    padding: 4rem 0;
}

.policy-section {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.policy-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.policy-section h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.policy-section ul, .policy-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-section ul li, .policy-section ol li {
    margin-bottom: 0.5rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-section .contact-info {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* Blog Styling */
.blog-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.9));
}

.featured-posts {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.featured-post-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.featured-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-post-card .post-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.featured-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.featured-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    padding: 1rem;
    color: #fff;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.reading-time, .post-date {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-post-card .post-content {
    padding: 2rem;
}

.featured-post-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-post-card h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-card h3 a:hover {
    color: var(--primary);
}

.post-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    color: var(--gray);
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-light);
}

.all-posts {
    padding: 4rem 0;
    background-color: #fff;
}

.blog-post-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.blog-post-card .post-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.blog-post-card .post-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.blog-post-card .post-content {
    padding: 1.5rem;
}

.blog-post-card .post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.blog-post-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post-card h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-card h3 a:hover {
    color: var(--primary);
}

.blog-cta {
    padding: 4rem 0;
    background-color: var(--primary);
    color: #fff;
}

.blog-cta .cta-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Post Page Styling */
.blog-post-header {
    padding: 8rem 0 2rem;
    background-color: var(--light);
}

.blog-breadcrumb {
    margin-bottom: 2rem;
}

.blog-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.blog-breadcrumb .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.blog-post-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-featured-image {
    padding: 2rem 0;
}

.featured-image-container {
    text-align: center;
}

.blog-post-content {
    padding: 3rem 0;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
}

.blog-content h2 {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.blog-content h3 {
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2.5rem 0;
}

.cta-box h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-box .btn {
    background-color: #fff;
    color: var(--primary);
    border: none;
}

.cta-box .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.blog-share {
    border-top: 1px solid var(--light-gray);
    padding-top: 2rem;
    margin-top: 3rem;
}

.blog-share h5 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.email {
    background-color: var(--gray);
}

.author-bio {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.author-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.author-avatar {
    font-size: 3rem;
    color: var(--primary);
}

.author-details h5 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.author-details p {
    color: var(--gray);
    margin-bottom: 0;
}

.related-posts-cta {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.related-posts-cta .cta-container {
    background-color: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.back-to-blog {
    padding: 2rem 0;
}

/* Footer Styling */
.footer {
    background-color: var(--dark);
    color: #fff;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-powered {
    color: rgba(255, 255, 255, 0.6);
}

.footer-powered a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-legal li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal li a:hover {
    color: #fff;
}

/* Careers Page Styling */
.careers-hero {
    padding: 10rem 0 5rem;
    background-color: var(--off-white);
}

.careers-intro {
    background-color: #fff;
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 49, 97, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.open-positions {
    background-color: var(--off-white);
}

.job-listing {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}

.job-header {
    background-color: var(--primary);
    color: #fff;
    padding: 1.5rem;
    position: relative;
}

.job-header h3 {
    margin-bottom: 0.8rem;
    color: #fff;
}

.job-location, .job-type {
    display: inline-block;
    margin-right: 1.5rem;
    font-size: 0.95rem;
}

.job-location i, .job-type i {
    margin-right: 0.5rem;
}

.job-details {
    padding: 2rem;
}

.job-description h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.job-description p {
    margin-bottom: 1.5rem;
}

.job-description ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.job-description ul li {
    margin-bottom: 0.5rem;
}

.job-apply {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.apply-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--gray);
}

.careers-cta {
    background-color: var(--primary);
    color: #fff;
}

.company-culture {
    background-color: #fff;
}

.culture-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.value-item h3 i {
    margin-right: 0.8rem;
    color: var(--primary);
}

.value-item p {
    margin-bottom: 0;
    color: var(--gray);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .navbar-collapse {
        background-color: #fff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .process-step {
        padding-left: 50px;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 7rem 0 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .service-card, .zoning-card, .neighborhood-card, .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        margin-bottom: 1.5rem;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .process-timeline:before {
        left: 20px;
    }
    
    .process-step {
        padding-left: 45px;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .process-content h3 {
        font-size: 1.2rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.8rem;
    }
}
