/*
Theme Name: phase 1 Site Assessment
Description: A custom WordPress theme for Phase1 Environmental Site Assessment Cost directory website
Version: 1.0
Author: Custom Theme
*/

/* Color Palette Variables */
:root {
    --primary-color: #1f4037;
    --secondary-color: #99c93c;
    --accent-color: #cdebb0;
    --light-color: #f5f5f5;
    --dark-color: #222222;
    --white: #ffffff;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.main-navigation {
    margin-left: auto;
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(153, 201, 60, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.navigation-menu {
    display: block;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: block;
}

.main-navigation a:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(153, 201, 60, 0.3);
}

.main-navigation a:active {
    transform: translateY(0);
}

/* Dropdown Menu Styles */
.main-navigation .menu-item-has-children > a::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    border: none;
    font-size: 0.8rem;
    text-transform: none;
    color: var(--dark-color);
}

.main-navigation .sub-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

/* Hero Section with Integrated Search */
.hero-search-section {
    background: linear-gradient(rgba(31, 64, 55, 0.85), rgba(31, 64, 55, 0.85)), url('assets/hero-section.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 900px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary {
    background: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
}

/* Rating Styles */
.rating {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.rating-stars {
    color: #ffc107;
    margin-right: 0.5rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

/* Work Hours Styles */
.work-hours {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.work-hours-day {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid #ddd;
}

.work-hours-day:last-child {
    border-bottom: none;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    background: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.contact-item i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--light-color);
    padding: 1rem 0;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.breadcrumbs ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    margin-right: 0.5rem;
}

.breadcrumbs li:after {
    content: " / ";
    margin-left: 0.5rem;
    color: #666;
}

.breadcrumbs li:last-child:after {
    content: "";
}

/* Footer Styles */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    max-height: 80px;
}

.footer-menu-section .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: var(--white);
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
}

.footer-menu a:hover {
    opacity: 1;
    background: rgba(255,255,255,0.1);
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Body scroll prevention when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Touch improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .main-navigation a:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navigation-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-radius: 0 0 15px 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .navigation-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        padding: 1rem 1.5rem;
        border-radius: 0;
        text-align: left;
        font-size: 1rem;
        border: none;
        background: transparent;
        color: var(--primary-color);
        transform: none;
        box-shadow: none;
    }
    
    .main-navigation a:hover {
        background: var(--light-color);
        color: var(--secondary-color);
        transform: none;
        box-shadow: none;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-search-section {
        min-height: 700px;
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .card-content {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Section Spacing */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section:nth-child(odd) {
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

/* Enhanced Card Styles for Homepage */
.states-grid .card,
.listings-grid .card,
.articles-grid .card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(153, 201, 60, 0.1);
    position: relative;
}

.states-grid .card:hover,
.listings-grid .card:hover,
.articles-grid .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.states-grid .card::before,
.listings-grid .card::before,
.articles-grid .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.states-grid .card:hover::before,
.listings-grid .card:hover::before,
.articles-grid .card:hover::before {
    opacity: 1;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.states-grid .card:hover .card-image,
.listings-grid .card:hover .card-image,
.articles-grid .card:hover .card-image {
    transform: scale(1.08);
}

.card-content {
    padding: 2rem;
    position: relative;
}

.card-title a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-decoration: none;
}

.card-title a:hover {
    color: var(--secondary-color);
}

.card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-meta {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-address {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

.post-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.card .view-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #7fb32a);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(153, 201, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card .view-details-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #0f2e1f);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 64, 55, 0.4);
}

.card .view-details-btn .arrow-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.card .view-details-btn:hover .arrow-icon {
    transform: translateX(3px);
}

/* Single Listing Styles */
.single-listing-container {
    background: #f8f9fa;
    min-height: 100vh;
}

.listing-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.listing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.listing-title .location {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.back-btn {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.back-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

.listing-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.listing-image-section {
    margin-bottom: 2rem;
}

.listing-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.phone-link, .email-link {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-link:hover, .email-link:hover {
    color: var(--primary-color);
}

.address-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.full-address {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.zip-code {
    color: #666;
    font-weight: 500;
}

.map-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.map-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.website-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.website-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: var(--white);
}

.hours-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.business-hours-display {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.current-status-badge {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.hours-table {
    background: #fff;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.day-label {
    font-weight: 500;
    color: var(--dark-color);
    min-width: 100px;
}

.hours-value {
    color: #666;
    font-weight: 400;
}

.open-hours {
    color: var(--secondary-color);
    font-weight: 500;
}

.closed-text {
    color: #dc3545;
    font-weight: 500;
}

.no-hours {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.status-open {
    background: #d4edda;
    color: #155724;
}

.status-closed {
    background: #f8d7da;
    color: #721c24;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.facebook-btn {
    background: #1877f2;
    color: var(--white);
}

.facebook-btn:hover {
    background: #166fe5;
    color: var(--white);
}

.linkedin-btn {
    background: #0077b5;
    color: var(--white);
}

.linkedin-btn:hover {
    background: #006396;
    color: var(--white);
}

.twitter-btn {
    background: #1da1f2;
    color: var(--white);
}

.twitter-btn:hover {
    background: #0d8bd9;
    color: var(--white);
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.info-value {
    color: var(--dark-color);
}

.category-info, .zip-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.nearby-section {
    background: var(--white);
    padding: 4rem 0;
    margin-top: 3rem;
}

.nearby-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.nearby-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nearby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nearby-image {
    height: 200px;
    overflow: hidden;
}

.nearby-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nearby-card:hover .nearby-img {
    transform: scale(1.05);
}

.nearby-content {
    padding: 1.5rem;
}

.nearby-card-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.nearby-card-title a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nearby-card-title a:hover {
    color: var(--secondary-color);
}

.view-details-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.no-nearby {
    text-align: center;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
}

/* Responsive Design for Single Listing */
@media (max-width: 768px) {
    .listing-title {
        font-size: 2rem;
    }
    
    .listing-title .location {
        font-size: 1.2rem;
    }
    
    .address-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .social-btn {
        flex: none;
    }
    
    .nearby-grid {
        grid-template-columns: 1fr;
    }
    
    .listing-main-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .listing-hero {
        padding: 2rem 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        margin-right: 0;
    }
}

/* FAQ Section Styles */
.faq-section {
    background: var(--white);
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--light-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0 0 1rem 0;
    color: var(--dark-color);
    line-height: 1.6;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.faq-answer li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    line-height: 1.6;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.faq-answer li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.faq-answer h5 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.faq-answer strong {
    color: var(--primary-color);
    font-weight: 600;
}

.faq-answer em {
    color: #666;
    font-style: italic;
}

.timeline-breakdown,
.cost-factors,
.cost-comparison,
.requirement-categories,
.phase2-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid var(--secondary-color);
}

.timeline-breakdown h5,
.cost-factors h5,
.requirement-categories h5,
.phase2-details h5 {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cost-comparison p {
    margin: 0;
    font-weight: 500;
    color: var(--primary-color);
}

/* Improved Nearby Cards */
.nearby-card-simple {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.nearby-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nearby-card-simple .nearby-image {
    height: 180px;
    overflow: hidden;
}

.nearby-card-simple .nearby-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nearby-card-simple:hover .nearby-img {
    transform: scale(1.05);
}

.nearby-card-simple .nearby-content {
    padding: 1.5rem;
}

.nearby-card-simple .nearby-card-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.4;
}

.nearby-card-simple .view-details-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.nearby-card-simple .view-details-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer About Section */
.footer-about h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-about p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Modern Search Section */
.search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
}

.search-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.search-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.search-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.search-underline {
    width: 100px;
    height: 4px;
    background: #99c93c;
    margin: 0 auto;
    border-radius: 2px;
}

.search-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

.modern-search-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.search-field {
    position: relative;
}

.field-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.field-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.modern-select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: var(--dark-color);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

.modern-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(153, 201, 60, 0.1);
}

.modern-select:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.search-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(153, 201, 60, 0.3);
    align-self: center;
    max-width: 400px;
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(153, 201, 60, 0.4);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f2e1f 100%);
}

.search-btn:active {
    transform: translateY(-1px);
}

/* Search Form Improvements - Legacy */
.search-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Minimal Nearby Cards */
.nearby-card-minimal {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e9ecef;
}

.nearby-card-minimal:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: var(--secondary-color);
}

.nearby-card-minimal .nearby-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.nearby-card-minimal .nearby-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nearby-card-minimal:hover .nearby-img {
    transform: scale(1.1);
}

.nearby-card-minimal .nearby-content {
    padding: 2rem 1.5rem;
}

.nearby-card-minimal .nearby-card-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nearby-card-minimal .view-details-btn {
    background: linear-gradient(135deg, var(--secondary-color), #7fb32a);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(153, 201, 60, 0.3);
}

.nearby-card-minimal .view-details-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #0f2e1f);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 64, 55, 0.4);
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
    
    .nearby-card-simple .nearby-content {
        padding: 1rem;
    }
    
    .nearby-card-minimal .nearby-content {
        padding: 1.5rem 1rem;
    }
    
    .nearby-card-minimal .nearby-card-title {
        font-size: 1rem;
        margin-bottom: 1rem;
        min-height: 2rem;
    }
    
    .nearby-card-minimal .view-details-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .search-title {
        font-size: 1.5rem;
    }
    
    .search-form-container {
        padding: 1.5rem;
    }
    
    .search-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Modern Listing Cards for Taxonomy Pages */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.listing-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.listing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.listing-card:hover::before {
    opacity: 1;
}

.listing-card-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
}

.listing-image {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-img {
    transform: scale(1.1);
}

.listing-info {
    flex: 1;
    min-width: 0;
}

.listing-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.listing-address {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.location-icon {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.listing-card-footer {
    padding: 0 2rem 2rem;
}

.view-details-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--secondary-color), #7fb32a);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(153, 201, 60, 0.3);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #0f2e1f);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 64, 55, 0.4);
}

.arrow-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.view-details-btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* No Listings State */
.no-listings {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
    grid-column: 1 / -1;
}

.no-listings-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-listings h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.no-listings p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Enhanced Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0;
    margin: -2rem 0 3rem;
    border-radius: 0 0 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navigation-links {
    position: relative;
    z-index: 1;
}

.navigation-links .btn {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navigation-links .btn:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Responsive Design for Listing Cards */
@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .listing-card-header {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .listing-image {
        width: 70px;
        height: 70px;
    }
    
    .listing-name {
        font-size: 1.1rem;
    }
    
    .listing-address {
        font-size: 0.9rem;
    }
    
    .listing-card-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .view-details-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 2rem 0;
        margin: -1rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .listing-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .listing-image {
        width: 100px;
        height: 100px;
        align-self: center;
    }
    
    .listing-info {
        text-align: center;
    }
    
    .listing-address {
        justify-content: center;
    }
    
    .page-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .no-listings {
        padding: 3rem 1rem;
    }
    
    .no-listings-icon {
        font-size: 3rem;
    }
}

/* Cost Calculator Styles */
.cost-calculator-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.calculator-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.calculator-form {
    padding: 3rem;
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.calculator-input {
    padding: 1rem 1.25rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    color: var(--dark-color);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

.calculator-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(153, 201, 60, 0.1);
}

.additional-services {
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
}

.additional-services h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    position: relative;
}

.checkbox-item:hover {
    background: rgba(153, 201, 60, 0.1);
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
}

.checkbox-item input:checked ~ .checkmark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item input:checked ~ .checkmark:after {
    display: block;
}

.calculate-btn {
    background: linear-gradient(135deg, var(--secondary-color), #7fb32a);
    color: var(--white);
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(153, 201, 60, 0.3);
    width: 100%;
    margin-top: 2rem;
}

.calculate-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #0f2e1f);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(31, 64, 55, 0.4);
}

.calculator-results {
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.results-header h4 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.cost-breakdown {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item.total-cost {
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px solid rgba(255,255,255,0.3);
}

.cost-label {
    color: var(--white);
    font-weight: 500;
}

.cost-value {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.cost-range {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.cost-range p {
    margin: 0;
    font-size: 1.1rem;
}

.cost-factors {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cost-factors h5 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cost-factors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cost-factors li {
    padding: 0.5rem 0;
    color: rgba(255,255,255,0.9);
    position: relative;
    padding-left: 1.5rem;
}

.cost-factors li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
}

.disclaimer {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid rgba(255,255,255,0.3);
}

.disclaimer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.next-steps h5 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.action-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.action-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.action-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.action-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.calculator-info {
    max-width: 900px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design for Calculator */
@media (max-width: 768px) {
    .calculator-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        padding: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        min-width: auto;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .info-item {
        padding: 1.5rem;
    }
    
    .info-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .calculator-container {
        margin: 0 1rem 2rem;
    }
    
    .calculator-form {
        padding: 1.5rem;
    }
    
    .calculator-results {
        padding: 1.5rem;
    }
    
    .cost-breakdown {
        padding: 1.5rem;
    }
    
    .calculate-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages Styles */
.legal-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.legal-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legal-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23legal-grain)"/></svg>');
    opacity: 0.3;
}

.legal-page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.legal-page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.legal-content {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.legal-section {
    padding: 2.5rem;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section:nth-child(even) {
    background: #f8f9fa;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

.legal-section h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.legal-section p {
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.legal-section ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.legal-section li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    line-height: 1.6;
    color: var(--dark-color);
}

.legal-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.legal-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Rights Grid for GDPR and Privacy Policy */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.right-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.right-item h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.right-item h4::before {
    content: '🔐';
    font-size: 1.2rem;
}

.right-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Info Styling */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: var(--primary-color);
    min-width: 120px;
}

/* Industry Grid for About Us */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.industry-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.industry-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.industry-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Grid for Contact Us page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.contact-method h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-method p:last-child {
    margin-bottom: 0;
}

/* Response Grid for Contact Us page */
.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.response-item {
    background: linear-gradient(135deg, var(--secondary-color), #7fb32a);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(153, 201, 60, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.response-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(153, 201, 60, 0.4);
}

.response-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.response-item p {
    color: var(--white);
    opacity: 0.9;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Social Links Styling */
.social-links {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
}

.social-links p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-links p:last-child {
    margin-bottom: 0;
}

.social-links strong {
    color: var(--primary-color);
    min-width: 100px;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-page-content {
        padding: 1rem 0;
    }
    
    .legal-page-title {
        font-size: 2.5rem;
    }
    
    .legal-page-subtitle {
        font-size: 1.1rem;
    }
    
    .legal-section {
        padding: 2rem 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .rights-grid,
    .industry-grid,
    .contact-grid,
    .response-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method,
    .industry-item,
    .right-item,
    .response-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-page-header {
        padding: 2rem 1rem;
        margin: 0 1rem 2rem;
    }
    
    .legal-page-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .legal-page-subtitle {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 1.5rem 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .contact-info,
    .social-links {
        padding: 1.5rem;
    }
    
    .contact-info p,
    .social-links p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .contact-info strong,
    .social-links strong {
        min-width: auto;
    }
}
