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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

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

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #d1d5db;
}

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

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cookie-modal-content h3 {
    margin-bottom: 20px;
    color: #1f2937;
}

.cookie-category {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

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

.cookie-category span {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 400;
}

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

/* Button Styles */
.btn-primary {
    background: #2563eb;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    padding: 12px 24px;
    border: 2px solid #2563eb;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Navigation Styles */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    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: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    color: #1f2937;
}

.logo-text {
    color: #2563eb;
}

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

.nav-menu a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: #2563eb;
}

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

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

/* Main Navigation Container */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
    font-size: 1rem;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

/* Hamburger Button Styles */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.hamburger-btn:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    transform-origin: center;
}

/* Hamburger Animation States */
.hamburger-btn.active .bar1 {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #2563eb;
}

.hamburger-btn.active .bar2 {
    opacity: 0;
    transform: scale(0);
}

.hamburger-btn.active .bar3 {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #2563eb;
}

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

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header svg {
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

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

/* About Section */
.about {
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature span {
    font-weight: 500;
    color: #1f2937;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Services Overview Section */
.services-overview {
    background: #f9fafb;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px 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 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #1d4ed8;
}

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

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
}

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

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

.quote-icon {
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
    font-style: italic;
}

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

.author-avatar {
    flex-shrink: 0;
}

.author-info h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: #f9fafb;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 25px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-item span {
    color: #1f2937;
    font-weight: 500;
}

.social-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    transition: transform 0.3s ease;
}

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

/* Form Styles */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.checkbox-group {
    margin: 25px 0;
}

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

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

.checkbox-label a {
    color: #2563eb;
    text-decoration: none;
}

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

.checkmark {
    position: relative;
}

/* Footer Styles */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 30px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
}

.footer-legal p {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Mobile Navigation */
    .hamburger-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 30px 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.3s; }
    
    .nav-link {
        padding: 20px 30px;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(229, 231, 235, 0.3);
        display: block;
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .nav-link:hover {
        background-color: rgba(37, 99, 235, 0.05);
        color: #2563eb;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .benefit-card,
    .service-card,
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 70px;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-image {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-image {
    animation-delay: 0.2s;
}

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

/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.services-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-hero-content p {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.service-detail {
    padding: 100px 0;
}

.service-detail.alt {
    background: #f9fafb;
}

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

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

.service-icon-large {
    margin-bottom: 30px;
}

.service-detail h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.service-subtitle {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 40px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 40px;
}

.service-features h3,
.service-benefits h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #4b5563;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}

.service-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.benefits-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.benefit-item span {
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

.services-cta {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.nav-menu a.active {
    color: #2563eb;
    font-weight: 600;
}

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

/* Services Page Responsive */
@media (max-width: 768px) {
    .services-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .services-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .service-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid-small {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-detail h2 {
        font-size: 2rem;
    }
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    padding: 120px 0 80px;
    text-align: center;
}

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

.hero-icon {
    margin-bottom: 30px;
}

.blog-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.6;
}

.featured-articles {
    padding: 80px 0;
}

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

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

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

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

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

.article-card.featured .article-image {
    height: auto;
}

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

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.article-category {
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-date {
    color: #6b7280;
    font-size: 0.9rem;
}

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

.article-content h3 a {
    color: #1f2937;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-content h3 a:hover {
    color: #2563eb;
}

.article-content p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-time {
    color: #6b7280;
    font-size: 0.9rem;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

/* Newsletter Section */
.newsletter-section {
    background: #f9fafb;
    padding: 80px 0;
}

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

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

.newsletter-text svg {
    margin-bottom: 20px;
}

.newsletter-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.newsletter-text p {
    color: #4b5563;
    line-height: 1.6;
}

.newsletter-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.newsletter-inputs {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.newsletter-inputs input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-inputs input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-checkbox {
    margin-bottom: 20px;
}

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

/* Individual Article Page Styles */
.article-header {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 120px 0 60px;
}

.article-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

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

.article-breadcrumb span {
    color: #6b7280;
}

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

.article-meta-large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.article-meta-large .article-category {
    background: #2563eb;
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-meta-large .article-date,
.article-meta-large .read-time {
    color: #6b7280;
    font-size: 0.95rem;
}

.article-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
    display: block;
}

.author-title {
    color: #6b7280;
    font-size: 0.9rem;
}

.article-image-section {
    padding: 40px 0;
}

.article-featured-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-featured-image svg {
    width: 100%;
    height: auto;
    display: block;
}

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

.article-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.table-of-contents {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.table-of-contents h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents ul li {
    margin-bottom: 8px;
}

.table-of-contents ul li a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.table-of-contents ul li a:hover {
    color: #2563eb;
}

.consultation-cta {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.consultation-cta svg {
    margin-bottom: 15px;
}

.consultation-cta h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.consultation-cta p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.content-main {
    max-width: none;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 10px;
}

.content-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1f2937;
    margin: 30px 0 15px 0;
}

.content-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin: 25px 0 10px 0;
}

.content-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.content-section ul,
.content-section ol {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 30px;
}

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

.highlight-box,
.info-box,
.warning-box,
.cta-box {
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.highlight-box {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
}

.info-box {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
}

.warning-box {
    background: #fefce8;
    border-left: 4px solid #f59e0b;
}

.cta-box {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.highlight-box h4,
.info-box h4,
.warning-box h4,
.cta-box h3 {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.highlight-box div,
.info-box div,
.warning-box div {
    flex: 1;
}

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

.legal-highlight {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.allowances-table,
.cookie-table {
    margin: 30px 0;
}

.table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.allowances-table table,
.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

.allowances-table th,
.allowances-table td,
.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.allowances-table th,
.cookie-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.strategy-box,
.calculation-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.strategy-box h4,
.calculation-box h4 {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Related Articles */
.related-articles {
    background: #f9fafb;
    padding: 60px 0;
}

.related-articles h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
}

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

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

.related-card:hover {
    transform: translateY(-3px);
}

.related-card h4 {
    margin-bottom: 15px;
}

.related-card h4 a {
    color: #1f2937;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.related-card h4 a:hover {
    color: #2563eb;
}

.related-card p {
    color: #6b7280;
    margin-bottom: 15px;
}

.related-card .read-more {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

/* Legal Page Styles */
.legal-header {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 120px 0 60px;
}

.legal-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.legal-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.legal-breadcrumb span {
    color: #6b7280;
}

.legal-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.legal-subtitle {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 25px;
}

.legal-meta {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    color: #6b7280;
}

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

.legal-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.legal-contact {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.legal-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.legal-contact p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.legal-main {
    max-width: none;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 10px;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin: 25px 0 15px 0;
}

.legal-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin: 20px 0 10px 0;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 25px;
}

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

.contact-details {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.cookie-controls {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    text-align: center;
}

.cookie-controls h4 {
    margin-bottom: 10px;
    color: #1f2937;
}

.cookie-controls p {
    margin-bottom: 15px;
    color: #4b5563;
}

/* Thanks Page Styles */
.thanks-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 120px 0;
    text-align: center;
}

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

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.thanks-subtitle {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 40px;
}

.submission-details {
    margin: 40px 0;
}

.submission-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: inline-block;
}

.submission-summary h3 {
    color: #1f2937;
    margin-bottom: 15px;
}

.submission-summary ul {
    list-style: none;
    padding: 0;
}

.submission-summary li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.submission-type {
    color: #10b981;
    font-weight: 600;
    margin-top: 15px;
}

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

.next-steps h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 30px;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.step-number {
    background: #2563eb;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1f2937;
    margin-bottom: 10px;
}

.step-content p {
    color: #6b7280;
    line-height: 1.5;
}

.thanks-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 50px 0;
}

.while-you-wait {
    background: #f9fafb;
    padding: 80px 0;
    text-align: center;
}

.while-you-wait h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.while-you-wait p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.resource-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon {
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.resource-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.resource-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.resource-link:hover {
    color: #1d4ed8;
}

.thanks-contact {
    padding: 80px 0;
}

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

.thanks-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.thanks-contact .contact-item h4 {
    color: #1f2937;
    margin-bottom: 5px;
}

.thanks-contact .contact-item p {
    color: #6b7280;
    margin: 0;
}

.emergency-contact {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.emergency-note h4 {
    color: #dc2626;
    margin-bottom: 15px;
}

.emergency-note p {
    color: #7f1d1d;
    line-height: 1.6;
}

/* Responsive Design for Blog and Legal Pages */
@media (max-width: 768px) {
    .article-body,
    .legal-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-sidebar,
    .legal-sidebar {
        position: static;
        order: -1;
    }
    
    .article-hero h1 {
        font-size: 2.2rem;
    }
    
    .article-card.featured {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .article-meta-large {
        justify-content: center;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Cache control directive */
.no-cache {
    cache-control: no-cache, no-store, must-revalidate;
    pragma: no-cache;
    expires: 0;
}
