/* 
Wyzucae Legal Advice - Main CSS Stylesheet
*/

/* ==================== GLOBAL STYLES ==================== */
:root {
    /* Color scheme */
    --primary-color: #1a3d7c; /* Deep blue */
    --secondary-color: #c69b59; /* Gold accent */
    --tertiary-color: #32638f; /* Medium blue */
    --dark-color: #252c3a; /* Dark navy */
    --light-color: #f5f7fa; /* Light gray-blue */
    --text-color: #333333; /* Dark gray for text */
    --light-text: #ffffff; /* White for contrast */
    --error-color: #e74c3c; /* Red for errors */
    --success-color: #2ecc71; /* Green for success */
    --warning-color: #f39c12; /* Orange for warnings */
    --info-color: #3498db; /* Blue for info */
    --border-color: #e0e6ed; /* Light border color */
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    --hover-shadow: 0 6px 16px rgba(26, 61, 124, 0.15); /* Enhanced shadow on hover */
    
    /* Typography */
    --body-font: 'Roboto', 'Segoe UI', sans-serif;
    --heading-font: 'Merriweather', 'Georgia', serif;
    --mono-font: 'Courier New', monospace;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
    
    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Roboto:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px base font size for easier rem calculations */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafafa;
    overflow-x: hidden;
}

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

a:hover, a:focus {
    color: var(--tertiary-color);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

h5 {
    font-size: 1.6rem;
}

h6 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    cursor: pointer;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #15305f;
    border-color: #15305f;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #b58a4a;
    border-color: #b58a4a;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

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

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
}

.btn-small {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-large {
    padding: 1.4rem 2.8rem;
    font-size: 1.8rem;
}

/* Button groups */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

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

.logo img {
    max-height: 5rem;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

nav a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: var(--dark-color);
    border-radius: var(--border-radius-md);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

nav a i {
    margin-right: 0.8rem;
    font-size: 1.4rem;
}

nav a:hover, nav a:focus, nav a.active {
    background-color: var(--light-color);
    color: var(--primary-color);
    text-decoration: none;
}

nav a.active {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Welcome Banner */
.welcome-banner {
    background-color: var(--tertiary-color);
    color: var(--light-text);
    padding: 1rem 0;
    text-align: center;
    font-size: 1.5rem;
}

.welcome-banner p {
    margin-bottom: 0;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background-color: var(--light-color);
    padding: 6rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.hero h1 i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

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

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: var(--section-padding);
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    z-index: 1;
    text-align: center;
}

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

.feature-icon {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* ==================== SERVICES PREVIEW SECTION ==================== */
.services-preview {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

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

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.service-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.service-card h3 {
    padding: 2rem 2rem 1rem;
    margin-bottom: 1rem;
}

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

.service-card .btn {
    margin: 0 2rem 2rem;
}

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

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: var(--section-padding);
    background-color: #fff;
}

.testimonial-slider {
    max-width: 90rem;
    margin: 0 auto;
}

.testimonial {
    padding: 2rem;
}

.testimonial-content {
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    position: relative;
    box-shadow: var(--box-shadow);
}

.testimonial-content:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 8rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: 1rem;
}

.testimonial-content p {
    font-size: 1.8rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
}

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

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: #666;
}

/* ==================== BLOG PREVIEW SECTION ==================== */
.blog-preview {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

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

.blog-card {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

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

.blog-meta {
    font-size: 1.4rem;
    color: #777;
    margin-bottom: 1.5rem;
    display: block;
}

.read-more {
    font-weight: 500;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}

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

.read-more:after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.read-more:hover:after {
    transform: translateX(3px);
}

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

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.cta-content h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.cta-content h2 i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.cta-content p {
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto 3rem;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: var(--dark-color);
    color: #ddd;
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    max-height: 6rem;
    margin-bottom: 2rem;
}

.footer-logo p {
    font-size: 1.5rem;
}

.footer-links h3, .footer-services h3, .footer-contact h3 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h3:after, .footer-services h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul, .footer-services ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li, .footer-services li {
    margin-bottom: 1rem;
}

.footer-links a, .footer-services a {
    color: #ddd;
    transition: color var(--transition-fast);
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 3rem;
    margin-right: 1rem;
    color: var(--secondary-color);
}

.footer-contact a {
    color: #ddd;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-policies {
    display: flex;
    gap: 2rem;
}

.footer-policies a {
    color: #ddd;
    transition: color var(--transition-fast);
}

.footer-policies a:hover {
    color: var(--secondary-color);
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 2rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

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

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

.cookie-content p i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

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

.cookie-content a {
    color: var(--secondary-color);
    display: block;
    margin-top: 1rem;
    font-size: 1.4rem;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.page-header h1 i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.page-header p {
    font-size: 1.8rem;
    max-width: 60rem;
    margin: 0 auto;
}

/* ==================== SERVICES PAGE ==================== */
.services-overview {
    padding: var(--section-padding);
    background-color: #fff;
}

.services-intro {
    max-width: 80rem;
    margin: 0 auto 5rem;
    text-align: center;
}

.services-intro h2 {
    margin-bottom: 2rem;
}

.services-intro p {
    font-size: 1.8rem;
}

.service-category {
    display: flex;
    gap: 4rem;
    margin-bottom: 8rem;
    align-items: flex-start;
}

.service-icon {
    flex: 0 0 12rem;
    height: 12rem;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.service-icon i {
    font-size: 5rem;
    color: var(--primary-color);
}

.service-details {
    flex: 1;
}

.service-details h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.service-details > p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 3rem;
}

.service-item {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.service-item h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.pricing-overview {
    background-color: var(--light-color);
    padding: var(--section-padding);
}

.pricing-content {
    max-width: 90rem;
    margin: 0 auto;
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.pricing-option {
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.pricing-option h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.pricing-option h3 i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.pricing-note {
    font-style: italic;
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.faq {
    padding: var(--section-padding);
    background-color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45rem, 1fr));
    gap: 3rem;
}

.faq-item {
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.faq-item h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* ==================== BLOG MAIN PAGE ==================== */
.blog-main {
    padding: var(--section-padding);
    background-color: #fff;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 35rem;
    gap: 5rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.blog-post-card {
    display: flex;
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.post-image {
    flex: 0 0 35%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    flex: 1;
    padding: 3rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    font-size: 1.4rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-date:before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    margin-right: 0.5rem;
}

.post-category:before {
    content: '\f07b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

.post-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.post-content h2 a {
    color: var(--dark-color);
    transition: color var(--transition-fast);
}

.post-content h2 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

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

.sidebar-section {
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
}

.sidebar-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.sidebar-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: var(--secondary-color);
}

.search-form {
    display: flex;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    font-size: 1.6rem;
    outline: none;
}

.search-form button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-form button:hover {
    background-color: #15305f;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    margin-bottom: 1.2rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    font-size: 1.6rem;
    color: var(--text-color);
    transition: color var(--transition-fast);
}

.category-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.category-list span {
    color: #888;
    font-size: 1.4rem;
}

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

.popular-post a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-color);
}

.popular-post a:hover {
    text-decoration: none;
}

.popular-post img {
    width: 8rem;
    height: 8rem;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.popular-post h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

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

.popular-post span {
    font-size: 1.3rem;
    color: #888;
}

.newsletter-section p {
    margin-bottom: 2rem;
}

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

.newsletter-form input {
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 1.6rem;
    outline: none;
}

.cta-box {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.cta-box h3 {
    color: var(--light-text);
}

.cta-box h3:after {
    left: 50%;
    transform: translateX(-50%);
}

.cta-box p {
    margin-bottom: 2rem;
}

/* ==================== BLOG POST PAGE ==================== */
.blog-post-container {
    padding: var(--section-padding);
    background-color: #fff;
}

.breadcrumbs {
    margin-bottom: 3rem;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
}

.breadcrumbs li:not(:last-child):after {
    content: '/';
    margin: 0 1rem;
    color: #aaa;
}

.breadcrumbs a {
    color: #666;
}

.blog-post {
    margin-bottom: 5rem;
}

.blog-post h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.blog-post .post-meta {
    margin-bottom: 3rem;
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-introduction {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: #555;
}

.blog-post h2 {
    font-size: 2.8rem;
    margin: 4rem 0 2rem;
    color: var(--primary-color);
}

.blog-post h2 i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.blog-post h3 {
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
}

.content-box {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
}

.content-box h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.content-box h4 i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.content-box.case-study {
    border-left: 4px solid var(--secondary-color);
}

.author-bio {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin-top: 5rem;
}

.author-bio img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
}

.author-bio h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.author-bio p {
    margin-bottom: 0;
}

.post-tags {
    margin-bottom: 3rem;
}

.post-tags h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.post-tags ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.post-tags a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius-md);
    color: var(--text-color);
    transition: all var(--transition-fast);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.post-share h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

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

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    color: var(--light-text);
    transition: transform var(--transition-fast);
}

.share-buttons a:hover {
    transform: translateY(-3px);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

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

.email {
    background-color: #777777;
}

.related-posts {
    margin-bottom: 5rem;
}

.related-posts h3 {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 3rem;
}

.related-post {
    transition: transform var(--transition-normal);
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
}

.related-post h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post a {
    color: var(--text-color);
}

.related-post a:hover {
    text-decoration: none;
}

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

.related-post .post-date {
    font-size: 1.3rem;
    color: #888;
}

.post-comments {
    margin-bottom: 4rem;
}

.post-comments h3 {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
}

.comment-form h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.comment-form .form-group {
    margin-bottom: 2rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
    font-size: 1.6rem;
}

.comment-form textarea {
    resize: vertical;
}

/* ==================== ABOUT PAGE ==================== */
.about-story {
    padding: var(--section-padding);
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

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

.about-text p {
    font-size: 1.7rem;
    margin-bottom: 2rem;
}

.mission-values {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 4rem;
    margin-bottom: 6rem;
}

.mission, .vision {
    padding: 4rem;
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.mission .icon, .vision .icon {
    width: 8rem;
    height: 8rem;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
}

.mission .icon i, .vision .icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.mission h2, .vision h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.mission p, .vision p {
    font-size: 1.7rem;
}

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

.value-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.value-icon {
    width: 7rem;
    height: 7rem;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.value-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.value-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.team-section {
    padding: var(--section-padding);
    background-color: #fff;
}

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

.team-member {
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.member-image img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

.member-info {
    padding: 3rem;
}

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

.member-title {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.member-bio {
    margin-bottom: 2rem;
}

.member-credentials {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.member-credentials p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.member-credentials i {
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 2rem;
    text-align: center;
}

.approach-section {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.approach-content {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.approach-text {
    flex: 1;
}

.approach-text > p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.approach-steps {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
}

.approach-steps li {
    position: relative;
    padding-left: 8rem;
    margin-bottom: 3rem;
}

.approach-steps li:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 700;
    font-size: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-steps h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.approach-steps h3 i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.approach-image {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.stats-section {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: var(--light-text);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
}

.stat-card {
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.stat-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}

.stat-title {
    font-size: 1.8rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.certifications {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.certifications-content {
    max-width: 90rem;
    margin: 0 auto;
}

.certifications-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.credentials-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.credentials-list li {
    font-size: 1.7rem;
    padding: 1.5rem 2rem;
    background-color: #fff;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
}

.credentials-list i {
    color: var(--success-color);
    margin-right: 1.5rem;
    font-size: 2rem;
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
    padding: var(--section-padding);
    background-color: #fff;
}

.contact-intro {
    max-width: 80rem;
    margin: 0 auto 5rem;
    text-align: center;
}

.contact-intro p {
    font-size: 1.8rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-form-container, .contact-info-container {
    background-color: var(--light-color);
    padding: 4rem;
    border-radius: var(--border-radius-lg);
}

.contact-form-container h2, .contact-info-container h2 {
    font-size: 2.6rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.contact-form-container h2:after, .contact-info-container h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-form-container h2 i, .contact-info-container h2 i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
    font-size: 1.6rem;
}

.form-group textarea {
    min-height: 15rem;
    resize: vertical;
}

.required {
    color: var(--error-color);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input {
    margin-top: 0.4rem;
}

.contact-info {
    margin-bottom: 4rem;
}

.info-item {
    display: flex;
    margin-bottom: 3rem;
}

.info-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-right: 2rem;
    flex: 0 0 2.2rem;
}

.info-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.contact-social h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: #fff;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

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

.map-section {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.map-container {
    height: 45rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    border: 0;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    max-width: 50rem;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.8rem;
    cursor: pointer;
    color: #999;
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--error-color);
}

.thank-you-message {
    padding: 5rem;
    text-align: center;
}

.thank-you-message i {
    font-size: 6rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thank-you-message h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.thank-you-message p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

/* ==================== POLICY PAGES ==================== */
.policy-content {
    padding: var(--section-padding);
    background-color: #fff;
}

.policy-introduction {
    max-width: 80rem;
    margin: 0 auto 4rem;
}

.policy-introduction p {
    font-size: 1.8rem;
}

.policy-navigation {
    max-width: 80rem;
    margin: 0 auto 5rem;
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
}

.policy-navigation h2 {
    margin-bottom: 2rem;
}

.policy-navigation ul {
    columns: 2;
    column-gap: 4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.policy-navigation li {
    margin-bottom: 1.2rem;
}

.policy-navigation a {
    color: var(--text-color);
    transition: color var(--transition-fast);
}

.policy-navigation a:hover {
    color: var(--primary-color);
}

.policy-section {
    max-width: 80rem;
    margin: 0 auto 6rem;
}

.policy-section:target {
    scroll-margin-top: 10rem;
}

.policy-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-section h3 {
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
}

.refund-steps {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
}

.refund-steps h3 {
    margin-top: 0;
}

.refund-steps ol {
    margin-bottom: 0;
}

.refund-steps li {
    margin-bottom: 1.5rem;
}

.refund-steps li:last-child {
    margin-bottom: 0;
}

.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1.5rem;
}

.contact-info address {
    font-style: normal;
    margin-left: 2.5rem;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media screen and (max-width: 1200px) {
    html {
        font-size: 60%;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 4rem;
    }
    
    .about-content, .approach-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .approach-text {
        order: -1;
    }
    
    .blog-layout, .blog-post-layout {
        grid-template-columns: 1fr;
    }
    
    .service-category {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-details > p {
        max-width: 60rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-icon {
        margin-bottom: 2rem;
    }
    
    .service-details h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    header .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .blog-post-card {
        flex-direction: column;
    }
    
    .post-image {
        flex: auto;
    }
    
    .policy-navigation ul {
        columns: 1;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .approach-steps li {
        padding-left: 0;
        padding-top: 8rem;
    }
    
    .approach-steps li:before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
}
