/**
 * Central Auto Repair & Electric - Custom Styles
 *
 * @package Understrap_Child
 */

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */

:root {
    /* Brand Colors - matching current site */
    --cae-primary: #1a3a6e;
    --cae-primary-dark: #0f2548;
    --cae-primary-light: #2a5298;
    --cae-secondary: #c41e3a;
    --cae-accent: #f0ad4e;
    --cae-dark: #222222;
    --cae-light: #f8f9fa;
    --cae-gray: #555555;
    --cae-gray-light: #888888;

    /* Typography */
    --cae-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --cae-font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --cae-section-padding: 4.5rem;
    --cae-section-padding-sm: 3rem;

    /* Transitions */
    --cae-transition: all 0.3s ease;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

body {
    font-family: var(--cae-font-family);
    color: var(--cae-dark);
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--cae-font-heading);
    font-weight: 700;
    color: var(--cae-dark);
}

a {
    color: var(--cae-primary);
    transition: var(--cae-transition);
}

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

.section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cae-gray);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: var(--cae-transition);
    border: 2px solid transparent;
}

.btn-cae-primary {
    background-color: var(--cae-primary);
    border-color: var(--cae-primary);
    color: #fff;
}

.btn-cae-primary:hover,
.btn-cae-primary:focus {
    background-color: var(--cae-primary-dark);
    border-color: var(--cae-primary-dark);
    color: #fff;
}

.btn-cae-secondary {
    background-color: var(--cae-secondary);
    border-color: var(--cae-secondary);
    color: #fff;
}

.btn-cae-secondary:hover,
.btn-cae-secondary:focus {
    background-color: #a01830;
    border-color: #a01830;
    color: #fff;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-outline-light {
    border-width: 2px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.top-bar {
    background-color: #1a1a1a;
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--cae-accent);
}

.top-bar-social {
    display: inline-flex;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.75rem;
    transition: var(--cae-transition);
}

.top-bar-social a:hover {
    background-color: var(--cae-accent);
    color: var(--cae-dark);
}

.top-bar-social a[aria-label="Facebook"]:hover {
    background-color: #1877f2;
    color: #fff;
}

.top-bar-social a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.top-bar-social a[aria-label="Google"]:hover {
    background-color: #4285f4;
    color: #fff;
}

.top-bar-social a[aria-label="Tiktok"]:hover {
    background-color: #000;
    color: #fff;
}

.top-bar-social a[aria-label="Youtube"]:hover {
    background-color: #ff0000;
    color: #fff;
}

.navbar {
    padding: 0.75rem 0;
}

.navbar-brand img,
img.footerlogo {
    max-height: 75px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.875rem !important;
    color: var(--cae-dark) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--cae-primary) !important;
}

/* Dropdown on Hover (Desktop) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropdownFadeIn 0.2s ease;
    }

    .navbar-nav .dropdown > .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }

    .navbar-nav .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        padding: 0.5rem 0;
        min-width: 200px;
    }

    .navbar-nav .dropdown-item {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .navbar-nav .dropdown-item:hover {
        background-color: var(--cae-primary);
        color: #fff;
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--cae-primary-dark);
    padding: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(15, 37, 72, 0.92) 0%,
        rgba(26, 58, 110, 0.85) 50%,
        rgba(26, 58, 110, 0.7) 75%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.min-vh-hero {
    min-height: 520px;
    padding: 3rem 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero Features List */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.hero-features li {
    font-size: 1rem;
    margin-bottom: 0.625rem;
    color: #fff;
    font-weight: 500;
}

.hero-features li i {
    color: #fff;
    margin-right: 0.5rem;
}

/* Hero Contact */
.hero-contact {
    margin-bottom: 1rem;
}

.hero-contact-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.hero-phone {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: var(--cae-transition);
}

.hero-phone:hover {
    color: var(--cae-accent);
}

/* Hero Hours */
.hero-hours {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.hours-label {
    margin-right: 0.25rem;
}

.hours-status {
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 3px;
    margin-right: 0.25rem;
}

.hours-status.open {
    background-color: #28a745;
    color: #fff;
}

.hours-status.closed {
    background-color: var(--cae-secondary);
    color: #fff;
}

.hours-time {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Form Box */
.hero-form-box {
    background: #fff;
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.hero-form-box h3 {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    color: var(--cae-dark);
    text-align: center;
    font-weight: 700;
}

/* Form Styling */
.hero-form-box .form-control,
.hero-form-box .form-select,
.hero-form-box .wpcf7-form-control:not(.wpcf7-submit) {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 0.875rem;
    transition: border-color 0.2s ease;
}

.hero-form-box .form-control:focus,
.hero-form-box .form-select:focus,
.hero-form-box .wpcf7-form-control:focus {
    border-color: var(--cae-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 110, 0.1);
}

.hero-form-box .form-control::placeholder {
    color: #999;
}

.hero-form-box .btn,
.hero-form-box .wpcf7-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    background-color: var(--cae-primary);
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--cae-transition);
}

.hero-form-box .btn:hover,
.hero-form-box .wpcf7-submit:hover {
    background-color: var(--cae-primary-dark);
}

/* Contact Form 7 specific styling */
.hero-form-box .wpcf7-form p {
    margin-bottom: 0;
}

.hero-form-box .wpcf7-form br {
    display: none;
}

.hero-form-box .wpcf7-form label {
    width: 100%;
    margin-bottom: 0;
}

.hero-form-box .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: var(--cae-secondary);
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.hero-form-box .wpcf7-response-output {
    margin: 1rem 0 0 0;
    padding: 0.75rem;
    font-size: 0.875rem;
    border-radius: 4px;
}

/* Responsive Hero */
@media (max-width: 991.98px) {
    .min-vh-hero {
        min-height: auto;
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-phone {
        font-size: 1.5rem;
    }

    .hero-form-box {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.625rem;
    }

    .hero-features li {
        font-size: 0.9rem;
    }

    .hero-phone {
        font-size: 1.375rem;
    }

    .hero-form-box {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.intro-section {
    padding: var(--cae-section-padding) 0;
    padding-bottom: calc(var(--cae-section-padding) + 0.5rem);
    background: #fff;
}

.intro-section .section-title {
    margin-bottom: 1.25rem;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--cae-gray);
}

.brands-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.brands-section h3 {
    font-size: 1.1rem;
    color: var(--cae-dark);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.brand-list li {
    font-size: 0.9rem;
    color: var(--cae-gray);
}

.brand-list li i {
    color: var(--cae-primary);
    margin-right: 0.375rem;
}

/* ==========================================================================
   Why Choose Section
   ========================================================================== */

.why-choose-section {
    padding: var(--cae-section-padding) 0;
    padding-bottom: calc(var(--cae-section-padding) + 1rem);
    background-color: var(--cae-primary);
}

.why-choose-section .section-title {
    color: #fff;
}

.why-choose-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.why-choose-card {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 100%;
    transition: var(--cae-transition);
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.why-choose-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.why-choose-icon i {
    font-size: 1.625rem;
    color: #fff;
}

.why-choose-card h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.why-choose-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.why-choose-section .text-center.mt-5 {
    margin-top: 2.5rem !important;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    padding: var(--cae-section-padding) 0;
    padding-top: calc(var(--cae-section-padding) + 0.5rem);
    padding-bottom: calc(var(--cae-section-padding) + 0.5rem);
    background: var(--cae-light);
}

.service-card-img {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--cae-transition);
}

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

.service-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #ddd;
    flex-shrink: 0;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--cae-transition);
}

.service-card-img:hover .service-card-image img {
    transform: scale(1.03);
}

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

.service-card-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
    color: var(--cae-primary);
    font-weight: 700;
}

.service-card-content p {
    color: var(--cae-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card-content .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    align-self: flex-start;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    padding: var(--cae-section-padding) 0;
    padding-top: calc(var(--cae-section-padding) + 0.5rem);
    padding-bottom: calc(var(--cae-section-padding) + 0.5rem);
    background-color: var(--cae-primary-dark);
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.75rem;
    height: 100%;
}

.testimonial-stars {
    color: var(--cae-accent);
    margin-bottom: 0.875rem;
    font-size: 0.95rem;
}

.testimonial-stars i {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Blog Teaser Section
   ========================================================================== */

.blog-teaser-section {
    padding: var(--cae-section-padding) 0;
    background-color: var(--cae-light);
}

.blog-teaser-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--cae-transition);
}

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

.blog-teaser-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-teaser-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-teaser-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-teaser-meta {
    margin-bottom: 0.75rem;
}

.blog-teaser-date {
    font-size: 0.8rem;
    color: #888;
}

.blog-teaser-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-teaser-title a {
    color: var(--cae-dark);
    text-decoration: none;
    transition: var(--cae-transition);
}

.blog-teaser-title a:hover {
    color: var(--cae-primary);
}

.blog-teaser-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-teaser-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cae-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--cae-transition);
}

.blog-teaser-link:hover {
    color: var(--cae-secondary);
}

.blog-teaser-link i {
    transition: transform 0.3s ease;
}

.blog-teaser-link:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Blog Archive Page
   ========================================================================== */

.blog-hero-section {
    background: linear-gradient(135deg, var(--cae-primary) 0%, var(--cae-primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
}

.blog-hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin: 0;
}

.blog-archive-section {
    padding: var(--cae-section-padding) 0;
    background-color: var(--cae-light);
}

/* Blog Cards */
.blog-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    transition: var(--cae-transition);
}

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

.blog-card-image-link {
    display: block;
    flex: 0 0 280px;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
    transition: transform 0.4s ease;
}

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

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

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #888;
}

.blog-card-meta a {
    color: #888;
    text-decoration: none;
}

.blog-card-meta a:hover {
    color: var(--cae-primary);
}

.blog-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--cae-dark);
    text-decoration: none;
    transition: var(--cae-transition);
}

.blog-card-title a:hover {
    color: var(--cae-primary);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cae-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--cae-transition);
}

.blog-card-link:hover {
    color: var(--cae-secondary);
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(4px);
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 3rem;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 8px;
    background: #fff;
    color: var(--cae-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--cae-transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.blog-pagination .page-numbers:hover {
    background: var(--cae-primary);
    color: #fff;
}

.blog-pagination .page-numbers.current {
    background: var(--cae-primary);
    color: #fff;
}

.blog-pagination .prev,
.blog-pagination .next {
    padding: 0 1rem;
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.no-posts-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.no-posts-message h2 {
    color: var(--cae-dark);
    margin-bottom: 0.75rem;
}

.no-posts-message p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cae-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cae-light);
}

/* Search Widget */
.search-widget .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.search-widget .form-control {
    border: 1px solid #e0e0e0;
    border-right: none;
    padding: 0.75rem 1rem;
}

.search-widget .form-control:focus {
    border-color: var(--cae-primary);
    box-shadow: none;
}

.search-widget .btn {
    border-radius: 0;
    padding: 0.75rem 1rem;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    border-bottom: 1px solid #f0f0f0;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: #555;
    text-decoration: none;
    transition: var(--cae-transition);
}

.categories-list a:hover {
    color: var(--cae-primary);
    padding-left: 0.5rem;
}

.categories-list .count {
    font-size: 0.8rem;
    color: #999;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: 1rem;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
}

.recent-post-item {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--cae-transition);
}

.recent-post-item:hover .recent-post-title {
    color: var(--cae-primary);
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cae-dark);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--cae-transition);
}

.recent-post-date {
    font-size: 0.8rem;
    color: #999;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--cae-primary) 0%, var(--cae-primary-dark) 100%);
    color: #fff;
}

.cta-widget h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cta-widget .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-widget .btn-outline-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--cae-primary);
}

/* Responsive Blog Cards */
@media (max-width: 767.98px) {
    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-card-image-link {
        flex: none;
        aspect-ratio: 16 / 10;
    }

    .blog-card-image {
        min-height: auto;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .blog-sidebar {
        margin-top: 2rem;
    }
}

/* ==========================================================================
   Single Post Page
   ========================================================================== */

.single-post-hero {
    background: linear-gradient(135deg, var(--cae-primary) 0%, var(--cae-primary-dark) 100%);
    padding: 4rem 0 3rem;
    text-align: center;
}

.single-post-meta-top {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.single-post-meta-top .post-category a {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--cae-transition);
}

.single-post-meta-top .post-category a:hover {
    background: #fff;
    color: var(--cae-primary);
}

.single-post-meta-top .post-date {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.single-post-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

/* Featured Image */
.single-post-featured-image {
    margin-top: -2rem;
    margin-bottom: 2rem;
}

.single-post-featured-image .featured-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Post Content Section */
.single-post-content-section {
    padding: var(--cae-section-padding) 0;
    background-color: var(--cae-light);
}

.single-post-article {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.single-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.single-post-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--cae-dark);
}

.single-post-content h3 {
    font-size: 1.4rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--cae-dark);
}

.single-post-content h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--cae-dark);
}

.single-post-content p {
    margin-bottom: 1.25rem;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.single-post-content blockquote {
    border-left: 4px solid var(--cae-primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--cae-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.single-post-content a {
    color: var(--cae-primary);
    text-decoration: underline;
}

.single-post-content a:hover {
    color: var(--cae-secondary);
}

/* Post Tags */
.single-post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.single-post-tags .tags-label {
    color: #666;
    font-weight: 600;
}

.single-post-tags a {
    background: var(--cae-light);
    color: #555;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--cae-transition);
}

.single-post-tags a:hover {
    background: var(--cae-primary);
    color: #fff;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--cae-light);
    border-radius: 12px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    font-size: 1.15rem;
    margin: 0.25rem 0 0.5rem;
    color: var(--cae-dark);
}

.author-bio {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.post-navigation a {
    display: block;
    text-decoration: none;
    transition: var(--cae-transition);
}

.post-navigation a:hover .nav-title {
    color: var(--cae-primary);
}

.post-navigation .nav-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--cae-dark);
    transition: var(--cae-transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-navigation .nav-next {
    text-align: right;
}

/* Responsive Single Post */
@media (max-width: 991.98px) {
    .single-post-title {
        font-size: 2rem;
    }

    .single-post-article {
        padding: 1.5rem;
    }

    .blog-sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .single-post-hero {
        padding: 3rem 0 2rem;
    }

    .single-post-title {
        font-size: 1.6rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        display: flex;
        justify-content: center;
    }
}

/* ==========================================================================
   Contact CTA Section
   ========================================================================== */

.contact-cta-section {
    padding: 2.5rem 0;
    background: var(--cae-dark);
    color: #fff;
}

.cta-title {
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
    color: #fff;
    font-weight: 700;
}

.cta-text {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.95rem;
}

.contact-cta-section .btn-light {
    color: var(--cae-dark);
    font-weight: 600;
    background: #fff;
    border-color: #fff;
}

.contact-cta-section .btn-light:hover {
    background: var(--cae-accent);
    border-color: var(--cae-accent);
    color: var(--cae-dark);
}

@media (max-width: 991.98px) {
    .contact-cta-section {
        text-align: center;
    }

    .contact-cta-section .text-lg-end {
        margin-top: 1.25rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3.5rem 0 1.5rem;
}

.footer-widget-title {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: #fff;
    font-weight: 600;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--cae-transition);
    font-size: 0.9rem;
}

.footer-widget a:hover {
    color: var(--cae-accent);
}

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

.footer-contact i {
    width: 18px;
    color: var(--cae-accent);
    margin-right: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.75);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
}

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

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: var(--cae-transition);
    text-decoration: none;
}

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

.footer-social a[aria-label="Facebook"]:hover {
    background-color: #1877f2;
    color: #fff;
}

.footer-social a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.footer-social a[aria-label="Yelp"]:hover {
    background-color: #d32323;
    color: #fff;
}

.footer-social a[aria-label="Google"]:hover,
.footer-social a[aria-label="Google Maps"]:hover {
    background-color: #4285f4;
    color: #fff;
}

.footer-social a[aria-label="Tiktok"]:hover {
    background-color: #000;
    color: #fff;
}

.footer-social a[aria-label="Youtube"]:hover {
    background-color: #ff0000;
    color: #fff;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.bg-cae-primary {
    background-color: var(--cae-primary) !important;
}

.bg-cae-secondary {
    background-color: var(--cae-secondary) !important;
}

.bg-cae-light {
    background-color: var(--cae-light) !important;
}

.text-cae-primary {
    color: var(--cae-primary) !important;
}

.text-cae-secondary {
    color: var(--cae-secondary) !important;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 991.98px) {
    :root {
        --cae-section-padding: 3.5rem;
    }

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

@media (max-width: 767.98px) {
    :root {
        --cae-section-padding: 2.5rem;
    }

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

    .service-card-image {
        height: 180px;
    }

    .why-choose-card {
        padding: 1.25rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   Fix for Bootstrap row negative margins
   ========================================================================== */

.services-section .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 2rem;
}

.why-choose-section .row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.5rem;
}

.testimonials-section .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* ==========================================================================
   Page Hero (Services, About, Contact, etc.)
   ========================================================================== */

.page-hero {
    background-color: var(--cae-primary);
    padding: 3.5rem 0;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--cae-primary-dark) 0%, var(--cae-primary) 100%);
    opacity: 0.95;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.page-hero .breadcrumb {
    background: none;
    padding: 0;
    margin: 1rem 0 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumb-item a:hover {
    color: #fff;
}

.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Services Page
   ========================================================================== */

.services-intro {
    padding: 3rem 0;
    background: #fff;
}

.services-intro-content {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--cae-gray);
}

.services-grid-section {
    padding: var(--cae-section-padding) 0;
    background: var(--cae-light);
}

/* Service Grid Cards */
.service-grid-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--cae-transition);
    text-align: center;
}

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

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

.service-grid-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-grid-card h3 {
    font-size: 1.25rem;
    color: var(--cae-dark);
    margin-bottom: 0.75rem;
}

.service-grid-card p {
    font-size: 0.95rem;
    color: var(--cae-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-list li {
    padding: 0.375rem 0;
    font-size: 0.9rem;
    color: var(--cae-gray);
    border-bottom: 1px solid #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--cae-primary);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Services Warranty Section */
.services-warranty-section {
    padding: 3rem 0;
    background: var(--cae-primary);
    color: #fff;
}

.services-warranty-section h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.services-warranty-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-size: 1.05rem;
}

.warranty-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Services CTA Section */
.services-cta-section {
    padding: 3.5rem 0;
    background: var(--cae-dark);
    color: #fff;
}

.services-cta-section h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.services-cta-section p {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Single Service Page
   ========================================================================== */

.service-detail-content {
    padding: var(--cae-section-padding) 0;
    background: #fff;
}

.service-article {
    padding-right: 2rem;
}

.service-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--cae-dark);
}

.service-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--cae-dark);
}

.service-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--cae-gray);
}

.service-content ul,
.service-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.service-content li {
    margin-bottom: 0.5rem;
    color: var(--cae-gray);
}

/* Service Sidebar Cards */
.service-sidebar-card {
    background: var(--cae-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-sidebar-card h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--cae-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cae-primary);
}

.service-sidebar-card p {
    font-size: 0.95rem;
    color: var(--cae-gray);
    margin-bottom: 1rem;
}

/* Hours List */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Warranty Sidebar Card */
.service-sidebar-card.warranty-card {
    background: var(--cae-primary);
    color: #fff;
    text-align: center;
}

.service-sidebar-card.warranty-card h4 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.service-sidebar-card.warranty-card p {
    color: rgba(255, 255, 255, 0.9);
}

.service-sidebar-card.warranty-card .warranty-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

/* Other Services List */
.other-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-services-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.other-services-list li:last-child {
    border-bottom: none;
}

.other-services-list a {
    color: var(--cae-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--cae-transition);
}

.other-services-list a:hover {
    color: var(--cae-primary);
}

.other-services-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    color: var(--cae-primary);
}

/* Responsive Service Pages */
@media (max-width: 991.98px) {
    .service-article {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .page-hero-title {
        font-size: 1.875rem;
    }

    .services-warranty-section {
        text-align: center;
    }

    .services-warranty-section .text-lg-end {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 2.5rem 0;
    }

    .page-hero-title {
        font-size: 1.625rem;
    }

    .service-grid-card {
        padding: 1.5rem;
    }

    .service-grid-icon {
        width: 65px;
        height: 65px;
    }

    .service-grid-icon i {
        font-size: 1.625rem;
    }
}

/* ==========================================================================
   Service Page Content Section
   ========================================================================== */

.service-content-section {
    padding: var(--cae-section-padding) 0;
    background: #fff;
}

.service-main-content {
    padding-right: 1.5rem;
}

.service-page-content h2 {
    font-size: 1.5rem;
    color: var(--cae-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-page-content h2:first-child {
    margin-top: 0;
}

.service-page-content h3 {
    font-size: 1.25rem;
    color: var(--cae-dark);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.service-page-content p {
    color: var(--cae-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-page-content ul,
.service-page-content ol {
    color: var(--cae-gray);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.service-page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-page-content a {
    color: var(--cae-primary);
    text-decoration: underline;
}

.service-page-content a:hover {
    color: var(--cae-primary-dark);
}

/* ==========================================================================
   Service Sidebar
   ========================================================================== */

.service-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.sidebar-card h4 {
    font-size: 1.125rem;
    color: var(--cae-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cae-primary);
}

/* Review Card */
.sidebar-card.review-card {
    text-align: center;
    background: linear-gradient(135deg, var(--cae-light) 0%, #fff 100%);
}

.review-stars {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.review-stars i {
    margin: 0 2px;
}

.review-cta {
    font-weight: 600;
    color: var(--cae-dark);
    margin-bottom: 0.25rem;
}

.review-location {
    font-size: 0.875rem;
    color: var(--cae-gray);
    margin-bottom: 1rem;
}

/* Testimonial Sidebar Card */
.sidebar-card.testimonial-sidebar-card {
    background: var(--cae-light);
    border: none;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--cae-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.testimonial-avatar i {
    color: #fff;
    font-size: 1.25rem;
}

.testimonial-info strong {
    display: block;
    color: var(--cae-dark);
    margin-bottom: 0.25rem;
}

.testimonial-stars-small {
    color: #ffc107;
    font-size: 0.8rem;
}

.testimonial-stars-small i {
    margin-right: 1px;
}

.testimonial-quote {
    font-style: italic;
    color: var(--cae-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--cae-primary);
}

/* Appointment Card */
.sidebar-card.appointment-card {
    background: var(--cae-primary);
    color: #fff;
    border: none;
}

.sidebar-card.appointment-card h4 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-card.appointment-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* Offer Card */
.sidebar-card.offer-card {
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, var(--cae-light) 100%);
    border: 2px dashed var(--cae-primary);
}

.offer-badge {
    display: inline-block;
    background: var(--cae-secondary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.offer-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cae-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.offer-description {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cae-dark);
    margin-bottom: 0.75rem;
}

.offer-details {
    font-size: 0.8rem;
    color: var(--cae-gray-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Services List Card */
.sidebar-card.services-list-card {
    background: var(--cae-light);
    border: none;
}

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

.sidebar-services-list li {
    border-bottom: 1px solid #ddd;
}

.sidebar-services-list li:last-child {
    border-bottom: none;
}

.sidebar-services-list a {
    display: block;
    padding: 0.625rem 0;
    color: var(--cae-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--cae-transition);
}

.sidebar-services-list a:hover {
    color: var(--cae-primary);
    padding-left: 0.5rem;
}

.sidebar-services-list a i {
    color: var(--cae-primary);
    font-size: 0.75rem;
    margin-right: 0.5rem;
    transition: var(--cae-transition);
}

.sidebar-services-list a:hover i {
    margin-right: 0.75rem;
}

/* ==========================================================================
   Service Bottom CTA
   ========================================================================== */

.service-bottom-cta {
    padding: 3.5rem 0;
    background: var(--cae-primary-dark);
    color: #fff;
}

.service-bottom-cta h2 {
    color: #fff;
    font-size: 1.625rem;
    margin-bottom: 0.75rem;
}

.service-bottom-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .service-main-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .service-sidebar {
        position: static;
    }

    .service-bottom-cta {
        text-align: center;
    }

    .service-bottom-cta .text-lg-end {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .sidebar-card {
        padding: 1.25rem;
    }

    .offer-amount {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-hero {
    background: linear-gradient(135deg, var(--cae-primary-dark) 0%, var(--cae-primary) 100%);
    padding: 4rem 0;
}

.contact-hero .page-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 4rem 0;
    background: var(--cae-light);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.contact-info-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: var(--cae-transition);
}

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

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

.contact-info-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contact-info-card h3 {
    font-size: 1.25rem;
    color: var(--cae-dark);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--cae-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-info-link {
    color: var(--cae-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-info-link:hover {
    color: var(--cae-primary-dark);
    text-decoration: underline;
}

/* Contact Main Section */
.contact-main-section {
    padding: 4rem 0 5rem;
    background: #fff;
}

.contact-form-wrapper h2,
.contact-map-wrapper h2 {
    font-size: 1.75rem;
    color: var(--cae-dark);
    margin-bottom: 0.5rem;
}

/* Contact Form Styles */
.contact-form .form-label {
    font-weight: 600;
    color: var(--cae-dark);
    font-size: 0.9rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--cae-primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 110, 0.1);
}

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

/* Map Container */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* Contact Details Card */
.contact-details-card {
    background: var(--cae-light);
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-details-card h4 {
    font-size: 1.25rem;
    color: var(--cae-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cae-primary);
}

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

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
}

.contact-details-list li:last-child {
    border-bottom: none;
}

.contact-details-list li i {
    width: 20px;
    color: var(--cae-primary);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-details-list li a {
    color: var(--cae-gray);
    text-decoration: none;
    transition: var(--cae-transition);
}

.contact-details-list li a:hover {
    color: var(--cae-primary);
}

.contact-details-list li span {
    color: var(--cae-gray);
    line-height: 1.5;
}

/* Contact Form 7 Overrides */
.contact-form-wrapper .wpcf7-form .form-control,
.contact-form-wrapper .wpcf7-form-control:not(.wpcf7-submit) {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-form-wrapper .wpcf7-form-control:focus {
    border-color: var(--cae-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 110, 0.1);
}

.contact-form-wrapper .wpcf7-submit {
    background-color: var(--cae-primary);
    border: none;
    color: #fff;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--cae-transition);
}

.contact-form-wrapper .wpcf7-submit:hover {
    background-color: var(--cae-primary-dark);
}

.contact-form-wrapper .wpcf7-not-valid-tip {
    color: var(--cae-secondary);
    font-size: 0.85rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper .wpcf7-response-output {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 4px;
}

/* Responsive Contact Page */
@media (max-width: 991.98px) {
    .contact-info-section {
        padding: 3rem 0;
        margin-top: -1rem;
    }

    .contact-main-section {
        padding: 3rem 0 4rem;
    }

    .contact-form-wrapper {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 3rem 0;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-info-icon {
        width: 60px;
        height: 60px;
    }

    .contact-info-icon i {
        font-size: 1.25rem;
    }

    .contact-form-wrapper h2,
    .contact-map-wrapper h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-hero {
    background: linear-gradient(135deg, var(--cae-primary-dark) 0%, var(--cae-primary) 100%);
    padding: 4rem 0;
}

.about-hero .page-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* About Intro Section */
.about-intro-section {
    padding: 5rem 0;
    background: #fff;
}

.about-intro-content h2 {
    font-size: 2rem;
    color: var(--cae-dark);
    margin-bottom: 1rem;
}

.about-intro-content .lead {
    font-size: 1.15rem;
    color: var(--cae-primary);
    font-weight: 500;
}

.about-intro-content p {
    color: var(--cae-gray);
    line-height: 1.8;
}

.about-intro-image img {
    width: 100%;
    height: auto;
}

/* About Features */
.about-feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.about-feature-item i {
    color: var(--cae-primary);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.about-feature-item span {
    color: var(--cae-dark);
    font-weight: 500;
}

/* About Services Section */
.about-services-section {
    padding: 5rem 0;
    background: var(--cae-light);
}

.about-service-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--cae-transition);
}

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

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

.about-service-item h4 {
    font-size: 1.1rem;
    color: var(--cae-dark);
    margin-bottom: 0.75rem;
}

.about-service-item p {
    color: var(--cae-gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Shop Gallery Section */
.shop-gallery-section {
    padding: 5rem 0;
    background: #fff;
}

.shop-gallery {
    margin: 0 -0.5rem;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 110, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #fff;
}

/* First two images larger */
.shop-gallery .col-md-6:first-child .gallery-item img,
.shop-gallery .col-md-6:nth-child(2) .gallery-item img {
    height: 300px;
}

/* About Why Section */
.about-why-section {
    padding: 5rem 0;
    background: var(--cae-light);
}

.about-why-section h2 {
    font-size: 2rem;
    color: var(--cae-dark);
    margin-bottom: 0.75rem;
}

.about-why-section .lead {
    color: var(--cae-gray);
    margin-bottom: 2rem;
}

.why-choose-list {
    margin-top: 1.5rem;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.why-choose-item .why-choose-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    flex: 0 0 50px;
    background: var(--cae-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    margin-top: 0;
}

.why-choose-item .why-choose-icon i {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
}

.why-choose-item .why-choose-content {
    flex: 1;
    padding-top: 0;
}

.why-choose-item .why-choose-content h4 {
    font-size: 1.1rem;
    color: var(--cae-dark);
    margin-bottom: 0.25rem;
    margin-top: 0;
    line-height: 1.3;
}

.why-choose-item .why-choose-content p {
    color: var(--cae-gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Location Card */
.about-location-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-location-card h3 {
    font-size: 1.5rem;
    color: var(--cae-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--cae-primary);
}

.location-details p {
    margin-bottom: 1rem;
    color: var(--cae-gray);
}

.location-address {
    font-size: 1rem;
    line-height: 1.7;
}

.location-address strong {
    color: var(--cae-dark);
    font-size: 1.1rem;
}

.location-phone a,
.location-email a {
    color: var(--cae-primary);
    text-decoration: none;
    font-weight: 500;
}

.location-phone a:hover,
.location-email a:hover {
    text-decoration: underline;
}

.location-hours {
    background: var(--cae-light);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.location-hours p {
    margin: 0;
    font-size: 0.95rem;
}

.location-hours strong {
    color: var(--cae-dark);
}

/* About CTA Section */
.about-cta-section {
    padding: 4rem 0;
    background: var(--cae-primary);
    color: #fff;
}

.about-cta-section h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.about-cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

/* Responsive About Page */
@media (max-width: 991.98px) {
    .about-intro-section,
    .about-services-section,
    .shop-gallery-section,
    .about-why-section {
        padding: 4rem 0;
    }

    .about-intro-content {
        margin-bottom: 2rem;
    }

    .about-intro-content h2,
    .about-why-section h2 {
        font-size: 1.75rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .shop-gallery .col-md-6:first-child .gallery-item img,
    .shop-gallery .col-md-6:nth-child(2) .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        padding: 3rem 0;
    }

    .about-intro-section,
    .about-services-section,
    .shop-gallery-section,
    .about-why-section {
        padding: 3rem 0;
    }

    .about-service-item {
        padding: 1.5rem;
    }

    .about-service-item i {
        font-size: 2rem;
    }

    .gallery-item img,
    .shop-gallery .col-md-6:first-child .gallery-item img,
    .shop-gallery .col-md-6:nth-child(2) .gallery-item img {
        height: 200px;
    }

    .about-location-card {
        margin-top: 2rem;
    }

    .about-cta-section h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Lightbox Gallery
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    padding: 1rem 0 0.5rem;
    font-size: 1rem;
    max-width: 600px;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--cae-accent);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Lightbox */
@media (max-width: 767.98px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        padding: 0.75rem 1rem 0.5rem;
    }

    .lightbox-image {
        max-height: 70vh;
    }
}

/* ==========================================================================
   Specials Page
   ========================================================================== */

/* Specials Hero */
.specials-hero {
    background: linear-gradient(135deg, var(--cae-primary) 0%, var(--cae-primary-dark) 100%);
    padding: 3rem 0;
}

.specials-hero .page-hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.specials-hero .page-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Specials Intro Section */
.specials-intro-section {
    padding: 4rem 0 2rem;
    background: #fff;
}

.specials-intro-section h2 {
    font-size: 2rem;
    color: var(--cae-primary);
    margin-bottom: 1.5rem;
}

.specials-intro-text {
    font-size: 1rem;
    color: var(--cae-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.specials-intro-text a {
    color: var(--cae-primary);
    text-decoration: underline;
}

.specials-intro-text a:hover {
    color: var(--cae-primary-dark);
}

.specials-intro-subtext {
    font-size: 0.95rem;
    color: var(--cae-gray);
    line-height: 1.8;
}

/* Specials Grid Section */
.specials-grid-section {
    padding: 2rem 0 4rem;
    background: var(--cae-light);
}

/* Special Card */
.special-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: var(--cae-transition);
}

.special-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.special-icon {
    width: 60px;
    height: 60px;
    background: var(--cae-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.special-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.special-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cae-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.special-terms {
    font-size: 0.85rem;
    color: var(--cae-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.special-note {
    font-size: 0.9rem;
    color: var(--cae-dark);
    margin-bottom: 1.25rem;
}

.special-note strong {
    font-weight: 600;
}

.btn-special {
    background: var(--cae-primary);
    color: #fff;
    border: 2px solid var(--cae-primary);
    padding: 0.6rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    margin-top: auto;
    transition: var(--cae-transition);
}

.btn-special:hover {
    background: var(--cae-primary-dark);
    border-color: var(--cae-primary-dark);
    color: #fff;
}

/* Specials Learn More Section */
.specials-learn-more-section {
    padding: 4rem 0;
    background: var(--cae-primary);
    color: #fff;
}

.specials-learn-more-section h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.specials-learn-more-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.specials-video-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.specials-video-wrapper img {
    width: 100%;
    height: auto;
}

.specials-video-wrapper .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--cae-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: var(--cae-transition);
}

.specials-video-wrapper .video-play-btn:hover {
    background: #a01830;
    transform: translate(-50%, -50%) scale(1.1);
}

.specials-video-wrapper .video-play-btn i {
    margin-left: 4px;
}

/* Specials CTA Section */
.specials-cta-section {
    padding: 3.5rem 0;
    background: var(--cae-dark);
    color: #fff;
}

.specials-cta-section h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.specials-cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.specials-cta-section .btn-light {
    background: #fff;
    color: var(--cae-primary);
    border: 2px solid #fff;
    font-weight: 600;
}

.specials-cta-section .btn-light:hover {
    background: transparent;
    color: #fff;
}

/* Responsive Specials Page */
@media (max-width: 991.98px) {
    .specials-intro-section {
        padding: 3rem 0 1.5rem;
    }

    .specials-grid-section {
        padding: 1.5rem 0 3rem;
    }

    .specials-learn-more-section {
        padding: 3rem 0;
    }

    .special-card {
        padding: 1.5rem;
    }

    .special-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .specials-hero {
        padding: 2.5rem 0;
    }

    .specials-hero .page-hero-title {
        font-size: 2rem;
    }

    .specials-intro-section h2 {
        font-size: 1.5rem;
    }

    .specials-intro-text,
    .specials-intro-subtext {
        font-size: 0.9rem;
    }

    .special-card {
        padding: 1.25rem;
    }

    .special-icon {
        width: 50px;
        height: 50px;
    }

    .special-icon i {
        font-size: 1.25rem;
    }

    .special-title {
        font-size: 1.1rem;
    }

    .special-terms {
        font-size: 0.8rem;
    }

    .specials-learn-more-section h2 {
        font-size: 1.5rem;
    }

    .specials-video-wrapper {
        margin-top: 2rem;
    }

    .specials-cta-section h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Homepage Latest Blog Posts Section
   ========================================================================== */

.latest-posts-section {
    padding: var(--cae-section-padding) 0;
    background: var(--cae-light);
}

.latest-posts-section .section-title {
    color: var(--cae-dark);
    margin-bottom: 0.5rem;
}

.latest-posts-section .section-subtitle {
    color: var(--cae-gray-light);
    font-size: 1.1rem;
}

/* Homepage Blog Card - Vertical Layout (matching service cards) */
.home-blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--cae-transition);
}

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

.home-blog-card-image-link {
    display: block;
    overflow: hidden;
    height: 200px;
    background: #ddd;
    flex-shrink: 0;
}

.home-blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--cae-transition);
}

.home-blog-card:hover .home-blog-card-image {
    transform: scale(1.03);
}

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

.home-blog-card-meta {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--cae-gray-light);
}

.home-blog-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    line-height: 1.4;
}

.home-blog-card-title a {
    color: var(--cae-primary);
    text-decoration: none;
    transition: var(--cae-transition);
}

.home-blog-card-title a:hover {
    color: var(--cae-primary-dark);
}

.home-blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--cae-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.home-blog-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--cae-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 5px;
    transition: var(--cae-transition);
    align-self: flex-start;
}

.home-blog-card-link:hover {
    background: var(--cae-secondary);
    color: #fff;
}

.home-blog-card-link i {
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.home-blog-card-link:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .latest-posts-section {
        padding: var(--cae-section-padding-sm) 0;
    }
}

@media (max-width: 767.98px) {
    .home-blog-card-title {
        font-size: 1.1rem;
    }

    .home-blog-card-content {
        padding: 1.25rem;
    }
}
