/* CSS Custom Properties */
:root {
    --primary-color: #2e7d32;
    --primary-light: #4caf50;
    --primary-dark: #1b5e20;
    --secondary-color: #ff9800;
    --accent-color: #4caf50;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #ffffff;
    --background: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #263238;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --border-radius-large: 16px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: #e68900;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-dark);
    color: var(--text-light);
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: var(--transition);
}

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

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background: var(--background);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: var(--header-height);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e8 100%);
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

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

/* Page Header */
.page-header {
    padding: calc(var(--header-height) + 40px) 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    text-align: center;
}

.page-header.legal {
    background: linear-gradient(135deg, var(--background-dark) 0%, #37474f 100%);
}

.page-header h1 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.header-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: var(--background-light);
}

/* Services */
.services-preview,
.main-services {
    text-align: center;
}

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

.service-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card.detailed {
    text-align: left;
}

.service-card.detailed ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-card.detailed li {
    list-style: disc;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

/* About Section */
.about-preview,
.company-story,
.values,
.team {
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    text-align: left;
}

.about-text ul {
    margin: 30px 0;
    padding-left: 20px;
}

.about-text li {
    list-style: disc;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* Timeline */
.timeline {
    margin-top: 60px;
    text-align: left;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-content h3 {
    margin-bottom: 10px;
}

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

.value-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    text-align: left;
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Cities */
.cities {
    text-align: center;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.city-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.city-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Process Steps */
.process {
    text-align: center;
}

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

.step {
    text-align: center;
}

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

/* Additional Services */
.additional-services {
    text-align: center;
}

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

.additional-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.additional-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Pricing */
.pricing {
    text-align: center;
}

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

.pricing-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card h3 {
    margin-bottom: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card li {
    list-style: disc;
    margin-bottom: 10px;
    margin-left: 20px;
    color: var(--text-secondary);
}

.pricing-note {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials-grid {
    text-align: center;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.customer-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.customer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Satisfaction Stats */
.satisfaction-stats {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Case Studies */
.case-studies {
    text-align: center;
}

.case-study {
    background: var(--background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 40px;
    text-align: left;
}

.case-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.case-stats {
    display: grid;
    gap: 20px;
}

.case-stat {
    text-align: center;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Video Testimonials */
.video-testimonials {
    text-align: center;
}

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

.video-card {
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.video-placeholder {
    height: 200px;
    background: var(--background-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-secondary);
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: 10px;
}

.video-card h3 {
    padding: 20px;
    margin: 0;
}

/* Blog */
.featured-article {
    text-align: center;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.featured-text {
    text-align: left;
}

.featured-label {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-block;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.article-card {
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: left;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 30px;
}

.article-category {
    background: var(--primary-light);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: inline-block;
}

.article-link {
    color: var(--primary-color);
    font-weight: 500;
}

.article-link:hover {
    text-decoration: underline;
}

/* Newsletter */
.newsletter {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.newsletter h2 {
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 30px auto 0;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-disclaimer {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Blog Categories */
.blog-categories {
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.category-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
}

.category-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Contact */
.contact-form-section {
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    text-align: left;
}

.contact-benefits {
    margin-top: 40px;
}

.benefit {
    margin-bottom: 20px;
}

.benefit h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-form {
    background: var(--background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Forms */
.form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Contact Info */
.contact-info-section {
    text-align: center;
}

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

.office-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.office-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.office-details p {
    margin-bottom: 15px;
}

/* FAQ */
.faq-section,
.faq-preview {
    text-align: center;
}

.faq-grid,
.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.faq-item {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Emergency Contact */
.emergency-contact {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.emergency-contact h2 {
    color: var(--text-light);
}

.emergency-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.emergency-number a,
.emergency-email a {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Review Form */
.review-form {
    text-align: center;
}

.review-form .form {
    background: var(--background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-text {
    line-height: 1.8;
}

.legal-text h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.legal-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-text li {
    list-style: disc;
    margin-bottom: 10px;
}

/* Cookie Settings */
.cookie-settings {
    text-align: center;
}

.cookie-controls {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.cookie-category {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.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: 0.4s;
    border-radius: 34px;
}

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

input:checked + .slider {
    background-color: var(--primary-color);
}

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

.cookie-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

/* Tables */
.funding-table,
.cookie-table {
    margin: 30px 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

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

th {
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
}

tr:hover {
    background: var(--background-light);
}

/* Article Pages */
.article-header {
    padding: calc(var(--header-height) + 40px) 0 60px;
    background: var(--background-light);
    text-align: center;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
}

.article-content {
    padding: 80px 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-body {
    line-height: 1.8;
}

.article-body h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.article-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    list-style: disc;
    margin-bottom: 10px;
}

.calculation-box {
    background: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
}

.author-box {
    background: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.share-buttons {
    margin: 40px 0;
}

.share-buttons h3 {
    margin-bottom: 20px;
}

.share-btn {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    margin-right: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-dark);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
}

.sidebar-widget {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article {
    padding: 15px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.related-article:hover {
    background: var(--border-color);
}

.related-article h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.related-article span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.categories a {
    color: var(--text-secondary);
    padding: 5px 0;
    transition: var(--transition);
}

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

.cta-widget {
    background: var(--primary-color);
    color: var(--text-light);
}

.cta-widget h3 {
    color: var(--text-light);
}

.cta-widget p {
    color: rgba(255,255,255,0.9);
}

.simple-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.simple-form label {
    font-weight: 500;
    margin-bottom: 5px;
}

.simple-form input,
.simple-form select {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.calculation-result {
    padding: 15px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    margin-top: 15px;
    font-weight: 500;
}

/* Comments */
.comments-section {
    background: var(--background-light);
    padding: 60px 0;
    text-align: center;
}

.comment-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: left;
}
.green{
    background:#1b5e20!important;
}
/* Thank You Page */
.thank-you-section {
    padding: calc(var(--header-height) + 60px) 0 80px;
    text-align: center;
}

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

.thank-you-icon {
    margin-bottom: 30px;
}

.next-steps {
    margin: 60px 0;
}

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

.step {
    text-align: center;
}

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

.contact-info {
    background: var(--background-light);
    padding: 40px;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

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

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.confirmation-details {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin: 40px 0;
}

.form-summary {
    margin-top: 20px;
}

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

.summary-item {
    text-align: left;
}

/* Helpful Resources */
.helpful-resources {
    background: var(--background-light);
    text-align: center;
}

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

.resource-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Social Proof */
.social-proof {
    text-align: center;
}

.testimonials-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonials-preview .testimonial-card {
    text-align: center;
}

.testimonials-link {
    margin-top: 40px;
}

/* Newsletter Signup */
.newsletter-signup {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.newsletter-signup h2 {
    color: var(--text-light);
}

/* Navigation Actions */
.navigation-actions {
    text-align: center;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* CTA Section */
.cta {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.cta h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta .btn-primary {
    background: var(--text-light);
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: var(--background-light);
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .featured-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--background);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .timeline-year {
        font-size: 1.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .emergency-info {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero {
        padding: calc(var(--header-height) + 40px) 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid,
    .articles-grid,
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .hero-buttons .btn,
    .btn-large {
        padding: 14px 24px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .funding-table,
    .cookie-table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .footer,
    .btn,
    .cta,
    .share-buttons {
        display: none !important;
    }
    
    .page-header {
        background: none !important;
        color: var(--text-primary) !important;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
