:root {
    --color-primary: #8cc63f;
    /* Bright sunny green */
    --color-primary-dark: #5c8a24;
    --color-secondary: #006837;
    /* Deep forest green */
    --color-accent: #fcee21;
    /* Bright yellow for offers */
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    --color-bg-light: #f7f9f4;
    /* Very light hint of green */
    --color-brown: #a05a2c;
    /* Wood tone */

    --font-family: 'Nunito', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography & Base Classes */
h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-text-light);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.text-accent {
    color: var(--color-accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-secondary);
}

.btn-accent:hover {
    background-color: #ffda00;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

.btn-white {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-white:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 104, 55, 0.2);
}

.btn-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
    overflow: visible; /* CRITICAL: Allow logo to break out of navbar */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    padding-left: 320px; /* Room for the extra-wide desktop logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-35%); /* Pushing it down further */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: translateY(-50%) scale(1.05); /* Maintain centering during scale */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    font-size: 1.1rem;
    transition: color var(--transition-speed);
}

.nav-phone svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.nav-phone:hover {
    color: var(--color-primary-dark);
}

/* Hero Section */
/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center horizontally and vertically by default on mobile */
    position: relative;
    background-image: url('assets/new-hero.png');
    background-size: cover;
    background-position: center bottom;
    /* Anchor to bottom for mobile */
    background-attachment: scroll;
    padding-top: 6rem;
    padding-bottom: 2rem;
}

/* Improve fixed background for larger screens */
@media (min-width: 768px) {
    .hero {
        background-attachment: fixed;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
        background-position: center bottom;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 1rem;
    margin-top: 4rem;
    /* Push down to sit perfectly on his chest like the image */
    width: 100%;
    background: transparent;
    /* Remove container styling to match screenshot */
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
    /* Make main text huge */
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8), -2px -2px 0px rgba(0, 0, 0, 0.8), 2px -2px 0px rgba(0, 0, 0, 0.8), -2px 2px 0px rgba(0, 0, 0, 0.8), 0 4px 15px rgba(0, 0, 0, 0.6);
    /* Heavy stroke for readability */
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8), -1px -1px 0px rgba(0, 0, 0, 0.8), 1px -1px 0px rgba(0, 0, 0, 0.8), -1px 1px 0px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 600px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-btn {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    width: 100%;
    /* Full width button on mobile */
    padding: 1.2rem;
    font-size: 1.2rem;
    border-radius: var(--radius-full);
}

.hero-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8), -1px -1px 0px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero {
        background-image: url('assets/new-hero-mobile.png');
    }
}

@keyframes bounce-subtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Mobile Responsiveness for Navbar */
@media (max-width: 850px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 1.2rem 1rem; /* Increased top/bottom padding to fix cutoff */
        padding-left: 250px; /* Ensure space for the larger logo */
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 60px; /* Slightly smaller to fit cleanly */
        left: 5px;
        top: 50%; /* Re-center vertically within the taller navbar */
        transform: translateY(-50%); /* Re-enable pure centering */
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-phone {
        font-size: 1.15rem; /* Increased size for better readability on mobile */
    }

    .nav-phone svg {
        display: none;
    }

    .nav-cta {
        display: none;
    }
}

/* Common Section Styles */
.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.section:nth-child(even) {
    background-color: #ffffff;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-secondary);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service-icon svg {
    width: 4rem;
    height: 4rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

/* How It Works */
.how-it-works {
    background-color: var(--color-bg-light);
    /* Enforce background color to differentiate */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
    /* Center items on the vertical cross axis */
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed);
}

.step-card:hover .step-image {
    transform: scale(1.1) rotate(5deg);
}

.step-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1.2;
}

/* Pricing Calculator */
.pricing-calculator {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calculator-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 250px;
}

.input-group label {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.number-input {
    display: flex;
    align-items: center;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    border: 2px solid #e0e6d8;
}

.calc-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.calc-btn:hover {
    background: #e0e6d8;
}

.number-input input {
    flex: 1;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    border: none;
    background: transparent;
    appearance: none;
    -moz-appearance: textfield;
}

.number-input input::-webkit-outer-spin-button,
.number-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.select-input {
    width: 100%;
    padding: 1rem;
    padding-right: 2.5rem; /* Stop text from flowing under arrow */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    border: 2px solid #e0e6d8;
    border-radius: var(--radius-md);
    background-color: var(--color-bg-light);
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23006837%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.8rem auto;
}

.select-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.result-card {
    background: var(--color-bg-light);
    padding: 2rem 1rem;
    border-radius: var(--radius-md);
    border: 2px solid #e0e6d8;
    position: relative;
    transition: transform var(--transition-speed);
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-card.featured {
    border-color: var(--color-primary);
    background: #f4faeb;
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
    z-index: 1;
}

.result-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.result-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-secondary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.2rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.result-card h3 {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.price {
    color: var(--color-primary-dark);
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 800;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: #666;
    margin-left: 0.2rem;
    font-weight: 600;
}

.pricing-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
}

/* Special Offer Banner */
.offer {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background-color: #ffffff;
    /* Contrast with previous section */
}

.offer-banner {
    background: linear-gradient(135deg, var(--color-accent), #ffda00);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--color-text-dark);
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: transform var(--transition-speed);
}

.offer-banner:hover {
    transform: scale(1.02);
}

.offer-banner::before {
    content: '🐾';
    position: absolute;
    font-size: 10rem;
    opacity: 0.1;
    top: -20%;
    right: -5%;
    transform: rotate(15deg);
}

.offer-banner::after {
    content: '🐾';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    bottom: -10%;
    left: -5%;
    transform: rotate(-25deg);
}

.offer-banner h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.offer-banner p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* About Section */
.about {
    background-color: var(--color-bg-light);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--color-primary);
}

.about-avatar {
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.about-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-card {
    background: #ffffff;
    padding: clamp(2rem, 6vw, 4rem) 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.text-preferred {
    font-size: 0.95rem;
    color: #888888;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.contact-actions .btn {
    width: 100%;
    max-width: 300px;
}

@media (min-width: 600px) {
    .contact-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* How It Works */
.how-it-works {
    background-color: #ffffff;
}

.hiw-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #666;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hiw-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(140, 198, 63, 0.15);
    transition: all var(--transition-speed);
    text-align: center;
}

.hiw-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.hiw-image-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(140, 198, 63, 0.2);
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.hiw-card:hover .hiw-image-wrap {
    transform: scale(1.08) rotate(3deg);
}

.hiw-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(1.25);
}

.hiw-step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.3rem 1.2rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.hiw-step-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}

.hiw-step-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.hiw-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hiw-cta-sub {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.hiw-cta-sub a {
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: underline;
}

.hiw-cta-sub a:hover {
    color: var(--color-primary);
}

/* Footer */
.footer {
    background-color: var(--color-text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    font-size: 0.9rem;
}