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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

h1 {
    font-size: 2.5rem;
    color: #1a365d;
}

h2 {
    font-size: 2rem;
    color: #2d3748;
}

h3 {
    font-size: 1.5rem;
    color: #2d3748;
}

h4 {
    font-size: 1.25rem;
    color: #2d3748;
}

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

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5282;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.btn-primary {
    background-color: #e53e3e;
    color: white;
    border: 2px solid #e53e3e;
}

.btn-primary:hover {
    background-color: #c53030;
    border-color: #c53030;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.btn-secondary {
    background-color: #4a5568;
    color: white;
    border: 2px solid #4a5568;
}

.btn-secondary:hover {
    background-color: #2d3748;
    border-color: #2d3748;
    color: white;
}

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

.btn-outline:hover {
    background-color: #e53e3e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

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

.nav a {
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #e53e3e;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e53e3e;
    transition: width 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4a5568;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 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;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4a5568;
}

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

.hero-banner {
    width: 100%;
    height: auto;
    max-width: 500px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

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

.section-header p {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: #f7fafc;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.feature {
    padding: 1.5rem;
    background-color: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
}

.feature h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #f7fafc;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #e53e3e;
    opacity: 0.3;
}

.stars {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client strong {
    color: #1a365d;
    display: block;
}

.client span {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-preview {
    background-color: #fff;
}

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

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

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

.article-icon {
    width: 60px;
    height: 60px;
    margin: 1.5rem auto 1rem;
    display: block;
}

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

.blog-content h3 a {
    color: #1a365d;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #e53e3e;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #4a5568;
}

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

/* Contact Section */
.contact {
    background-color: #f7fafc;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #4a5568;
    text-decoration: none;
}

.contact-item a:hover {
    color: #e53e3e;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #1a365d;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e53e3e;
}

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

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

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

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a.active {
    color: #e53e3e;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a365d;
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    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;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

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

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

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

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

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

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

.cookie-category p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #4a5568;
}

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

/* Page-specific styles */
.page-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero-content h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-hero-content p {
    color: #cbd5e0;
    font-size: 1.25rem;
}

/* About page specific */
.company-story {
    padding: 80px 0;
}

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

.story-img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.values {
    background-color: #f7fafc;
    padding: 80px 0;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    margin-bottom: 1rem;
    color: #1a365d;
}

.team {
    padding: 80px 0;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.position {
    color: #e53e3e;
    font-weight: 500;
    margin-bottom: 1rem;
}

.equipment {
    background-color: #f7fafc;
    padding: 80px 0;
}

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

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

.equipment-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
}

.equipment-img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.certifications {
    padding: 80px 0;
}

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

.cert-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cert-item h4 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.cta {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #fed7d7;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

/* Blog page specific */
.blog-content {
    padding: 80px 0;
}

.blog-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.blog-articles {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-article-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.article-icon-large {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.article-content {
    padding: 1.5rem;
}

.article-content h2 {
    margin-bottom: 1rem;
}

.article-content h2 a {
    color: #1a365d;
    text-decoration: none;
}

.article-content h2 a:hover {
    color: #e53e3e;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tag {
    background-color: #e2e8f0;
    color: #2d3748;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.read-more {
    color: #e53e3e;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    color: #c53030;
}

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

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    color: #1a365d;
}

.categories {
    list-style: none;
}

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

.categories a {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories a:hover {
    color: #e53e3e;
}

.categories span {
    color: #a0aec0;
    font-size: 0.9rem;
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
}

.recent-posts a:hover {
    color: #e53e3e;
}

.post-date {
    display: block;
    color: #a0aec0;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

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

.newsletter-form input {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #e53e3e;
}

/* Article page specific */
.article-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 120px 0 80px;
}

.article-breadcrumb {
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.article-breadcrumb a {
    color: #cbd5e0;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    color: white;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: #cbd5e0;
    flex-wrap: wrap;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #cbd5e0;
    margin: 0;
}

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

.article-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

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

.article-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a365d;
}

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

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

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

.article-body li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.content-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

.article-cta {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

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

.article-cta p {
    color: #fed7d7;
    margin-bottom: 1.5rem;
}

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

.related-articles {
    list-style: none;
}

.related-articles li {
    margin-bottom: 1rem;
}

.related-articles a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
}

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

.contact-info-sidebar {
    line-height: 1.6;
}

.contact-info-sidebar p {
    margin-bottom: 1rem;
}

.contact-info-sidebar strong {
    color: #1a365d;
}

.services-sidebar {
    list-style: none;
    margin-bottom: 1.5rem;
}

.services-sidebar li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.services-sidebar li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e53e3e;
    font-weight: bold;
}

.eco-features,
.safety-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.eco-features li,
.safety-features li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.eco-features li::before,
.safety-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Thanks page specific */
.thank-you-page {
    padding: 120px 0 80px;
    text-align: center;
}

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

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: block;
}

.thank-you-message {
    margin: 2rem 0;
}

.lead {
    font-size: 1.25rem;
    color: #4a5568;
}

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

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

.step {
    text-align: center;
    padding: 1.5rem;
    background-color: #f7fafc;
    border-radius: 12px;
}

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

.contact-emergency {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.emergency-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.company-info {
    margin: 4rem 0;
}

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

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

.info-item h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.additional-resources {
    margin: 4rem 0;
}

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

.resource-link {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.resource-link h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.resource-link p {
    color: #4a5568;
    margin: 0;
}

.social-follow {
    margin: 4rem 0;
}

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

.social-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

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

.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

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

.back-to-site {
    margin: 4rem 0 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal pages specific */
.legal-page {
    padding: 120px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.last-updated {
    color: #4a5568;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-section h3 {
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section h4 {
    color: #2d3748;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.legal-section li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.data-retention-table,
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.data-retention-table th,
.data-retention-table td,
.cookies-table th,
.cookies-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-retention-table th,
.cookies-table th {
    background-color: #f7fafc;
    color: #1a365d;
    font-weight: 600;
}

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

.contact-section {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.effective-date {
    background-color: #e6fffa;
    border-left: 4px solid #38b2ac;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.third-party-details {
    background-color: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

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

.browser-item {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.browser-item h4 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.browser-item ol {
    padding-left: 1.5rem;
}

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

.consequence-item {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.consequence-item h4 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.cookie-management-panel {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.cookie-settings {
    margin: 1.5rem 0;
}

.cookie-setting {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.cookie-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.cookie-setting input[type="checkbox"] {
    margin: 0;
}

.cookie-setting p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .story-content,
    .equipment-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .blog-content .container,
    .article-content .container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.show {
        max-height: 400px;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
        margin: 0;
    }
    
    .nav li {
        border-bottom: 1px solid #e2e8f0;
        margin: 0;
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        display: block;
        padding: 15px 10px;
        color: #4a5568;
        font-size: 1.1rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        color: #e53e3e;
        background-color: #f7fafc;
        padding-left: 20px;
    }
    
    .nav a::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: auto;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-contact,
    .cta-buttons,
    .back-to-site,
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .browser-instructions,
    .consequences-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-panel-buttons {
        flex-direction: column;
    }
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: white;
    }
    
    .page-hero {
        background: white;
        color: #000;
    }
    
    .page-hero-content h1,
    .page-hero-content p {
        color: #000;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #e53e3e;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .nav a::after {
        height: 3px;
    }
}

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