:root {
    --primary: #964B00;
    --accent: #FFC080;
    --bg: #F5F5DC;
    --text: #333333;
    --navy: #2F4F7F;
    --light-gray: #F0F0F0;
    --border-color: #C9C4B5;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

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

section {
    padding: 78px 0;
}

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

img:not(.logo-img):not(.logo) {
    max-width: 100%;
    height: auto;
}

.header-main {
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand .site-name {
    color: var(--navy);
    font-size: 1.25rem;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 39px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
}

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

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--text);
}

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

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

.bg-primary-soft {
    background-color: rgba(220, 38, 38, 0.1);
}

.split-hero {
    padding-top: 120px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.min-vh-70 {
    min-height: 70vh;
}

.hero-content {
    padding-right: 2rem;
}

.hero-features li {
    font-size: 1rem;
    color: var(--text);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    border-radius: 14px;
}

.hero-stat-badge {
    position: absolute;
    bottom: -23px;
    left: -18px;
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    text-align: center;
}

.hero-stat-badge .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-stat-badge .stat-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.bordered-card {
    background: var(--bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.bordered-card:hover {
    border-color: var(--primary);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.1);
}

.bordered-card::before {
    pointer-events: none;
}

.bordered-card::after {
    pointer-events: none;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 57px;
    height: 59px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(220, 38, 38, 0.1);
    border-radius: 8px;
}

.service-card {
    display: flex;
    align-items: flex-start;
}

.service-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

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

.testimonial-avatar {
    width: 61px;
    height: 61px;
    object-fit: cover;
}

.team-card {
    padding: 2rem;
}

.team-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 39px;
    border-radius: 50%;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--primary);
    color: #fff !important;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
}

.stat-item {
    padding: 1.5rem;
}

.accordion-button {
    font-weight: 600;
    color: var(--text);
    background-color: var(--bg);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-button::after {
    pointer-events: none;
}

.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0f172a 100%);
}

.footer-main {
    background-color: #0f172a;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary) !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 43px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
}

.page-hero {
    padding: 160px 0 82px;
    background: linear-gradient(135deg, var(--navy) 0%, #0f172a 100%);
    color: #fff;
    text-align: center;
}

.page-hero .breadcrumb {
    justify-content: center;
    margin-bottom: 1rem;
}

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

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

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

.article-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

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

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text);
    opacity: 0.7;
}

.article-featured-image {
    margin-bottom: 2rem;
}

.article-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-card {
    height: 100%;
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

.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);
}

.pricing-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: #fff;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 17px;
    pointer-events: none;
}

.pricing-card::after {
    pointer-events: none;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.pricing-price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.contact-info-card {
    padding: 2rem;
    text-align: center;
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-form {
    padding: 2rem;
}

.form-control {
    border-radius: 4px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.case-study-card {
    position: relative;
    overflow: hidden;
}

.case-study-image {
    height: 250px;
    overflow: hidden;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

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

.coverage-card {
    transition: transform 0.3s ease;
}

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

.coverage-logo img {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.press-card {
    text-align: center;
    padding: 2rem;
}

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

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

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

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

@media (max-width: 991.100px) {
    .split-hero {
        padding-top: 99px;
        min-height: auto;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-features {
        display: inline-block;
        text-align: left;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stat-badge {
        bottom: 11px;
        left: 13px;
    }

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

    .service-image {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }

    .service-content {
        padding-left: 0 !important;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 767.101px) {
    section {
        padding: 61px 0;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .navbar-brand .site-name {
        font-size: 1rem;
    }

    .team-image img {
        width: 102px;
        height: 101px;
    }

    .article-featured-image img {
        height: 250px;
    }
}
