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

:root {
    --purple: #7c3aed;
    --purple-dark: #5b21b6;
    --purple-light: #a78bfa;
    --black: #0f172a;
    --white: #ffffff;
    --gray-light: #f1f5f9;
    --gray: #64748b;
    --gray-dark: #334155;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

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

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--purple);
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--purple);
}

.btn-call {
    background-color: var(--purple);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--black);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(15, 23, 42, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

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

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--gray-light);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--purple);
    color: var(--purple);
}

.btn-outline:hover {
    background-color: var(--purple);
    color: var(--white);
}

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

.btn-light-outline:hover {
    background-color: var(--white);
    color: var(--purple);
}

.btn-emergency {
    background-color: #dc2626;
    color: var(--white);
}

.btn-emergency:hover {
    background-color: #b91c1c;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.bg-light {
    background-color: var(--gray-light);
}

.bg-purple {
    background-color: var(--purple);
    color: var(--white);
}

.bg-purple .section-title,
.bg-purple .section-subtitle {
    color: var(--white);
}

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

.service-card,
.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.service-card img,
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3,
.blog-card h3 {
    color: var(--purple);
    margin: 1rem 1.5rem 0.5rem;
}

.service-card p,
.blog-card p {
    margin: 0 1.5rem 1rem;
    color: var(--gray-dark);
}

.blog-card .blog-content h3 {
    font-size: 1.1rem;
}

.btn-link {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
    margin: 0 1.5rem 1.5rem;
    display: inline-block;
}

.btn-link:hover {
    color: var(--purple-dark);
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.page-header {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-detail {
    padding: 4rem 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-detail-content h2 {
    color: var(--purple);
    margin-bottom: 1rem;
}

.service-detail-content h3 {
    color: var(--black);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-detail-content ul {
    margin: 1rem 0 1rem 2rem;
}

.service-detail-content li {
    margin: 0.5rem 0;
}

.pricing-info {
    max-width: 900px;
    margin: 0 auto;
}

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

.factor {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.factor h3 {
    margin-bottom: 0.5rem;
}

.quote-cta {
    text-align: center;
    margin-top: 3rem;
}

.quote-cta h3 {
    margin-bottom: 1rem;
}

.reviews-stats {
    background: var(--gray-light);
    padding: 3rem 0;
}

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

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--purple);
}

.stat-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.review-cta {
    max-width: 600px;
    margin: 0 auto;
}

.review-note {
    color: var(--gray);
    margin: 1rem 0;
}

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

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-method h3 {
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: var(--purple);
    text-decoration: none;
}

.text-small {
    font-size: 0.9rem;
    color: var(--gray);
}

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

.quote-info h2,
.contact-info-block h2,
.contact-form-block h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.bg-purple .quote-info h2,
.bg-purple .quote-info h3 {
    color: var(--white);
}

.contact-details,
.business-hours {
    margin: 2rem 0;
}

.contact-details h3,
.business-hours h3 {
    margin-bottom: 1rem;
}

.contact-item {
    margin: 1rem 0;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
}

.quote-form,
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form-block h2 {
    color: var(--black);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.blog-listing .blog-post {
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.blog-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-post-content {
    padding: 2rem;
}

.blog-post-content h2 {
    color: var(--purple);
    margin-bottom: 1rem;
}

.blog-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.blog-post-content h3 {
    color: var(--black);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-post-content p {
    margin-bottom: 1rem;
}

.blog-post-content ul {
    margin: 1rem 0 1rem 2rem;
}

.blog-post-content li {
    margin: 0.5rem 0;
}

.blog-post-content a {
    color: var(--purple);
    font-weight: 600;
}

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

.cta-section h2 {
    margin-bottom: 1rem;
}

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

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--purple-light);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 0.5rem 0;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray);
}

.footer-bottom a {
    color: var(--gray);
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

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

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

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

    .service-detail-grid,
    .quote-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-grid.reverse {
        direction: ltr;
    }

    .blog-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero {
        height: 400px;
    }
}
