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

:root {
    --primary-color: #882828;
    --primary-dark: #6b1f1f;
    --secondary-color: #2c2c2c;
    --accent-color: #6b7280;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-gutter: stable;
}

/* Ensure all images are responsive by default */
img {
    max-width: 100%;
    height: auto;
}

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

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    z-index: 1001;
    padding: 0.75rem 0;
    transition: padding 0.3s ease, transform 0.3s ease;
}

.top-bar.scrolled {
    padding: 0.4rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.schedule-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.schedule-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(136, 40, 40, 0.3);
}

.top-bar.scrolled .phone-link {
    font-size: 0.85rem;
}

.top-bar.scrolled .schedule-btn {
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 2rem 0;
    transition: padding 0.3s ease, top 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    top: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    line-height: 0;
}

.nav-brand a {
    display: inline-block;
    line-height: 0;
}

.nav-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo {
    height: 70px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.navbar.scrolled .nav-menu a {
    font-size: 1rem;
}

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

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

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    list-style: none;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.75rem 0;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.dropdown-menu li {
    margin: 0;
    position: relative;
}

.dropdown-menu a {
    display: block;
    padding: 0.85rem 1.25rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-menu-item {
    position: relative;
}

.dropdown-menu-item:hover .dropdown-description {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(136, 40, 40, 0.05);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.dropdown-header-link {
    font-weight: 600;
    position: relative;
}

.dropdown-description {
    position: absolute;
    right: 100%;
    top: 0;
    margin-right: 0.75rem;
    background: var(--white);
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    max-width: 260px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1003;
    border: 1px solid #e5e7eb;
    font-weight: 500;
}

.dropdown-description::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 1.5rem;
    border: 6px solid transparent;
    border-left-color: var(--white);
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 1.25rem;
    padding: 0 !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background: var(--primary-color);
    color: var(--white);
    padding-top: 180px;
    padding-bottom: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

/* Quick Contact Section */
.quick-contact-section {
    padding: 60px 0;
    background: var(--white);
}

.quick-contact-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.quick-contact-header {
    display: table-header-group;
    background: var(--primary-color);
    color: var(--white);
}

.quick-contact-header h2 {
    padding: 1.5rem 2rem;
    margin: 0;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
}

.quick-contact-body {
    display: table-row-group;
}

.quick-contact-text,
.quick-contact-form-wrapper {
    display: table-cell;
    vertical-align: middle;
    padding: 2rem;
}

.quick-contact-text {
    width: 50%;
    text-align: left;
}

.quick-contact-text p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.quick-contact-form-wrapper {
    width: 50%;
    background: rgba(136, 40, 40, 0.03);
    border-left: 2px solid var(--primary-color);
}

.quick-contact-form-wrapper h3 {
    margin: 0 0 1.5rem 0;
    color: var(--primary-color);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 600;
}

.quick-contact-form .form-group {
    margin-bottom: 1rem;
}

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quick-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quick-contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.hero-image-fullwidth {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.hero-image-fullwidth img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

.hero-content-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    align-items: stretch;
    margin: 2rem auto;
    max-width: 1300px;
    width: 100%;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    position: relative;
    box-shadow: none;
}

.hero-text-left {
    text-align: left;
    background: white;
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    border-radius: 16px 0 0 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-text-left h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    line-height: 1.4;
    padding-top: 0;
}

.hero-text-left p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0 0 1.2rem 0;
    text-align: justify;
}

.hero-text-left p:last-child {
    margin-bottom: 0;
}

.hero-benefits-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.hero-benefits-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: var(--text-dark);
}

.hero-benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.hero-form-right {
    background: var(--white);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    width: 100%;
    border: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
    border-radius: 0 16px 16px 0;
    box-shadow: none;
    justify-content: space-between;
    align-items: flex-start;
}

.form-heading {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    text-align: left;
    padding-top: 0;
}

.hero-quick-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    justify-content: space-between;
}

.hero-quick-form .form-group {
    margin-bottom: 0.75rem;
}

.hero-quick-form textarea {
    margin-bottom: 0;
}

.hero-quick-form .form-group:has(textarea) {
    margin-bottom: 0.4rem;
}

.hero-quick-form input,
.hero-quick-form textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 0.85rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.hero-quick-form input {
    height: 38px;
}

.hero-quick-form input::placeholder,
.hero-quick-form textarea::placeholder {
    color: var(--accent-color);
}

.hero-quick-form input:focus,
.hero-quick-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(136, 40, 40, 0.1);
}

.hero-quick-form .optional-field {
    border: 1px solid #d1d5db;
}

.hero-quick-form .optional-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(136, 40, 40, 0.1);
}

.hero-quick-form textarea {
    resize: none;
    height: 120px;
    overflow-y: auto;
    margin-bottom: 0;
}

.recaptcha-disclaimer {
    margin: 0.15rem 0 0.2rem 0;
    text-align: center;
}

.recaptcha-disclaimer small {
    font-size: 0.65rem;
    color: var(--text-dark);
    line-height: 1.4;
    text-align: center;
    display: block;
}

.recaptcha-disclaimer a {
    color: var(--text-dark);
    text-decoration: underline;
}

.recaptcha-disclaimer a:hover {
    color: var(--primary-color);
}

/* reCAPTCHA disclaimer for regular forms (white background) */
.contact-form .recaptcha-disclaimer small,
.contact-form .recaptcha-disclaimer {
    color: var(--text-light);
    text-align: center;
}

.contact-form .recaptcha-disclaimer a {
    color: var(--primary-color);
}

.contact-form .recaptcha-disclaimer a:hover {
    color: var(--primary-dark);
}

.hero-quick-form .btn,
.hero-quick-form .btn-primary {
    width: auto;
    min-width: 150px;
    margin: 0.3rem auto 0;
    padding: 0.6rem 2rem;
    border: 2px solid var(--primary-color) !important;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
}

.hero-quick-form .btn:hover,
.hero-quick-form .btn-primary:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(136, 40, 40, 0.3);
}

/* Hero section action buttons hover effect */
.hero .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(136, 40, 40, 0.3);
}

/* Thank you page tile hover effect */
.thank-you-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(136, 40, 40, 0.3);
}

.hero-intro-full {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: cover;
    object-position: top;
}

.hero .container {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}


.hero-description {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
    color: var(--white);
}

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

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

/* Section Styles */
section {
    padding: 50px 0;
    background: var(--white);
    position: relative;
}

/* Full-width background for all sections */
section::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 2px);
    z-index: -1;
    top: -1px;
    background: var(--white);
}

/* Section divider HR - spans full page width */
.section-divider-hr {
    margin: 0;
    border: none;
    border-top: 1px solid #e5e7eb;
    height: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: block;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    padding: 0;
    background: transparent;
}

/* Remove spacing between hero and first section */
.hero + hr.section-divider-hr {
    margin: 0;
    padding: 0;
}

.hero + hr.section-divider-hr + section:not(.principal-cio-message):not(.services-detail) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure first section after hero has no top padding - except for specific sections */
.hero ~ section:first-of-type:not(.principal-cio-message):not(.services-detail) {
    padding-top: 0 !important;
}

/* Override for About page - first section after hero should have no top padding, wrapper handles spacing */
.hero + hr.section-divider-hr + section.principal-cio-message {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove top padding from services-detail when it's the first section after hero */
.hero + hr.section-divider-hr + section.services-detail {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* HR elements inside sections should not break background flow */
section .section-divider-hr {
    background: transparent;
    margin-top: 0;
    margin-bottom: 0;
}

/* Ensure HR elements between service articles are properly positioned */
.services-detail .section-divider-hr {
    position: relative;
    z-index: 0;
}

/* Ensure all section backgrounds meet at HR boundaries consistently */
section::before {
    top: -1px;
    height: calc(100% + 2px);
}

/* Hero section should not alternate - stays red */
.hero {
    background: var(--primary-color);
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Manual background color classes - override automatic alternating pattern */
/* For sections */
.bg-white::before,
.bg-grey::before {
    display: block !important;
}

.bg-white::before {
    background: #ffffff !important;
}

.bg-grey::before {
    background: #ffffff !important;
}

/* For service-article elements inside services-detail */
.service-article.bg-white::before,
.service-article.bg-grey::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
    top: 0;
    bottom: 0;
    display: block;
}

.service-article.bg-white::before {
    background: #ffffff;
    top: -50px;
    height: calc(100% + 100px);
}

.service-article.bg-grey::before {
    background: #ffffff;
    top: -50px;
    height: calc(100% + 100px);
}

#impact.bg-white::before {
    top: -50px;
    height: calc(100% + 150px);
}

#impact.bg-grey::before {
    top: -50px;
    height: calc(100% + 150px);
}

.services-detail:has(.engagement-grid) .service-article.bg-white::before {
    top: -20px;
    height: calc(100% + 120px);
}

.services-detail:has(.engagement-grid) .service-article.bg-grey::before {
    top: -20px;
    height: calc(100% + 120px);
}

.hero::before {
    display: none;
}

/* All sections have white backgrounds */
section:not(.hero):not(.bg-white):not(.bg-grey)::before {
    background: #ffffff;
}

/* Ensure all section backgrounds span full width */
.services,
.testimonials-section-bg,
.company-highlights,
.blog-carousel-section,
.why-choose-us,
.contact,
.about,
.where-we-operate,
.principal-cio-message,
.contact-bar-section,
.services-detail {
    background: transparent;
    position: relative;
}

/* Ensure sections with bg classes have proper positioning for ::before */
.testimonials-section-bg,
.company-highlights,
.blog-carousel-section,
.services-detail {
    position: relative;
}

.testimonials-section-bg::before,
.company-highlights::before,
.blog-carousel-section::before,
.about::before,
.principal-cio-message::before,
.where-we-operate::before,
.why-choose-us::before,
.contact-bar-section::before,
.services-detail::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 2px);
    z-index: -1;
    top: -1px;
    display: block;
}

/* Apply background colors to testimonials, company-highlights, and blog section based on their classes */
.testimonials-section-bg.bg-grey::before {
    background: #ffffff !important;
}

.testimonials-section-bg.bg-white::before {
    background: #ffffff !important;
}

.company-highlights.bg-white::before {
    background: #ffffff !important;
}

.company-highlights.bg-grey::before {
    background: #ffffff !important;
}

.blog-carousel-section.bg-grey::before {
    background: #ffffff !important;
}

.blog-carousel-section.bg-white::before {
    background: #ffffff !important;
}

/* Apply background colors to about page sections based on their classes */
.about.bg-grey::before {
    background: #ffffff !important;
}

.about.bg-white::before {
    background: #ffffff !important;
}

.principal-cio-message.bg-grey::before {
    background: #ffffff !important;
}

.principal-cio-message.bg-white::before {
    background: #ffffff !important;
}

.where-we-operate.bg-grey::before {
    background: #ffffff !important;
}

.where-we-operate.bg-white::before {
    background: #ffffff !important;
}

.why-choose-us.bg-grey::before {
    background: #ffffff !important;
}

.why-choose-us.bg-white::before {
    background: #ffffff !important;
}

.contact-bar-section.bg-grey::before {
    background: #ffffff !important;
}

.contact-bar-section.bg-white::before {
    background: #ffffff !important;
}

.services-detail.bg-grey::before {
    background: #ffffff !important;
}

.services-detail.bg-white::before {
    background: #ffffff !important;
}

.testimonials-section-bg {
    padding: 20px 0 50px 0;
}

.company-highlights {
    padding: 20px 0 50px 0;
}

.about {
    padding: 0 0 50px 0;
}

.where-we-operate {
    padding: 0 0 50px 0;
}

.principal-cio-message {
    padding: 0 0 50px 0;
}

.principal-cio-wrapper {
    padding: 2rem 0;
}

.section-wrapper,
.about-wrapper {
    padding: 2rem 0;
}

.principal-cio-wrapper h2,
.section-wrapper h2,
.about-wrapper h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 1.9rem;
    color: var(--primary-color);
}

/* Contact Bar Section */
.contact-bar-section {
    padding: 0 0 3rem 0;
}

.contact-bar-heading {
    text-align: center;
    font-size: 1.9rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 700;
    padding-top: 2rem;
}

.contact-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 2px solid #882828;
    border-radius: 50px;
    padding: 2rem 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.contact-bar-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-bar-content {
    display: flex;
    flex-direction: column;
}

.contact-bar-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.contact-bar-detail {
    font-size: 0.95rem;
    color: var(--text-light);
}

.email-no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

.contact-bar-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-bar-button {
    flex-shrink: 0;
}

.contact-bar-button .btn {
    padding: 0.85rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    white-space: nowrap;
    background: #882828;
    color: var(--white);
    border: 2px solid #882828;
}

.contact-bar-button .btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

@media (max-width: 768px) {
    .contact-bar {
        flex-direction: column;
        padding: 2rem;
        border-radius: 20px;
        gap: 1.5rem;
    }

    .contact-bar-item {
        width: 100%;
        min-width: auto;
    }

    .contact-bar-button {
        width: 100%;
    }

    .contact-bar-button .btn {
        width: 100%;
    }
}

.why-choose-us {
    padding: 0 0 50px 0;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* .about background removed - using automatic alternating pattern */

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

.about-content:has(.about-text:only-child),
.about-content:has(.about-text:first-child:last-child) {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.about-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-highlights-heading,
.client-testimonials-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

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

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

.client-quotes-container {
    position: relative;
    min-height: 200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

.client-quote {
    display: none;
    width: 100%;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

.client-quote.active {
    display: block;
}

.client-quote:hover {
    transform: translateY(-5px);
}

.client-quote-text {
    font-style: italic;
    color: var(--text-dark);
    padding: 0;
    border: none;
    border-radius: 0;
    margin: 0 0 1rem 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.client-quote-author {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.testimonial-nav-arrows {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.testimonial-arrow {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.testimonial-arrow:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-arrow:active {
    transform: scale(0.95);
}

.testimonial-arrow svg {
    width: 20px;
    height: 20px;
}

/* Why Choose Us Section */

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.why-choose-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: start;
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.why-choose-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.why-choose-text p {
    margin-bottom: 1.5rem;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.why-choose-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.why-choose-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.why-choose-list li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}

/* Service Area Map */
.service-area-map {
    margin-top: 3rem;
    text-align: center;
}

.map-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Map Container Styles (Black Outline) */
.map-container {
    position: relative;
    width: 600px;
    height: 400px;
    border: 3px solid black;
    background-color: #f0f0f0;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Region Boxes (Simplified for the Outline) */
.region {
    position: absolute;
    background-color: transparent;
    transition: background-color 0.3s ease;
    pointer-events: none;
    opacity: 0.8;
}

#region-dc-md {
    /* Washington DC, MD (Bottom-left area) */
    width: 20%;
    height: 25%;
    top: 70%;
    left: 5%;
}

#region-de-phl {
    /* Delaware, Philadelphia (Lower-mid area) */
    width: 20%;
    height: 25%;
    top: 55%;
    left: 15%;
}

#region-ny-nj {
    /* New York, New Jersey (Mid area) */
    width: 30%;
    height: 40%;
    top: 30%;
    left: 30%;
}

#region-ct-bos {
    /* Connecticut, Boston (Upper-mid area) */
    width: 25%;
    height: 30%;
    top: 15%;
    left: 50%;
}

/* Star Styles */
.star-point {
    position: absolute;
    width: 15px;
    height: 15px;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
}

/* Creates the red star shape using a pseudo-element */
.star-point::before {
    content: '★';
    font-size: 20px;
    color: #882828;
    display: block;
    line-height: 1;
    transition: transform 0.3s ease-out;
}

/* Hover effect on the star */
.star-point:hover::before {
    transform: scale(1.5);
}

/* Class to highlight the region (toggled by JavaScript) */
.highlighted {
    background-color: rgba(128, 128, 128, 0.4);
}

/* Mission Statement Section */
.mission-statement {
    background: #ffffff;
    padding: 3rem 0;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.mission-text strong {
    color: var(--primary-color);
}

/* Where We Operate Section */
/* .where-we-operate background removed - using automatic alternating pattern */

.where-we-operate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.where-we-operate-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.where-we-operate-image img {
    width: 100%;
    height: auto;
    display: block;
}

.where-we-operate-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.where-we-operate-text p {
    margin-bottom: 2rem;
}

.client-reach-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
}

.client-reach-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-reach-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.client-reach-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Principal CIO Message Section */
/* .principal-cio-message background removed - using automatic alternating pattern */

.principal-cio-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.principal-cio-image {
    text-align: center;
}

.principal-cio-image {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.principal-cio-image img {
    width: 100%;
    max-width: 280px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    object-fit: cover;
    flex: 1;
    min-height: 0;
}

.principal-cio-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.principal-cio-title {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.principal-cio-company {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.principal-cio-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.principal-cio-text p {
    margin-bottom: 1.5rem;
}

.principal-cio-quote {
    font-style: italic;
    color: var(--text-dark);
    background: #ffffff;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin: 1.5rem 0;
    font-size: 1.05rem;
}

.principal-cio-mission {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.principal-cio-mission strong {
    color: var(--primary-color);
}

/* Testimonials Section */

.testimonials-section {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

#horizontal-slider {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#horizontal-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card-horizontal {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 340px;
    height: 280px;
    padding: 25px;
    margin-right: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #882828;
    line-height: 1.5;
    white-space: normal;
    scroll-snap-align: start;
    vertical-align: top;
    box-sizing: border-box;
}

.testimonial-icon-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.testimonial-icon-wrapper img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1em;
    color: #4a5568;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: 700;
    color: #1a202c;
    font-size: 1.1em;
}

.testimonial-title {
    font-size: 0.9em;
    color: #718096;
}

.scroll-fix-container {
    overflow-x: hidden;
    width: 100%;
}

.scroll-fix-container * {
    box-sizing: border-box;
}

/* Company Highlights Section */

.achievement-table {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    border-collapse: collapse;
    font-family: 'Cantarell', sans-serif;
}

@media (max-width: 600px) {
    .achievement-table tr,
    .achievement-table td {
        display: block;
        width: 100%;
    }
    .achievement-table td {
        border-right: none !important;
        border-bottom: 1px solid #e0e0e0;
        padding: 20px 0;
    }
    .achievement-table tr:first-child td:first-child {
        border-radius: 10px 10px 0 0;
    }
    .achievement-table tr:last-child td:last-child {
        border-radius: 0 0 10px 10px;
        border-bottom: none;
    }
}

.achievement-cell {
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.icon-placeholder {
    padding: 5px;
}

.icon-placeholder img {
    width: 125px;
    height: 125px;
    vertical-align: middle;
}

.metric-number {
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
}

.metric-text {
    font-size: 1em;
    color: #6b7280;
}

.color-green {
    color: #10B981;
}

.color-yellow {
    color: #F59E0B;
}

.color-blue {
    color: #3B82F6;
}

/* Services */
.service-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.service-intro h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

.service-cta {
    text-align: center;
    padding: 3rem;
    background: var(--primary-color);
    border-radius: 20px;
    color: var(--white);
    margin-top: 3rem;
}

.service-cta .btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.service-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.service-cta p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Contact */
/* .contact background removed - using automatic alternating pattern */

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-form {
    width: 100%;
    max-width: 100%;
}

/* Match hero-quick-form styling for contact form */
.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
    box-sizing: border-box;
}

.contact-form .form-group input {
    height: 45px;
    padding: 0.85rem;
    width: 100%;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #999;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.contact-form .form-group textarea {
    resize: none;
    height: 200px;
    overflow-y: auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(136, 40, 40, 0.1);
}

.form-group textarea {
    resize: vertical;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-address {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-phone {
    margin: 0;
}

.footer-phone a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-phone a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-social {
    margin-top: 0.5rem;
}

.footer-social a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

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

.footer-social svg {
    width: 24px;
    height: 24px;
}

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

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

.footer-bottom p a {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
}

.footer-bottom p a:visited,
.footer-bottom p a:hover,
.footer-bottom p a:active,
.footer-bottom p a:focus {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}


/* Services Detail Page */
.services-detail {
    padding: 50px 0;
    /* background removed - using automatic alternating pattern */
    position: relative;
    background: transparent;
}

.services-detail:has(#impact) {
    padding-top: 20px !important;
}

.services-detail:has(#learn-more-services) {
    padding-top: 20px;
}

.services-detail:has(#get-fractional-cio-overview) {
    padding-top: 20px;
}

.services-detail:has(#get-fractional-cio-overview) .service-article {
    padding-top: 0 !important;
}

/* About Us section on index page */
.services-detail:has(#about-us-section) {
    padding-top: 20px;
}

.services-detail:has(#about-us-section) .service-article {
    padding-top: 0 !important;
}

.services-detail:has(.engagement-grid) {
    padding-top: 20px;
}

/* Ensure services-detail section background flows seamlessly through all articles */
.services-detail .container {
    position: relative;
}

.service-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    background: transparent;
}

#impact {
    padding-top: 0;
    margin-top: 0;
}

.services-detail:has(#impact) .service-article {
    padding-top: 0 !important;
}

.services-detail:has(.engagement-grid) .service-article {
    padding-top: 2rem;
    margin-top: 0;
    padding-bottom: 2rem;
}

.services-detail:has(#impact) .container {
    max-width: 1300px !important;
}

#impact {
    max-width: 1300px !important;
}

#learn-more-services {
    max-width: 1300px !important;
    padding-top: 0 !important;
}

.services-detail:has(#learn-more-services) .service-article {
    padding-top: 0 !important;
}

/* How We Operate section on home page - match Impact section width */
section.about.bg-white .container {
    max-width: 1300px !important;
}

section.about.bg-white .section-wrapper {
    max-width: 1300px !important;
    margin: 0 auto;
}

.container-full {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.impact-full-width-article {
    max-width: 100% !important;
    padding: 2rem 40px;
}

/* Remove service-article backgrounds - let the parent section handle alternating backgrounds */
/* Ensure no margin-bottom creates gaps between articles */
.service-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-article h2 {
    font-size: 1.9rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-article p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-card ul {
    text-align: left;
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Engagement Model */
.engagement-model {
    margin: 4rem 0;
}

.engagement-model h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.company-highlights .engagement-grid {
    margin-bottom: 0;
    padding-bottom: 20px;
}

.engagement-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.engagement-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

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

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

/* NICER Framework Layout */
.nicer-framework-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.nicer-left {
    display: flex;
    flex-direction: column;
}

.nicer-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.nicer-image img {
    width: 100%;
    height: auto;
    display: block;
}

.nicer-right {
    display: flex;
    flex-direction: column;
}

.nicer-main-heading {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 2rem;
}

.nicer-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nicer-accordion-item {
    background: var(--white);
    border: 2px solid rgba(136, 40, 40, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nicer-accordion-item:hover {
    border-color: var(--primary-color);
}

.nicer-accordion-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    gap: 1rem;
    user-select: none;
}

.nicer-letter {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 30px;
    transition: all 0.3s ease;
}

.nicer-accordion-item.active .nicer-letter {
    font-weight: 700;
    color: #882828;
}

.nicer-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nicer-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.nicer-accordion-item.active .nicer-toggle {
    transform: rotate(45deg);
}

.nicer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.nicer-accordion-item.active .nicer-accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.nicer-accordion-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Fractional CIO Model Layout */
.fractional-cio-philosophy {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 2rem 0 3rem 0;
    max-width: 100%;
}

.engagement-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.engagement-tile {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.engagement-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.engagement-tile-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.engagement-tile h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.engagement-tile-main {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.engagement-tile-sub {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0.25rem 0 0 0;
}

.engagement-features-fullwidth {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.engagement-feature-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.engagement-feature-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.engagement-feature-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.engagement-feature-item ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.engagement-feature-item ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.engagement-feature-item ul li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Engagement Features */
.engagement-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.engagement-feature {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.engagement-feature h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.engagement-feature p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.engagement-feature strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.expertise-image {
    width: 100%;
    height: 150px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.expertise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.expertise-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.expertise-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Vertical Expertise Layout */
.expertise-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.expertise-vertical-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.expertise-vertical-image {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.expertise-vertical-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.expertise-vertical-content {
    flex: 1;
}

.expertise-vertical-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.expertise-divider {
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-vertical-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Customized Plan Layout */
.customized-plan-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.customized-plan-content {
    display: flex;
    flex-direction: column;
}

.customized-plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.customized-plan-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    border-bottom: 1px solid #e0e0e0;
}

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

.customized-plan-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.customized-plan-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.process-step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-number svg {
    width: 60px;
    height: 60px;
}

.step-circle-complete {
    stroke-dasharray: 157;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.5s ease;
}

.step-circle-partial {
    stroke-dasharray: 157;
    stroke-dashoffset: 78;
    transition: stroke-dashoffset 0.5s ease;
}

.process-step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.process-step-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.process-step-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.process-connector-line {
    width: 2px;
    height: 30px;
    background: #882828;
    margin-left: 29px;
    margin-top: -15px;
    margin-bottom: -15px;
    position: relative;
    z-index: 1;
}

.process-step-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process-connector-line {
        width: 40px;
        height: 2px;
        margin: 0.5rem auto;
    }
}

/* Customized Plan Table Layout */
.customized-plan-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.customized-plan-header-cell {
    padding-bottom: 1.5rem;
    vertical-align: top;
}

.customized-plan-main-heading {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.customized-plan-image-cell {
    vertical-align: middle;
    padding-right: 2rem;
    width: 50%;
}

.customized-plan-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.customized-plan-content-cell {
    vertical-align: top;
    padding-left: 2rem;
    padding-bottom: 2rem;
    width: 50%;
}

.customized-plan-content-cell h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.customized-plan-content-cell p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.customized-plan-content-cell .btn-primary {
    margin-top: 1rem;
    display: inline-block;
}

.customized-plan-btn {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.customized-plan-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.customized-plan-cta {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
}

.customized-plan-cta p {
    margin-bottom: 1rem;
}

.customized-plan-cta .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 50px;
}

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

.engagement-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.engagement-card strong {
    color: var(--text-dark);
}

.engagement-card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: block;
}

.tile-image {
    width: 70%;
    height: 250px;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
}

/* Services Preview Section on Home Page */
.services-preview {
    padding: 80px 0;
    position: relative;
}

.services-preview-header {
    margin-bottom: 4rem;
    text-align: left;
    position: relative;
}

.services-preview-header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(136, 40, 40, 0.3) 100%);
    border-radius: 2px;
}

.services-preview-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.services-advantages {
    text-align: left;
}

.advantages-heading {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-align: left;
    position: relative;
    padding-left: 1.5rem;
}

.advantages-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(136, 40, 40, 0.5) 100%);
    border-radius: 2px;
}

.advantage-item-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.advantage-item-modern:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(136, 40, 40, 0.15);
    border-left-color: var(--primary-color);
}

.advantage-item-modern:last-child {
    margin-bottom: 0;
}

.advantage-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(136, 40, 40, 0.1) 0%, rgba(136, 40, 40, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-item-modern:hover .advantage-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scale(1.1);
}

.advantage-content {
    flex: 1;
}

.advantage-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.advantage-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: left;
    margin: 0;
}

.services-image-column {
    text-align: center;
    position: sticky;
    top: 250px;
}

.services-image-modern {
    margin-bottom: 2rem;
}

.btn-services-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(136, 40, 40, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-services-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(136, 40, 40, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* Overview Preview Section on Home Page */
.overview-preview {
    padding: 80px 0;
}

.overview-preview-content {
    margin-top: 2rem;
}

/* Overview Accordion */
.overview-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.overview-accordion-item {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.overview-accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.overview-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.overview-accordion-header:hover {
    color: var(--primary-color);
}

.overview-accordion-title {
    flex: 1;
    padding-right: 1rem;
}

.overview-accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.overview-accordion-item.active .overview-accordion-icon {
    transform: rotate(45deg);
}

.overview-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.overview-accordion-item.active .overview-accordion-content {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.overview-accordion-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Contact Page */
.contact {
    padding: 0 0 80px 0;
}

/* Override the first section rule to add top padding like other pages */
/* Match the spacing of about page - sections have 50px top padding by default */
/* Need to override the !important rule for sections after HR */
.hero + hr.section-divider-hr + section.contact {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Top table: Get In Touch text and image */
/* Contact Page Restructured Layout */
.contact-heading-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.contact-heading-section h2 {
    font-size: 1.9rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.contact-intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.contact-intro-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-intro-text p {
    margin-bottom: 1rem;
}

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

.contact-intro-image {
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}

.contact-us-image {
    width: 100%;
    height: auto;
    max-width: 450px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.contact-ways-heading {
    margin-top: auto;
    text-align: left;
}

.contact-ways-heading h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    padding: 1rem 0 0.5rem 0;
}

.contact-methods-heading-section {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-methods-heading-section h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.contact-methods-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-methods-column,
.contact-form-column {
    display: flex;
    flex-direction: column;
}

.contact-methods-column > table:first-child {
    margin-top: 0;
}

.contact-methods-column {
    width: 100%;
}

.contact-info-table {
    width: 100%;
}

.contact-form-column {
    width: 100%;
    padding-left: 0;
}

.contact-form-column {
    width: 100%;
    padding-left: 0;
}

.contact-methods-heading,
.contact-form-heading {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 600;
    padding: 1rem 0 0.5rem 0;
}

/* Contact Info Table */
.contact-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
}

.contact-info-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.contact-info-table tr:last-child {
    border-bottom: none;
}

.contact-icon-cell {
    width: 100px;
    padding: 1rem 1rem 1rem 0;
    vertical-align: middle;
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.contact-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1rem 0 0.5rem 0;
    vertical-align: top;
}

.contact-detail {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 0 0 1rem 0;
    vertical-align: top;
}

/* Make email address non-selectable to prevent copying */
.contact-email {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

/* Style the Schedule a Meeting link to match email and phone */
.contact-detail-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: text-decoration 0.3s ease;
}

.contact-detail-link:hover {
    text-decoration: underline;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.info-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    border-bottom: none;
}

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

.info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.contact-form .btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.contact-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(136, 40, 40, 0.1);
}

/* Blog Page */
.blog-listing {
    padding: 80px 0;
}

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

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-image-placeholder {
    height: 160px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

/* Page Break / Divider Styles */
.page-break {
    height: 1px;
    background: var(--accent-color);
    margin: 60px 0;
    opacity: 0.3;
}

.section-divider {
    border-top: 1px solid #e5e7eb;
    margin: 0;
    height: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: block;
    box-sizing: border-box;
}

/* FAQ Accordion Styles */
.faq-container {
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-dark);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

.faq-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}

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

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 0 1.5rem 0;
}

/* Fractional CIO Intro Layout */
/* New Fractional CIO Section Wrapper */
.fractional-cio-section-wrapper {
    border: 2px solid #882828;
    border-radius: 12px;
    padding: 2.5rem;
    background: var(--white);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

/* New Fractional CIO Top Row Layout */
.fractional-cio-top-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.fractional-cio-top-text {
    display: flex;
    flex-direction: column;
}

.fractional-cio-top-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
}

.fractional-cio-top-text p:last-child {
    margin-bottom: 0;
}

.fractional-cio-top-image {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    min-height: 100%;
}

.fractional-cio-top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.fractional-cio-image-placeholder {
    width: 100%;
    min-height: 150px;
    background: #ffffff;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    align-self: stretch;
}

.fractional-cio-top-image .fractional-cio-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.fractional-cio-top-image .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    width: auto;
    max-width: 200px;
    background: var(--primary-color);
    color: var(--white);
}

.fractional-cio-fullwidth-section {
    width: 100%;
    margin-top: 1rem;
}

.fractional-cio-fullwidth-section h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.fractional-cio-fullwidth-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.fractional-cio-intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    margin-top: 2rem;
    border: 2px solid rgba(136, 40, 40, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.fractional-cio-intro-layout > div {
    align-self: start;
}

.fractional-cio-text-left {
    text-align: left;
    background: #ffffff;
    padding: 2.5rem;
    border-right: 2px solid rgba(136, 40, 40, 0.1);
    display: flex;
    flex-direction: column;
}

.fractional-cio-text-left p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
}

.fractional-cio-text-left p:first-child {
    margin-top: 0;
}

.fractional-cio-text-left p:last-of-type {
    margin-bottom: 0;
}

.fractional-cio-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fractional-cio-bullets li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.fractional-cio-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.fractional-cio-bullets li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.fractional-cio-bullets li a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.fractional-cio-image-right {
    background: var(--white);
    padding: 2.5rem;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.fractional-cio-image-right img {
    width: 100%;
    margin-top: 0;
}

.fractional-cio-cta {
    width: 100%;
}

/* Why Fractional CIOs Are Gaining Traction Styles */
.traction-intro-text {
    margin: 2rem 0 3rem 0;
    max-width: 100%;
}

.traction-intro-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.traction-intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.traction-content-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.traction-bullets-left {
    text-align: left;
}

.traction-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.traction-bullet-list li {
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
}

.traction-bullet-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    top: 0.2rem;
}

.traction-bullet-list li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.traction-bullet-list li p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.traction-blog-card {
    background: var(--white);
    border: 2px solid rgba(136, 40, 40, 0.2);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: fit-content;
}

.traction-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.traction-blog-card .blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.traction-blog-card .blog-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.traction-blog-card .blog-card-icon img {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.traction-blog-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.traction-blog-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Benefits Accordion Styles */
.benefits-layout {
    margin-top: 0;
}

.benefits-left {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.benefits-right {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.impact-landscape-image {
    margin: 2rem 0 2rem 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.impact-landscape-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.benefits-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.benefit-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    padding: 1.25rem 0;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.benefit-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.benefit-check {
    color: #882828;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.benefit-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.benefit-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.75rem 0 0 2.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.benefit-summary-row:hover {
    opacity: 0.8;
}

.benefit-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
    margin-top: 0.1rem;
}

.benefit-summary {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

.benefit-activities {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    padding: 0;
    margin: 0 0 0 2.75rem;
}

.benefit-item.active .benefit-activities {
    max-height: 1000px;
    padding: 0 0;
    margin: 0 0 0 2.75rem;
}

.benefit-activities p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit-activities ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.benefit-activities ul li {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Who Benefits Section Styles */
.who-benefits-intro {
    margin: 2rem 0 3rem 0;
    max-width: 900px;
}

.pain-points-section {
    margin: 3rem 0;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.pain-point-card {
    background: var(--white);
    border: 2px solid rgba(136, 40, 40, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: left;
}

.pain-point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pain-point-card-center {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.pain-point-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.pain-point-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.pain-point-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
    text-align: left;
}

.who-benefits-closing {
    margin: 3rem 0 0 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.blog-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-content h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 600;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    flex: 1;
    margin: 0;
}

/* Blog Carousel Section */
.blog-carousel-section {
    padding: 20px 0 50px 0;
    position: relative;
}

.blog-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-carousel-container {
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.blog-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.blog-card-small {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: calc((100% - 3rem) / 3); /* 3 cards on large screens (2 gaps of 1.5rem) */
    flex-shrink: 0;
}

.blog-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-card-small .blog-image-placeholder {
    height: 160px;
}

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

.blog-card-small .blog-content h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.blog-card-small .blog-content p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.blog-card-small .blog-date {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.blog-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.blog-carousel-arrow {
    background: #882828;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.blog-carousel-arrow:hover {
    background: #6d1f1f;
    transform: scale(1.1);
}

.blog-carousel-arrow:active {
    transform: scale(0.95);
}

.blog-carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.blog-carousel-nav {
    display: flex;
    align-items: center;
}

.blog-visit-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.blog-visit-link:hover {
    color: #6d1f1f;
    text-decoration: underline;
}


/* 2 cards on tablets */
@media (max-width: 991px) {
    .blog-card-small {
        width: calc((100% - 1.5rem) / 2); /* 2 cards (1 gap of 1.5rem) */
    }
}

/* 1 card on mobile */
@media (max-width: 767px) {
    .blog-card-small {
        width: 100%; /* 1 card, full width */
    }
    
    .blog-carousel-controls {
        gap: 1rem;
    }
}

/* Blog Article Pages */
.blog-article-header {
    text-align: center;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.back-to-blog {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.article-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.blog-article-content {
    padding: 60px 0;
}

.blog-post {
    max-width: 900px;
    margin: 0 auto;
}

.article-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

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

.article-body h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-body h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.article-cta {
    background: rgba(136, 40, 40, 0.05);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.article-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.article-cta .btn-primary {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-cta .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(136, 40, 40, 0.3);
}

/* Active Navigation Link */
.nav-menu a.active {
    color: var(--primary-color);
}

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

.dropdown-menu a.active {
    color: var(--primary-color);
    background: rgba(136, 40, 40, 0.05);
    padding-left: 2rem;
}

.dropdown-menu a.active::before {
    transform: scaleY(1);
}

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

@keyframes pulse {
    0%, 98% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(136, 40, 40, 0.7);
    }
    99% {
        transform: scale(1.08);
        box-shadow: 0 0 0 10px rgba(136, 40, 40, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(136, 40, 40, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content-layout {
        grid-template-columns: 1fr;
        gap: 0;
        border: none;
        border-radius: 16px;
        max-width: 100%;
        box-shadow: none;
    }

    .hero-text-left {
        border-right: none;
        border-bottom: none;
        border-radius: 16px 16px 0 0;
    }

    .hero-form-right {
        border: none;
        border-radius: 0 0 16px 16px;
        max-width: 100%;
        box-shadow: none;
    }
    .top-bar {
        padding: 0.5rem 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-end;
    }

    .phone-link {
        font-size: 0.85rem;
    }


    .schedule-btn {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }

    .navbar {
        top: 40px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 180px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 0;
        width: 100%;
    }

    .nav-menu > li > a {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(136, 40, 40, 0.05);
        border-radius: 0;
        margin: 0;
        padding: 0;
        display: none;
        width: 100%;
    }

    .dropdown.mobile-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.75rem 2rem 0.75rem 3.5rem;
    }

    .dropdown-menu a:hover {
        padding-left: 4rem;
    }

    .menu-toggle {
        display: flex;
    }

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

    .about-text {
        text-align: left;
    }

    .about-right-column {
        text-align: center;
    }

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

    .where-we-operate-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .where-we-operate-image {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .where-we-operate-image img {
        max-width: 100%;
        height: auto;
    }

    .where-we-operate-text {
        order: 2;
        text-align: left;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-choose-image {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 2rem;
    }

    .why-choose-image img {
        max-width: 100%;
        height: auto;
    }

    .why-choose-text {
        text-align: left;
    }

    .map-container {
        width: 100%;
        max-width: 600px;
        height: 300px;
    }

    .principal-cio-content {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
    }

    /* Fractional CIO Overview responsive styles */
    .overview-two-column {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .benefits-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .fractional-cio-top-row {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .fractional-cio-top-image {
        order: -1;
    }

    .fractional-cio-intro-layout {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .fractional-cio-text-left {
        border-right: none;
        border-bottom: 2px solid rgba(136, 40, 40, 0.1);
    }

    .traction-content-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .traction-blog-card {
        order: -1;
    }

    .pain-points-grid {
        grid-template-columns: 1fr !important;
    }

    .pain-point-card-center {
        grid-column: 1;
        max-width: 100%;
    }

    .principal-cio-image {
        margin-bottom: 2rem;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .principal-cio-image img {
        margin: 0 auto !important;
        display: block !important;
    }

    .principal-cio-info {
        text-align: center !important;
        width: 100%;
    }

    .principal-cio-text {
        text-align: left;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: start;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

    /* Contact page responsive - convert tables to stacked layout */
    .contact-intro-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-intro-image {
        order: -1;
    }

    .contact-methods-form-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .nicer-framework-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .engagement-features {
        gap: 1.5rem;
    }

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

    .engagement-tiles-grid {
        grid-template-columns: 1fr;
    }

    .expertise-vertical-item {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .expertise-vertical-image {
        width: 100%;
        max-width: 300px;
        height: 180px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .expertise-vertical-image img {
        margin: 0 auto;
        display: block;
    }

    .customized-plan-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .customized-plan-image {
        order: -1;
    }

    /* Customized Plan Table - Mobile Responsive */
    .customized-plan-table {
        display: block;
    }

    .customized-plan-table tr {
        display: block;
    }

    .customized-plan-image-cell,
    .customized-plan-content-cell {
        display: block;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 2rem;
    }

    .customized-plan-image-cell {
        text-align: center;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .customized-plan-image {
        margin: 0 auto !important;
        display: block !important;
    }

    .customized-plan-content-cell {
        padding-left: 0;
        text-align: center;
    }

    /* Services Preview - Mobile Responsive */
    .services-preview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-image-column {
        order: -1;
        position: static;
    }

    .advantage-item-modern {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .advantage-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .advantages-heading {
        font-size: 1.5rem;
        padding-left: 1rem;
    }

    .advantages-heading::before {
        width: 3px;
    }

    .services-preview {
        padding: 50px 0 !important;
    }

    /* Overview Preview - Mobile Responsive */
    .overview-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Overview Accordion Mobile */
    .overview-accordion-header {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }

    .overview-accordion-content {
        padding: 0 1.5rem;
    }

    .overview-accordion-item.active .overview-accordion-content {
        padding: 0 1.5rem 1.2rem 1.5rem;
    }

    .overview-definition {
        padding: 1.5rem !important;
    }

    /* Hero Image Mobile */
    .hero-image-fullwidth {
        margin-bottom: 2rem;
    }

    .hero-image-fullwidth img {
        max-height: 300px;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.8rem;
    }

    /* Container padding mobile */
    .container {
        padding: 0 15px;
    }

    /* Section padding mobile */
    section {
        padding: 50px 0 !important;
    }

    .overview-preview {
        padding: 50px 0 !important;
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Company highlights mobile */
    .company-highlights-grid {
        grid-template-columns: 1fr;
    }

    /* Service cards mobile */
    .service-card {
        margin-bottom: 2rem;
    }

    /* Forms mobile */
    .hero-quick-form input,
    .hero-quick-form textarea,
    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }

    .hero-quick-form button,
    .contact-form button {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }

    /* Buttons mobile */
    .btn-primary,
    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Contact info table mobile */
    .contact-info-table {
        display: block;
    }

    .contact-info-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1.5rem;
    }

    .contact-info-table tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .contact-icon-cell,
    .contact-detail-cell {
        display: block;
        width: 100% !important;
        padding: 0.5rem 0 !important;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto 0.5rem;
    }

    /* Hero intro full mobile */
    .hero-intro-full {
        padding: 2rem 1rem;
    }

    .hero-intro-full h1 {
        font-size: 1.8rem;
    }

    .hero-intro-full p {
        font-size: 1rem;
    }

    /* Process steps mobile */
    .process-steps {
        gap: 2rem;
    }

    /* FAQ mobile */
    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
    }

    /* Blog post mobile */
    .blog-post-header h1 {
        font-size: 1.8rem;
    }

    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Table mobile - general */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Image responsive - ensure all images are responsive */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Ensure hero images scale properly */
    .hero-image-fullwidth img {
        max-height: 300px;
        object-fit: cover;
        object-position: center;
    }

    /* Nav logo mobile */
    .nav-logo {
        height: 80px;
    }

    .navbar.scrolled .nav-logo {
        height: 50px;
    }

    /* Top bar mobile adjustments */
    .top-bar {
        padding: 0.4rem 0;
    }

    .top-bar-content {
        gap: 0.5rem;
    }

    .phone-link {
        font-size: 0.8rem;
    }

    .schedule-btn {
        font-size: 0.8rem;
        padding: 0.35rem 1rem;
    }

    /* Dropdown description mobile - hide on mobile */
    .dropdown-description {
        display: none;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    section {
        padding: 60px 0;
    }

    .services-preview {
        padding: 60px 0;
    }

    .overview-preview {
        padding: 60px 0;
    }

    .hero-image-fullwidth img {
        max-height: 400px;
    }

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

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

    .overview-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .engagement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }


    .customized-plan-table {
        display: table;
    }
}

/* Large Desktop Responsive Styles */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }

    section {
        padding: 100px 0;
    }

    .overview-preview {
        padding: 100px 0;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    section {
        padding: 40px 0 !important;
    }

    .overview-preview {
        padding: 40px 0 !important;
    }

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

    .hero-intro-full h1 {
        font-size: 1.5rem;
    }

    .hero-intro-full {
        padding: 1.5rem 0.75rem;
    }

    .overview-accordion-header {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .overview-accordion-content {
        padding: 0 1.2rem;
    }

    .overview-accordion-item.active .overview-accordion-content {
        padding: 0 1.2rem 1rem 1.2rem;
    }

    .overview-definition {
        padding: 1.2rem !important;
    }

    .overview-definition p {
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn {
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }

    .nav-logo {
        height: 70px;
    }

    .navbar.scrolled .nav-logo {
        height: 45px;
    }

    .navbar {
        padding: 1.5rem 0;
    }

    .navbar.scrolled {
        padding: 0.75rem 0;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .navbar,
    .menu-toggle,
    .footer {
        display: none;
    }

    body {
        padding-top: 0;
    }

    section {
        page-break-inside: avoid;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo,
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Center all headings on Fractional CIO Overview page */
body.fractional-cio-overview-page .hero-title {
    text-align: center !important;
}

body.fractional-cio-overview-page .service-article h2 {
    text-align: center !important;
}

body.fractional-cio-overview-page .service-article h3 {
    text-align: center !important;
}

body.fractional-cio-overview-page .service-article h4 {
    text-align: center !important;
}

body.fractional-cio-overview-page .traction-blog-card h3 {
    text-align: center !important;
}

body.fractional-cio-overview-page .traction-intro-text h3 {
    text-align: center !important;
}

body.fractional-cio-overview-page .who-benefits-intro h3 {
    text-align: center !important;
}

/* Center all headings on Fractional CIO Services page */
body.fractional-cio-services-page .hero-title {
    text-align: center !important;
}

body.fractional-cio-services-page .service-article h2 {
    text-align: center !important;
}

body.fractional-cio-services-page .service-article h3 {
    text-align: center !important;
}

body.fractional-cio-services-page .engagement-tile h3 {
    text-align: center !important;
}

body.fractional-cio-services-page .expertise-vertical-content h3 {
    text-align: center !important;
}

/* Trending Projects Carousel Responsive Styles */
@media (max-width: 1200px) {
    .trending-project-tile {
        min-width: calc(33.333% - 1rem) !important;
    }
}

@media (max-width: 768px) {
    .trending-project-tile {
        min-width: calc(50% - 0.75rem) !important;
    }
}

@media (max-width: 480px) {
    .trending-project-tile {
        min-width: 100% !important;
    }
}

body.fractional-cio-services-page .nicer-main-heading {
    text-align: center !important;
}

body.fractional-cio-services-page .customized-plan-content-cell h3 {
    text-align: center !important;
}

body.fractional-cio-services-page .engagement-card h3 {
    text-align: center !important;
}

body.fractional-cio-services-page .contact-bar-heading {
    text-align: center !important;
}
