/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color variables */
    --primary-color: #1aaf5d; /* Modern green */
    --secondary-color: #f5f5f5;
    --text-color: #222;
    --footer-bg: #e9f5ee;
    --footer-text: #333;
    --footer-link: #1aaf5d;
    --footer-link-hover: #178d4a;
    
    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;
    --fontweight-normal: 400;
    --fontweight-bold: 700;
    --header-height: 70px;
    --shadow: 0 2px 8px rgba(0,0,0,0.04);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: var(--shadow);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--header-height);
    gap: 0.5rem;
}
.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}
.main-nav {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0px 0px 24px;
    gap: 1.5rem;
    transition: left 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 110;
}
.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    width: 100%;
    transition: color 0.2s, border-bottom 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.main-nav.open {
    left: 0;
}
.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.search-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.2s;
}
.search-icon:hover {
    color: #178d4a;
}

/* Main Content */
.main-content {
    min-height: 60vh;
    padding: 2rem 0 3rem 0;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 0 0 0;
    font-size: 1rem;
    margin-top: 3rem;
    font-weight: 500;
}
.footer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid #d0e6d8;
}
.footer-col {
    flex: 1 1 200px;
    min-width: 180px;
}
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col assist-col{
    display: flex;
    flex-direction: row-reverse;
}
.footer-col ul li a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.social-icons a {
    font-size: 1.3rem;
    color: var(--footer-link);
    transition: color 0.2s;
}
.social-icons a:hover {
    color: var(--footer-link-hover);
}
.footer-bottom {
    background: #d0e6d8;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.95rem;
    color: #222;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .logo-img {
        height: 32px;
        width: 32px;
    }
    .company-name {
        font-size: 1.1rem;
    }
}
@media (max-width: 600px) {
    .header-flex, .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 10px;
    }
    .site-header {
        height: auto;
        padding: 10px 0;
    }
    .logo-img {
        height: 28px;
        width: 28px;
    }
    .company-name {
        font-size: 1rem;
    }
    .header-flex {
        gap: 0.3rem;
    }
    .main-nav {
        flex-direction: column;
        width: 80vw;
        max-width: 320px;
        left: -80vw;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    .main-content {
        padding: 1rem 0 2rem 0;
    }
    .footer-col {
        min-width: 120px;
    }
    .nav-close-btn {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--primary-color);
        position: absolute;
        top: 18px;
        right: 18px;
        z-index: 120;
        cursor: pointer;
    }
}

/* Hamburger Icon */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 120;
    margin-right: 10px;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: var(--primary-color);
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsive Logo and Company Name */
.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    margin-right: 10px;
    transition: height 0.2s, width 0.2s;
}
.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-right: 10px;
    transition: font-size 0.2s;
}

/* Overlay for nav when open */
.main-nav.open::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.15);
    z-index: -1;
}

/* Hide scroll when nav is open */
body.nav-open {
    overflow: hidden;
}

/* Hide nav by default on all screen sizes */
@media (min-width: 0px) {
    .main-nav {
        left: -260px;
    }
    .main-nav.open {
        left: 0;
    }
}

/***** HERO SECTION *****/
.hero-section {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.hero-welcome {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #222;
}
.hero-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}
.slider-cards {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.slider-card img {
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    width: 420px;
    height: 180px;
    object-fit: cover;
    background: #eee;
}
.slider-controls {
    display: flex;
    gap: 0.5rem;
}
.slider-controls button {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
.slider-controls button:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.spotlight-tags {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.spotlight-tags button {
    background: #f5f5f5;
    border: none;
    color: #222;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.spotlight-tags button:hover {
    background: var(--primary-color);
    color: #fff;
}
.slider-card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Service Card Image and Overlay Styles */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card img {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.85;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover img {
    opacity: 0.7;
    transform: scale(1.05);
}

.service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 175, 93, 0.8), rgba(26, 175, 93, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.service-card:hover .overlay {
    opacity: 1;
}

.service-card .overlay-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.service-card:hover .overlay-text {
    transform: translateY(0);
}

/* Update existing service card styles */
.services-slider .service-card {
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.25s, z-index 0.2s, filter 0.3s;
    z-index: 1;
}

.services-slider .service-card:hover {
    transform: scale(1.10) translateY(-10px);
    box-shadow: 0 8px 32px 0 rgba(26,175,93,0.18), 0 2px 16px rgba(0,0,0,0.10);
    z-index: 2;
}

.services-slider .service-card.active {
    transform: scale(1.10) translateY(-10px);
    box-shadow: 0 8px 32px 0 rgba(26,175,93,0.18), 0 2px 16px rgba(0,0,0,0.10);
    z-index: 2;
}

/***** INSIGHTS BLOG GRID *****/
.insights-section {
    margin: 3rem 0 2.5rem 0;
    text-align: center;
}
.insights-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.insights-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.insight-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 1rem;
    width: 440px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}
.insight-card:hover {
    box-shadow: 0 4px 20px rgba(26,175,93,0.13);
}
.insight-tag {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 1rem;
    padding: 0.2rem 0.9rem;
    margin-bottom: 0.7rem;
}
.insight-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.7rem;
    margin-bottom: 0.7rem;
}
.insight-meta {
    color: #888;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
}
.insight-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.2rem;
    text-align: left;
}
.cta-green {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}
.cta-green:hover {
    background: #178d4a;
}

/***** ASSISTANCE SPLIT SECTION *****/
.assist-section {
    display: flex;
    background: #e9f5ee;
    border-radius: 1.5rem;
    overflow: hidden;
    margin: 3rem 0;
    min-height: 280px;
    align-items: stretch;
}
.assist-content {
    flex: 1 1 320px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.assist-content h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.assist-content p {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
}
.assist-dropdowns {
    display: flex;
    gap: 1rem;
}
.assist-dropdowns select {
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    border: 1px solid #b2e0c7;
    font-size: 1rem;
    background: #fff;
    color: #222;
    font-weight: 500;
    outline: none;
    transition: border 0.2s;
}
.assist-dropdowns select:focus {
    border: 1.5px solid var(--primary-color);
}
.assist-image {
    flex: 1 1 320px;
    min-width: 220px;
    background: #d0e6d8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.assist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
}

/***** FEATURED/LATEST THINKING CARDS *****/
.featured-section {
    margin: 3rem 0 2.5rem 0;
}
.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
}
.featured-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    min-height: 180px;
    position: relative;
}
.featured-card.large {
    grid-row: span 2;
    min-height: 380px;
}
.featured-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 1.2rem 1.2rem 0 0;
}
.featured-content {
    padding: 1.2rem 1.2rem 1.5rem 1.2rem;
}
.featured-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/***** CAREERS/CTA BANNER *****/
.careers-section {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 1.5rem;
    overflow: hidden;
    margin: 3rem 0;
    min-height: 220px;
}
.careers-content {
    flex: 2 1 320px;
    padding: 2.5rem 2rem;
}
.careers-content h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.careers-content p {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
}
.careers-buttons {
    display: flex;
    gap: 1rem;
}
.cta-outline {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.cta-outline:hover {
    background: var(--primary-color);
    color: #fff;
}
.careers-image {
    flex: 1 1 320px;
    min-width: 220px;
    background: #d0e6d8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.careers-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
}

/***** NEWSLETTER/FEATURED INSIGHTS *****/
.newsletter-section {
    display: flex;
    align-items: center;
    background: #1aaf5d;
    border-radius: 1.5rem;
    overflow: hidden;
    margin: 3rem 0;
    min-height: 220px;
    color: #fff;
}
.newsletter-content {
    flex: 2 1 320px;
    padding: 2.5rem 2rem;
}
.newsletter-content h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
.newsletter-content p {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: #e9f5ee;
}
.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.newsletter-form input[type="email"] {
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    border: none;
    font-size: 1rem;
    outline: none;
    min-width: 200px;
}
.newsletter-form button {
    background: #fff;
    color: var(--primary-color);
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.newsletter-form button:hover {
    background: #178d4a;
    color: #fff;
}
.newsletter-image {
    flex: 1 1 320px;
    min-width: 220px;
    background: #178d4a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
    border-radius: 0 1.5rem 1.5rem 0;
}

/***** RESPONSIVE LAYOUTS *****/
@media (max-width: 1100px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }
    .featured-card.large {
        grid-row: span 1;
        min-height: 240px;
    }
}
@media (max-width: 900px) {
    .insights-grid {
        flex-direction: column;
        align-items: center;
    }
    .assist-section, .careers-section, .newsletter-section {
        flex-direction: column;
        border-radius: 1rem;
    }
    .assist-image, .careers-image, .newsletter-image {
        min-width: 100px;
        border-radius: 0 0 1rem 1rem;
    }
    .featured-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.2rem;
    }
    .insights-section h2, .assist-content h2, .featured-title, .careers-content h2, .newsletter-content h2 {
        font-size: 1.1rem;
    }
    .insight-card {
        width: 100%;
        min-width: 0;
    }
    .assist-content, .careers-content, .newsletter-content {
        padding: 1.2rem 0.7rem;
    }
    .assist-image img, .careers-image img, .newsletter-image img {
        min-height: 120px;
    }
}

/* Main Headings - Light Modern Style */
.hero-title,
h1,
h2.section-title,
.insights-section h2,
.assist-content h2,
.featured-title,
.careers-content h2,
.newsletter-content h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #222;
    margin-bottom: 2rem;
    text-align: center;
}

/* Adjust section heading sizes */
.hero-title { font-size: 2.4rem; }
.insights-section h2,
.assist-content h2,
.featured-title,
.careers-content h2,
.newsletter-content h2 { font-size: 1.6rem; }

/***** BCG-STYLE FOOTER *****/
.site-footer.bcg-footer {
    background: #faf8f5;
    color: #222;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0;
    margin-top: 0;
    border-top: 1px solid #eceae6;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3.5rem 4vw 2.5rem 4vw;
    max-width: 1600px;
    margin: 0 auto;
    gap: 2rem;
}
.footer-col {
    flex: 1 1 0;
}
.slogan-col {
    max-width: 420px;
}
.footer-slogan {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}
.links-col {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
}
.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.footer-links-group a {
    color: #222;
    font-size: 1.45rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links-group a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.assist-col {
    max-width: 340px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.assist-title {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
}
.assist-desc {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #222;
    max-width: 320px;
}
.footer-cta {
    background: #7fff6c;
    color: #222;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    padding: 0.7rem 2.2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}
.footer-cta:hover {
    background: #1aaf5d;
    color: #fff;
}
.footer-cta .arrow {
    font-size: 1.3em;
    margin-left: 0.5em;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4vw 1.2rem 4vw;
    border-top: 1px solid #eceae6;
    max-width: 1600px;
    margin: 0 auto;
    gap: 2rem;
    background: #faf8f5;
}
.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.footer-logo-img {
    height: 36px;
    width: 36px;
    object-fit: contain;
}
.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.footer-bottom-center {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.footer-bottom-center a {
    color: #222;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border 0.2s, color 0.2s;
    letter-spacing: 0.5px;
}
.footer-bottom-center a:hover {
    border-bottom: 2px solid #222;
    color: var(--primary-color);
}
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.footer-lang {
    font-size: 1rem;
    font-weight: 700;
    margin-right: 1.2rem;
}
.footer-lang-inactive {
    color: #aaa;
    font-weight: 400;
}
.footer-socials {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}
.footer-socials a {
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.footer-socials a:hover {
    opacity: 1;
}
.footer-socials svg {
    display: block;
    width: 22px;
    height: 22px;
}

.footer-legal {
    background: #faf8f5;
    color: #222;
    font-size: 0.98rem;
    padding: 1.2rem 4vw 2.2rem 4vw;
    max-width: 1600px;
    margin: 0 auto;
    border-top: 1px solid #eceae6;
    line-height: 1.6;
}
.footer-legal a {
    color: #222;
    text-decoration: underline;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: var(--primary-color);
}

/***** Responsive Footer *****/
@media (max-width: 1100px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
        padding: 2.5rem 3vw 2rem 3vw;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.2rem 3vw 1.2rem 3vw;
    }
    .footer-legal {
        padding: 1.2rem 3vw 2rem 3vw;
    }
    .assist-col {
        text-align: left;
        align-items: flex-start;
    }
}
@media (max-width: 700px) {
    .footer-main {
        padding: 1.5rem 2vw 1.2rem 2vw;
    }
    .footer-bottom-bar {
        padding: 1rem 2vw 1rem 2vw;
    }
    .footer-legal {
        padding: 1rem 2vw 1.5rem 2vw;
    }
    .footer-slogan {
        font-size: 1.3rem;
    }
    .footer-links-group a {
        font-size: 1.1rem;
    }
    .footer-logo-img {
        height: 28px;
        width: 28px;
    }
    .footer-logo-text {
        font-size: 1rem;
    }
}
@media (max-width: 500px) {
    .footer-main {
        gap: 1.2rem;
    }
    .footer-links-group {
        gap: 0.7rem;
    }
    .footer-bottom-center {
        gap: 1rem;
    }
}

/* --- Service Slider Styles --- */
.services-slider {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin-bottom: 2rem;
}
.services-slider .slider-cards {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
    margin-top: 2rem;
    padding: 0;
}
/* Horizontal slider controls at bottom left */
.services-slider .slider-controls {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 3;
    align-items: center;
}
.slider-btn {
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.slider-btn:hover, .slider-btn:focus {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.slider-btn.prev, .slider-btn.next {
    position: static;
    transform: none;
}
@media (max-width: 1100px) {
    .slider-btn { width: 34px; height: 34px; font-size: 1.1rem; }
}
@media (max-width: 700px) {
    .slider-btn { width: 28px; height: 28px; font-size: 1rem; }
    .services-slider .slider-controls { left: 6px; bottom: 6px; gap: 6px; }
}
@media (max-width: 600px) {
    .services-slider .slider-cards {
        margin-top: 1rem;
    }
}

/* --- Service Card Advanced Hover/Active Styles --- */
.services-slider .service-card {
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.25s, z-index 0.2s, filter 0.3s;
    z-index: 1;
}
.services-slider .service-card .service-card-desc {
    display: none;
    font-size: 0.98rem;
    color: #222;
    margin-top: 0.7rem;
    line-height: 1.5;
    opacity: 0.92;
    transition: opacity 0.2s;
}
.services-slider .service-card.active,
.services-slider .service-card:hover {
    transform: scale(1.10) translateY(-10px);
    box-shadow: 0 8px 32px 0 rgba(26,175,93,0.18), 0 2px 16px rgba(0,0,0,0.10);
    z-index: 2;
}
.services-slider .service-card.active .service-card-desc,
.services-slider .service-card:hover .service-card-desc {
    display: block;
    opacity: 1;
}
.services-slider .service-card:not(:hover):not(.active) {
    transform: scale(0.92) translateY(10px);
    filter: blur(0.5px) grayscale(0.1);
    z-index: 1;
}
@media (max-width: 700px) {
    .services-slider .service-card.active,
    .services-slider .service-card:hover {
        transform: scale(1.04) translateY(-4px);
    }
    .services-slider .service-card:not(:hover):not(.active) {
        transform: scale(0.98) translateY(2px);
        filter: none;
    }
}

/* --- Enhanced Responsive Media Queries --- */

/* Mobile (up to 600px) */
@media (max-width: 600px) {
  .container, .header-flex {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
  }
  .site-header {
    height: auto;
    padding: 10px 0;
  }
  .logo-img {
    height: 28px;
    width: 28px;
  }
  .company-name {
    font-size: 1rem;
  }
  .main-content {
    padding: 1rem 0 2rem 0;
  }
  .hero-title {
    font-size: 1.2rem;
  }
  .insights-section h2, .assist-content h2, .featured-title, .careers-content h2, .newsletter-content h2 {
    font-size: 1.1rem;
  }
  .insight-card {
    width: 100%;
    min-width: 0;
  }
  .assist-content, .careers-content, .newsletter-content {
    padding: 1.2rem 0.7rem;
  }
  .assist-image img, .careers-image img, .newsletter-image img {
    min-height: 120px;
  }
  .service-card {
    width: 120px;
    height: 160px;
  }
  .service-card-content {
    padding: 0.5rem 0.4rem 0.4rem 0.4rem;
    min-height: 30px;
  }
  .service-card-title {
    font-size: 0.85rem;
  }
  .slider-cards, .insights-grid {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .footer-main, .footer-flex {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }
  .footer-links-group {
    gap: 0.7rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .footer-logo-img {
    height: 28px;
    width: 28px;
  }
  .footer-logo-text {
    font-size: 1rem;
  }
  .footer-bottom-center {
    gap: 1rem;
  }
  .footer-slogan {
    font-size: 1.3rem;
    display: flex;
    flex-direction: column;
  }
  .footer-links-group a {
    font-size: 1.1rem;
  }
}

.footer-col slogan-col {
  display: flex;
  flex-direction: row;
}

/* Tablet (601px to 900px) */
@media (max-width: 900px) and (min-width: 601px) {
  .footer-flex, .insights-grid {
    flex-direction: column;
    align-items: center;
  }
  .assist-section, .careers-section, .newsletter-section {
    flex-direction: column;
    border-radius: 1rem;
  }
  .assist-image, .careers-image, .newsletter-image {
    min-width: 100px;
    border-radius: 0 0 1rem 1rem;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .services-slider .slider-cards {
    gap: 0.7rem;
  }
  .service-card {
    width: 170px;
    height: 240px;
  }
  .service-card-content {
    padding: 0.8rem 0.7rem 0.7rem 0.7rem;
    min-height: 50px;
  }
  .service-card-title {
    font-size: 1rem;
  }
}

/* Small Laptop (901px to 1100px) */
@media (max-width: 1100px) and (min-width: 901px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-card.large {
    grid-row: span 1;
    min-height: 240px;
  }
  .services-slider .slider-cards {
    gap: 1.2rem;
  }
  .service-card {
    width: 170px;
    height: 240px;
  }
  .service-card-content {
    padding: 0.8rem 0.7rem 0.7rem 0.7rem;
    min-height: 50px;
  }
  .service-card-title {
    font-size: 1rem;
  }
}

/* Desktop (1101px and above) */
@media (min-width: 1101px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .services-slider .slider-cards {
    gap: 2.5rem;
  }
  .service-card {
    width: 220px;
    height: 320px;
  }
  .service-card-content {
    padding: 1.2rem 1rem 1rem 1rem;
    min-height: 70px;
  }
  .service-card-title {
    font-size: 1.25rem;
  }
}

/* Universal responsive image and grid tweaks */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.grid, .insights-grid, .slider-cards, .footer-flex, .footer-main {
  flex-wrap: wrap;
}

/* Ensure no horizontal scroll on mobile */
body {
  overflow-x: hidden;
}

/* Responsive utility classes */
.hide-mobile { display: none !important; }
@media (min-width: 601px) { .hide-mobile { display: initial !important; } }
.show-mobile { display: initial !important; }
@media (min-width: 601px) { .show-mobile { display: none !important; } }

/* Mobile nav overlay */
.main-nav-overlay {
  display: none;
}
body.nav-open .main-nav-overlay {
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 109;
}

/* Nav close button */
.nav-close-btn {
  display: none;
}
@media (max-width: 600px) {
  .main-nav {
    width: 80vw;
    max-width: 320px;
    left: -80vw;
  }
  .main-nav.open {
    left: 0;
  }
  .nav-close-btn {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 120;
    cursor: pointer;
  }
}

/* --- Ensure slider-track and service-card are visible and styled --- */
.services-slider .slider-track {
  display: flex;
  width: 100%;
  min-height: 220px;
  gap: 2rem;
  padding: 0 1rem;
  box-sizing: border-box;
  justify-content: center;
}
.services-slider .service-card {
  width: calc((100% - 8rem) / 5); /* 5 cards, 4 gaps of 2rem each */
  min-width: 0;
  max-width: 100%;
  height: 320px;
  margin: 0;
  box-sizing: border-box;
  flex: 0 0 auto;
}
@media (max-width: 1100px) {
  .services-slider .slider-track {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  .services-slider .service-card {
    width: calc((100% - 4rem) / 5);
    height: 220px;
  }
}
@media (max-width: 900px) {
  .services-slider .service-card {
    width: calc((100% - 3rem) / 4);
  }
}
@media (max-width: 700px) {
  .services-slider .slider-track {
    gap: 0.5rem;
    padding: 0 0.2rem;
  }
  .services-slider .service-card {
    width: calc((100% - 1.5rem) / 2);
    height: 140px;
  }
}

/* Blog Post Styles */
.blog-post-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-text {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.blog-post-text p {
    margin-bottom: 1.5rem;
}

.blog-post-text em {
    font-style: italic;
    color: #666;
}

.blog-post-text strong {
    display: block;
    font-size: 1.2rem;
    color: #333;
    margin: 1.5rem 0 0.5rem;
}

.blog-post-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.blog-post-text li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .blog-post-title {
        font-size: 2rem;
    }

    .blog-post-image {
        height: 300px;
    }

    .blog-post-text {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

