/* ========================================
   Expert Witness Surveyor - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #d4af37;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --text-lighter: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --error-color: #f56565;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero Dynamic Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: kenburns 20s ease-in-out infinite;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Ken Burns Effect - Subtle Zoom and Pan */
@keyframes kenburns {
    0% {
        transform: scale(1) translateX(0);
    }
    50% {
        transform: scale(1.1) translateX(-2%);
    }
    100% {
        transform: scale(1) translateX(0);
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.92) 0%, rgba(44, 82, 130, 0.88) 100%);
    z-index: 1;
}

.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 2;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-5%, 5%); }
    50% { transform: translate(5%, -5%); }
    75% { transform: translate(-5%, -5%); }
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem 0 3rem;
    margin-top: 2rem;
}

.hero-content {
    color: #ffffff;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
    color: #ffffff;
}

.highlight {
    color: var(--accent-color);
    display: block;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 1;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.feature-badge i {
    color: var(--accent-color);
}

.hero-form-container {
    animation: fadeInUp 1s ease 0.6s both;
    max-height: 90vh;
    overflow-y: auto;
}

.form-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--box-shadow-lg);
    max-width: 100%;
}

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

.form-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

#heroForm {
    width: 100%;
}

#heroForm .hs-form {
    width: 100% !important;
}

#heroForm .hs-form-field {
    margin-bottom: 1rem !important;
}

#heroForm .hs-input {
    width: 100% !important;
    box-sizing: border-box !important;
}

#heroForm .hs-button {
    width: 100% !important;
    margin-top: 1rem !important;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

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

/* Trust Section */
.trust-section {
    padding: 3rem 0;
    background: var(--primary-color);
    color: white;
}

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

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Introduction Section */
.intro-section {
    background: var(--bg-light);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Services Grid */
.services-overview {
    background: var(--bg-white);
}

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

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    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);
    transform-origin: left;
    transition: transform var(--transition-speed) ease;
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link i {
    transition: transform var(--transition-speed) ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Why Choose Us */
.why-choose-us {
    background: var(--bg-light);
}

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

.why-image {
    position: relative;
}

.why-image img {
    border-radius: 15px;
    box-shadow: var(--box-shadow-lg);
    width: 100%;
    height: auto;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--box-shadow);
}

.why-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-feature {
    display: flex;
    gap: 1.25rem;
}

.why-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

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

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

/* Process Section */
.process-section {
    background: var(--bg-white);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 70px;
    width: 2px;
    height: calc(100% - 40px);
    background: linear-gradient(180deg, var(--accent-color), var(--border-color));
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--box-shadow);
}

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

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

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

.stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: transform var(--transition-speed) ease;
    color: var(--accent-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

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

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #f0c752;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Bottom Form Section */
.bottom-form-section {
    background: var(--bg-light);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.form-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-intro p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.form-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--box-shadow-lg);
}

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

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

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-speed) ease;
}

.footer-section ul a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Legal Content Styles */
.legal-content {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.legal-updated {
    color: var(--text-lighter);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.legal-document h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.legal-document h2:first-of-type {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.legal-document h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.legal-document p {
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.legal-document ul, .legal-document ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.legal-document li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-document li ul, .legal-document li ol {
    margin-top: 0.5rem;
}

.legal-document a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color var(--transition-speed);
}

.legal-document a:hover {
    color: var(--primary-color);
}

.contact-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin: 1.5rem 0;
}

.contact-box p {
    margin-bottom: 0.8rem;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    width: 20px;
    display: inline-block;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent-color);
    font-size: 0.95rem;
    color: var(--text-lighter);
}

.legal-footer p {
    margin-bottom: 1rem;
}

.legal-footer em {
    font-style: italic;
}

/* Page Header for Legal Pages */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 1;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
}

/* CTA Section in Legal Pages */
.legal-content .cta-section {
    max-width: 900px;
    margin: 3rem auto 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 3rem;
    border-radius: 8px;
}

.legal-content .cta-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.legal-content .cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    color: #ffffff;
}

/* Responsive Legal Content */
@media (max-width: 768px) {
    .legal-document {
        padding: 2rem 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .legal-document h2 {
        font-size: 1.5rem;
    }
    
    .legal-document h3 {
        font-size: 1.2rem;
    }
    
    .legal-content .cta-section {
        padding: 2rem 1.5rem;
    }
    
    .legal-content .cta-section h3 {
        font-size: 1.5rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 999;
    box-shadow: var(--box-shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left var(--transition-speed) ease;
        box-shadow: var(--box-shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-form-container {
        max-height: none;
        order: 2;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .form-card h3 {
        font-size: 1.25rem;
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-wrapper {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 90px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: stretch;
    }
    
    .feature-badge {
        justify-content: center;
    }
    
    .form-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* HubSpot Form Styling */
.hs-form {
    font-family: var(--font-primary) !important;
    width: 100% !important;
}

.hs-form label {
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

.hs-form-field {
    margin-bottom: 1.25rem !important;
    width: 100% !important;
}

.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form textarea,
.hs-form select {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 5px !important;
    font-family: var(--font-primary) !important;
    transition: all var(--transition-speed) ease !important;
    box-sizing: border-box !important;
    font-size: 1rem !important;
}

.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1) !important;
}

.hs-form input[type="submit"],
.hs-form .hs-button {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all var(--transition-speed) ease !important;
    width: 100% !important;
    font-size: 1rem !important;
    margin-top: 1rem !important;
    display: block !important;
}

.hs-form input[type="submit"]:hover,
.hs-form .hs-button:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
}

.hs-error-msgs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.5rem 0 0 0 !important;
}

.hs-error-msg {
    color: var(--error-color) !important;
    font-size: 0.9rem !important;
}

.hs-form .hs-richtext {
    margin-bottom: 1rem !important;
}

.hs-form .hs-submit {
    text-align: center !important;
}

.hs-form .hs-fieldtype-textarea textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* About Page Styles */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

.company-overview {
    padding: 5rem 0;
    background: var(--bg-white);
}

.overview-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.values-section {
    background: var(--bg-light);
}

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

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.team-section {
    background: var(--bg-white);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.team-member {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

.member-image {
    position: relative;
}

.member-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow-lg);
}

.member-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.member-title {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.accreditations-section {
    background: var(--bg-light);
}

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

.accreditation-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

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

.accreditation-icon i {
    font-size: 1.75rem;
    color: var(--accent-color);
}

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

.experience-section {
    background: var(--bg-white);
}

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

.exp-stat {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.exp-stat i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.exp-stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.experience-areas {
    max-width: 900px;
    margin: 0 auto;
}

.experience-areas h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

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

.expertise-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.expertise-item i {
    color: var(--success-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.expertise-item span {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 968px) {
    .team-member {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .member-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

/* Services Page Styles */
.services-intro {
    padding: 5rem 0;
    background: var(--bg-white);
}

.intro-content-services {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-large {
    font-size: 1.15rem;
    line-height: 1.9;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.service-detail {
    padding: 5rem 0;
    background: var(--bg-white);
}

.service-detail.alt-bg {
    background: var(--bg-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

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

.service-detail-grid.reverse .service-detail-image {
    order: 2;
}

.service-detail-grid.reverse .service-detail-content {
    order: 1;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--box-shadow-lg);
}

.service-detail-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-lead {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-features-list {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.service-features-list h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-features-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features-list li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-features-list li i {
    color: var(--success-color);
    margin-top: 0.25rem;
}

.additional-services {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.additional-service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.additional-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--accent-color);
}

.additional-service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.additional-service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.expert-process-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.process-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--box-shadow);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--box-shadow);
}

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

.process-card p {
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 968px) {
    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail-grid.reverse .service-detail-image,
    .service-detail-grid.reverse .service-detail-content {
        order: initial;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-detail-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.why-contact {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.why-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-benefits li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.contact-benefits i {
    color: var(--success-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact-benefits span {
    color: var(--text-light);
    line-height: 1.6;
}

.form-card-contact {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow-lg);
}

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

.form-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.services-quick-links {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-quick-links h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.quick-link-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--box-shadow);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--accent-color);
}

.quick-link-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.quick-link-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Areas Covered Page Styles */
.coverage-overview {
    padding: 5rem 0;
    background: var(--bg-white);
}

.coverage-content {
    max-width: 1000px;
    margin: 0 auto;
}

.regions-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.region-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

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

.region-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.region-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

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

.region-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.major-cities {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.major-cities strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.major-cities span {
    color: var(--text-lighter);
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-by-region {
    padding: 5rem 0;
    background: var(--bg-white);
}

.services-by-region h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.nationwide-service-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.nationwide-service-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.nationwide-service-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.nationwide-service-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.why-nationwide {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.benefit-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--box-shadow);
}

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

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Blog Pages Styles */
.blog-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

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

.blog-image-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.blog-image-link img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-link img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content h2 a {
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

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

.blog-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.read-more:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

/* Blog Article Page */
.blog-article {
    padding: 5rem 0;
    background: var(--bg-white);
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 3rem;
}

.article-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.article-meta {
    display: flex;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-lighter);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-featured-image {
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.article-content h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

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

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-content em {
    font-style: italic;
    color: var(--text-light);
}

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

.article-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

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

.article-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.key-takeaways {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 0 10px 10px 0;
    margin: 2.5rem 0;
}

.key-takeaways h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.key-takeaways ul {
    list-style: none;
    padding-left: 0;
}

.key-takeaways li {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
}

.key-takeaways li i {
    color: var(--success-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-articles h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

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

.related-article-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
}

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

.related-article-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.related-article-card h4 a {
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

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

.related-article-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}