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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

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

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #e67e22;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d35400;
}

/* Header */
header {
    background: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scroll {
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 100px;
    width: auto;
}

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

nav a {
    color: white;
    font-weight: 500;
    padding: 1px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #e67e22;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('/static/images/projects/hero-background.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 90px;
    position: relative;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #f8f9fa;
    font-weight: 400;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-icon {
    color: #e67e22;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #e67e22;
}

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

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.service-icon {
    font-size: 2rem;
    background: #fff5f0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e67e22;
}

.service-card h3 {
    margin: 0;
    color: #2c3e50;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    position: relative;
    padding: 5px 0 5px 20px;
    color: #555;
}

.service-features li::before {
    content: '•';
    color: #e67e22;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: #1a1a1a;
    color: white;
}

.gallery .section-title {
    color: white;
}

.gallery .section-subtitle {
    color: #bdc3c7;
}

.gallery-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
}

.gallery-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    height: 400px; /* Fixed height needed for absolute positioning */
}

.slide img {
    width: 100%;
    object-fit: cover;
    object-position: center center; /* Center the image */
    display: block; /* Remove inline spacing */
    margin: 0;
    padding: 0;
    transform: scale(1);
}

.slide-info {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    text-align: left;
    z-index: 2;
}

.slide-info h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.slide-info p {
    color: #f8f9fa;
    margin: 0;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(230, 126, 34, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(211, 84, 0, 0.9);
}

.prev { left: 20px; }
.next { right: 20px; }

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.about-text {
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.credentials {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e67e22;
    margin-top: 2rem;
}

.credentials p {
    margin: 0.5rem 0;
    font-weight: 500;
    color: #2c3e50;
}

.about-stats {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

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

.stat {
    text-align: center;
    padding: 1rem;
    background: #fff5f0;
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.service-areas {
    border-top: 2px solid #ecf0f1;
    padding-top: 2rem;
}

.service-areas h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-areas ul {
    list-style: none;
    columns: 2;
    gap: 1rem;
}

.service-areas li {
    padding: 3px 0;
    color: #555;
    position: relative;
    padding-left: 15px;
}

.service-areas li::before {
    content: '•';
    color: #e67e22;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

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

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid #e67e22;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    background: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e67e22;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff5f0;
    border-radius: 5px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: #e67e22;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.contact-text p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.contact-text a {
    color: #e67e22;
    font-weight: 500;
}

.contact-text a:hover {
    color: #d35400;
}

/* Footer */
footer {
    background: #111;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-info p,
.footer-contact p {
    margin: 0.5rem 0;
    color: #bdc3c7;
}

.footer-contact strong {
    color: #e67e22;
}

.footer-contact a {
    color: #bdc3c7;
}

.footer-contact a:hover {
    color: #e67e22;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.owner-intro {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #e67e22;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.owner-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #e67e22;
}

.owner-text h3 {
    margin-top: 0;
    color: #2c3e50;
}

.owner-title {
    color: #e67e22;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .gallery-dots {
        text-align: center;
        position: absolute;
        bottom: -10px !important;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
    }

    .owner-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .owner-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto;
        border-radius: 50%; /* Circular on mobile */
    }

    .gallery-slider {
        height: 450px;
        padding-bottom: 50px;
    }

    .container {
        padding: 0 15px;
    }

    .header-content {
        display: flex;
        align-items: center;
        padding: 5px 0;
    }

    .logo-img {
        height: 80px;
        flex-shrink: 0;
    }

    nav {
        position: static;
        transform: none;
        flex-grow: 1;
        display: flex;
        justify-content: flex-end;
    }

    nav ul {
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 0.1rem;
        justify-content: center;
    }

    nav a {
        font-size: 0.75rem;
        padding: 6px 6px;
        white-space: nowrap;
    }

    .hero {
        height: 70vh;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
        margin: 1.5rem 0;
    }

    .feature {
        font-size: 1rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .services {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .about {
        padding: 3rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat {
        padding: 0.8rem;
    }

    .service-areas ul {
        columns: 1;
    }

    .gallery {
        padding: 3rem 0;
    }

    .gallery-slider {
        margin: 0 15px;
        overflow: visible;
    }

    .slide img {
        height: 270px;
        z-index: 1;
    }

    .slide-info {
        padding: 1rem;
        z-index: 2;
    }

    .slide-info h3 {
        font-size: 1.2rem;
    }

    .contact {
        padding: 3rem 0;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .prev { left: 10px; }
    .next { right: 10px; }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

    .service-card {
        padding: 1.2rem;
    }

    .contact-form,
    .contact-info {
        padding: 1rem;
    }
}


.gallery-dots {
    text-align: center;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background: #e67e22;
    transform: scale(1.2);
}

.phone-number {
    color: orange;
}

.testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #e67e22;
}

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

.testimonial-text {
    margin-bottom: 1.5rem;
}

.testimonial-text p {
    font-style: italic;
    color: #555;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-text p::before {
    content: '"';
    color: #e67e22;
    font-size: 2rem;
    line-height: 0;
    margin-right: 5px;
    vertical-align: -10px;
}

.testimonial-text p::after {
    content: '"';
    color: #e67e22;
    font-size: 2rem;
    line-height: 0;
    margin-left: 5px;
    vertical-align: -10px;
}

.testimonial-author {
    border-top: 2px solid #ecf0f1;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.testimonial-author span {
    color: #7f8c8d;
    font-size: 0.9rem;
}/* ========================================
   BLOG STYLES - Moore Quality Builders
   ======================================== */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('/static/images/projects/hero-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem 0;
    margin-top: 90px;
    text-align: center;
    color: white;
}

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

.blog-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #f8f9fa;
}

/* Blog Posts Section */
.blog-posts {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

.blog-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e67e22;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-card.featured .blog-card-image {
    height: 100%;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.blog-category {
    color: #e67e22;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.blog-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 1.4rem;
}

.blog-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    color: #e67e22;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    gap: 1rem;
    color: #d35400;
}

/* Coming Soon Cards */
.blog-card.coming-soon {
    opacity: 0.7;
}

.coming-soon-badge {
    background: #95a5a6;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    margin-top: auto;
}

/* Blog CTA Section */
.blog-cta {
    background: white;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.blog-cta-content h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-cta-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BLOG POST STYLES
   ======================================== */

.blog-post-header {
    background: #1a1a1a;
    color: white;
    padding: 10rem 0 3rem 0;
    margin-top: 90px;
}

.breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #bdc3c7;
}

.breadcrumbs a {
    color: #e67e22;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #d35400;
}

.blog-post-header h1 {
    color: white;
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.blog-post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: #bdc3c7;
    font-size: 0.95rem;
}

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

.blog-post-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 3rem;
}

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

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0 5rem 0;
}

.blog-section {
    margin-bottom: 3rem;
}

.blog-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e67e22;
}

.blog-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.blog-section h4 {
    color: #34495e;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}

.blog-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.lead-paragraph {
    font-size: 1.2rem !important;
    font-weight: 500;
    color: #2c3e50 !important;
    line-height: 1.7;
    margin-bottom: 2rem !important;
}

.blog-section ul,
.blog-section ol {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.blog-section li {
    margin-bottom: 0.75rem;
    color: #555;
}

.blog-section strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Table of Contents */
.table-of-contents {
    background: #fff5f0;
    border-left: 4px solid #e67e22;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0 3rem 0;
}

.table-of-contents h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
}

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

.table-of-contents li {
    margin-bottom: 0.75rem;
}

.table-of-contents a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 500;
    transition: padding-left 0.3s ease;
    display: inline-block;
}

.table-of-contents a:hover {
    color: #d35400;
    padding-left: 10px;
}

/* Info Cards */
.info-card {
    background: white;
    border: 2px solid #ecf0f1;
    border-left: 4px solid #e67e22;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.info-card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-card p {
    margin-bottom: 0.75rem;
}

/* Highlight Boxes */
.highlight-box {
    background: #fff5f0;
    border: 2px solid #e67e22;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: #2c3e50;
    margin-top: 0;
}

.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-left: 4px solid #ff6b6b;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.warning-box strong {
    color: #d35400;
}

.tip-box {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    border-left: 4px solid #2e7d32;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.tip-box strong {
    color: #2e7d32;
}

/* Cost Table */
.cost-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cost-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.cost-table th,
.cost-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.cost-table th {
    background: #2c3e50;
    color: white;
    font-weight: 600;
}

.cost-table tr:hover {
    background: #f8f9fa;
}

/* Timeline */
.timeline {
    border-left: 3px solid #e67e22;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline-item {
    position: relative;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.2rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e67e22;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e67e22;
}

.timeline-item strong {
    display: block;
    color: #e67e22;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-visual {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.timeline-phase {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #e67e22;
}

.timeline-phase h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
}

.timeline-phase ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

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

.cta-box p {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.cta-button-secondary {
    display: inline-block;
    background: white;
    color: #e67e22;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.cta-button-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #ecf0f1;
}

.related-posts h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.related-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid #e67e22;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-card h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.related-card p {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 0 3rem 0;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

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

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

    .blog-card.featured .blog-card-image {
        height: 250px;
    }

    .blog-post-header {
        padding: 8rem 0 2rem 0;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-meta {
        gap: 1rem;
    }

    .blog-post-featured-image {
        height: 250px;
    }

    .blog-post-content {
        padding: 2rem 0 3rem 0;
    }

    .blog-section h2 {
        font-size: 1.6rem;
    }

    .lead-paragraph {
        font-size: 1.1rem !important;
    }

    .table-of-contents {
        padding: 1.5rem;
    }

    .cost-table {
        font-size: 0.9rem;
    }

    .cost-table th,
    .cost-table td {
        padding: 0.75rem 0.5rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-visual {
        gap: 1.5rem;
    }

    .timeline-phase {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 1.6rem;
    }

    .blog-post-header h1 {
        font-size: 1.6rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-cta {
        padding: 2rem 1.5rem;
    }

    .info-card,
    .highlight-box,
    .warning-box,
    .tip-box {
        padding: 1.25rem;
    }
}