/* Base Styles */
:root {
    --primary-color: #0c5324;
    --primary-dark: #084218;
    --secondary-color: #f9b242;
    --secondary-dark: #e69118;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --white: #ffffff;
    --error: #f44336;
    --success: #4caf50;
    --section-padding: 3rem 1rem;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
    padding: 0;
    margin: 0;
}

.container {
    max-width: none; /* Allow full width for hero section */
    margin: 0 auto;
    padding: 0; /* Remove padding for full-width sections */
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Add container for content sections that need max-width */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    padding: 1rem 0;
    text-align: center;
    background: white;
}

header .content-container {
    padding: 0 1rem;
}

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

/* Main Content */
main {
    flex: 1;
    padding: 0; /* Remove default padding for new full-width hero */
}

/* New Hero Section with Background Image */
.hero-section-new {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/michael-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 83, 36, 0.8), rgba(12, 83, 36, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subheading {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.trust-badges-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge-inline {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-divider {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary-hero {
    background: var(--secondary-color);
    color: #333;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 178, 66, 0.4);
}

.btn-primary-hero:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 178, 66, 0.6);
}

.phone-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.btn-phone {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-phone:hover {
    background: white;
    transform: translateY(-1px);
}

.phone-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-style: italic;
}

/* Before & After Section */
.before-after-section {
    padding: 3rem 1rem;
    background: white;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.before-after-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.before-after-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.before-after-item:hover img {
    transform: translateY(-5px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 3rem 1rem;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-stars {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subheading {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 2rem;
    }
    
    .before-after-gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    
    .trust-badges-inline {
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-section-new {
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

.intro {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

h2 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.hidden {
    display: none;
}

/* Photo Upload Section */
.photo-section {
    margin-bottom: 2rem;
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.photo-upload {
    margin: 1rem 0;
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--white);
    border: 2px dashed var(--medium-gray);
    border-radius: 8px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-label:hover {
    border-color: var(--primary-color);
}

.upload-label img {
    width: 24px;
    height: 24px;
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Status Message */
.status-message {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.status-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
    display: block;
}

.status-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
    display: block;
}

/* Loading Indicator */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    font-size: 0.9rem;
    color: var(--dark-gray);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Legal Page Styles */
.legal-content {
    max-width: 650px;
    margin: 0 auto;
    padding: 1rem;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.back-link {
    margin-top: 2rem;
    text-align: center;
}

.back-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Additional Landing Page Styles */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: var(--section-padding);
    position: relative;
}

.hero-section h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.badge {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge i {
    font-size: 1rem;
}

.btn-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.btn-call {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    font-weight: bold;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section {
    padding: var(--section-padding);
    border-bottom: 1px solid var(--medium-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.steps-list li {
    position: relative;
    padding: 1rem 1rem 1rem 3.5rem;
    margin-bottom: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.services-list li {
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    position: relative;
}

.services-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.note-text {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-style: italic;
    text-align: center;
    margin-top: 1.5rem;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

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

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

.service-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.faq-section {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background-color: var(--light-gray);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 200px;
}

.final-cta {
    background-color: var(--light-gray);
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 2rem;
}

.final-cta h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.footer-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-left,
.footer-right {
    flex: 1;
}

.footer-right {
    text-align: left;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .btn-container {
        flex-direction: row;
        max-width: 100%;
    }
    
    .services-list {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-columns {
        flex-direction: row;
    }
    
    .footer-right {
        text-align: right;
    }
    
    .social-icons {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .logo img {
        max-width: 220px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .photo-preview {
        justify-content: center;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .section {
        padding: 2rem 1rem;
    }
}