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

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #0284c7;
    --accent-color: #22c55e;
    --tertiary-color: #16a34a;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f0f9ff;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 16px;
    min-font-size: 14px;
}

p, li, td, th, span, small {
    font-size: max(14px, 1rem);
}

/* Ensure all text is at least 14px */
* {
    min-font-size: 14px;
}

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

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    border-radius: 50%;
    object-fit: contain;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--tertiary-color));
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    width: 100%;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-summary {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.25s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.hero-summary h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.key-points {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.key-points li {
    font-size: 1.1rem;
    color: var(--white);
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: max(14px, 0.9rem);
    font-weight: 500;
}

.cta-button {
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.services-summary {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.services-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.services-table th,
.services-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.services-table th {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: bold;
}

.services-table tr:hover {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.service-card .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.answer-first {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.1);
}

.answer-first h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.answer-first p {
    margin: 0;
    font-weight: 500;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about .container {
    padding: 0 1rem;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
}

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

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

.credentials {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.credentials h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.credentials ul {
    list-style: none;
    padding: 0;
}

.credentials li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.service-areas {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-areas h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.service-areas li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-areas li:before {
    content: '📍';
    position: absolute;
    left: 0;
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background: var(--white);
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-summary {
    display: inline-block;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-summary p {
    color: var(--text-light);
    margin: 0;
}

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

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-stars {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

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

.review-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    color: var(--text-light);
    font-weight: 500;
    text-align: right;
}

.review-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.review-cta p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.contact-item {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.call-now {
    color: var(--accent-color);
    font-weight: bold;
    font-size: max(14px, 0.9rem);
    margin-top: 0.5rem;
}

.service-note {
    color: var(--text-light);
    font-size: max(14px, 0.9rem);
    margin-top: 0.5rem;
}

.hours {
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 0.5rem;
}


/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    padding: 0.25rem 0;
    color: #d1d5db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .about-text {
        padding: 0 1rem;
    }

    .credentials,
    .service-areas {
        margin: 0 1rem;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

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

    .hero-content {
        padding: 0 1rem;
    }

    .hero-summary {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

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

    .hero-badges {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .services h2,
    .about h2,
    .faq h2,
    .contact h2 {
        font-size: 2rem;
    }

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

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

    .rating-summary {
        padding: 1.5rem;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

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

    .services-table {
        font-size: max(14px, 0.9rem);
    }

    .services-table th,
    .services-table td {
        padding: 0.5rem;
    }

    .hero-badges {
        flex-direction: column;
        gap: 0.25rem;
    }

    .badge {
        font-size: 14px;
        padding: 0.25rem 0.75rem;
    }

    .hero-summary {
        padding: 1rem;
    }

    .hero-summary h2 {
        font-size: 1.2rem;
    }

    .logo h1 {
        font-size: 1rem;
    }

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

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading styles */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}