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

:root {
    /* Colors using HSL format */
    --primary-color: 215 25% 27%; /* #3A4C5C - Professional blue-gray */
    --primary-light: 215 35% 45%; /* #5A7491 */
    --primary-dark: 215 30% 20%; /* #2C3A47 */
    --secondary-color: 35 85% 55%; /* #E67E22 - Construction orange */
    --secondary-light: 35 85% 65%; /* #F39C12 */
    --secondary-dark: 35 85% 45%; /* #D35400 */
    --background: 210 11% 98%; /* #F5F7FA */
    --surface: 0 0% 100%; /* #FFFFFF */
    --text-primary: 220 13% 18%; /* #2C3E50 */
    --text-secondary: 215 15% 35%; /* #555C69 */
    --text-muted: 210 10% 50%; /* #7F8C8D */
    --border: 210 14% 89%; /* #E1E8ED */
    --shadow: 215 25% 27% / 0.1; /* Semi-transparent primary */
    --success: 142 76% 36%; /* #27AE60 */
    --warning: 35 85% 55%; /* #E67E22 */
    --danger: 354 70% 54%; /* #E74C3C */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

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

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

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: hsl(var(--text-secondary));
    margin-bottom: 2rem;
}

/* Links */
a {
    color: hsl(var(--primary-color));
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: hsl(var(--secondary-color));
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: hsl(var(--secondary-color));
    color: white;
    border-color: hsl(var(--secondary-color));
}

.btn-primary:hover {
    background-color: hsl(var(--secondary-dark));
    border-color: hsl(var(--secondary-dark));
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: hsl(var(--primary-color));
    color: white;
    border-color: hsl(var(--primary-color));
}

.btn-secondary:hover {
    background-color: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
    color: white;
    transform: translateY(-2px);
}

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

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

/* Header */
.header {
    background-color: hsl(var(--surface));
    box-shadow: 0 2px 10px hsl(var(--shadow));
    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;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: hsl(var(--primary-color));
}

.logo {
    height: 40px;
    margin-right: 10px;
}

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

.nav-menu li a {
    color: hsl(var(--text-primary));
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: hsl(var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--primary-color));
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--surface)) 100%);
}

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

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

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: hsl(var(--text-secondary));
}

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

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

/* Sections */
.services, .about-section, .team, .testimonials, .blog-section, .contact {
    padding: 80px 0;
}

.services {
    background-color: hsl(var(--surface));
}

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

.services h2, .about-section h2, .team h2, .testimonials h2, .blog-section h2, .contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: hsl(var(--primary-color));
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px hsl(var(--shadow));
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px hsl(var(--shadow));
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

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

.service-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-card ul li {
    padding: 0.25rem 0;
    color: hsl(var(--text-secondary));
}

.service-card ul li::before {
    content: '✓';
    color: hsl(var(--success));
    font-weight: bold;
    margin-right: 0.5rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: hsl(var(--secondary-color));
    margin-bottom: 0.5rem;
}

.stat p {
    color: hsl(var(--text-secondary));
}

/* Team Section */
.team {
    background-color: hsl(var(--background));
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.team-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature h4 {
    color: hsl(var(--primary-color));
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px hsl(var(--shadow));
    display: flex;
    gap: 1rem;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.stars {
    color: hsl(var(--secondary-color));
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content h4 {
    color: hsl(var(--primary-color));
    margin-bottom: 0.25rem;
}

.testimonial-content span {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
    background-color: hsl(var(--background));
}

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

.blog-card {
    background-color: hsl(var(--surface));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px hsl(var(--shadow));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px hsl(var(--shadow));
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

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

.blog-content h3 a {
    color: hsl(var(--primary-color));
}

.blog-content h3 a:hover {
    color: hsl(var(--secondary-color));
}

.read-more {
    color: hsl(var(--secondary-color));
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

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

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: hsl(var(--primary-color));
    display: block;
    margin-bottom: 0.5rem;
}

.social-media {
    margin-top: 2rem;
}

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

.social-links a {
    font-size: 1.5rem;
    padding: 0.5rem;
    background-color: hsl(var(--background));
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: hsl(var(--text-primary));
}

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

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

/* Footer */
.footer {
    background-color: hsl(var(--primary-color));
    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-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: hsl(var(--secondary-color));
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--primary-color));
    color: white;
    padding: 1.5rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

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

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-category input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

/* Page-specific styles */
.page-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--primary-light)) 100%);
    color: white;
    text-align: center;
}

.page-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.last-updated {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* Legal pages */
.legal-page {
    padding-top: 80px;
}

.legal-content {
    padding: 3rem 0;
}

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

.content-wrapper h2 {
    color: hsl(var(--primary-color));
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper h3 {
    color: hsl(var(--primary-light));
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-wrapper ul, .content-wrapper ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: hsl(var(--surface));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px hsl(var(--shadow));
}

.cookies-table th,
.cookies-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid hsl(var(--border));
}

.cookies-table th {
    background-color: hsl(var(--primary-color));
    color: white;
    font-weight: 600;
}

.cookie-settings {
    margin: 2rem 0;
    text-align: center;
}

/* About page */
.about-page {
    padding-top: 80px;
}

.company-story, .company-mission, .team-detailed, .certifications, .company-achievements, .cta-section {
    padding: 3rem 0;
}

.story-content, .mission-content {
    margin-top: 2rem;
}

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

.values-list {
    list-style: none;
    margin-top: 1rem;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--success));
    font-weight: bold;
}

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

.mission-card {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px hsl(var(--shadow));
}

.mission-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.stat-item {
    text-align: center;
    background-color: hsl(var(--background));
    padding: 1.5rem;
    border-radius: 8px;
}

.stat-item h4 {
    font-size: 2rem;
    color: hsl(var(--secondary-color));
    margin-bottom: 0.5rem;
}

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

.cert-item {
    background-color: hsl(var(--surface));
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px hsl(var(--shadow));
    text-align: center;
}

.cert-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.achievement {
    text-align: center;
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px hsl(var(--shadow));
}

.achievement h3 {
    font-size: 2.5rem;
    color: hsl(var(--secondary-color));
    margin-bottom: 0.5rem;
}

.cta-content {
    text-align: center;
    background-color: hsl(var(--surface));
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px hsl(var(--shadow));
}

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

/* Thanks page */
.thanks-page {
    padding-top: 80px;
}

.thanks-hero {
    padding: 3rem 0;
    text-align: center;
}

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

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: hsl(var(--text-secondary));
}

.next-steps {
    margin: 3rem 0;
}

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

.step {
    text-align: center;
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px hsl(var(--shadow));
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: hsl(var(--secondary-color));
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-info-thanks {
    background-color: hsl(var(--background));
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

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

.emergency-note {
    margin-top: 1rem;
    font-style: italic;
    color: hsl(var(--text-muted));
}

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

.additional-info {
    padding: 3rem 0;
    background-color: hsl(var(--background));
}

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

.info-card {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px hsl(var(--shadow));
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonials-thanks {
    padding: 3rem 0;
}

/* Blog page */
.blog-page {
    padding-top: 80px;
}

.blog-content {
    padding: 3rem 0;
}

.blog-grid-full {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-card-full {
    background-color: hsl(var(--surface));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px hsl(var(--shadow));
    margin-bottom: 2rem;
}

.blog-card-full img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.blog-category {
    display: inline-block;
    background-color: hsl(var(--secondary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.reading-time {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

.blog-sidebar {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    box-shadow: 0 5px 20px hsl(var(--shadow));
}

.sidebar-widget {
    margin-bottom: 2rem;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

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

.categories {
    list-style: none;
}

.categories li {
    margin-bottom: 0.5rem;
}

.categories li a {
    color: hsl(var(--text-secondary));
    transition: color 0.3s ease;
}

.categories li a:hover {
    color: hsl(var(--secondary-color));
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-post h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.popular-post h4 a {
    color: hsl(var(--text-primary));
}

.popular-post h4 a:hover {
    color: hsl(var(--secondary-color));
}

.post-date {
    color: hsl(var(--text-muted));
    font-size: 0.8rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 10px;
    border: 2px solid hsl(var(--border));
    border-radius: 4px;
}

.newsletter-form button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: hsl(var(--background));
    color: hsl(var(--text-secondary));
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: hsl(var(--secondary-color));
    color: white;
}

/* Article pages */
.article-page {
    padding-top: 80px;
}

.article-content {
    padding: 3rem 0;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

.breadcrumb a {
    color: hsl(var(--text-muted));
}

.breadcrumb a:hover {
    color: hsl(var(--secondary-color));
}

.article-category {
    display: inline-block;
    background-color: hsl(var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.article-date, .reading-time, .article-author {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

.article-image {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px hsl(var(--shadow));
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: hsl(var(--background));
    border-radius: 12px;
    border-left: 4px solid hsl(var(--secondary-color));
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--primary-color));
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: hsl(var(--primary-light));
}

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

.article-body li {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
}

.article-tags {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: hsl(var(--background));
    border-radius: 12px;
}

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

.article-share {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: hsl(var(--surface));
    border-radius: 12px;
    box-shadow: 0 5px 20px hsl(var(--shadow));
    text-align: center;
}

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

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

.share-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background-color: #1877f2;
    color: white;
}

.share-btn.linkedin {
    background-color: #0077b5;
    color: white;
}

.share-btn.email {
    background-color: hsl(var(--text-muted));
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.related-articles {
    padding: 3rem 0;
    background-color: hsl(var(--background));
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: hsl(var(--surface));
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px hsl(var(--shadow));
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .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-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

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

    .stats, .team-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

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

    .blog-grid-full {
        grid-template-columns: 1fr;
    }

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

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

    .cta-buttons, .action-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

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

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .page-hero h1 {
        font-size: 2.5rem;
    }
}

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

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

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

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

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

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

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

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInFromLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInFromRight 0.6s ease-out;
}

/* Print styles */
@media print {
    .header, .footer, .cookie-banner, .cookie-modal {
        display: none !important;
    }
    
    .article-page, .legal-page {
        padding-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .article-content, .legal-content {
        padding: 0;
    }
}
