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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #27ae60;
    --accent-color: #3498db;
    --dark-bg: #34495e;
    --light-bg: #ecf0f1;
    --text-color: #333;
    --light-text: #7f8c8d;
    --border-color: #ddd;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f4f4;
}

/* Navigation Styles */
nav {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem 0;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.nav-link:hover {
    background-color: var(--dark-bg);
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-bg);
    min-width: 200px;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

.nav-item:hover .dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    display: block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.dropdown-link:hover {
    background-color: var(--primary-color);
}

.arrow::after {
    content: " ▼";
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="%232c3e50"/><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin: -20px -20px 40px -20px;
    border-radius: 0 0 10px 10px;
}

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

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

/* Section Styles */
.section {
    background-color: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.section h3 {
    color: var(--primary-color);
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

/* Info Box */
.info-box {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-color);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Property Types Grid */
.property-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.property-type {
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.property-type:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Included Items */
.included-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.included-item {
    background-color: white;
    padding: 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Frequency Options */
.frequency-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.frequency-card {
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.frequency-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.frequency-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.discount {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Form Styles */
.form-intro {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.required {
    color: var(--error-color);
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    margin-top: 30px;
    transition: all 0.3s;
}

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

/* Page Styles */
.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Price Table */
.price-section {
    margin: 30px 0;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.price-table th,
.price-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: left;
}

.price-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.price-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.price-table tbody tr:hover {
    background-color: #e3f2fd;
}

.highlight-row {
    background-color: #e8f5e9 !important;
}

.price-highlight {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.price-highlight p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 30px 0;
}

.cta-box h3 {
    color: white;
    margin-bottom: 15px;
}

.cta-box .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta-box .btn:hover {
    background-color: #f8f9fa;
}

/* Checklist Styles */
.checklist-section {
    margin: 30px 0;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.checklist li:last-child {
    border-bottom: none;
}

/* Invoice Info */
.invoice-info {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.invoice-info h3 {
    margin-top: 0;
}

.invoice-info ol {
    margin-left: 20px;
}

.invoice-info ol li {
    margin: 10px 0;
}

.payment-methods {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.payment-methods li {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

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

.contact-item {
    margin: 20px 0;
}

.contact-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.map-section {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

/* Service Area List */
.service-area-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-area-list li {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-content p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown {
        position: static;
        width: 100%;
        display: none;
        opacity: 1;
        transform: none;
        background-color: var(--dark-bg);
    }

    .nav-item:hover .dropdown {
        display: none;
    }

    .dropdown.active {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .frequency-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .section {
        padding: 20px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .price-table {
        font-size: 0.9rem;
    }

    .price-table th,
    .price-table td {
        padding: 10px 5px;
    }
}

/* Highlight no-minimum cities */
.no-minimum {
    font-weight: bold;
    color: var(--secondary-color);
}

.service-area-list .no-minimum::after {
    content: "*";
    color: var(--secondary-color);
    margin-left: 2px;
}

/* Add these styles to your existing styles.css file */

/* Highlight no-minimum cities */
.no-minimum {
    font-weight: bold;
    color: var(--secondary-color);
}

.service-area-list .no-minimum::after {
    content: "*";
    color: var(--secondary-color);
    margin-left: 2px;
}

/* Make phone and email clickable with hover effects */
.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Footer link styling */
footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
}

/* Add this to your styles.css file to fix mobile navigation */

/* Mobile Navigation Fixes */
@media (max-width: 768px) {

    /* Ensure dropdown is visible when active */
    .dropdown {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background-color: #34495e !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .dropdown.active {
        display: block !important;
    }

    /* Make dropdown links clearly clickable */
    .dropdown-link {
        display: block !important;
        padding: 12px 30px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background-color: #34495e;
    }

    .dropdown-link:active,
    .dropdown-link:focus {
        background-color: #2c3e50 !important;
    }

    /* Ensure nav menu is above everything */
    .nav-menu {
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex !important;
    }

    /* Remove hover effects on mobile */
    .nav-item:hover .dropdown {
        display: none;
    }

    .nav-item .dropdown.active {
        display: block !important;
    }

    /* Add visual indicator for dropdown parent */
    .dropdown-parent .nav-link.arrow::after {
        content: " ▼";
        font-size: 0.8rem;
        margin-left: 5px;
        transition: transform 0.3s;
    }

    .dropdown-parent .nav-link.active::after {
        transform: rotate(180deg);
    }

    /* Ensure touch targets are large enough */
    .nav-link,
    .dropdown-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}