/* ===================================
   CSS Variables
   =================================== */
:root {
    --primary-green: #2D8A5A;
    --dark-green: #236643;
    --light-green: #3a9f6d;
    --black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --border-gray: #e5e5e5;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
}

/* ===================================
   Header & Navigation
   =================================== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

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

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 100px;
    width: auto; 
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 0.7rem 1.8rem;
    border-radius: 6px;
    transition: background 0.3s, transform 0.3s;
}

.nav-cta:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--black);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="none" width="1200" height="600"/><circle cx="100" cy="100" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="250" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="150" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="1000" cy="400" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-green);
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border: 2px solid var(--white);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===================================
   Trust Badges
   =================================== */
.trust-section {
    background: var(--off-white);
    padding: 3rem;
    text-align: center;
}

.trust-badges {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.badge-icon {
    font-size: 2rem;
    color: var(--primary-green);
}

/* ===================================
   Sections
   =================================== */
section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(45, 138, 90, 0.15);
    border-color: var(--primary-green);
}

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

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===================================
   Why Choose Us
   =================================== */
.why-choose {
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.feature p {
    color: #666;
    line-height: 1.7;
}

/* ===================================
   Process Section
   =================================== */
.process-section {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--black);
}

.step p {
    color: #666;
    line-height: 1.7;
}

/* ===================================
   Testimonials
   =================================== */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h4 {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: #888;
    font-size: 0.9rem;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* ===================================
   Service Area Map
   =================================== */
.service-area {
    background: var(--off-white);
}

/* Coverage Checker Styles */
.coverage-checker {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-gray);
    margin-bottom: 3rem;
}

.coverage-checker h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.checker-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.checker-controls {
    max-width: 700px;
    margin: 0 auto;
}

.location-btn {
    width: 100%;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: background 0.3s, transform 0.3s;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
}

.location-btn:hover:not(:disabled) {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.location-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
}

.btn-icon i {
    line-height: 1;
}

.btn-text {
    font-size: 1rem;
}

.divider {
    text-align: center;
    position: relative;
    margin: 2rem 0;
}

.divider span {
    background: var(--white);
    padding: 0 1rem;
    color: #999;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-gray);
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Inter', sans-serif;
}

.address-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 138, 90, 0.1);
}

.address-input::placeholder {
    color: #aaa;
}

.check-btn {
    width: 100%;
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    font-family: 'Inter', sans-serif;
}

.check-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Coverage Result Styles */
.coverage-result {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coverage-result.success {
    background: #d4edda;
    border: 2px solid #28a745;
}

.coverage-result.error {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.result-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.result-address {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.result-message {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.result-cta {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.result-cta:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.result-cta.secondary {
    background: #ffc107;
    color: var(--black);
}

.result-cta.secondary:hover {
    background: #e0a800;
}

/* Google Places Autocomplete Dropdown Styling */
.pac-container {
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--border-gray);
}

.pac-item {
    padding: 10px 15px;
    font-size: 0.95rem;
    cursor: pointer;
}

.pac-item:hover {
    background: var(--off-white);
}

.pac-icon {
    margin-top: 6px;
}

#map {
    height: 550px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-gray);
}

.map-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.map-info h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.map-info p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
}

.coverage-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.coverage-item {
    background: var(--off-white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background: var(--off-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.contact-info p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-icon i {
    line-height: 1;
}

.contact-text h4 {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--black);
}

.contact-text p {
    color: #666;
    margin: 0;
}

.contact-text a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 138, 90, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.submit-button {
    width: 100%;
    background: var(--primary-green);
    color: var(--white);
    padding: 1.1rem;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.submit-button:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 3rem;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* ===================================
   Footer
   =================================== */
footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-about p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-gray);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-gray);
    text-align: center;
    color: #888;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

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

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

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

    /* Coverage Checker Mobile Styles */
    .coverage-checker {
        padding: 2rem 1.5rem;
    }

    .coverage-checker h3 {
        font-size: 1.6rem;
    }

    .location-btn {
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
    }

    .btn-icon {
        font-size: 1.2rem;
    }

    .btn-text {
        font-size: 0.95rem;
    }

    .address-input {
        padding: 1.1rem 1.2rem;
        font-size: 0.95rem;
    }

    .check-btn {
        padding: 1.1rem 1.5rem;
        font-size: 0.95rem;
    }

    .coverage-result {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .result-icon {
        font-size: 2rem;
        text-align: center;
    }

    .result-content h4 {
        font-size: 1.2rem;
    }

    .result-address {
        font-size: 0.95rem;
    }

    .result-message {
        font-size: 0.95rem;
    }

    .result-cta {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }

    #map {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .coverage-checker h3 {
        font-size: 1.4rem;
    }

    .checker-subtitle {
        font-size: 0.9rem;
    }

    .location-btn {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .divider {
        margin: 1.5rem 0;
    }

    #map {
        height: 350px;
    }
}
