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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    text-decoration: none;
    color: #10B981;
    transition: color 0.3s ease;
}

a:hover {
    color: #059669;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #10B981;
    color: white;
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background-color: #6B7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4B5563;
}

.btn-outline {
    background-color: transparent;
    color: #10B981;
    border: 2px solid #10B981;
}

.btn-outline:hover {
    background-color: #10B981;
    color: white;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10B981;
}

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

.nav-link {
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #10B981;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content h1 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

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

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

.hero-img {
    max-width: 100%;
    height: auto;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-icon .icon {
    width: 60px;
    height: 60px;
}

.service-title {
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-description {
    color: #6B7280;
}

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10B981;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6B7280;
    font-size: 0.875rem;
}

.about-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.about-img {
    max-width: 100%;
    height: auto;
}

/* Blog Section */
.blog {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

.blog-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-img {
    width: 80px;
    height: 80px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title a {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.3;
}

.blog-title a:hover {
    color: #10B981;
}

.blog-excerpt {
    color: #6B7280;
    margin: 0.5rem 0 1rem;
    font-size: 0.875rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #9CA3AF;
}

.blog-category {
    background-color: #10B981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
}

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

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-avatar {
    margin-bottom: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.testimonial-text {
    font-style: italic;
    color: #6B7280;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.author-name {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-location {
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

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

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

.contact-icon .icon {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

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

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-title {
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

/* Footer */
.footer {
    background-color: #1f2937;
    color: 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: white;
    margin-bottom: 1rem;
}

.footer-title {
    color: #10B981;
}

.footer-description {
    color: #9CA3AF;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #10B981;
}

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

.social-link {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #10B981;
}

.footer-contact p {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: white;
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.modal-header h2 {
    margin: 0;
    color: #1f2937;
}

.close {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #6B7280;
}

.close:hover {
    color: #1f2937;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #E5E7EB;
    text-align: right;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category div {
    flex: 1;
    margin-right: 1rem;
}

.cookie-category h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.cookie-category p {
    color: #6B7280;
    font-size: 0.875rem;
    margin: 0;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #10B981;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Legal Pages */
.legal-content {
    padding: 8rem 0 4rem;
    background-color: #f9fafb;
}

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

.legal-date {
    color: #6B7280;
    font-style: italic;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legal-text h2 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #10B981;
}

.legal-text h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: #6B7280;
}

.contact-box {
    background-color: #f0f9ff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #10B981;
}

.legal-navigation {
    text-align: center;
    margin-top: 2rem;
}

.cookie-table {
    margin: 1rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.cookie-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Thank You Page */
.thank-you {
    padding: 8rem 0 4rem;
    background-color: #f9fafb;
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-title {
    color: #1f2937;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 3rem;
}

.next-steps {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 3rem 0;
}

.next-steps h2 {
    color: #1f2937;
    margin-bottom: 2rem;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step p {
    color: #6B7280;
    font-size: 0.875rem;
    margin: 0;
}

.contact-info-box {
    background-color: #f0f9ff;
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.contact-info-box h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.phone-link,
.email-link {
    color: #10B981;
    font-weight: 600;
    font-size: 1.125rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Blog Article Pages */
.blog-article {
    padding: 8rem 0 4rem;
    background-color: #f9fafb;
}

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-category {
    background-color: #10B981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

.article-date {
    color: #6B7280;
}

.article-title {
    color: #1f2937;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.article-image {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.article-img {
    width: 120px;
    height: 120px;
}

.article-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-body {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.article-body h2 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #10B981;
}

.article-body h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body h4 {
    color: #4B5563;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.article-body ul,
.article-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: #6B7280;
}

.article-body strong {
    color: #1f2937;
}

.cta-box {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    margin: 2rem 0;
}

.cta-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-box .btn {
    background-color: white;
    color: #10B981;
}

.cta-box .btn:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-box,
.related-articles,
.contact-box,
.checklist-box,
.calculator-box,
.financing-comparison {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.author-box h4,
.related-articles h4,
.contact-box h4,
.checklist-box h4,
.calculator-box h4,
.financing-comparison h4 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.related-articles ul,
.checklist ul {
    list-style: none;
    margin: 0;
}

.related-articles li,
.checklist li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: #6B7280;
    font-size: 0.875rem;
}

.related-articles a:hover {
    color: #10B981;
}

.checklist {
    list-style: none;
}

.checklist li {
    color: #6B7280;
    font-size: 0.875rem;
}

.checklist h5 {
    color: #1f2937;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

.financing-comparison table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.financing-comparison td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.financing-comparison tr:last-child td {
    border-bottom: none;
}

.cost-calculator ul {
    list-style: none;
    margin: 0;
}

.cost-calculator li {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: #6B7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: 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;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .article-content {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        padding: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .services,
    .about,
    .blog,
    .testimonials,
    .contact {
        padding: 2rem 0;
    }
    
    .legal-content,
    .thank-you,
    .blog-article {
        padding: 6rem 0 2rem;
    }
    
    .legal-text,
    .article-body {
        padding: 1.5rem;
    }
    
    .next-steps {
        padding: 2rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .modal,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .article-content {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        display: none;
    }
}
