/* CSS Variables - Matching Original Site Colors */
:root {
    --heads: #736F78;
    --text: #575757;
    --links: #6C9994;
    --accentBkg: #2f7b89;
    --accentTxt: #ffffff;
    --navLinks: #ffffff;
    --navBkg: #6C9994;
    --headBkg: #6C9994;
    --mainBkg: #ffffff;
    --footBkg: #406163;
    --footTxt: #ffffff;
    --footLinks: #ffffff;
    --itemBkg: #ededed;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--text);
    background-color: var(--mainBkg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather Sans', Helvetica, Arial, sans-serif;
    color: var(--heads);
    font-weight: 700;
}

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

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: #406163;
    color: var(--footTxt);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar .phone-link {
    color: var(--footTxt);
    font-weight: 700;
}

.follow-us {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    color: var(--footTxt);
}

.follow-us:hover {
    opacity: 0.8;
}

.follow-us .arrow {
    font-size: 20px;
}

/* Header/Navigation */
.main-header {
    background-color: var(--navBkg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
}

.main-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 40px;
    padding-right: 20px;
}

.logo {
    flex-shrink: 0;
    margin-right: 120px !important;
    min-width: 0;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 85px;
    width: auto;
    max-width: 450px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}

.main-nav li {
    flex-shrink: 0;
}

.main-nav a {
    color: var(--navLinks);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--navLinks);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accentTxt);
    text-align: center;
    padding: 80px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    color: var(--accentTxt);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero h1 a {
    color: var(--accentTxt);
}

.hero h3 {
    font-size: 20px;
    color: var(--accentTxt);
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

.btn-primary:hover {
    background-color: var(--navBkg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--links);
    color: var(--text);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--navBkg);
    color: var(--accentTxt);
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: var(--mainBkg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background-color: var(--mainBkg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-link {
    display: block;
    text-decoration: none;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card h3 a {
    color: var(--heads);
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

/* Hide Google widgets from service cards - only show in footer */
.service-card .google-review-widget,
.services .google-review-widget {
    display: none !important;
}

/* CTA Sections */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.estate-planning-cta {
    background-image: url('/images/estate-planning-cta.jpg');
}

.estate-planning-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.estate-planning-cta .cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-size: 36px;
    color: var(--accentTxt);
    margin-bottom: 15px;
}

.estate-planning-cta h3 a {
    color: var(--accentTxt);
}

.cta-section .subtitle {
    font-size: 18px;
    color: var(--accentTxt);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.business-cta {
    background-image: url('/images/business-formation-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
    min-height: 400px;
}

.business-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

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

.business-cta h3 {
    color: var(--accentTxt);
    font-size: 32px;
    margin-bottom: 15px;
}

.business-cta h3 a {
    color: var(--accentTxt);
}

.business-cta .subtitle {
    color: var(--accentTxt);
    font-size: 16px;
    margin-bottom: 30px;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: #F9EEE5;
}

.about-section h3 {
    font-size: 32px;
    margin-bottom: 15px;
    text-align: center;
}

.about-section .subtitle {
    font-size: 18px;
    color: var(--heads);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.about-content a {
    color: var(--links);
    text-decoration: underline;
}

/* Why Hire Section */
.why-hire {
    padding: 60px 0;
    background-color: var(--mainBkg);
}

.why-hire-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-hire-image {
    width: 100%;
}

.why-hire-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.why-hire-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.why-hire-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.why-hire-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.why-hire-text li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

/* Footer */
.main-footer {
    background-color: var(--footBkg);
    color: var(--footTxt);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-map {
    width: 100%;
    height: 400px;
    min-height: 400px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 5px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo a {
    display: inline-block;
    margin-bottom: 0;
}

.footer-logo img {
    height: 40px;
    width: auto;
    max-width: 250px;
}

.google-review-widget {
    margin-bottom: 20px;
}

.google-review-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.google-review-link:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.google-review-link .google-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.footer-copyright p {
    color: var(--footTxt);
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-contact-box {
    background-color: var(--navBkg);
    padding: 25px;
    border-radius: 5px;
}

.footer-contact-box h2 {
    color: var(--footTxt);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-contact-box p {
    color: var(--footTxt);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.directions-link {
    color: var(--footTxt);
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-info strong {
    display: block;
    margin-top: 12px;
    margin-bottom: 3px;
    font-weight: 700;
}

.contact-info a {
    color: var(--footTxt);
}

.after-hours {
    font-size: 12px;
    font-style: italic;
    margin-top: 10px;
    opacity: 0.9;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-consultation {
    background-color: var(--accentBkg);
    color: var(--accentTxt);
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.floating-consultation:hover {
    background-color: var(--navBkg);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.floating-map {
    width: 50px;
    height: 50px;
    background-color: var(--accentBkg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.floating-map:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.floating-map img {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-hire-content {
        grid-template-columns: 1fr;
    }
    
    .why-hire-image {
        order: -1;
    }
}

@media (max-width: 1200px) {
    .main-nav ul {
        gap: 18px;
    }
    
    .main-nav a {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .main-nav ul {
        gap: 15px;
    }
    
    .main-nav a {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .main-nav ul {
        gap: 12px;
    }
    
    .main-nav a {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    
    .main-header .container {
        padding: 0 15px;
    }
    
    .logo {
        margin-right: 20px !important;
    }
    
    .logo img {
        height: 50px;
        max-width: 250px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--navBkg);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        font-size: 14px;
        align-items: flex-start;
        width: 100%;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        font-size: 14px;
        white-space: normal;
        display: block;
        padding: 8px 0;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .top-bar .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 350px;
        padding: 40px 15px;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero h3 {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .services {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h3 {
        font-size: 24px;
    }
    
    .cta-section .subtitle {
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 0;
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .about-section h3 {
        font-size: 24px;
    }
    
    .about-section .subtitle {
        font-size: 14px;
    }
    
    .about-content {
        padding: 0 15px;
    }
    
    .why-hire {
        padding: 40px 0;
    }
    
    .why-hire-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-hire-text h3 {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-map {
        height: 300px;
        min-height: 300px;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
    
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .main-footer .container {
        padding: 0 15px;
    }
    
    .floating-buttons {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-consultation {
        padding: 12px 20px;
        font-size: 12px;
    }
    
    .floating-map {
        width: 45px;
        height: 45px;
    }
    
    .page-content {
        padding: 40px 0;
    }
    
    .page-content .container {
        padding: 0 15px;
    }
    
    .two-column-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-column h2 {
        font-size: 24px;
    }
    
    .content-column .subtitle {
        font-size: 12px;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar {
        font-size: 11px;
    }
    
    .logo img {
        height: 45px;
        max-width: 200px;
    }
    
    .hero {
        min-height: 300px;
        padding: 30px 15px;
    }
    
    .hero h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .hero h3 {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .services {
        padding: 30px 0;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 13px;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h3 {
        font-size: 20px;
    }
    
    .cta-section .subtitle {
        font-size: 12px;
    }
    
    .about-section h3,
    .business-cta h3 {
        font-size: 20px;
    }
    
    .about-section .subtitle {
        font-size: 12px;
    }
    
    .why-hire-text h3 {
        font-size: 20px;
    }
    
    .why-hire-text p,
    .why-hire-text li {
        font-size: 14px;
    }
    
    .page-hero {
        min-height: 250px;
        padding: 40px 15px;
    }
    
    .page-hero h1 {
        font-size: 24px;
    }
    
    .content-column h2 {
        font-size: 20px;
    }
    
    .content-column p {
        font-size: 14px;
    }
    
    .footer-contact-box {
        padding: 20px;
    }
    
    .footer-contact-box h2 {
        font-size: 18px;
    }
    
    .floating-consultation {
        padding: 10px 15px;
        font-size: 11px;
    }
    
    .floating-map {
        width: 40px;
        height: 40px;
    }
}

/* Page Hero Section */
.page-hero {
    position: relative;
    background-image: url('/images/practice-areas.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accentTxt);
    text-align: center;
    padding: 80px 20px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 48px;
    color: var(--accentTxt);
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-us-hero {
    background-image: url('/images/about-us-hero.jpg');
}

.real-estate-hero {
    background-image: url('/images/real-estate.jpg');
}

.estate-planning-hero {
    background-image: url('/images/estate-planning.jpg');
}

.blog-hero {
    background-image: url('/images/practice-areas.jpg');
}

.blog-hero h1,
.blog-hero h1 a {
    color: #ffffff !important;
}

/* Page Content Styles */
.page-content {
    padding: 60px 0;
    background-color: var(--mainBkg);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

/* Two Column Content Layout */
.two-column-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-column h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--heads);
    font-weight: 700;
}

.content-column .subtitle {
    font-size: 14px;
    color: var(--heads);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.content-column p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.content-column ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-column li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.content-column .content-image {
    width: 100%;
    margin-bottom: 30px;
}

.content-column .content-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-column h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--heads);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.content-image {
    width: 100%;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--heads);
}

.content-text h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--heads);
}

.content-text .subtitle {
    font-size: 18px;
    color: var(--heads);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    margin-bottom: 30px;
    margin-top: -10px;
}

.content-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.content-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-text li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.content-text a {
    color: var(--links);
    text-decoration: underline;
}

/* Blog Styles */
.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-post h3 {
    font-size: 24px;
    color: var(--heads);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.blog-post strong {
    font-weight: 700;
    color: var(--heads);
}

.blog-post a {
    color: var(--links);
    text-decoration: underline;
}

.main-nav a.active {
    font-weight: 700;
    text-decoration: underline;
}

/* Contact Page Styles */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info-box {
    background-color: var(--itemBkg);
    padding: 25px;
    border-radius: 5px;
}

.contact-info-box h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--heads);
}

.contact-info-box p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.3;
    color: var(--text);
}

.contact-info-box strong {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 5px;
    color: var(--heads);
}

.contact-info-box p br:first-of-type {
    line-height: 0.6;
    display: block;
    margin-top: -3px;
}

.contact-info-box .after-hours {
    margin-top: 8px;
    margin-bottom: 15px;
}

.contact-info-box .btn {
    margin-top: 10px;
}

.contact-form-box {
    background-color: var(--mainBkg);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--heads);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--heads);
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--links);
}

.contact-form textarea {
    resize: vertical;
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.6;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Hide floating buttons and Google review widget on contact page */
body.contact-page .floating-buttons,
.contact-page .floating-buttons,
.contact-page .floating-consultation,
body.contact-page .floating-consultation {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

body.contact-page .google-review-widget,
.contact-page .google-review-widget,
.contact-page footer .google-review-widget,
.contact-page .footer-bottom .google-review-widget,
.contact-page .contact-form-box .google-review-widget,
body.contact-page .google-review-link,
.contact-page .google-review-link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Hide any buttons/links with specific text in contact form area */
.contact-page .contact-form-box a[href*="goo.gl"],
.contact-page .contact-form-box a[href*="maps"],
.contact-page .contact-form-box a:contains("review"),
.contact-page .contact-form-box a:contains("Google"),
.contact-page .contact-form-box button:contains("Schedule"),
.contact-page .contact-form-box a:contains("Schedule"),
.contact-page .contact-section a[href*="contact.html"],
.contact-page .contact-section button:contains("Schedule"),
.contact-page .contact-section a:contains("Schedule") {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
}

/* Hide any element containing "Click here to leave" or "SCHEDULE CONSULTATION" text */
.contact-page .contact-form-box *:not(script):not(style),
.contact-page .contact-section *:not(script):not(style) {
    /* This will be handled by JavaScript, but add CSS as backup */
}

.map-container {
    margin-top: 40px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Responsive for Page Content */
@media (max-width: 768px) {
    .content-section,
    .contact-section,
    .two-column-content {
        grid-template-columns: 1fr;
    }
    
    .content-image {
        order: -1;
    }
    
    .page-header h1,
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero {
        min-height: 250px;
        padding: 40px 20px;
    }
}

