/* Hand-drawn style CSS for Video Monitoring Website */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Hand-drawn effect variables */
    --border-radius: 8px;
    --hand-drawn-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
    --hand-drawn-border: 2px solid;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Hand-drawn decorative elements */
.hand-drawn-border {
    position: relative;
    border: var(--hand-drawn-border) var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
}

.hand-drawn-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    opacity: 0.3;
    transform: rotate(0.5deg);
}

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

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

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

.nav-brand .logo {
    height: 50px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: var(--light-color);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 150px 0 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    transform: rotate(-1deg);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

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

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-text {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    position: relative;
    background: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--hand-drawn-shadow);
}

.btn-primary:hover {
    background: #1e4080;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-text {
    background: transparent;
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Sections */
section {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

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

/* Services Grid */
.services {
    background: var(--light-color);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
}

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

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* About Preview */
.about-preview {
    padding: 6rem 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #666;
}

.about-features svg {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials {
    background: var(--light-color);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    position: relative;
    border: 2px solid var(--border-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
    background: white;
    padding: 0 10px;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #888;
    font-size: 0.9rem;
}

/* Blog Preview */
.blog-preview {
    padding: 6rem 0;
}

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

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--hand-drawn-shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
    background: var(--light-color);
}

.blog-image svg {
    width: 100%;
    height: 100%;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: #888;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

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

.blog-content h3 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

.blog-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

/* Realizations */
.realizations {
    background: var(--light-color);
}

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

.realization-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--hand-drawn-shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.realization-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.realization-image {
    height: 250px;
    overflow: hidden;
    background: var(--light-color);
}

.realization-image svg {
    width: 100%;
    height: 100%;
}

.realization-content {
    padding: 1.5rem;
}

.realization-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.realization-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.realization-features span {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

/* Contact */
.contact {
    padding: 6rem 0;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    border: 2px solid var(--border-color);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

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

.footer-section ul li a:hover {
    color: white;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    flex-shrink: 0;
}

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

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

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

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

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

.cookie-modal h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-left: 2rem;
}

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

/* About Page Specific Styles */
.breadcrumbs {
    background: var(--light-color);
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 0.5rem;
    color: #666;
}

.current {
    color: #666;
    font-weight: 600;
}

.about-hero {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
    padding: 4rem 0;
}

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

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

.lead {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.company-story {
    padding: 6rem 0;
}

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

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

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

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

.stat-label {
    color: #666;
    font-weight: 600;
}

.team {
    background: var(--light-color);
    padding: 6rem 0;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.member-photo svg {
    width: 100%;
    height: 100%;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.cert {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.values {
    padding: 6rem 0;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.certifications {
    background: var(--light-color);
    padding: 6rem 0;
}

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

.cert-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.cert-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--light-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.cert-logo svg {
    width: 100%;
    height: 100%;
}

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

.cert-item p {
    color: #666;
    font-size: 0.9rem;
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4080 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

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

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Thank You Page Styles */
.thank-you {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
    text-align: center;
}

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

.thank-you-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.thank-you h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.next-steps {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    margin: 3rem 0;
    text-align: left;
    border: 2px solid var(--border-color);
}

.next-steps h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.step-time {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-info-reminder {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    margin: 2rem 0;
    border: 2px solid var(--border-color);
}

.contact-info-reminder h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.quick-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.quick-contact .contact-item {
    background: var(--light-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-contact .contact-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.quick-contact .contact-item svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.quick-contact .contact-item div {
    text-align: left;
}

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

.quick-contact .contact-item span {
    color: #666;
    font-size: 0.9rem;
}

.additional-resources {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
    margin: 2rem 0;
    border: 2px solid var(--border-color);
}

.additional-resources h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.resource-card {
    text-decoration: none;
    color: inherit;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.resource-card svg {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resource-card p {
    color: #666;
    font-size: 0.9rem;
}

.return-home {
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .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;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .about-hero-content,
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .stat-stats {
        grid-template-columns: 1fr;
    }
    
    .quick-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-timeline .step {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .blog-grid,
    .realizations-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Blog responsive */
    .blog-hero-content h1 {
        font-size: 2.2rem;
    }

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

    .categories-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

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

    .newsletter-form .form-group {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input[type="email"] {
        max-width: 100%;
    }

    /* Article responsive */
    .article-header h1 {
        font-size: 2.2rem;
    }

    .article-lead {
        font-size: 1.1rem;
    }

    .article-meta {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .nav-content {
        grid-template-columns: 1fr;
    }

    .article-body h2 {
        font-size: 1.7rem;
    }

    .article-body h2::before {
        left: 0;
        top: -0.5rem;
        width: 2rem;
        height: 4px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .thank-you h1 {
        font-size: 2.5rem;
    }
}

/* Blog Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.blog-hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Categories */
.blog-categories {
    padding: 2rem 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.categories-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tag {
    padding: 0.5rem 1.5rem;
    background: var(--light-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-tag:hover,
.category-tag.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--hand-drawn-shadow);
}

/* Blog Articles Grid */
.blog-articles {
    padding: 4rem 0;
    background: #fff;
}

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

.blog-card {
    background: #fff;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    box-shadow: var(--hand-drawn-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: rotate(0.5deg);
    pointer-events: none;
    z-index: 1;
}

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

.blog-card:hover::before {
    opacity: 0.3;
}

.blog-card.featured {
    border-color: var(--accent-color);
    border-width: 3px;
}

.blog-card.featured::after {
    content: 'Polecane';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 2;
}

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

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

.blog-content {
    padding: 1.5rem;
    position: relative;
    z-index: 3;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-date,
.blog-category,
.blog-featured {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.blog-date {
    background: var(--light-color);
    color: var(--text-color);
}

.blog-category {
    background: var(--primary-color);
    color: white;
}

.blog-featured {
    background: var(--accent-color);
    color: var(--dark-color);
}

.blog-content h2,
.blog-content h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content h2 a,
.blog-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover,
.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.read-more:hover {
    border-bottom-color: var(--primary-color);
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4080 100%);
    padding: 4rem 0;
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    max-width: 300px;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form .btn-primary {
    background: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--accent-color);
}

.newsletter-form .checkbox-label {
    color: white;
    font-size: 0.9rem;
}

.newsletter-form .checkbox-label a {
    color: var(--accent-color);
}

/* Related Topics */
.related-topics {
    padding: 4rem 0;
    background: var(--light-color);
}

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

.topic-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hand-drawn-shadow);
    border-color: var(--primary-color);
}

.topic-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

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

.topic-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.topic-count {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Article Styles */

/* Article Content */
.article-content {
    padding: 120px 0 4rem;
    background: #fff;
}

.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-date,
.article-category,
.article-read-time {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-weight: 500;
}

.article-date {
    background: var(--light-color);
    color: var(--text-color);
}

.article-category {
    background: var(--primary-color);
    color: white;
}

.article-read-time {
    background: var(--secondary-color);
    color: white;
}

.article-header h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-lead {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}

.article-author {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-details {
    text-align: left;
}

.author-details strong {
    display: block;
    color: var(--primary-color);
    font-size: 1rem;
}

.author-details span {
    color: #666;
    font-size: 0.9rem;
}

/* Article Body */
.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-image {
    margin: 2rem 0 3rem;
    text-align: center;
}

.article-image svg {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--hand-drawn-shadow);
}

.article-body h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem;
    position: relative;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 2rem;
    background: var(--accent-color);
    border-radius: 2px;
}

.article-body h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

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

.article-body li strong {
    color: var(--primary-color);
}

.article-body blockquote {
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
}

/* Article Navigation */
.article-navigation {
    background: var(--light-color);
    padding: 3rem 0;
    margin-top: 4rem;
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.nav-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.nav-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--hand-drawn-shadow);
    border-color: var(--primary-color);
}

.nav-item.prev {
    text-align: left;
}

.nav-item.next {
    text-align: right;
}

.nav-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: block;
}

.nav-title {
    font-weight: 600;
    color: var(--primary-color);
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
        break-inside: avoid;
    }
    
    .btn-primary,
    .btn-secondary {
        background: none !important;
        color: black !important;
        border: 1px solid black !important;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #008000;
        --text-color: #000;
        --border-color: #000;
        --shadow-color: rgba(0, 0, 0, 0.5);
    }
    
    .btn-primary,
    .btn-secondary {
        border-width: 3px;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}