:root {
    --primary: #964B00;
    --accent: #FFC080;
    --navy: #786C3B;
    --bg: #F5F5DC;
    --text: #333333;
    --text-muted: #666666;
    --border: #C9C4B5;
}

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

body {
    font-family: 'Nunito', -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-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

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

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

.header-main .navbar {
    padding: 1rem 0;
}

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

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

.header-main .dropdown-menu {
    border: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

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

.btn-primary:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-accent:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 4px;
}

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

.badge-primary {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.badge-accent {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.bg-navy {
    background-color: var(--navy);
}

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

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

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

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

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

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

.hero-section {
    padding-top: 103px;
}

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

.split-hero .hero-image-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.split-hero .hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(30, 58, 95, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.split-hero .hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
}

.hero-stats .stat-item {
    padding-right: 1.5rem;
    border-right: 1px solid var(--border);
}

.hero-stats .stat-item:last-child {
    border-right: none;
}

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

.bordered-card {
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bordered-card:hover {
    box-shadow: 0 7px 40px rgba(0, 0, 0, 0.08);
}

.feature-card .feature-icon,
.service-card .service-icon {
    width: 58px;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 4px;
}

.service-card .service-image {
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

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

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

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    color: rgba(220, 38, 38, 0.1);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1;
    pointer-events: none;
}

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

.team-card .team-image {
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

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

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

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 33px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

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

.stats-section .stat-card {
    padding: 2rem 0;
}

.process-number {
    width: 46px;
    height: 45px;
    font-weight: 600;
}

.step-number {
    width: 43px;
    height: 41px;
    font-weight: 600;
    font-size: 1rem;
}

.accordion-button {
    font-weight: 500;
    border-radius: 4px;
}

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

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

.page-hero {
    padding-top: 97px;
}

.breadcrumb-item a {
    text-decoration: none;
}

.client-logo {
    max-height: 51px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.grayscale {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.grayscale:hover {
    filter: grayscale(0%);
}

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

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

.blog-card-featured img {
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.object-cover {
    object-fit: cover;
}

.sidebar-widget {
    margin-bottom: 1.5rem;
}

.footer {
    margin-top: auto;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact a {
    text-decoration: none;
}

.social-links a {
    font-size: 1.25rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.legal-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-body p,
.legal-body ul {
    margin-bottom: 1rem;
}

.legal-body ul {
    padding-left: 1.5rem;
}

.legal-body ul li {
    margin-bottom: 0.5rem;
}

.article-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

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

.article-body li {
    margin-bottom: 0.5rem;
}

.contact-icon {
    width: 48px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

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

.case-study-card .case-study-image {
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

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

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

.coverage-card {
    border-left: 3px solid var(--primary);
}

.media-kit-item {
    transition: all 0.3s ease;
}

.media-kit-item:hover {
    transform: translateY(-5px);
}

.press-release-card {
    border-left: 3px solid var(--primary);
}

.training-card,
.digital-card {
    transition: all 0.3s ease;
}

.training-card:hover,
.digital-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 39px rgba(0, 0, 0, 0.1);
}

.process-timeline .process-step::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 47px;
    bottom: -25px;
    width: 2px;
    background: var(--border);
    pointer-events: none;
}

.process-timeline .process-step:last-child::before {
    display: none;
}

.process-timeline .process-step {
    position: relative;
}

.info-box {
    border-left: 4px solid var(--accent);
}

.blockquote-primary {
    font-style: italic;
}

.blockquote-footer {
    font-style: normal;
    font-weight: 500;
}

@media (max-width: 991.96px) {
    .hero-section {
        padding-top: 77px;
    }

    .page-hero {
        padding-top: 82px;
    }

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

    .min-vh-80 {
        min-height: auto;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stats .stat-item {
        border-right: none;
        padding-right: 0;
        margin-bottom: 1rem;
        width: 33.333%;
        text-align: center;
    }
}

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

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

    .hero-cta .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-stats .stat-item {
        width: 50%;
    }

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

    .display-5 {
        font-size: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
