/* SuperSensu Business Portal Styles */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #2c5aa0;
    --primary-dark: #1e3a6f;
    --primary-light: #4472c4;
    --secondary-color: #f8f9fa;
    --accent-color: #28a745;
    --accent-orange: #ff6b35;
    --text-dark: #212529;
    --text-medium: #6c757d;
    --text-light: #adb5bd;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 24px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --border-radius-large: 12px;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --transition-base: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
}

h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
}

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

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

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

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-base);
    background: none;
    font-family: inherit;
}

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

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

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

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

.btn-secondary {
    background-color: var(--text-medium);
    color: var(--white);
    border-color: var(--text-medium);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--white);
}

/* Cookie Management Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-heavy);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.cookie-content p {
    margin-bottom: 20px;
    font-size: 14px;
}

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

.btn-cookie {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid;
    cursor: pointer;
    transition: var(--transition-base);
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

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

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: var(--font-weight-medium);
    margin-bottom: 5px;
    cursor: pointer;
}

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

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

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

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

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    padding: 10px 0;
    position: relative;
    transition: var(--transition-base);
}

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

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

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

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

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

/* Hero Section - Unique Style Block 1 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.hero-buttons .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.hero-buttons .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

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

/* Services Section - Unique Style Block 2 */
.services-section {
    padding: var(--section-padding);
    background: var(--light-gray);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--accent-orange));
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    height: 60px;
    width: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(44, 90, 160, 0.2));
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

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

.service-card ul {
    list-style: none;
    margin-top: 20px;
}

.service-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-medium);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* About Section - Unique Style Block 3 */
.about-section {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

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

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

.stat {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.stat:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

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

.stat p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

/* Team Section - Unique Style Block 4 */
.team-section {
    padding: var(--section-padding);
    background: linear-gradient(45deg, var(--light-gray) 0%, var(--white) 50%, var(--light-gray) 100%);
    position: relative;
}

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

.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(44, 90, 160, 0.05), transparent);
    transform: rotate(45deg);
    transition: var(--transition-base);
    opacity: 0;
}

.team-member:hover::before {
    opacity: 1;
    animation: shimmer 0.6s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    margin: 0 auto 20px;
    position: relative;
}

.team-avatar::after {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.7;
}

.team-role {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    margin-bottom: 10px;
}

/* Testimonials Section - Unique Style Block 5 */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-60px, -60px) rotate(360deg); }
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.testimonial:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Newsletter Section - Unique Style Block 6 */
.newsletter-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--accent-color) 0%, #20c997 100%);
    color: var(--white);
    position: relative;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100V50l50-50 50 50v50z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    animation: slide 15s infinite linear;
}

@keyframes slide {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

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

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-privacy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-privacy a {
    color: var(--white);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

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

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

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

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

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

.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);
}

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

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

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--text-light);
    transition: var(--transition-base);
}

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

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

.social-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

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

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.blog-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.blog-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin: 0;
}

.blog-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

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

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

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

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

.blog-content {
    padding: 30px;
}

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

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

.blog-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.blog-content h2 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
}

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

.read-more {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

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

/* Article Page Styles */
.article-page {
    margin-top: 70px;
}

.article-header {
    background: var(--light-gray);
    padding: 60px 0;
}

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

.article-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-medium);
}

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

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-body .lead {
    font-size: 1.3rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 30px;
}

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

.article-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.article-body h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 8px;
    color: var(--text-medium);
}

.article-body blockquote {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.author-bio {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--border-radius-large);
    display: flex;
    gap: 20px;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    position: relative;
}

.author-avatar::after {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.7;
}

.author-details h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.author-contact {
    margin-top: 15px;
}

.related-articles {
    max-width: 800px;
    margin: 50px auto 0;
}

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

.related-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

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

.related-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.related-card h4 a {
    color: var(--text-dark);
}

.related-card h4 a:hover {
    color: var(--primary-color);
}

.related-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-header {
    background: var(--light-gray);
    padding: 120px 0 60px;
    text-align: center;
}

.legal-content {
    padding: 60px 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

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

.legal-text h3 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text address {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    font-style: normal;
    margin: 20px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

.cookie-table th {
    background: var(--light-gray);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
}

.cookie-controls {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    margin: 40px 0;
}

/* Thank You Page */
.thank-you-section {
    padding: 120px 0 80px;
    background: var(--light-gray);
    text-align: center;
}

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

.success-message, .error-message {
    background: var(--white);
    padding: 50px 30px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
}

.success-icon, .error-icon {
    margin-bottom: 30px;
}

.thank-you-details {
    text-align: left;
    margin: 30px 0;
    background: var(--light-gray);
    padding: 25px;
    border-radius: var(--border-radius);
}

.thank-you-details h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.thank-you-details ul {
    margin: 0;
    padding-left: 20px;
}

.thank-you-details li {
    margin-bottom: 10px;
    color: var(--text-medium);
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.related-content-section {
    padding: var(--section-padding);
    background: var(--white);
}

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

.article-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius-large);
    transition: var(--transition-base);
}

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

.article-card h3 {
    margin-bottom: 15px;
}

.article-card h3 a {
    color: var(--text-dark);
}

.article-card h3 a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition-base);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .service-card,
    .team-member,
    .contact-form {
        padding: 25px 20px;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body .lead {
        font-size: 1.1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal,
    .newsletter-section,
    .footer {
        display: none;
    }
    
    .article-page {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    p, li {
        orphans: 3;
        widows: 3;
    }
}

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

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --text-dark: #000000;
        --text-medium: #333333;
        --border-color: #000000;
    }
}
