/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #8EA52B;
    --primary-light: #A8C73B;
    --primary-dark: #3B3D26;
    --text-dark: #3B3D26;
    --text-light: #5A5D44;
    --white: #ffffff;
    --light-bg: #F5F7EE;
    --border-color: #D4DDB8;
    --shadow: 0 4px 6px rgba(59, 61, 38, 0.1);
    --shadow-lg: 0 10px 30px rgba(59, 61, 38, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title .highlight {
    color: #8EA52B;
}

.services .section-title {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.logo-image {
    height: 70px;
    width: auto;
}

.logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 100px 0;
    background-color: var(--primary-dark);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
}

.hero-content {
    max-width: 100%;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.hero-cta .btn-primary {
    background-color: #8EA52B;
    color: var(--white);
    font-weight: 600;
}

.hero-cta .btn-primary:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.hero-badge {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.google-badge {
    max-width: 150px;
    height: auto;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.google-badge:hover {
    opacity: 1;
}

/* ===================================
   Trusted By Section
   =================================== */
.trusted-by {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.trusted-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.9;
    background-color: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(59, 61, 38, 0.08);
}

.logo-item:hover {
    transform: translateY(-5px);
    opacity: 1;
    box-shadow: 0 8px 20px rgba(59, 61, 38, 0.15);
}

.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

/* ===================================
   Problem Section
   =================================== */
.problem-section {
    padding: 80px 0;
    background-color: var(--white);
}

.problem-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.problem-content h2 .highlight {
    color: #8EA52B;
}

.problem-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.problem-highlight {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem !important;
    margin-top: 1.5rem;
}

.problem-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ===================================
   Why Us Section
   =================================== */
.why-us {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background-color: var(--primary-color);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    color: var(--white);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.why-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-card p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 80px 0;
    background-color: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Who We Help Section
   =================================== */
.who-we-help {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.practice-card {
    background-color: var(--primary-color);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    color: var(--white);
    display: block;
    text-decoration: none;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.practice-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.practice-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.practice-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===================================
   Local SEO Section
   =================================== */
.local-seo-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
}

.local-seo-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.local-seo-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.local-seo-content p {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.local-seo-benefits {
    list-style: none;
    margin-top: 2rem;
}

.local-seo-benefits li {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.local-seo-benefits i {
    color: var(--primary-light);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.local-seo-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ===================================
   Free Audit Section
   =================================== */
.audit-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.audit-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.audit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.audit-details {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.audit-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.audit-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.audit-list li {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audit-list i {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.audit-credibility {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: left;
    border-left: 4px solid var(--primary-color);
}

.audit-details .btn {
    width: 100%;
    font-size: 1.1rem;
}

.audit-image {
    width: 80%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--light-bg);
    color: var(--primary-dark);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(3px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .problem-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .local-seo-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .practices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trusted-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .audit-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 50px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .problem-content h2 {
        font-size: 1.6rem;
    }

    .local-seo-content h2 {
        font-size: 1.8rem;
    }

    .local-seo-benefits li {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .trusted-logos {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trusted-title {
        font-size: 1.5rem;
    }

    .logo-item img {
        max-height: 60px;
    }

    .audit-details {
        padding: 2rem 1.5rem;
    }

    .audit-intro {
        font-size: 1rem;
    }

    .audit-list li {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 40px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .why-card,
    .service-card,
    .practice-card {
        padding: 1.5rem;
    }
}
